clang
3.7.0
|
Attributes that may be specified on loops. More...
#include <CGLoopInfo.h>
Public Types | |
enum | LVEnableState { VecUnspecified, VecEnable, VecDisable } |
Values of llvm.loop.vectorize.enable metadata. More... | |
Public Member Functions | |
LoopAttributes (bool IsParallel=false) | |
void | clear () |
Public Attributes | |
bool | IsParallel |
Generate llvm.loop.parallel metadata for loads and stores. More... | |
LVEnableState | VectorizerEnable |
llvm.loop.vectorize.enable More... | |
unsigned | VectorizerWidth |
llvm.loop.vectorize.width More... | |
unsigned | VectorizerUnroll |
llvm.loop.interleave.count More... | |
Attributes that may be specified on loops.
Definition at line 35 of file CGLoopInfo.h.
Values of llvm.loop.vectorize.enable metadata.
Enumerator | |
---|---|
VecUnspecified | |
VecEnable | |
VecDisable |
Definition at line 43 of file CGLoopInfo.h.
Definition at line 65 of file CGLoopInfo.cpp.
void LoopAttributes::clear | ( | ) |
Definition at line 69 of file CGLoopInfo.cpp.
References IsParallel, VectorizerEnable, VectorizerUnroll, VectorizerWidth, and VecUnspecified.
Referenced by clang::CodeGen::LoopInfoStack::push().
bool clang::CodeGen::LoopAttributes::IsParallel |
Generate llvm.loop.parallel metadata for loads and stores.
Definition at line 40 of file CGLoopInfo.h.
Referenced by clear(), createMetadata(), clang::CodeGen::LoopInfoStack::getCurLoopParallel(), clang::CodeGen::LoopInfoStack::InsertHelper(), and clang::CodeGen::LoopInfoStack::setParallel().
LVEnableState clang::CodeGen::LoopAttributes::VectorizerEnable |
llvm.loop.vectorize.enable
Definition at line 46 of file CGLoopInfo.h.
Referenced by clear(), createMetadata(), and clang::CodeGen::LoopInfoStack::setVectorizerEnable().
unsigned clang::CodeGen::LoopAttributes::VectorizerUnroll |
llvm.loop.interleave.count
Definition at line 52 of file CGLoopInfo.h.
Referenced by clear(), createMetadata(), and clang::CodeGen::LoopInfoStack::setVectorizerUnroll().
unsigned clang::CodeGen::LoopAttributes::VectorizerWidth |
llvm.loop.vectorize.width
Definition at line 49 of file CGLoopInfo.h.
Referenced by clear(), createMetadata(), and clang::CodeGen::LoopInfoStack::setVectorizerWidth().