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:

protected Opc

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:

Inherited from Init:

Methods

llvm::Init* Fold(llvm::Record* CurRec) const

Declared at: llvm/include/llvm/TableGen/Record.h:1023

Parameters

llvm::Record* CurRec

FoldOpInit(const llvm::FoldOpInit&)

Declared at: llvm/include/llvm/TableGen/Record.h:1011

Parameters

const llvm::FoldOpInit&

void Profile(llvm::FoldingSetNodeID& ID) const

Declared at: llvm/include/llvm/TableGen/Record.h:1019

Parameters

llvm::FoldingSetNodeID& ID

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)

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

Description

Convert this value to a string form.

Declared at: llvm/include/llvm/TableGen/Record.h:1031

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

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

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

Parameters

llvm::Resolver& R