Home
last modified time | relevance | path

Searched refs:OldBranch (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/llvm/lib/Target/MSP430/
DMSP430BranchSelector.cpp179 MachineInstr &OldBranch = *MI; in expandBranches() local
180 DebugLoc dl = OldBranch.getDebugLoc(); in expandBranches()
181 int InstrSizeDiff = -TII->getInstSizeInBytes(OldBranch); in expandBranches()
208 OldBranch.eraseFromParent(); in expandBranches()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430BranchSelector.cpp179 MachineInstr &OldBranch = *MI; in expandBranches() local
180 DebugLoc dl = OldBranch.getDebugLoc(); in expandBranches()
181 int InstrSizeDiff = -TII->getInstSizeInBytes(OldBranch); in expandBranches()
208 OldBranch.eraseFromParent(); in expandBranches()
/external/llvm/lib/Target/MSP430/
DMSP430BranchSelector.cpp144 MachineInstr &OldBranch = *I; in runOnMachineFunction() local
145 DebugLoc dl = OldBranch.getDebugLoc(); in runOnMachineFunction()
167 OldBranch.eraseFromParent(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp261 BranchInst *OldBranch, Instruction *TI);
936 BranchInst *OldBranch, in EmitPreheaderBranchOnCondition() argument
938 assert(OldBranch->isUnconditional() && "Preheader is not split correctly"); in EmitPreheaderBranchOnCondition()
946 BranchVal = new ICmpInst(OldBranch, ICmpInst::ICMP_EQ, LIC, Val); in EmitPreheaderBranchOnCondition()
955 auto *OldBranchSucc = OldBranch->getSuccessor(0); in EmitPreheaderBranchOnCondition()
956 auto *OldBranchParent = OldBranch->getParent(); in EmitPreheaderBranchOnCondition()
960 IRBuilder<>(OldBranch).CreateCondBr(BranchVal, TrueDest, FalseDest, TI); in EmitPreheaderBranchOnCondition()
966 OldBranch->removeFromParent(); in EmitPreheaderBranchOnCondition()
1032 auto *OldBranch = dyn_cast<BranchInst>(loopPreheader->getTerminator()); in UnswitchTrivialCondition() local
1033 assert(OldBranch && "Failed to split the preheader"); in UnswitchTrivialCondition()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp189 MachineInstr *OldBranch = I; in runOnMachineFunction() local
190 DebugLoc dl = OldBranch->getDebugLoc(); in runOnMachineFunction()
225 OldBranch->eraseFromParent(); in runOnMachineFunction()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp264 BranchInst *OldBranch, Instruction *TI);
918 BranchInst *OldBranch, in emitPreheaderBranchOnCondition() argument
920 assert(OldBranch->isUnconditional() && "Preheader is not split correctly"); in emitPreheaderBranchOnCondition()
928 BranchVal = new ICmpInst(OldBranch, ICmpInst::ICMP_EQ, LIC, Val); in emitPreheaderBranchOnCondition()
937 auto *OldBranchSucc = OldBranch->getSuccessor(0); in emitPreheaderBranchOnCondition()
938 auto *OldBranchParent = OldBranch->getParent(); in emitPreheaderBranchOnCondition()
942 IRBuilder<>(OldBranch).CreateCondBr(BranchVal, TrueDest, FalseDest, TI); in emitPreheaderBranchOnCondition()
948 OldBranch->removeFromParent(); in emitPreheaderBranchOnCondition()
1014 auto *OldBranch = dyn_cast<BranchInst>(LoopPreheader->getTerminator()); in unswitchTrivialCondition() local
1015 assert(OldBranch && "Failed to split the preheader"); in unswitchTrivialCondition()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp330 MachineInstr &OldBranch = *I; in runOnMachineFunction() local
331 DebugLoc dl = OldBranch.getDebugLoc(); in runOnMachineFunction()
366 OldBranch.eraseFromParent(); in runOnMachineFunction()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp361 MachineInstr &OldBranch = *I; in runOnMachineFunction() local
362 DebugLoc dl = OldBranch.getDebugLoc(); in runOnMachineFunction()
397 OldBranch.eraseFromParent(); in runOnMachineFunction()