Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:MachineCSE

1 //===-- MachineCSE.cpp - Machine Common Subexpression Elimination Pass ----===//
39 class MachineCSE : public MachineFunctionPass {
47 MachineCSE() : MachineFunctionPass(ID), LookAheadLimit(5), CurrVN(0) {
101 char MachineCSE::ID = 0;
102 INITIALIZE_PASS_BEGIN(MachineCSE, "machine-cse",
106 INITIALIZE_PASS_END(MachineCSE, "machine-cse",
109 FunctionPass *llvm::createMachineCSEPass() { return new MachineCSE(); }
111 bool MachineCSE::PerformTrivialCoalescing(MachineInstr *MI,
150 MachineCSE::isPhysDefTriviallyDead(unsigned Reg,
190 bool MachineCSE::hasLivePhysRegDefUses(const MachineInstr *MI,
217 bool MachineCSE::PhysRegDefsReach(MachineInstr *CSMI, MachineInstr *MI,
253 bool MachineCSE::isCSECandidate(MachineInstr *MI) {
283 bool MachineCSE::isProfitableToCSE(unsigned CSReg, unsigned Reg,
339 void MachineCSE::EnterScope(MachineBasicBlock *MBB) {
345 void MachineCSE::ExitScope(MachineBasicBlock *MBB) {
353 bool MachineCSE::ProcessBlock(MachineBasicBlock *MBB) {
483 MachineCSE::ExitScopeIfDone(MachineDomTreeNode *Node,
502 bool MachineCSE::PerformCSE(MachineDomTreeNode *Node) {
539 bool MachineCSE::runOnMachineFunction(MachineFunction &MF) {