Searched refs:NewInst (Results 1 - 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp50 Instruction *NewInst = II->clone(); local
52 NewInst->setName(II->getName()+NameSuffix);
53 NewBB->getInstList().push_back(NewInst);
54 VMap[II] = NewInst; // Add instruction map to value.
318 Instruction *NewInst = II->clone(); local
322 if (!isa<PHINode>(NewInst)) {
323 RemapInstruction(NewInst, VMap,
329 if (Value *V = SimplifyInstruction(NewInst, DL)) {
336 delete NewInst;
342 NewInst
392 Instruction *NewInst = OldTI->clone(); local
[all...]
/external/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp142 Instruction *NewInst = createReplacementInstr(CE, InsertPos); local
143 PN->setOperand(I, NewInst);
146 Instruction *NewInst = createReplacementInstr(CE, Instr); local
147 Instr->replaceUsesOfWith(CE, NewInst);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp1150 Value *NewInst = nullptr; local
1157 NewInst = Builder->CreateFMul(Y, Op1);
1158 if (Instruction *RI = dyn_cast<Instruction>(NewInst)) {
1163 SimpR = BinaryOperator::CreateFDiv(X, NewInst);
1169 NewInst = Builder->CreateFMul(Op0, Y);
1170 if (Instruction *RI = dyn_cast<Instruction>(NewInst)) {
1175 SimpR = BinaryOperator::CreateFDiv(NewInst, X);
1179 if (NewInst) {
1180 if (Instruction *T = dyn_cast<Instruction>(NewInst))
H A DInstCombineAddSub.cpp180 void createInstPostProc(Instruction *NewInst, bool NoNumber = false);
/external/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp318 const SwitchInst *NewInst = cast_or_null<SwitchInst>(NewI); local
319 assert(NewInst && "All instructions that are in SrcBB must be in VMap.");
321 NewLoopProps.UnswitchedVals[NewInst] = OldLoopProps.UnswitchedVals[OldInst];

Completed in 550 milliseconds