|
clang
5.0.0
|
Information used when generating a structured loop. More...
Public Member Functions | |
| LoopInfo (llvm::BasicBlock *Header, const LoopAttributes &Attrs, const llvm::DebugLoc &StartLoc, const llvm::DebugLoc &EndLoc) | |
| Construct a new LoopInfo for the loop with entry Header. More... | |
| llvm::MDNode * | getLoopID () const |
| Get the loop id metadata for this loop. More... | |
| llvm::BasicBlock * | getHeader () const |
| Get the header block of this loop. More... | |
| const LoopAttributes & | getAttributes () const |
| Get the set of attributes active for this loop. More... | |
Information used when generating a structured loop.
Definition at line 66 of file CGLoopInfo.h.
| LoopInfo::LoopInfo | ( | llvm::BasicBlock * | Header, |
| const LoopAttributes & | Attrs, | ||
| const llvm::DebugLoc & | StartLoc, | ||
| const llvm::DebugLoc & | EndLoc | ||
| ) |
Construct a new LoopInfo for the loop with entry Header.
Definition at line 124 of file CGLoopInfo.cpp.
References createMetadata().
|
inline |
Get the set of attributes active for this loop.
Definition at line 79 of file CGLoopInfo.h.
Referenced by clang::CodeGen::LoopInfoStack::getCurLoopParallel(), and clang::CodeGen::LoopInfoStack::InsertHelper().
|
inline |
Get the header block of this loop.
Definition at line 76 of file CGLoopInfo.h.
Referenced by clang::CodeGen::LoopInfoStack::InsertHelper().
|
inline |
Get the loop id metadata for this loop.
Definition at line 73 of file CGLoopInfo.h.
Referenced by clang::CodeGen::LoopInfoStack::getCurLoopID(), and clang::CodeGen::LoopInfoStack::InsertHelper().
1.8.6