clang
8.0.0
|
Information used when generating a structured loop. More...
#include "/work/llvm-www-releases/8.0.0/docsbuild/llvm.src/tools/clang/lib/CodeGen/CGLoopInfo.h"
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... | |
llvm::MDNode * | getAccessGroup () const |
Return this loop's access group or nullptr if it does not have one. More... | |
Information used when generating a structured loop.
Definition at line 78 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 176 of file CGLoopInfo.cpp.
References createMetadata(), clang::CodeGen::LoopAttributes::Disable, clang::CodeGen::LoopAttributes::Enable, clang::CodeGen::LoopAttributes::Full, clang::CodeGen::LoopInfoStack::push(), and State.
|
inline |
Return this loop's access group or nullptr if it does not have one.
Definition at line 94 of file CGLoopInfo.h.
|
inline |
Get the set of attributes active for this loop.
Definition at line 91 of file CGLoopInfo.h.
|
inline |
Get the header block of this loop.
Definition at line 88 of file CGLoopInfo.h.
Referenced by clang::CodeGen::LoopInfoStack::InsertHelper().
|
inline |
Get the loop id metadata for this loop.
Definition at line 85 of file CGLoopInfo.h.
Referenced by clang::CodeGen::LoopInfoStack::InsertHelper().