Lines Matching defs:MachineCSE
1 //===- MachineCSE.cpp - Machine Common Subexpression Elimination Pass -----===//
73 class MachineCSE : public MachineFunctionPass {
84 MachineCSE() : MachineFunctionPass(ID) {
163 char MachineCSE::ID = 0;
165 char &llvm::MachineCSEID = MachineCSE::ID;
167 INITIALIZE_PASS_BEGIN(MachineCSE, DEBUG_TYPE,
171 INITIALIZE_PASS_END(MachineCSE, DEBUG_TYPE,
178 bool MachineCSE::PerformTrivialCopyPropagation(MachineInstr *MI,
232 bool MachineCSE::isPhysDefTriviallyDead(
289 bool MachineCSE::hasLivePhysRegDefUses(const MachineInstr *MI,
340 bool MachineCSE::PhysRegDefsReach(MachineInstr *CSMI, MachineInstr *MI,
407 bool MachineCSE::isCSECandidate(MachineInstr *MI) {
443 bool MachineCSE::isProfitableToCSE(Register CSReg, Register Reg,
519 void MachineCSE::EnterScope(MachineBasicBlock *MBB) {
525 void MachineCSE::ExitScope(MachineBasicBlock *MBB) {
533 bool MachineCSE::ProcessBlockCSE(MachineBasicBlock *MBB) {
755 MachineCSE::ExitScopeIfDone(MachineDomTreeNode *Node,
773 bool MachineCSE::PerformCSE(MachineDomTreeNode *Node) {
805 bool MachineCSE::isPRECandidate(MachineInstr *MI,
827 bool MachineCSE::ProcessBlockPRE(MachineDominatorTree *DT,
908 bool MachineCSE::PerformSimplePRE(MachineDominatorTree *DT) {
926 bool MachineCSE::isProfitableToHoistInto(MachineBasicBlock *CandidateBB,
938 bool MachineCSE::runOnMachineFunction(MachineFunction &MF) {