Go to the source code of this file.
|
namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations.
|
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "lanai-mem-alu-combiner" |
◆ GET_INSTRMAP_INFO
#define GET_INSTRMAP_INFO |
◆ INITIALIZE_PASS()
INITIALIZE_PASS |
( |
LanaiMemAluCombiner |
, |
|
|
DEBUG_TYPE |
, |
|
|
"Lanai memory ALU combiner pass" |
, |
|
|
false |
, |
|
|
false |
|
|
) |
| |
Definition at line 90 of file LanaiMemAluCombiner.cpp.
References llvm::LPAC::ADD, llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), llvm::LPAC::AND, assert(), llvm::sampleprof::Base, Before, llvm::MachineBasicBlock::begin(), llvm::BuildMI(), DisableMemAluCombiner, llvm::MachineBasicBlock::end(), End, llvm::MachineBasicBlock::erase(), llvm::First, llvm::getDefRegState(), llvm::MachineOperand::getImm(), llvm::getKillRegState(), llvm::MachineOperand::getReg(), llvm::MachineFunction::getSubtarget(), llvm::MachineOperand::getType(), llvm::MachineMemOperand::isAtomic(), llvm::MachineOperand::isImm(), llvm::MachineOperand::isReg(), llvm::MachineMemOperand::isVolatile(), llvm::Last, llvm_unreachable, llvm::LPAC::makePostOp(), llvm::LPAC::makePreOp(), MBB, MI, llvm::MachineOperand::MO_Immediate, llvm::MachineOperand::MO_Register, Modified, llvm::LPAC::modifiesOp(), llvm::Offset, llvm::LPAC::OR, llvm::MachineInstrBuilder::setMemRefs(), llvm::LPAC::SHL, llvm::LPAC::SRA, llvm::LPAC::SRL, llvm::LPAC::SUB, TII, llvm::LPAC::UNKNOWN, and llvm::LPAC::XOR.
◆ STATISTIC()
STATISTIC |
( |
NumLdStAluCombined |
, |
|
|
"Number of memory and ALU instructions combined" |
|
|
) |
| |
◆ DisableMemAluCombiner