Searched refs:NewInst (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 50 Instruction *NewInst = II->clone(); in CloneBasicBlock() local 52 NewInst->setName(II->getName()+NameSuffix); in CloneBasicBlock() 53 NewBB->getInstList().push_back(NewInst); in CloneBasicBlock() 54 VMap[II] = NewInst; // Add instruction map to value. in CloneBasicBlock() 346 Instruction *NewInst = II->clone(); in CloneBlock() local 350 if (!isa<PHINode>(NewInst)) { in CloneBlock() 351 RemapInstruction(NewInst, VMap, in CloneBlock() 359 SimplifyInstruction(NewInst, BB->getModule()->getDataLayout())) { in CloneBlock() 366 delete NewInst; in CloneBlock() 372 NewInst->setName(II->getName()+NameSuffix); in CloneBlock() [all …]
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 143 Instruction *NewInst = createReplacementInstr(CE, InsertPos); in replaceConstantExprOp() local 144 PN->setOperand(I, NewInst); in replaceConstantExprOp() 147 Instruction *NewInst = createReplacementInstr(CE, Instr); in replaceConstantExprOp() local 148 Instr->replaceUsesOfWith(CE, NewInst); in replaceConstantExprOp()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 1293 Value *NewInst = nullptr; in visitFDiv() local 1300 NewInst = Builder->CreateFMul(Y, Op1); in visitFDiv() 1301 if (Instruction *RI = dyn_cast<Instruction>(NewInst)) { in visitFDiv() 1306 SimpR = BinaryOperator::CreateFDiv(X, NewInst); in visitFDiv() 1312 NewInst = Builder->CreateFMul(Op0, Y); in visitFDiv() 1313 if (Instruction *RI = dyn_cast<Instruction>(NewInst)) { in visitFDiv() 1318 SimpR = BinaryOperator::CreateFDiv(NewInst, X); in visitFDiv() 1322 if (NewInst) { in visitFDiv() 1323 if (Instruction *T = dyn_cast<Instruction>(NewInst)) in visitFDiv()
|
D | InstCombineAddSub.cpp | 180 void createInstPostProc(Instruction *NewInst, bool NoNumber = false);
|
/external/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 1069 Instruction *NewInst = LPad->clone(); in handleLandingPad() local 1071 NewInst->setName(LPad->getName()); in handleLandingPad() 1073 NestedLPtoOriginalLP[cast<LandingPadInst>(NewInst)] = LPad; in handleLandingPad() 1074 VMap[LPad] = NewInst; in handleLandingPad() 1076 InstList.push_back(NewInst); in handleLandingPad() 1183 Instruction *NewInst = new UnreachableInst(NewBB->getContext()); in handleLandingPad() local 1184 VMap[LPad] = NewInst; in handleLandingPad() 1186 InstList.push_back(NewInst); in handleLandingPad()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 327 const SwitchInst *NewInst = cast_or_null<SwitchInst>(NewI); in cloneData() local 328 assert(NewInst && "All instructions that are in SrcBB must be in VMap."); in cloneData() 330 NewLoopProps.UnswitchedVals[NewInst] = OldLoopProps.UnswitchedVals[OldInst]; in cloneData()
|