Home
last modified time | relevance | path

Searched refs:NewInst (Results 1 – 25 of 25) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp104 static void createRetPHINode(Instruction *OrigInst, Instruction *NewInst, in createRetPHINode() argument
118 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode()
284 Instruction *NewInst = OrigInst->clone(); in versionCallSite() local
286 NewInst->insertBefore(ThenTerm); in versionCallSite()
292 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite()
314 createRetPHINode(OrigInst, NewInst, MergeBlock, Builder); in versionCallSite()
316 return NewInst; in versionCallSite()
455 Instruction *NewInst = versionCallSite(CS, Callee, BranchWeights); in promoteCallWithIfThenElse() local
458 return promoteCall(CallSite(NewInst), Callee); in promoteCallWithIfThenElse()
DCloneFunction.cpp57 Instruction *NewInst = I.clone(); in CloneBasicBlock() local
59 NewInst->setName(I.getName() + NameSuffix); in CloneBasicBlock()
60 NewBB->getInstList().push_back(NewInst); in CloneBasicBlock()
61 VMap[&I] = NewInst; // Add instruction map to value. in CloneBasicBlock()
336 Instruction *NewInst = II->clone(); in CloneBlock() local
340 if (!isa<PHINode>(NewInst)) { in CloneBlock()
341 RemapInstruction(NewInst, VMap, in CloneBlock()
348 SimplifyInstruction(NewInst, BB->getModule()->getDataLayout())) { in CloneBlock()
355 if (!NewInst->mayHaveSideEffects()) { in CloneBlock()
357 NewInst->deleteValue(); in CloneBlock()
[all …]
DLibCallsShrinkWrap.cpp490 Instruction *NewInst = in shrinkWrapCI() local
492 BasicBlock *CallBB = NewInst->getParent(); in shrinkWrapCI()
DInlineFunction.cpp2098 Instruction *NewInst; in InlineFunction() local
2100 NewInst = CallInst::Create(cast<CallInst>(I), OpBundles, I); in InlineFunction()
2102 NewInst = CallBrInst::Create(cast<CallBrInst>(I), OpBundles, I); in InlineFunction()
2104 NewInst = InvokeInst::Create(cast<InvokeInst>(I), OpBundles, I); in InlineFunction()
2105 NewInst->takeName(I); in InlineFunction()
2106 I->replaceAllUsesWith(NewInst); in InlineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/docs/
DLOWERING.rst66 NewInst = InstX8632Mov::create(Func, Reg, Src);
67 NewInst = InstX8632Mov::create(Func, Dst, Reg);
109 NewInst = InstX8632Mov::create(Func, Reg, Src);
110 NewInst = InstX8632Ret::create(Func, Reg);
148 NewInst = InstFakeKill::create(Func, CallInst);
173 NewInst = InstFakeKill::create(Func, CallInst);
176 NewInst = InstFakeDef::create(Func, RegHigh);
201 NewInst = InstFakeKill::create(Func, CallInst);
202 NewInst = InstFakeUse::create(Func, Reg);
203 NewInst = InstX8632Mov::create(Func, Result, Reg);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp143 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp310 Instruction *NewInst = in promoteIndirectCall() local
314 MDBuilder MDB(NewInst->getContext()); in promoteIndirectCall()
315 NewInst->setMetadata( in promoteIndirectCall()
329 return NewInst; in promoteIndirectCall()
DPGOMemOPSizeOpt.cpp376 Instruction *NewInst = MI->clone(); in perform() local
378 auto *MemI = cast<MemIntrinsic>(NewInst); in perform()
383 CaseBB->getInstList().push_back(NewInst); in perform()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceCfgNode.cpp264 auto *NewInst = InstAssign::create(Func, Dest, Operand); in placePhiStores() local
266 Insts.insert(SafeInsertionPoint, NewInst); in placePhiStores()
268 Insts.insert(InsertionPoint, NewInst); in placePhiStores()
1351 InstBr *NewInst = nullptr; in shortCircuit() local
1355 NewInst = in shortCircuit()
1360 NewInst = in shortCircuit()
1366 assert(NewInst != nullptr); in shortCircuit()
1367 appendInst(NewInst); in shortCircuit()
DIceTargetLowering.cpp659 auto *NewInst = in postRegallocSplitting() local
661 Node->getInsts().insert(instToIterator(Info.FirstUse), NewInst); in postRegallocSplitting()
664 auto *NewInst = in postRegallocSplitting() local
666 Node->getInsts().insertAfter(instToIterator(Info.LastDef), NewInst); in postRegallocSplitting()
DIceTargetLoweringX8664.cpp718 Inst *NewInst = nullptr; in doLoadOpt() local
723 NewInst = InstArithmetic::create(Func, Arith->getOp(), in doLoadOpt()
730 NewInst = InstIcmp::create(Func, Icmp->getCondition(), in doLoadOpt()
737 NewInst = InstFcmp::create(Func, Fcmp->getCondition(), in doLoadOpt()
744 NewInst = InstSelect::create(Func, Select->getDest(), in doLoadOpt()
751 NewInst = InstCast::create(Func, Cast->getCastKind(), in doLoadOpt()
755 if (NewInst) { in doLoadOpt()
758 Context.insert(NewInst); in doLoadOpt()
761 NewInst->spliceLivenessInfo(Next, CurInst); in doLoadOpt()
DIceTargetLoweringX8632.cpp708 Inst *NewInst = nullptr; in doLoadOpt() local
713 NewInst = InstArithmetic::create(Func, Arith->getOp(), in doLoadOpt()
720 NewInst = InstIcmp::create(Func, Icmp->getCondition(), in doLoadOpt()
727 NewInst = InstFcmp::create(Func, Fcmp->getCondition(), in doLoadOpt()
734 NewInst = InstSelect::create(Func, Select->getDest(), in doLoadOpt()
741 NewInst = InstCast::create(Func, Cast->getCastKind(), in doLoadOpt()
745 if (NewInst) { in doLoadOpt()
748 Context.insert(NewInst); in doLoadOpt()
751 NewInst->spliceLivenessInfo(Next, CurInst); in doLoadOpt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopDistribute.cpp222 Instruction *NewInst = &Inst; in removeUnusedInsts() local
224 NewInst = cast<Instruction>(VMap[NewInst]); in removeUnusedInsts()
226 assert(!isa<BranchInst>(NewInst) && in removeUnusedInsts()
228 Unused.push_back(NewInst); in removeUnusedInsts()
DLoopUnswitch.cpp380 const SwitchInst *NewInst = cast_or_null<SwitchInst>(NewI); in cloneData() local
381 assert(NewInst && "All instructions that are in SrcBB must be in VMap."); in cloneData()
383 NewLoopProps.UnswitchedVals[NewInst] = OldLoopProps.UnswitchedVals[OldInst]; in cloneData()
DReassociate.cpp2041 Value *NewInst = IsFSub ? Builder.CreateFAddFMF(OtherOp, Op, I) in canonicalizeNegFPConstantsForOp() local
2043 I->replaceAllUsesWith(NewInst); in canonicalizeNegFPConstantsForOp()
2045 return dyn_cast<Instruction>(NewInst); in canonicalizeNegFPConstantsForOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonCommonGEP.cpp1099 GetElementPtrInst *NewInst = nullptr; in fabricateGEP() local
1129 NewInst = GetElementPtrInst::Create(ElTy, Input, A, "cgep", &*At); in fabricateGEP()
1130 NewInst->setIsInBounds(RN->Flags & GepNode::InBounds); in fabricateGEP()
1131 LLVM_DEBUG(dbgs() << "new GEP: " << *NewInst << '\n'); in fabricateGEP()
1132 Input = NewInst; in fabricateGEP()
1136 return NewInst; in fabricateGEP()
1216 Value *NewInst = fabricateGEP(NA, InsertAt, LastB); in materialize() local
1226 CN->BaseVal = NewInst; in materialize()
1239 U->set(NewInst); in materialize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinEHState.cpp504 Instruction *NewInst = NewCS.getInstruction(); in rewriteSetJmpCallSite() local
505 NewInst->takeName(Inst); in rewriteSetJmpCallSite()
506 Inst->replaceAllUsesWith(NewInst); in rewriteSetJmpCallSite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTypePromotion.cpp466 if (auto *NewInst = dyn_cast<Instruction>(NewVal)) { in PrepareWrappingAdds() local
467 NewInst->copyIRFlags(I); in PrepareWrappingAdds()
468 NewInsts.insert(NewInst); in PrepareWrappingAdds()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIPeepholeSDWA.cpp933 auto NewInst = BuildMI(MBB, MISucc, MISucc.getDebugLoc(), TII->get(SuccOpc)); in pseudoOpConvertToVOP2() local
934 NewInst.add(*TII->getNamedOperand(MISucc, AMDGPU::OpName::vdst)); in pseudoOpConvertToVOP2()
935 NewInst.add(*TII->getNamedOperand(MISucc, AMDGPU::OpName::src0)); in pseudoOpConvertToVOP2()
936 NewInst.add(*TII->getNamedOperand(MISucc, AMDGPU::OpName::src1)); in pseudoOpConvertToVOP2()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DVectorUtils.cpp1150 void InterleaveGroup<InstT>::addMetadata(InstT *NewInst) const { in addMetadata()
1156 void InterleaveGroup<Instruction>::addMetadata(Instruction *NewInst) const { in addMetadata()
1160 propagateMetadata(NewInst, VL); in addMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp532 MCInst NewInst; in canonicalizeImmediates() local
533 NewInst.setOpcode(MCI.getOpcode()); in canonicalizeImmediates()
537 NewInst.addOperand(MCOperand::createExpr(HexagonMCExpr::create( in canonicalizeImmediates()
543 NewInst.addOperand(I); in canonicalizeImmediates()
545 MCI = NewInst; in canonicalizeImmediates()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DVectorUtils.h511 void addMetadata(InstTy *NewInst) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRExpandPseudoInsts.cpp831 MachineInstr &NewInst = in expandAtomicBinaryOp() local
833 f(NewInst); in expandAtomicBinaryOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp199 void createInstPostProc(Instruction *NewInst, bool NoNumber = false);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp2574 MachineInstr *NewInst = MIRBuilder.buildInstr(MI.getOpcode()) in fewerElementsVectorCasts() local
2578 NewInst->setFlags(MI.getFlags()); in fewerElementsVectorCasts()