LLVM
13.0.0git
|
ForeachLoop - Record the iteration state associated with a for loop. More...
#include "TableGen/TGParser.h"
Public Member Functions | |
void | dump () const |
ForeachLoop (SMLoc Loc, VarInit *IVar, Init *LValue) | |
Public Attributes | |
SMLoc | Loc |
VarInit * | IterVar |
Init * | ListValue |
std::vector< RecordsEntry > | Entries |
ForeachLoop - Record the iteration state associated with a for loop.
This is used to instantiate items in the loop body.
IterVar is allowed to be null, in which case no iteration variable is defined in the loop at all. (This happens when a ForeachLoop is constructed by desugaring an if statement.)
Definition at line 58 of file TGParser.h.
Definition at line 66 of file TGParser.h.
References LValue.
LLVM_DUMP_METHOD void ForeachLoop::dump | ( | ) | const |
Definition at line 3684 of file TGParser.cpp.
References E, Entries, llvm::errs(), llvm::Init::getAsString(), llvm::VarInit::getAsString(), IterVar, and ListValue.
std::vector<RecordsEntry> llvm::ForeachLoop::Entries |
Definition at line 62 of file TGParser.h.
Referenced by dump().
VarInit* llvm::ForeachLoop::IterVar |
Definition at line 60 of file TGParser.h.
Referenced by dump().
Init* llvm::ForeachLoop::ListValue |
Definition at line 61 of file TGParser.h.
Referenced by dump().
SMLoc llvm::ForeachLoop::Loc |
Definition at line 59 of file TGParser.h.