Home
last modified time | relevance | path

Searched refs:OrigInst (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp107 static void createRetPHINode(Instruction *OrigInst, Instruction *NewInst, in createRetPHINode() argument
110 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode()
114 PHINode *Phi = Builder.CreatePHI(OrigInst->getType(), 0); in createRetPHINode()
115 SmallVector<User *, 16> UsersToUpdate(OrigInst->users()); in createRetPHINode()
117 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode()
118 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode()
286 CallBase *OrigInst = &CB; in versionCallSite() local
287 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite()
295 if (OrigInst->isMustTailCall()) { in versionCallSite()
302 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite()
[all …]
H A DLoopVersioning.cpp230 const Instruction *OrigInst) { in annotateInstWithNoAlias() argument
235 const Value *Ptr = isa<LoadInst>(OrigInst) in annotateInstWithNoAlias()
236 ? cast<LoadInst>(OrigInst)->getPointerOperand() in annotateInstWithNoAlias()
237 : cast<StoreInst>(OrigInst)->getPointerOperand(); in annotateInstWithNoAlias()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DLoopVersioning.h95 const Instruction *OrigInst);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp4358 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
4359 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
4360 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
4501 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
4502 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
4503 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
4695 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
4696 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
4698 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
4939 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp767 MemoryAccess *MemAccess, Instruction *OrigInst,
2625 MemoryAccess *MemAccess, Instruction *OrigInst, in findLeaderForInst() argument
2627 unsigned IDFSNum = InstrToDFSNum(OrigInst); in findLeaderForInst()
2638 addAdditionalUsers(Res, OrigInst); in findLeaderForInst()
2646 auto *FoundVal = findPHIOfOpsLeader(E, OrigInst, PredBB); in findLeaderForInst()
2648 ExpressionToPhiOfOps[E].insert(OrigInst); in findLeaderForInst()
3757 const Instruction *OrigInst, in findPHIOfOpsLeader() argument
3776 if (MemberInst == OrigInst) in findPHIOfOpsLeader()