OpenASIP  2.0
Public Member Functions | List of all members
DummyInstPrinter Class Reference
Inheritance diagram for DummyInstPrinter:
Inheritance graph
Collaboration diagram for DummyInstPrinter:
Collaboration graph

Public Member Functions

 DummyInstPrinter (const llvm::MCAsmInfo &mai, const llvm::MCInstrInfo &mii, const llvm::MCRegisterInfo &mri)
 
bool applyTargetSpecificCLOption (StringRef Opt) override
 
std::pair< const char *, uint64_t > getMnemonic (const MCInst *MI) override
 
void printInst (const MCInst *, uint64_t, StringRef, const MCSubtargetInfo &, raw_ostream &) override
 
void printRegName (raw_ostream &OS, unsigned RegNo) const override
 

Detailed Description

Definition at line 80 of file TCETargetMachine.cc.

Constructor & Destructor Documentation

◆ DummyInstPrinter()

DummyInstPrinter::DummyInstPrinter ( const llvm::MCAsmInfo &  mai,
const llvm::MCInstrInfo &  mii,
const llvm::MCRegisterInfo &  mri 
)
inline

Definition at line 82 of file TCETargetMachine.cc.

84  : llvm::MCInstPrinter(mai, mii, mri) {}

Member Function Documentation

◆ applyTargetSpecificCLOption()

bool DummyInstPrinter::applyTargetSpecificCLOption ( StringRef  Opt)
inlineoverride

Definition at line 87 of file TCETargetMachine.cc.

87  {
88  return false;
89  }

◆ getMnemonic()

std::pair<const char*, uint64_t> DummyInstPrinter::getMnemonic ( const MCInst *  MI)
inlineoverride

Definition at line 91 of file TCETargetMachine.cc.

91  {
92  return std::make_pair(nullptr, 0);
93  }

◆ printInst()

void DummyInstPrinter::printInst ( const MCInst *  ,
uint64_t  ,
StringRef  ,
const MCSubtargetInfo &  ,
raw_ostream &   
)
inlineoverride

Definition at line 95 of file TCETargetMachine.cc.

97  {}

◆ printRegName()

void DummyInstPrinter::printRegName ( raw_ostream &  OS,
unsigned  RegNo 
) const
inlineoverride

Definition at line 100 of file TCETargetMachine.cc.

100 {}

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