LLVM API Documentation
#include <Record.h>
Public Member Functions | |
bool | getValue () const |
Init * | convertInitializerTo (RecTy *Ty) const override |
Init * | getBit (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 BitInit * | get (bool V) |
BitInit - true/false - Represent a concrete initializer for a bit.
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.
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.
bool llvm::BitInit::getValue | ( | ) | const [inline] |
Definition at line 637 of file Record.h.
Referenced by llvm::IntRecTy::convertValue().