class UnsetInit

Declaration

class UnsetInit : public Init { /* full declaration omitted */ };

Description

'?' - Represents an uninitialized value.

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

Inherits from: Init

Member Variables

private llvm::RecordKeeper& RK
The record keeper that initialized this Init.

Inherited from Init:

protected Opc

Method Overview

Inherited from Init:

Methods

UnsetInit(llvm::RecordKeeper& RK)

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

Parameters

llvm::RecordKeeper& RK

UnsetInit(const llvm::UnsetInit&)

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

Parameters

const llvm::UnsetInit&

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

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

Parameters

const llvm::Init* I

llvm::Init* convertInitializerTo(
    llvm::RecTy* Ty) const

Description

Convert to a value whose type is \p Ty, or return null if this is not possible. This can happen if the value's type is convertible to \p Ty, but there are unresolved references.

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

Parameters

llvm::RecTy* Ty

static llvm::UnsetInit* get(
    llvm::RecordKeeper& RK)

Description

Get the singleton unset Init.

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

Parameters

llvm::RecordKeeper& RK

std::string getAsString() const

Description

Get the string representation of the Init.

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

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

Description

Get the \p Init value of the specified bit.

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

Parameters

unsigned int Bit

llvm::Init* getCastTo(llvm::RecTy* Ty) const

Description

If this value is convertible to type \p Ty, return a value whose type is \p Ty, generating a !cast operation if required. Otherwise, return null.

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

Parameters

llvm::RecTy* Ty

llvm::RecordKeeper& getRecordKeeper() const

Description

Get the record keeper that initialized this Init.

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

bool isComplete() const

Description

Is this a complete value with no unset (uninitialized) subvalues?

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

bool isConcrete() const

Description

Is this a concrete and fully resolved value without any references or stuck operations? Unset values are concrete.

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