Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp110 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) 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()
307 auto Next = OrigInst->getNextNode(); in versionCallSite()
309 assert(BitCast->getOperand(0) == OrigInst && in versionCallSite()
312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite()
341 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite()
[all …]
H A DLoopVersioning.cpp229 const Instruction *OrigInst) { in annotateInstWithNoAlias() argument
234 const Value *Ptr = isa<LoadInst>(OrigInst) in annotateInstWithNoAlias()
235 ? cast<LoadInst>(OrigInst)->getPointerOperand() in annotateInstWithNoAlias()
236 : cast<StoreInst>(OrigInst)->getPointerOperand(); in annotateInstWithNoAlias()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DLoopVersioning.h96 const Instruction *OrigInst);
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp4402 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
4403 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
4404 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
4546 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
4547 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
4740 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
4742 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
4984 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
4985 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
5307 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp767 MemoryAccess *MemAccess, Instruction *OrigInst,
2657 MemoryAccess *MemAccess, Instruction *OrigInst, in findLeaderForInst() argument
2659 unsigned IDFSNum = InstrToDFSNum(OrigInst); in findLeaderForInst()
2670 addAdditionalUsers(Res, OrigInst); in findLeaderForInst()
2678 auto *FoundVal = findPHIOfOpsLeader(E, OrigInst, PredBB); in findLeaderForInst()
2680 ExpressionToPhiOfOps[E].insert(OrigInst); in findLeaderForInst()
3789 const Instruction *OrigInst, in findPHIOfOpsLeader() argument
3808 if (MemberInst == OrigInst) in findPHIOfOpsLeader()