class UnsetInit

Declaration

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

Description

'?' - Represents an uninitialized value

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

Inherits from: Init

Member Variables

Inherited from Init:

protected Opc

Method Overview

Inherited from Init:

Methods

UnsetInit(const llvm::UnsetInit&)

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

Parameters

const llvm::UnsetInit&

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

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

Parameters

const llvm::Init* I

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

Description

Convert to an initializer whose type is-a Ty, or return nullptr if this is not possible (this can happen if the initializer's type is convertible to Ty, but there are unresolved references).

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

Parameters

llvm::RecTy* Ty

static llvm::UnsetInit* get()

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

std::string getAsString() const

Description

Convert this value to a string form.

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

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

Parameters

unsigned int Bit

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

Description

If this initializer is convertible to Ty, return an initializer whose type is-a Ty, generating a !cast operation if required. Otherwise, return nullptr.

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

Parameters

llvm::RecTy* Ty

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

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