Lines Matching refs:AArch64ConditionOptimizer
1 //=- AArch64ConditionOptimizer.cpp - Remove useless comparisons for AArch64 -=//
88 class AArch64ConditionOptimizer : public MachineFunctionPass {
99 AArch64ConditionOptimizer() : MachineFunctionPass(ID) {}
113 char AArch64ConditionOptimizer::ID = 0;
119 INITIALIZE_PASS_BEGIN(AArch64ConditionOptimizer, "aarch64-condopt",
122 INITIALIZE_PASS_END(AArch64ConditionOptimizer, "aarch64-condopt",
126 return new AArch64ConditionOptimizer();
129 void AArch64ConditionOptimizer::getAnalysisUsage(AnalysisUsage &AU) const {
138 MachineInstr *AArch64ConditionOptimizer::findSuitableCompare(
224 AArch64ConditionOptimizer::CmpInfo AArch64ConditionOptimizer::adjustCmp(
252 void AArch64ConditionOptimizer::modifyCmp(MachineInstr *CmpMI,
300 bool AArch64ConditionOptimizer::adjustTo(MachineInstr *CmpMI,
311 bool AArch64ConditionOptimizer::runOnMachineFunction(MachineFunction &MF) {