|
clang
3.8.0
|
Attributes that may be specified on loops. More...
#include <CGLoopInfo.h>
Public Types | |
| enum | LVEnableState { Unspecified, Enable, Disable, Full } |
| State of loop vectorization or unrolling. 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 | VectorizeEnable |
| Value for llvm.loop.vectorize.enable metadata. More... | |
| LVEnableState | UnrollEnable |
| Value for llvm.loop.unroll.* metadata (enable, disable, or full). More... | |
| unsigned | VectorizeWidth |
| Value for llvm.loop.vectorize.width metadata. More... | |
| unsigned | InterleaveCount |
| Value for llvm.loop.interleave.count metadata. More... | |
| unsigned | UnrollCount |
| llvm.unroll. More... | |
Attributes that may be specified on loops.
Definition at line 36 of file CGLoopInfo.h.
State of loop vectorization or unrolling.
| Enumerator | |
|---|---|
| Unspecified | |
| Enable | |
| Disable | |
| Full | |
Definition at line 44 of file CGLoopInfo.h.
Definition at line 87 of file CGLoopInfo.cpp.
References clang::Unspecified.
| void LoopAttributes::clear | ( | ) |
Definition at line 92 of file CGLoopInfo.cpp.
References InterleaveCount, IsParallel, UnrollCount, UnrollEnable, Unspecified, VectorizeEnable, and VectorizeWidth.
| unsigned clang::CodeGen::LoopAttributes::InterleaveCount |
Value for llvm.loop.interleave.count metadata.
Definition at line 56 of file CGLoopInfo.h.
Referenced by clear(), createMetadata(), and clang::CodeGen::LoopInfoStack::setInterleaveCount().
| bool clang::CodeGen::LoopAttributes::IsParallel |
Generate llvm.loop.parallel metadata for loads and stores.
Definition at line 41 of file CGLoopInfo.h.
Referenced by clear(), createMetadata(), clang::CodeGen::LoopInfoStack::getCurLoopParallel(), clang::CodeGen::LoopInfoStack::InsertHelper(), and clang::CodeGen::LoopInfoStack::setParallel().
| unsigned clang::CodeGen::LoopAttributes::UnrollCount |
llvm.unroll.
Definition at line 59 of file CGLoopInfo.h.
Referenced by clear(), createMetadata(), and clang::CodeGen::LoopInfoStack::setUnrollCount().
| LVEnableState clang::CodeGen::LoopAttributes::UnrollEnable |
Value for llvm.loop.unroll.* metadata (enable, disable, or full).
Definition at line 50 of file CGLoopInfo.h.
Referenced by clear(), createMetadata(), and clang::CodeGen::LoopInfoStack::setUnrollState().
| LVEnableState clang::CodeGen::LoopAttributes::VectorizeEnable |
Value for llvm.loop.vectorize.enable metadata.
Definition at line 47 of file CGLoopInfo.h.
Referenced by clear(), createMetadata(), and clang::CodeGen::LoopInfoStack::setVectorizeEnable().
| unsigned clang::CodeGen::LoopAttributes::VectorizeWidth |
Value for llvm.loop.vectorize.width metadata.
Definition at line 53 of file CGLoopInfo.h.
Referenced by clear(), createMetadata(), and clang::CodeGen::LoopInfoStack::setVectorizeWidth().
1.8.6