LLVM API Documentation

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

#include <Record.h>

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

List of all members.

Public Member Functions

unsigned getNumBits () const
InitconvertValue (UnsetInit *UI) override
InitconvertValue (BitInit *UI) override
InitconvertValue (BitsInit *BI) override
InitconvertValue (IntInit *II) override
InitconvertValue (StringInit *SI) override
InitconvertValue (ListInit *LI) override
InitconvertValue (VarBitInit *VB) override
InitconvertValue (DefInit *DI) override
InitconvertValue (DagInit *DI) override
InitconvertValue (UnOpInit *UI) override
InitconvertValue (BinOpInit *UI) override
InitconvertValue (TernOpInit *UI) override
InitconvertValue (TypedInit *TI) override
InitconvertValue (VarInit *VI) override
InitconvertValue (FieldInit *FI) override
std::string getAsString () const override
bool typeIsConvertibleTo (const RecTy *RHS) const override
bool baseClassOf (const RecTy *) const override

Static Public Member Functions

static bool classof (const RecTy *RT)
static BitsRecTyget (unsigned Sz)

Detailed Description

BitsRecTy - 'bits<n>' - Represent a fixed number of bits

Definition at line 179 of file Record.h.


Member Function Documentation

bool BitsRecTy::baseClassOf ( const RecTy RHS) const [override, virtual]
static bool llvm::BitsRecTy::classof ( const RecTy RT) [inline, static]

Definition at line 184 of file Record.h.

References llvm::RecTy::BitsRecTyKind, and llvm::RecTy::getRecTyKind().

Init * BitsRecTy::convertValue ( UnsetInit UI) [override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 157 of file Record.cpp.

References get(), and llvm::UnsetInit::get().

Referenced by convertValue().

Init * BitsRecTy::convertValue ( BitInit UI) [override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 166 of file Record.cpp.

References get().

Init * BitsRecTy::convertValue ( BitsInit BI) [override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 196 of file Record.cpp.

References llvm::BitsInit::getNumBits().

Init * BitsRecTy::convertValue ( IntInit II) [override, virtual]

convertValue from Int initializer to bits type: Split the integer up into the appropriate bits.

Reimplemented from llvm::RecTy.

Definition at line 182 of file Record.cpp.

References canFitInBitfield(), get(), llvm::BitInit::get(), and llvm::IntInit::getValue().

Init* llvm::BitsRecTy::convertValue ( StringInit SI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 196 of file Record.h.

Init* llvm::BitsRecTy::convertValue ( ListInit LI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 197 of file Record.h.

Init* llvm::BitsRecTy::convertValue ( VarBitInit VB) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 198 of file Record.h.

Init* llvm::BitsRecTy::convertValue ( DefInit DI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 199 of file Record.h.

Init* llvm::BitsRecTy::convertValue ( DagInit DI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 200 of file Record.h.

Init* llvm::BitsRecTy::convertValue ( UnOpInit UI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 201 of file Record.h.

References convertValue().

Init* llvm::BitsRecTy::convertValue ( BinOpInit UI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 202 of file Record.h.

References convertValue().

Init* llvm::BitsRecTy::convertValue ( TernOpInit UI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 203 of file Record.h.

References convertValue().

Init * BitsRecTy::convertValue ( TypedInit TI) [override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 203 of file Record.cpp.

References get(), llvm::VarBitInit::get(), llvm::TypedInit::getType(), and llvm::RecTy::typeIsConvertibleTo().

Init* llvm::BitsRecTy::convertValue ( VarInit VI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 205 of file Record.h.

References convertValue().

Init* llvm::BitsRecTy::convertValue ( FieldInit FI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 206 of file Record.h.

References convertValue().

BitsRecTy * BitsRecTy::get ( unsigned  Sz) [static]

Definition at line 143 of file Record.cpp.

Referenced by convertValue().

std::string BitsRecTy::getAsString ( ) const [override, virtual]

Implements llvm::RecTy.

Definition at line 153 of file Record.cpp.

References llvm::utostr().

Definition at line 190 of file Record.h.

Referenced by llvm::TypedInit::convertInitializerBitRange().

bool llvm::BitsRecTy::typeIsConvertibleTo ( const RecTy RHS) const [inline, override, virtual]

typeIsConvertibleTo - Return true if all values of 'this' type can be converted to the specified type.

Implements llvm::RecTy.

Definition at line 210 of file Record.h.

References llvm::RecTy::baseClassOf().


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