class VarInit

Declaration

class VarInit : public TypedInit { /* full declaration omitted */ };

Description

'Opcode' - Represent a reference to an entire variable object.

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

Inherits from: TypedInit

Member Variables

Inherited from Init:

protected Opc

Method Overview

  • public VarInit(const llvm::VarInit &)
  • public static bool classof(const llvm::Init * I)
  • public static llvm::VarInit * get(llvm::StringRef VN, llvm::RecTy * T)
  • public static llvm::VarInit * get(llvm::Init * VN, llvm::RecTy * T)
  • public std::string getAsString() const
  • public llvm::Init * getBit(unsigned int Bit) const
  • public llvm::StringRef getName() const
  • public llvm::Init * getNameInit() const
  • public std::string getNameInitAsString() const
  • public llvm::Init * resolveReferences(llvm::Resolver & R) const

Inherited from TypedInit:

Inherited from Init:

Methods

VarInit(const llvm::VarInit&)

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

Parameters

const llvm::VarInit&

static bool classof(const llvm::Init* I)

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

Parameters

const llvm::Init* I

static llvm::VarInit* get(llvm::StringRef VN,
                          llvm::RecTy* T)

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

Parameters

llvm::StringRef VN
llvm::RecTy* T

static llvm::VarInit* get(llvm::Init* VN,
                          llvm::RecTy* T)

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

Parameters

llvm::Init* VN
llvm::RecTy* T

std::string getAsString() const

Description

Convert this value to a string form.

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

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:1099

Parameters

unsigned int Bit

llvm::StringRef getName() const

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

llvm::Init* getNameInit() const

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

std::string getNameInitAsString() const

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

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 they 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:1097

Parameters

llvm::Resolver& R