/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 119 Phi->addIncoming(NewInst, NewInst->getParent()); in createRetPHINode() 302 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local 303 NewInst->insertBefore(ThenTerm); in versionCallSite() 306 Value *NewRetVal = NewInst; in versionCallSite() 312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite() 330 return *NewInst; in versionCallSite() 347 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite() local 349 NewInst->insertBefore(ThenTerm); in versionCallSite() 355 auto *NewInvoke = cast<InvokeInst>(NewInst); in versionCallSite() 379 return *NewInst; in versionCallSite() [all …]
|
H A D | CloneFunction.cpp | 60 Instruction *NewInst = I.clone(); in CloneBasicBlock() local 62 NewInst->setName(I.getName() + NameSuffix); in CloneBasicBlock() 63 NewBB->getInstList().push_back(NewInst); in CloneBasicBlock() 383 Instruction *NewInst = II->clone(); in CloneBlock() local 387 if (!isa<PHINode>(NewInst)) { in CloneBlock() 388 RemapInstruction(NewInst, VMap, in CloneBlock() 402 if (!NewInst->mayHaveSideEffects()) { in CloneBlock() 404 NewInst->deleteValue(); in CloneBlock() 413 NewBB->getInstList().push_back(NewInst); in CloneBlock() 467 Instruction *NewInst = OldTI->clone(); in CloneBlock() local [all …]
|
H A D | LibCallsShrinkWrap.cpp | 490 Instruction *NewInst = in shrinkWrapCI() local 492 BasicBlock *CallBB = NewInst->getParent(); in shrinkWrapCI()
|
H A D | InlineFunction.cpp | 2309 Instruction *NewInst = CallBase::Create(I, OpBundles, I); in InlineFunction() local 2310 NewInst->takeName(I); in InlineFunction() 2311 I->replaceAllUsesWith(NewInst); in InlineFunction()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
H A D | NVPTXLowerArgs.cpp | 202 Value *NewInst = CloneInstInParamAS(I); in convertToParamAS() local 204 if (NewInst && NewInst != I.OldInstruction) { in convertToParamAS() 209 I.OldInstruction->users(), [NewInst, &ItemsToConvert](Value *V) { in convertToParamAS() 210 ItemsToConvert.push_back({cast<Instruction>(V), NewInst}); in convertToParamAS()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/XCore/ |
H A D | XCoreLowerThreadLocal.cpp | 93 Instruction *NewInst = createReplacementInstr(CE, InsertPos); in replaceConstantExprOp() local 94 PN->setOperand(I, NewInst); in replaceConstantExprOp() 97 Instruction *NewInst = createReplacementInstr(CE, Instr); in replaceConstantExprOp() local 98 Instr->replaceUsesOfWith(CE, NewInst); in replaceConstantExprOp()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86LowerAMXType.cpp | 182 Value *NewInst = in combineLoadBitcast() local 184 Bitcast->replaceAllUsesWith(NewInst); in combineLoadBitcast() 258 Value *NewInst = Builder.CreateIntrinsic( in transformBitcast() local 260 Bitcast->replaceAllUsesWith(NewInst); in transformBitcast() 277 Value *NewInst = Builder.CreateLoad(Bitcast->getType(), AllocaAddr); in transformBitcast() local 278 Bitcast->replaceAllUsesWith(NewInst); in transformBitcast()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | IndirectCallPromotion.cpp | 315 CallBase &NewInst = in promoteIndirectCall() local 319 MDBuilder MDB(NewInst.getContext()); in promoteIndirectCall() 320 NewInst.setMetadata( in promoteIndirectCall() 334 return NewInst; in promoteIndirectCall()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | ExpandVectorPredication.cpp | 99 auto *NewInst = dyn_cast<Instruction>(&NewVal); in transferDecorations() local 100 if (!NewInst || !isa<FPMathOperator>(NewVal)) in transferDecorations() 107 NewInst->setFastMathFlags(OldFMOp->getFastMathFlags()); in transferDecorations()
|
H A D | TypePromotion.cpp | 468 if (auto *NewInst = dyn_cast<Instruction>(NewVal)) { in PrepareWrappingAdds() local 469 NewInst->copyIRFlags(I); in PrepareWrappingAdds() 470 NewInsts.insert(NewInst); in PrepareWrappingAdds()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | LoopDistribute.cpp | 221 Instruction *NewInst = &Inst; in removeUnusedInsts() local 223 NewInst = cast<Instruction>(VMap[NewInst]); in removeUnusedInsts() 225 assert(!isa<BranchInst>(NewInst) && in removeUnusedInsts() 227 Unused.push_back(NewInst); in removeUnusedInsts()
|
H A D | LoopUnswitch.cpp | 393 const SwitchInst *NewInst = cast_or_null<SwitchInst>(NewI); in cloneData() local 394 assert(NewInst && "All instructions that are in SrcBB must be in VMap."); in cloneData() 396 NewLoopProps.UnswitchedVals[NewInst] = OldLoopProps.UnswitchedVals[OldInst]; in cloneData()
|
H A D | Reassociate.cpp | 2139 Value *NewInst = IsFSub ? Builder.CreateFAddFMF(OtherOp, Op, I) in canonicalizeNegFPConstantsForOp() local 2141 I->replaceAllUsesWith(NewInst); in canonicalizeNegFPConstantsForOp() 2143 return dyn_cast<Instruction>(NewInst); in canonicalizeNegFPConstantsForOp()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 1089 GetElementPtrInst *NewInst = nullptr; in fabricateGEP() local 1119 NewInst = GetElementPtrInst::Create(ElTy, Input, A, "cgep", &*At); in fabricateGEP() 1120 NewInst->setIsInBounds(RN->Flags & GepNode::InBounds); in fabricateGEP() 1121 LLVM_DEBUG(dbgs() << "new GEP: " << *NewInst << '\n'); in fabricateGEP() 1122 Input = NewInst; in fabricateGEP() 1126 return NewInst; in fabricateGEP() 1206 Value *NewInst = fabricateGEP(NA, InsertAt, LastB); in materialize() local 1216 CN->BaseVal = NewInst; in materialize() 1229 U->set(NewInst); in materialize()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
H A D | MipsInstructionSelector.cpp | 260 MachineInstr *NewInst = in buildUnalignedStore() local 266 if (!constrainSelectedInstRegOperands(*NewInst, TII, TRI, RBI)) in buildUnalignedStore() 274 MachineInstr *NewInst = in buildUnalignedLoad() local 281 if (!constrainSelectedInstRegOperands(*NewInst, TII, TRI, RBI)) in buildUnalignedLoad()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/BPF/ |
H A D | BPFAbstractMemberAccess.cpp | 108 auto *NewInst = CallInst::Create(Fn, {SeqNumVal, Input}); in insertPassThrough() local 109 BB->getInstList().insert(Before->getIterator(), NewInst); in insertPassThrough() 110 return NewInst; in insertPassThrough()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 1287 void InterleaveGroup<InstT>::addMetadata(InstT *NewInst) const { in addMetadata() 1293 void InterleaveGroup<Instruction>::addMetadata(Instruction *NewInst) const { in addMetadata() 1297 propagateMetadata(NewInst, VL); in addMetadata()
|
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGCUDANV.cpp | 468 auto *NewInst = llvm::createReplacementInstr(CE, I); in replaceManagedVar() local 469 NewInst->replaceUsesOfWith(OldV, NewV); in replaceManagedVar() 471 NewV = NewInst; in replaceManagedVar()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/AsmParser/ |
H A D | HexagonAsmParser.cpp | 538 MCInst NewInst; in canonicalizeImmediates() local 539 NewInst.setOpcode(MCI.getOpcode()); in canonicalizeImmediates() 543 NewInst.addOperand(MCOperand::createExpr(HexagonMCExpr::create( in canonicalizeImmediates() 549 NewInst.addOperand(I); in canonicalizeImmediates() 551 MCI = NewInst; in canonicalizeImmediates()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | VectorUtils.h | 677 void addMetadata(InstTy *NewInst) const;
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 5497 Value *NewInst = ExtractAndExtendIfNeeded(Vec); in vectorizeTree() local 5500 ExternallyUsedValues.insert({NewInst, Locs}); in vectorizeTree() 5503 Scalar->replaceAllUsesWith(NewInst); in vectorizeTree() 5521 Value *NewInst = ExtractAndExtendIfNeeded(Vec); in vectorizeTree() local 5523 PH->setOperand(i, NewInst); in vectorizeTree() 5528 Value *NewInst = ExtractAndExtendIfNeeded(Vec); in vectorizeTree() local 5530 User->replaceUsesOfWith(Scalar, NewInst); in vectorizeTree() 5534 Value *NewInst = ExtractAndExtendIfNeeded(Vec); in vectorizeTree() local 5536 User->replaceUsesOfWith(Scalar, NewInst); in vectorizeTree()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64InstructionSelector.cpp | 2652 auto NewInst = MIB.buildInstr(NewOpc, {}, {}, I.getFlags()); in select() local 2653 IsStore ? NewInst.addUse(ValReg) : NewInst.addDef(ValReg); in select() 2654 NewInst.cloneMemRefs(I); in select() 2656 Fn(NewInst); in select() 2658 return &*NewInst; in select()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AVR/ |
H A D | AVRExpandPseudoInsts.cpp | 869 MachineInstr &NewInst = in expandAtomicBinaryOp() local 871 f(NewInst); in expandAtomicBinaryOp()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 200 void createInstPostProc(Instruction *NewInst, bool NoNumber = false);
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 3428 MachineInstr *NewInst = in fewerElementsVectorCasts() local 3431 NewInst->setFlags(MI.getFlags()); in fewerElementsVectorCasts()
|