LLVM 22.0.0git
llvm::BitRecTy Class Reference

'bit' - Represent a single bit More...

#include "llvm/TableGen/Record.h"

Inheritance diagram for llvm::BitRecTy:
[legend]

Public Member Functions

std::string getAsString () const override
bool typeIsConvertibleTo (const RecTy *RHS) const override
 Return true if all values of 'this' type can be converted to the specified type.
Public Member Functions inherited from llvm::RecTy
 RecTy (RecTyKind K, RecordKeeper &RK)
virtual ~RecTy ()=default
RecTyKind getRecTyKind () const
RecordKeepergetRecordKeeper () const
 Return the RecordKeeper that uniqued this Type.
void print (raw_ostream &OS) const
void dump () const
virtual bool typeIsA (const RecTy *RHS) const
 Return true if 'this' type is equal to or a subtype of RHS.
const ListRecTygetListTy () const
 Returns the type representing list<thistype>.

Static Public Member Functions

static bool classof (const RecTy *RT)
static const BitRecTyget (RecordKeeper &RK)

Additional Inherited Members

Public Types inherited from llvm::RecTy
enum  RecTyKind {
  BitRecTyKind , BitsRecTyKind , IntRecTyKind , StringRecTyKind ,
  ListRecTyKind , DagRecTyKind , RecordRecTyKind
}
 Subclass discriminator (for dyn_cast<> et al.) More...

Detailed Description

'bit' - Represent a single bit

Definition at line 113 of file Record.h.

Member Function Documentation

◆ classof()

bool llvm::BitRecTy::classof ( const RecTy * RT)
inlinestatic

◆ get()

const BitRecTy * BitRecTy::get ( RecordKeeper & RK)
static

◆ getAsString()

std::string llvm::BitRecTy::getAsString ( ) const
inlineoverridevirtual

Implements llvm::RecTy.

Definition at line 125 of file Record.h.

◆ typeIsConvertibleTo()

bool BitRecTy::typeIsConvertibleTo ( const RecTy * RHS) const
overridevirtual

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

Reimplemented from llvm::RecTy.

Definition at line 159 of file Record.cpp.

References llvm::dyn_cast(), llvm::RecTy::IntRecTyKind, llvm::RecTy::RecTy(), and llvm::RecTy::typeIsConvertibleTo().


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