LLVM 20.0.0git
|
'int' - Represent an integer value of no particular size More...
#include "llvm/TableGen/Record.h"
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 |
RecordKeeper & | getRecordKeeper () const |
Return the RecordKeeper that uniqued this Type. | |
virtual std::string | getAsString () const =0 |
void | print (raw_ostream &OS) const |
void | dump () const |
virtual bool | typeIsConvertibleTo (const RecTy *RHS) const |
Return true if all values of 'this' type can be converted to the specified type. | |
virtual bool | typeIsA (const RecTy *RHS) const |
Return true if 'this' type is equal to or a subtype of RHS. | |
ListRecTy * | getListTy () |
Returns the type representing list<thistype>. | |
Static Public Member Functions | |
static bool | classof (const RecTy *RT) |
static IntRecTy * | get (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... | |
Definition at line 155 of file Record.h.
References llvm::RecTy::getRecTyKind(), and llvm::RecTy::IntRecTyKind.
|
static |
Definition at line 153 of file Record.cpp.
References llvm::RecordKeeper::getImpl(), and llvm::detail::RecordKeeperImpl::SharedIntRecTy.
Referenced by llvm::CheckAssert(), llvm::BinOpInit::CompareInit(), FilterHelper(), llvm::BinOpInit::Fold(), llvm::TernOpInit::Fold(), llvm::CondOpInit::Fold(), llvm::UnOpInit::Fold(), interleaveIntList(), and llvm::TernOpInit::resolveReferences().
|
inlineoverridevirtual |
Implements llvm::RecTy.
Return true if all values of 'this' type can be converted to the specified type.
Reimplemented from llvm::RecTy.
Definition at line 157 of file Record.cpp.
References llvm::RecTy::BitRecTyKind, llvm::RecTy::BitsRecTyKind, llvm::RecTy::IntRecTyKind, and RHS.