Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp626 for (auto *OrigI : SpecList) in speculatePHIs() local
627 for (auto *OpV : OrigI->operand_values()) { in speculatePHIs()
657 for (auto *OrigI : SpecList) { in speculatePHIs() local
658 auto *NewI = OrigI->clone(); in speculatePHIs()
659 NewI->setName(Twine(OrigI->getName()) + "." + Twine(PredIdx)); in speculatePHIs()
689 SpeculatedValueMap[OrigI].push_back(NewI); in speculatePHIs()
690 assert(SpeculatedValueMap[OrigI][PredIdx] == NewI && in speculatePHIs()
701 for (auto *OrigI : llvm::reverse(SpecList)) { in speculatePHIs() local
703 if (!OrigI->use_empty()) { in speculatePHIs()
704 auto *SpecIPN = IRB.CreatePHI(OrigI->getType(), SpecPreds.size(), in speculatePHIs()
[all …]
DNewGVN.cpp2606 auto *OrigI = cast<Instruction>(V); in OpIsSafeForPHIOfOpsHelper() local
2607 for (auto *Op : OrigI->operand_values()) { in OpIsSafeForPHIOfOpsHelper()
2611 auto OISIt = OpSafeForPHIOfOps.find(OrigI); in OpIsSafeForPHIOfOpsHelper()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp3364 std::string OrigI; in run() local
3366 LLVM_DEBUG(raw_string_ostream SS(OrigI); I->print(SS); OrigI = SS.str();); in run()
3367 LLVM_DEBUG(dbgs() << "IC: Visiting: " << OrigI << '\n'); in run()
3401 LLVM_DEBUG(dbgs() << "IC: Mod = " << OrigI << '\n' in run()
DInstCombineCompares.cpp4507 Instruction &OrigI, Value *&Result, Constant *&Overflow) { in OptimizeOverflowCheck() argument
4508 if (OrigI.isCommutative() && isa<Constant>(LHS) && !isa<Constant>(RHS)) in OptimizeOverflowCheck()
4515 Builder.SetInsertPoint(&OrigI); in OptimizeOverflowCheck()
4523 switch (computeOverflow(BinaryOp, IsSigned, LHS, RHS, &OrigI)) { in OptimizeOverflowCheck()
4529 Result->takeName(&OrigI); in OptimizeOverflowCheck()
4534 Result->takeName(&OrigI); in OptimizeOverflowCheck()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2124 unsigned OrigI = PN.getBasicBlockIndex(BB); in SpeculativelyExecuteBB() local
2126 Value *OrigV = PN.getIncomingValue(OrigI); in SpeculativelyExecuteBB()
2141 PN.setIncomingValue(OrigI, V); in SpeculativelyExecuteBB()