LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::BitInit Class Reference

#include <Record.h>

Inheritance diagram for llvm::BitInit:
Inheritance graph
[legend]
Collaboration diagram for llvm::BitInit:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool getValue () const
InitconvertInitializerTo (RecTy *Ty) const override
InitgetBit (unsigned Bit) const override
std::string getAsString () const override
 getAsString - Convert this value to a string form.

Static Public Member Functions

static bool classof (const Init *I)
static BitInitget (bool V)

Detailed Description

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

Definition at line 623 of file Record.h.


Member Function Documentation

static bool llvm::BitInit::classof ( const Init I) [inline, static]

Definition at line 632 of file Record.h.

References llvm::Init::getKind(), and llvm::Init::IK_BitInit.

Init* llvm::BitInit::convertInitializerTo ( RecTy Ty) const [inline, override, virtual]

convertInitializerTo - This virtual function is a simple call-back function that should be overridden to call the appropriate RecTy::convertValue method.

Implements llvm::Init.

Definition at line 639 of file Record.h.

References llvm::RecTy::convertValue().

BitInit * BitInit::get ( bool  V) [static]

Definition at line 453 of file Record.cpp.

Referenced by llvm::BitsRecTy::convertValue().

std::string llvm::BitInit::getAsString ( ) const [inline, override, virtual]

getAsString - Convert this value to a string form.

Implements llvm::Init.

Definition at line 648 of file Record.h.

Init* llvm::BitInit::getBit ( unsigned  Bit) const [inline, override, virtual]

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

Implements llvm::Init.

Definition at line 643 of file Record.h.

bool llvm::BitInit::getValue ( ) const [inline]

Definition at line 637 of file Record.h.

Referenced by llvm::IntRecTy::convertValue().


The documentation for this class was generated from the following files: