Searched refs:OldBranch (Results 1 – 7 of 7) sorted by relevance
179 MachineInstr &OldBranch = *MI; in expandBranches() local180 DebugLoc dl = OldBranch.getDebugLoc(); in expandBranches()181 int InstrSizeDiff = -TII->getInstSizeInBytes(OldBranch); in expandBranches()208 OldBranch.eraseFromParent(); in expandBranches()
147 MachineInstr *OldBranch = I; in runOnMachineFunction() local148 DebugLoc dl = OldBranch->getDebugLoc(); in runOnMachineFunction()158 OldBranch->eraseFromParent(); in runOnMachineFunction()
141 MachineInstr *OldBranch = I; in runOnMachineFunction() local142 DebugLoc dl = OldBranch->getDebugLoc(); in runOnMachineFunction()164 OldBranch->eraseFromParent(); in runOnMachineFunction()
144 MachineInstr &OldBranch = *I; in runOnMachineFunction() local145 DebugLoc dl = OldBranch.getDebugLoc(); in runOnMachineFunction()167 OldBranch.eraseFromParent(); in runOnMachineFunction()
252 BranchInst *OldBranch,910 BranchInst *OldBranch, in EmitPreheaderBranchOnCondition() argument912 assert(OldBranch->isUnconditional() && "Preheader is not split correctly"); in EmitPreheaderBranchOnCondition()920 BranchVal = new ICmpInst(OldBranch, ICmpInst::ICMP_EQ, LIC, Val); in EmitPreheaderBranchOnCondition()929 auto *OldBranchSucc = OldBranch->getSuccessor(0); in EmitPreheaderBranchOnCondition()930 auto *OldBranchParent = OldBranch->getParent(); in EmitPreheaderBranchOnCondition()934 IRBuilder<>(OldBranch).CreateCondBr(BranchVal, TrueDest, FalseDest, TI); in EmitPreheaderBranchOnCondition()940 OldBranch->removeFromParent(); in EmitPreheaderBranchOnCondition()1002 auto *OldBranch = dyn_cast<BranchInst>(loopPreheader->getTerminator()); in UnswitchTrivialCondition() local1003 assert(OldBranch && "Failed to split the preheader"); in UnswitchTrivialCondition()[all …]
189 MachineInstr *OldBranch = I; in runOnMachineFunction() local190 DebugLoc dl = OldBranch->getDebugLoc(); in runOnMachineFunction()225 OldBranch->eraseFromParent(); in runOnMachineFunction()
206 MachineInstr &OldBranch = *I; in runOnMachineFunction() local207 DebugLoc dl = OldBranch.getDebugLoc(); in runOnMachineFunction()242 OldBranch.eraseFromParent(); in runOnMachineFunction()