Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp619 for (auto *OrigI : SpecList) in speculatePHIs() local
620 for (auto *OpV : OrigI->operand_values()) { in speculatePHIs()
650 for (auto *OrigI : SpecList) { in speculatePHIs() local
651 auto *NewI = OrigI->clone(); in speculatePHIs()
652 NewI->setName(Twine(OrigI->getName()) + "." + Twine(PredIdx)); in speculatePHIs()
682 SpeculatedValueMap[OrigI].push_back(NewI); in speculatePHIs()
683 assert(SpeculatedValueMap[OrigI][PredIdx] == NewI && in speculatePHIs()
694 for (auto *OrigI : llvm::reverse(SpecList)) { in speculatePHIs() local
696 if (!OrigI->use_empty()) { in speculatePHIs()
697 auto *SpecIPN = IRB.CreatePHI(OrigI->getType(), SpecPreds.size(), in speculatePHIs()
[all …]
DNewGVN.cpp2628 auto *OrigI = cast<Instruction>(V); in OpIsSafeForPHIOfOpsHelper() local
2629 for (auto *Op : OrigI->operand_values()) { in OpIsSafeForPHIOfOpsHelper()
2633 auto OISIt = OpSafeForPHIOfOps.find(OrigI); in OpIsSafeForPHIOfOpsHelper()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstructionCombining.cpp2000 std::string OrigI; in DoOneIteration() local
2002 DEBUG(raw_string_ostream SS(OrigI); I->print(SS); OrigI = SS.str();); in DoOneIteration()
2003 DEBUG(errs() << "IC: Visiting: " << OrigI << '\n'); in DoOneIteration()
2038 DEBUG(errs() << "IC: Mod = " << OrigI << '\n' in DoOneIteration()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2575 Value *RHS, Instruction &OrigI, in OptimizeOverflowCheck() argument
2577 if (OrigI.isCommutative() && isa<Constant>(LHS) && !isa<Constant>(RHS)) in OptimizeOverflowCheck()
2584 Result->takeName(&OrigI); in OptimizeOverflowCheck()
2592 Builder->SetInsertPoint(&OrigI); in OptimizeOverflowCheck()
2599 OverflowResult OR = computeOverflowForUnsignedAdd(LHS, RHS, &OrigI); in OptimizeOverflowCheck()
2616 if (WillNotOverflowSignedAdd(LHS, RHS, OrigI)) in OptimizeOverflowCheck()
2629 if (WillNotOverflowSignedSub(LHS, RHS, OrigI)) in OptimizeOverflowCheck()
2633 if (WillNotOverflowUnsignedSub(LHS, RHS, OrigI)) in OptimizeOverflowCheck()
2641 OverflowResult OR = computeOverflowForUnsignedMul(LHS, RHS, &OrigI); in OptimizeOverflowCheck()
2662 if (WillNotOverflowSignedMul(LHS, RHS, OrigI)) in OptimizeOverflowCheck()
DInstructionCombining.cpp2856 std::string OrigI; in run() local
2858 DEBUG(raw_string_ostream SS(OrigI); I->print(SS); OrigI = SS.str();); in run()
2859 DEBUG(dbgs() << "IC: Visiting: " << OrigI << '\n'); in run()
2894 DEBUG(dbgs() << "IC: Mod = " << OrigI << '\n' in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3740 Value *RHS, Instruction &OrigI, in OptimizeOverflowCheck() argument
3742 if (OrigI.isCommutative() && isa<Constant>(LHS) && !isa<Constant>(RHS)) in OptimizeOverflowCheck()
3749 Result->takeName(&OrigI); in OptimizeOverflowCheck()
3757 Builder.SetInsertPoint(&OrigI); in OptimizeOverflowCheck()
3764 OverflowResult OR = computeOverflowForUnsignedAdd(LHS, RHS, &OrigI); in OptimizeOverflowCheck()
3783 if (willNotOverflowSignedAdd(LHS, RHS, OrigI)) in OptimizeOverflowCheck()
3796 if (willNotOverflowSignedSub(LHS, RHS, OrigI)) in OptimizeOverflowCheck()
3800 if (willNotOverflowUnsignedSub(LHS, RHS, OrigI)) in OptimizeOverflowCheck()
3808 OverflowResult OR = computeOverflowForUnsignedMul(LHS, RHS, &OrigI); in OptimizeOverflowCheck()
3830 if (willNotOverflowSignedMul(LHS, RHS, OrigI)) in OptimizeOverflowCheck()
DInstructionCombining.cpp3047 std::string OrigI; in run() local
3049 LLVM_DEBUG(raw_string_ostream SS(OrigI); I->print(SS); OrigI = SS.str();); in run()
3050 LLVM_DEBUG(dbgs() << "IC: Visiting: " << OrigI << '\n'); in run()
3084 LLVM_DEBUG(dbgs() << "IC: Mod = " << OrigI << '\n' in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2085 unsigned OrigI = PN.getBasicBlockIndex(BB); in SpeculativelyExecuteBB() local
2087 Value *OrigV = PN.getIncomingValue(OrigI); in SpeculativelyExecuteBB()
2102 PN.setIncomingValue(OrigI, V); in SpeculativelyExecuteBB()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1752 unsigned OrigI = PN->getBasicBlockIndex(BB); in SpeculativelyExecuteBB() local
1754 Value *OrigV = PN->getIncomingValue(OrigI); in SpeculativelyExecuteBB()
1769 PN->setIncomingValue(OrigI, V); in SpeculativelyExecuteBB()