class VarBitInit

Declaration

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

Description

Opcode{0} - Represent access to one bit of a variable or field.

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

Inherits from: TypedInit

Member Variables

Inherited from Init:

protected Opc

Method Overview

  • public VarBitInit(const llvm::VarBitInit &)
  • public static bool classof(const llvm::Init * I)
  • public static llvm::VarBitInit * get(llvm::TypedInit * T, unsigned int B)
  • public std::string getAsString() const
  • public llvm::Init * getBit(unsigned int B) const
  • public unsigned int getBitNum() const
  • public llvm::Init * getBitVar() const
  • public llvm::Init * resolveReferences(llvm::Resolver & R) const

Inherited from TypedInit:

Inherited from Init:

Methods

VarBitInit(const llvm::VarBitInit&)

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

Parameters

const llvm::VarBitInit&

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

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

Parameters

const llvm::Init* I

static llvm::VarBitInit* get(llvm::TypedInit* T,
                             unsigned int B)

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

Parameters

llvm::TypedInit* T
unsigned int B

std::string getAsString() const

Description

Convert this value to a string form.

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

llvm::Init* getBit(unsigned int B) const

Description

This method is used to return the initializer for the specified bit.

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

Parameters

unsigned int B

unsigned int getBitNum() const

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

llvm::Init* getBitVar() const

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

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

Parameters

llvm::Resolver& R