OpenASIP
2.0
|
#include <LLVMTCERISCVIntrinsicsLowering.hh>
Public Member Functions | |
LLVMTCERISCVIntrinsicsLowering () | |
virtual | ~LLVMTCERISCVIntrinsicsLowering () |
virtual bool | runOnMachineFunction (MachineFunction &MF) |
Static Public Attributes | |
static char | ID = 0 |
Private Member Functions | |
InstructionFormat * | findRFormat () |
std::string | findRegs (const std::string &s) const |
std::string | findOperationName (const std::string &s) const |
std::vector< int > | findRegIndexes (const MachineBasicBlock::iterator &it) const |
int | constructEncoding (const std::string &opName, const std::vector< int > ®Idxs) const |
virtual bool | doInitialization (Module &m) |
Private Attributes | |
TTAMachine::Machine * | mach_ |
BinaryEncoding * | bem_ |
InstructionFormat * | rFormat_ |
Definition at line 42 of file LLVMTCERISCVIntrinsicsLowering.hh.
llvm::LLVMTCERISCVIntrinsicsLowering::LLVMTCERISCVIntrinsicsLowering | ( | ) |
Definition at line 53 of file LLVMTCERISCVIntrinsicsLowering.cc.
References bem_, Exception::errorMessage(), findRFormat(), BEMGenerator::generate(), TTAMachine::Machine::loadFromADF(), Application::logStream(), mach_, and rFormat_.
|
inlinevirtual |
Definition at line 46 of file LLVMTCERISCVIntrinsicsLowering.hh.
|
private |
Definition at line 171 of file LLVMTCERISCVIntrinsicsLowering.cc.
References InstructionFormat::encoding(), and rFormat_.
Referenced by runOnMachineFunction().
|
privatevirtual |
Definition at line 72 of file LLVMTCERISCVIntrinsicsLowering.cc.
|
private |
Definition at line 114 of file LLVMTCERISCVIntrinsicsLowering.cc.
References __func__, StringTools::chopString(), StringTools::containsChar(), InstructionFormat::hasOperation(), StringTools::replaceAllOccurrences(), rFormat_, and StringTools::stringToLower().
Referenced by runOnMachineFunction().
|
private |
Definition at line 142 of file LLVMTCERISCVIntrinsicsLowering.cc.
References __func__.
Referenced by runOnMachineFunction().
|
private |
Definition at line 93 of file LLVMTCERISCVIntrinsicsLowering.cc.
References __func__, StringTools::chopString(), and StringTools::containsChar().
Referenced by runOnMachineFunction().
|
private |
Definition at line 77 of file LLVMTCERISCVIntrinsicsLowering.cc.
References __func__, bem_, BinaryEncoding::instructionFormat(), BinaryEncoding::instructionFormatCount(), and InstructionFormat::name().
Referenced by LLVMTCERISCVIntrinsicsLowering().
|
virtual |
Definition at line 189 of file LLVMTCERISCVIntrinsicsLowering.cc.
References constructEncoding(), findOperationName(), findRegIndexes(), and findRegs().
|
private |
Definition at line 61 of file LLVMTCERISCVIntrinsicsLowering.hh.
Referenced by findRFormat(), and LLVMTCERISCVIntrinsicsLowering().
|
static |
Definition at line 44 of file LLVMTCERISCVIntrinsicsLowering.hh.
|
private |
Definition at line 60 of file LLVMTCERISCVIntrinsicsLowering.hh.
Referenced by LLVMTCERISCVIntrinsicsLowering().
|
private |
Definition at line 62 of file LLVMTCERISCVIntrinsicsLowering.hh.
Referenced by constructEncoding(), findOperationName(), and LLVMTCERISCVIntrinsicsLowering().