clang API Documentation
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. | |
LVEnableState | VectorizerEnable |
llvm.loop.vectorize.enable | |
unsigned | VectorizerWidth |
llvm.loop.vectorize.width | |
unsigned | VectorizerUnroll |
llvm.loop.interleave.count |
Attributes that may be specified on loops.
Definition at line 33 of file CGLoopInfo.h.
Values of llvm.loop.vectorize.enable metadata.
Definition at line 41 of file CGLoopInfo.h.
LoopAttributes::LoopAttributes | ( | bool | IsParallel = false | ) | [explicit] |
Definition at line 66 of file CGLoopInfo.cpp.
void LoopAttributes::clear | ( | ) |
Definition at line 70 of file CGLoopInfo.cpp.
References IsParallel, VectorizerEnable, VectorizerUnroll, VectorizerWidth, and VecUnspecified.
Referenced by clang::CodeGen::LoopInfoStack::push().
Generate llvm.loop.parallel metadata for loads and stores.
Definition at line 38 of file CGLoopInfo.h.
Referenced by clear(), createMetadata(), clang::CodeGen::LoopInfoStack::getCurLoopParallel(), clang::CodeGen::LoopInfoStack::InsertHelper(), and clang::CodeGen::LoopInfoStack::setParallel().
llvm.loop.vectorize.enable
Definition at line 44 of file CGLoopInfo.h.
Referenced by clear(), createMetadata(), and clang::CodeGen::LoopInfoStack::setVectorizerEnable().
llvm.loop.interleave.count
Definition at line 50 of file CGLoopInfo.h.
Referenced by clear(), createMetadata(), and clang::CodeGen::LoopInfoStack::setVectorizerUnroll().
llvm.loop.vectorize.width
Definition at line 47 of file CGLoopInfo.h.
Referenced by clear(), createMetadata(), and clang::CodeGen::LoopInfoStack::setVectorizerWidth().