LLVM  17.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::IntRecTy Class Reference

'int' - Represent an integer value of no particular size More...

#include "llvm/TableGen/Record.h"

Inheritance diagram for llvm::IntRecTy:
Inheritance graph
Collaboration diagram for llvm::IntRecTy:
Collaboration graph

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. More...
- 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. More...
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. More...
ListRecTygetListTy ()
 Returns the type representing list<thistype>. More...

Static Public Member Functions

static bool classof (const RecTy *RT)
static IntRecTyget (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

'int' - Represent an integer value of no particular size

Definition at line 150 of file Record.h.

Member Function Documentation

◆ classof()

static bool llvm::IntRecTy::classof ( const RecTy RT)

Definition at line 156 of file Record.h.

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

◆ get()

IntRecTy * IntRecTy::get ( RecordKeeper RK)

◆ getAsString()

std::string llvm::IntRecTy::getAsString ( ) const

Implements llvm::RecTy.

Definition at line 162 of file Record.h.

◆ typeIsConvertibleTo()

bool IntRecTy::typeIsConvertibleTo ( const RecTy RHS) const

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

Reimplemented from llvm::RecTy.

Definition at line 164 of file Record.cpp.

References llvm::RecTy::BitRecTyKind, llvm::RecTy::BitsRecTyKind, llvm::RecTy::IntRecTyKind, and RHS.

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