class FoldOpInit
Declaration
class FoldOpInit : public TypedInit, public Node { /* full declaration omitted */ };
Description
!foldl (a, b, expr, start, lst) - Fold over a list.
Declared at: llvm/include/llvm/TableGen/Record.h:998
Inherits from: TypedInit, FoldingSetBase::Node
Member Variables
Inherited from Init:
Method Overview
- public llvm::Init * Fold(llvm::Record * CurRec) const
- public FoldOpInit(const llvm::FoldOpInit &)
- public void Profile(llvm::FoldingSetNodeID & ID) const
- public static bool classof(const llvm::Init * I)
- public static llvm::FoldOpInit * get(llvm::Init * Start, llvm::Init * List, llvm::Init * A, llvm::Init * B, llvm::Init * Expr, llvm::RecTy * Type)
- public std::string getAsString() const
- public llvm::Init * getBit(unsigned int Bit) const
- public bool isComplete() const
- public llvm::Init * resolveReferences(llvm::Resolver & R) const
Inherited from FoldingSetBase::Node:
Inherited from TypedInit:
- public classof
- public convertInitListSlice
- public convertInitializerBitRange
- public convertInitializerTo
- public getCastTo
- public getFieldType
- public getType
Inherited from Init:
- public convertInitListSlice
- public convertInitializerBitRange
- public convertInitializerTo
- public dump
- public getAsString
- public getAsUnquotedString
- public getBit
- public getCastTo
- public getFieldType
- public getKind
- public isComplete
- public isConcrete
- public print
- public resolveReferences
Methods
¶llvm::Init* Fold(llvm::Record* CurRec) const
llvm::Init* Fold(llvm::Record* CurRec) const
Declared at: llvm/include/llvm/TableGen/Record.h:1023
Parameters
- llvm::Record* CurRec
¶FoldOpInit(const llvm::FoldOpInit&)
FoldOpInit(const llvm::FoldOpInit&)
Declared at: llvm/include/llvm/TableGen/Record.h:1011
Parameters
- const llvm::FoldOpInit&
¶void Profile(llvm::FoldingSetNodeID& ID) const
void Profile(llvm::FoldingSetNodeID& ID) const
Declared at: llvm/include/llvm/TableGen/Record.h:1019
Parameters
¶static bool classof(const llvm::Init* I)
static bool classof(const llvm::Init* I)
Declared at: llvm/include/llvm/TableGen/Record.h:1014
Parameters
- const llvm::Init* I
¶static llvm::FoldOpInit* get(llvm::Init* Start,
llvm::Init* List,
llvm::Init* A,
llvm::Init* B,
llvm::Init* Expr,
llvm::RecTy* Type)
static llvm::FoldOpInit* get(llvm::Init* Start,
llvm::Init* List,
llvm::Init* A,
llvm::Init* B,
llvm::Init* Expr,
llvm::RecTy* Type)
Declared at: llvm/include/llvm/TableGen/Record.h:1016
Parameters
- llvm::Init* Start
- llvm::Init* List
- llvm::Init* A
- llvm::Init* B
- llvm::Init* Expr
- llvm::RecTy* Type
¶std::string getAsString() const
std::string getAsString() const
Description
Convert this value to a string form.
Declared at: llvm/include/llvm/TableGen/Record.h:1031
¶llvm::Init* getBit(unsigned int Bit) const
llvm::Init* getBit(unsigned int Bit) const
Description
This method is used to return the initializer for the specified bit.
Declared at: llvm/include/llvm/TableGen/Record.h:1029
Parameters
- unsigned int Bit
¶bool isComplete() const
bool isComplete() const
Description
This virtual method should be overridden by values that may not be completely specified yet.
Declared at: llvm/include/llvm/TableGen/Record.h:1025
¶llvm::Init* resolveReferences(
llvm::Resolver& R) const
llvm::Init* resolveReferences(
llvm::Resolver& R) const
Description
This method is used by classes that refer to other variables which may not be defined at the time the expression is formed. If a value is set for the variable later, this method will be called on users of the value to allow the value to propagate out.
Declared at: llvm/include/llvm/TableGen/Record.h:1027