Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/Utils/
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()
116 for (User *U : OrigInst->users()) in createRetPHINode()
119 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode()
120 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode()
290 CallBase *OrigInst = &CB; in versionCallSite() local
291 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite()
299 if (OrigInst->isMustTailCall()) { in versionCallSite()
306 CallBase *NewInst = cast<CallBase>(OrigInst->clone()); in versionCallSite()
[all …]
DLoopVersioning.cpp226 const Instruction *OrigInst) { in annotateInstWithNoAlias() argument
231 const Value *Ptr = isa<LoadInst>(OrigInst) in annotateInstWithNoAlias()
232 ? cast<LoadInst>(OrigInst)->getPointerOperand() in annotateInstWithNoAlias()
233 : cast<StoreInst>(OrigInst)->getPointerOperand(); in annotateInstWithNoAlias()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp104 static void createRetPHINode(Instruction *OrigInst, Instruction *NewInst, in createRetPHINode() argument
107 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty()) in createRetPHINode()
111 PHINode *Phi = Builder.CreatePHI(OrigInst->getType(), 0); in createRetPHINode()
113 for (User *U : OrigInst->users()) in createRetPHINode()
116 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode()
117 Phi->addIncoming(OrigInst, OrigInst->getParent()); in createRetPHINode()
260 Instruction *OrigInst = CS.getInstruction(); in versionCallSite() local
261 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite()
278 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite()
284 Instruction *NewInst = OrigInst->clone(); in versionCallSite()
[all …]
DLoopVersioning.cpp225 const Instruction *OrigInst) { in annotateInstWithNoAlias() argument
230 const Value *Ptr = isa<LoadInst>(OrigInst) in annotateInstWithNoAlias()
231 ? cast<LoadInst>(OrigInst)->getPointerOperand() in annotateInstWithNoAlias()
232 : cast<StoreInst>(OrigInst)->getPointerOperand(); in annotateInstWithNoAlias()
/external/llvm/lib/Transforms/Utils/
DLoopVersioning.cpp221 const Instruction *OrigInst) { in annotateInstWithNoAlias() argument
226 const Value *Ptr = isa<LoadInst>(OrigInst) in annotateInstWithNoAlias()
227 ? cast<LoadInst>(OrigInst)->getPointerOperand() in annotateInstWithNoAlias()
228 : cast<StoreInst>(OrigInst)->getPointerOperand(); in annotateInstWithNoAlias()
/external/llvm/include/llvm/Transforms/Utils/
DLoopVersioning.h98 const Instruction *OrigInst);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DLoopVersioning.h97 const Instruction *OrigInst);
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DLoopVersioning.h95 const Instruction *OrigInst);
/external/swiftshader/third_party/subzero/src/
DIceInst.cpp167 void Inst::spliceLivenessInfo(Inst *OrigInst, Inst *SpliceAssn) { in spliceLivenessInfo() argument
168 HasSideEffects |= OrigInst->HasSideEffects; in spliceLivenessInfo()
173 for (SizeT I = 0; I < OrigInst->getSrcSize(); ++I) { in spliceLivenessInfo()
174 Operand *Src = OrigInst->getSrc(I); in spliceLivenessInfo()
176 LREndedBits LeftMask = OrigInst->LiveRangesEnded & ((1 << Index) - 1); in spliceLivenessInfo()
177 LREndedBits RightMask = OrigInst->LiveRangesEnded >> (Index + 1); in spliceLivenessInfo()
DIceInst.h123 void spliceLivenessInfo(Inst *OrigInst, Inst *SpliceAssn);
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp3008 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
3009 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
3010 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
3127 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
3128 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
3129 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
3308 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
3309 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
3311 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
3530 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
[all …]
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp4357 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
4358 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
4359 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
4500 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
4501 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
4502 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
4694 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
4695 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
4697 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
4938 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp4007 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
4008 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
4009 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
4151 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
4152 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
4153 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
4346 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
4347 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
4349 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
4592 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DNewGVN.cpp730 MemoryAccess *MemAccess, Instruction *OrigInst,
2607 MemoryAccess *MemAccess, Instruction *OrigInst, in findLeaderForInst() argument
2609 unsigned IDFSNum = InstrToDFSNum(OrigInst); in findLeaderForInst()
2626 auto *FoundVal = findPHIOfOpsLeader(E, OrigInst, PredBB); in findLeaderForInst()
2628 ExpressionToPhiOfOps[E].insert(OrigInst); in findLeaderForInst()
3728 const Instruction *OrigInst, in findPHIOfOpsLeader() argument
3747 if (MemberInst == OrigInst) in findPHIOfOpsLeader()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DNewGVN.cpp727 MemoryAccess *MemAccess, Instruction *OrigInst,
2654 MemoryAccess *MemAccess, Instruction *OrigInst, in findLeaderForInst() argument
2656 unsigned IDFSNum = InstrToDFSNum(OrigInst); in findLeaderForInst()
2673 auto *FoundVal = findPHIOfOpsLeader(E, OrigInst, PredBB); in findLeaderForInst()
2675 ExpressionToPhiOfOps[E].insert(OrigInst); in findLeaderForInst()
3774 const Instruction *OrigInst, in findPHIOfOpsLeader() argument
3793 if (MemberInst == OrigInst) in findPHIOfOpsLeader()