Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp105 static void createRetPHINode(Instruction *OrigInst, Instruction *NewInst, in createRetPHINode() argument
108 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()
[all …]
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()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DLoopVersioning.h98 const Instruction *OrigInst);
/external/llvm/include/llvm/Transforms/Utils/
DLoopVersioning.h98 const Instruction *OrigInst);
/external/swiftshader/third_party/subzero/src/
DIceInst.cpp175 void Inst::spliceLivenessInfo(Inst *OrigInst, Inst *SpliceAssn) { in spliceLivenessInfo() argument
176 HasSideEffects |= OrigInst->HasSideEffects; in spliceLivenessInfo()
181 for (SizeT I = 0; I < OrigInst->getSrcSize(); ++I) { in spliceLivenessInfo()
182 Operand *Src = OrigInst->getSrc(I); in spliceLivenessInfo()
184 LREndedBits LeftMask = OrigInst->LiveRangesEnded & ((1 << Index) - 1); in spliceLivenessInfo()
185 LREndedBits RightMask = OrigInst->LiveRangesEnded >> (Index + 1); in spliceLivenessInfo()
DIceInst.h118 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp3410 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
3411 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
3412 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
3535 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
3536 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
3537 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
3720 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
3721 IRBuilder<> IRB(OrigInst->getNextNode()); in finalizeInstrumentation()
3723 Value *VAListTag = OrigInst->getArgOperand(0); in finalizeInstrumentation()
3956 CallInst *OrigInst = VAStartInstrumentationList[i]; in finalizeInstrumentation() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DNewGVN.cpp725 MemoryAccess *MemAccess, Instruction *OrigInst,
2676 MemoryAccess *MemAccess, Instruction *OrigInst, in findLeaderForInst() argument
2678 unsigned IDFSNum = InstrToDFSNum(OrigInst); in findLeaderForInst()
2695 auto *FoundVal = findPHIOfOpsLeader(E, OrigInst, PredBB); in findLeaderForInst()
2697 ExpressionToPhiOfOps[E].insert(OrigInst); in findLeaderForInst()
3830 const Instruction *OrigInst, in findPHIOfOpsLeader() argument
3849 if (MemberInst == OrigInst) in findPHIOfOpsLeader()