LLVM  7.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
llvm::BitRecTy Class Reference

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

#include "llvm/TableGen/Record.h"

Inheritance diagram for llvm::BitRecTy:
Inheritance graph
Collaboration diagram for llvm::BitRecTy:
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)
virtual ~RecTy ()=default
RecTyKind getRecTyKind () const
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<this>. More...

Static Public Member Functions

static bool classof (const RecTy *RT)
static BitRecTyget ()

Additional Inherited Members

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

Detailed Description

'bit' - Represent a single bit

Definition at line 101 of file Record.h.

Member Function Documentation

◆ classof()

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

Definition at line 107 of file Record.h.

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

◆ get()

static BitRecTy* llvm::BitRecTy::get ( )

◆ getAsString()

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

Implements llvm::RecTy.

Definition at line 113 of file Record.h.

References llvm::RecTy::typeIsConvertibleTo().

◆ typeIsConvertibleTo()

bool BitRecTy::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 68 of file Record.cpp.

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

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