Go to the source code of this file.
◆ DEBUG_TYPE
#define DEBUG_TYPE "riscv-insert-read-write-csr" |
◆ RISCV_INSERT_READ_WRITE_CSR_NAME
#define RISCV_INSERT_READ_WRITE_CSR_NAME "RISC-V Insert Read/Write CSR Pass" |
◆ INITIALIZE_PASS()
Definition at line 61 of file RISCVInsertReadWriteCSR.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), assert(), llvm::BuildMI(), llvm::MachineOperand::CreateReg(), llvm::RISCVFPRndMode::DYN, llvm::RISCVII::getFRMOpNum(), llvm::MachineBasicBlock::getParent(), llvm::MachineFunction::getRegInfo(), llvm::MachineBasicBlock::insertAfter(), llvm::Register::isValid(), MBB, MI, MRI, and TII.
◆ DisableFRMInsertOpt
cl::opt< bool > DisableFRMInsertOpt("riscv-disable-frm-insert-opt", cl::init(false), cl::Hidden, cl::desc("Disable optimized frm insertion.")) |
( |
"riscv-disable-frm-insert-opt" |
, |
|
|
cl::init(false) |
, |
|
|
cl::Hidden |
, |
|
|
cl::desc("Disable optimized frm insertion.") |
|
|
) |
| |
|
static |