Home
last modified time | relevance | path

Searched defs:NewI (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp229 if (Instruction *NewI = tryReassociate(&OrigI, OrigSCEV)) { in doOneIteration() local
471 if (auto *NewI = tryReassociateBinaryOp(LHS, RHS, I)) in tryReassociateBinaryOp() local
473 if (auto *NewI = tryReassociateBinaryOp(RHS, LHS, I)) in tryReassociateBinaryOp() local
489 if (auto *NewI = in tryReassociateBinaryOp() local
494 if (auto *NewI = in tryReassociateBinaryOp() local
511 Instruction *NewI = nullptr; in tryReassociatedBinaryOp() local
H A DInferAddressSpaces.cpp581 auto *NewI = new AddrSpaceCastInst(Operand, NewPtrTy); in operandWithNewAddressSpaceOrCreatePoison() local
643 auto *NewI = new AddrSpaceCastInst(I, NewPtrTy); in cloneInstructionWithNewAddressSpace() local
794 if (Instruction *NewI = dyn_cast_or_null<Instruction>(NewV)) { in cloneValueWithNewAddressSpace() local
H A DScalarizeMaskedMemIntrin.cpp164 Value *NewI = Builder.CreateAlignedLoad(VecType, Ptr, AlignVal); in scalarizeMaskedLoad() local
H A DCorrelatedValuePropagation.cpp621 Value *NewI = B.CreateInsertValue(Struct, NewOp, 0); in processOverflowIntrinsic() local
H A DLoopInterchange.cpp1321 Instruction *NewI = WorkList[i]->clone(); in transform() local
H A DRewriteStatepointsForGC.cpp1600 Instruction *NewI = New; in doReplacement() local
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp959 CallInst *NewI = B.CreateIntrinsic(Intrinsic::spv_switch, in visitSwitchInst() local
984 auto *NewI = B.CreateIntrinsic(Intrinsic::spv_gep, {Types}, {Args}); in visitGetElementPtrInst() local
1007 auto *NewI = B.CreateIntrinsic(Intrinsic::spv_bitcast, {Types}, {Args}); in visitBitCastInst() local
1230 auto *NewI = B.CreateIntrinsic(Intrinsic::spv_insertelt, {Types}, {Args}); in visitInsertElementInst() local
1245 auto *NewI = B.CreateIntrinsic(Intrinsic::spv_extractelt, {Types}, {Args}); in visitExtractElementInst() local
1265 Instruction *NewI = in visitInsertValueInst() local
1279 auto *NewI = in visitExtractValueInst() local
1295 auto *NewI = in visitLoadInst() local
1313 auto *NewI = B.CreateIntrinsic( in visitStoreInst() local
1337 auto *NewI = in visitAllocaInst() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNPreRAOptimizations.cpp200 auto NewI = BuildMI(*Def0->getParent(), *Def0, Def0->getDebugLoc(), in processReg() local
H A DAMDGPUAtomicOptimizer.cpp893 Instruction *const NewI = I.clone(); in optimizeAtomic() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp369 auto *NewI = new LoadInst(LT->getType(), V, "", LT->isVolatile(), in replace() local
390 auto *NewI = in replace() local
418 auto *NewI = IC.Builder.CreateMemTransferInst( in replace() local
436 auto *NewI = new AddrSpaceCastInst(V, ASC->getType(), ""); in replace() local
526 Instruction *NewI = replaceInstUsesWith(AI, TheSrc); in visitAllocaInst() local
H A DInstCombineVectorOps.cpp1179 if (Instruction *NewI = foldAggregateConstructionIntoAggregateReuse(I)) in visitInsertValueInst() local
1875 if (auto *NewI = dyn_cast<Instruction>(New)) { in buildNew() local
2372 if (auto *NewI = dyn_cast<Instruction>(NewBO)) { in foldSelectShuffle() local
H A DInstCombineAddSub.cpp1435 if (auto *NewI = dyn_cast<BinaryOperator>(NewMath)) { in factorizeMathWithShlOps() local
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DEditedSource.cpp223 NewI = FileEdits.insert(I, std::make_pair(BeginOffs, FileEdit())); in commitRemove() local
233 NewI = FileEdits.insert(I, std::make_pair(BeginOffs, FileEdit())); in commitRemove() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp1771 MachineInstrBuilder NewI; in legalizeLoadStore() local
2020 auto NewI = MIRBuilder.buildUnmerge({s64, s64}, MI.getOperand(3)); in legalizeAtomicCmpxchg128() local
H A DAArch64InstructionSelector.cpp2212 auto NewI = in earlySelectSHL() local
2740 auto NewI = in select() local
6002 auto NewI = MIB.buildInstr( in selectIntrinsicWithSideEffects() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp824 auto *NewI = dyn_cast_or_null<Instruction>(VMap.lookup(&I)); in CloneAndPruneIntoFromInst() local
H A DInlineFunction.cpp2436 Instruction *NewI = CallBase::Create(ICS, OpDefs, ICS->getIterator()); in InlineFunction() local
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonSplitDouble.cpp592 MachineInstr *NewI = BuildMI(B, MI, DL, TII->get(Opc)); in createHalfInstr() local
H A DHexagonExpandCondsets.cpp919 MachineInstr *NewI = MB; in predicateAt() local
H A DHexagonFrameLowering.cpp856 MachineInstr *NewI = BuildMI(MBB, RetI, dl, HII.get(NewOpc)) in insertEpilogueInBlock() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp1060 auto *NewI = cast<Instruction>(VT.second); in cloneCommonBlocks() local
H A DMachineBasicBlock.cpp863 succ_iterator NewI = E; in replaceSuccessor() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp1870 StoreInst *NewI = cast<StoreInst>(I->clone()); in replaceArgumentUses() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp125 if (auto *NewI = dyn_cast<Instruction>(&New)) { in replaceValue() local
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp1954 const_iterator NewI = I; in hasDSA() local
1975 const_iterator NewI = StartI; in hasInnermostDSA() local

12