Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp108 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode()
112 PHINode *Phi = Builder.CreatePHI(OrigInst->getType(), 0); in createRetPHINode()
114 for (User *U : OrigInst->users()) in createRetPHINode()
117 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode()
118 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode()
261 Instruction *OrigInst = CS.getInstruction(); in versionCallSite() local
262 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite()
279 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite()
285 Instruction *NewInst = OrigInst->clone(); in versionCallSite()
286 OrigInst->moveBefore(ElseTerm); in versionCallSite()
[all …]
H A DLoopVersioning.cpp224 const Instruction *OrigInst) { in annotateInstWithNoAlias() argument
229 const Value *Ptr = isa<LoadInst>(OrigInst) in annotateInstWithNoAlias()
230 ? cast<LoadInst>(OrigInst)->getPointerOperand() in annotateInstWithNoAlias()
231 : cast<StoreInst>(OrigInst)->getPointerOperand(); in annotateInstWithNoAlias()
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/
H A DLoopVersioning.h98 const Instruction *OrigInst);
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp3855 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
3856 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
3857 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
3994 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
3995 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
3996 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
4185 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
4186 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
4188 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
4429 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp725 MemoryAccess *MemAccess, Instruction *OrigInst,
2679 MemoryAccess *MemAccess, Instruction *OrigInst, in findLeaderForInst() argument
2681 unsigned IDFSNum = InstrToDFSNum(OrigInst); in findLeaderForInst()
2698 auto *FoundVal = findPHIOfOpsLeader(E, OrigInst, PredBB); in findLeaderForInst()
2700 ExpressionToPhiOfOps[E].insert(OrigInst); in findLeaderForInst()
3799 const Instruction *OrigInst, in findPHIOfOpsLeader() argument
3818 if (MemberInst == OrigInst) in findPHIOfOpsLeader()