class BitInit

Declaration

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

Description

'true'/'false' - Represent a concrete initializer for a bit.

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

Inherits from: TypedInit

Member Variables

Inherited from Init:

protected Opc

Method Overview

Inherited from TypedInit:

Inherited from Init:

Methods

BitInit(const llvm::BitInit&)

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

Parameters

const llvm::BitInit&

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

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

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

Parameters

llvm::RecTy* Ty

static llvm::BitInit* get(bool V)

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

Parameters

bool V

std::string getAsString() const

Description

Convert this value to a string form.

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

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

Parameters

unsigned int Bit

bool getValue() const

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

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