struct ForeachLoop
Declaration
struct ForeachLoop { /* full declaration omitted */ };
Description
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.)
Declared at: llvm/lib/TableGen/TGParser.h:63
Member Variables
- public llvm::SMLoc Loc
- public llvm::VarInit* IterVar
- public llvm::Init* ListValue
- public std::vector<RecordsEntry> Entries
Method Overview
- public ForeachLoop(llvm::SMLoc Loc, llvm::VarInit * IVar, llvm::Init * LValue)
- public void dump() const
Methods
¶ForeachLoop(llvm::SMLoc Loc,
llvm::VarInit* IVar,
llvm::Init* LValue)
ForeachLoop(llvm::SMLoc Loc,
llvm::VarInit* IVar,
llvm::Init* LValue)
Declared at: llvm/lib/TableGen/TGParser.h:71
Parameters
- llvm::SMLoc Loc
- llvm::VarInit* IVar
- llvm::Init* LValue
¶void dump() const
void dump() const
Declared at: llvm/lib/TableGen/TGParser.h:69