Searched refs:OrigI (Results 1 – 5 of 5) sorted by relevance
626 for (auto *OrigI : SpecList) in speculatePHIs() local627 for (auto *OpV : OrigI->operand_values()) { in speculatePHIs()657 for (auto *OrigI : SpecList) { in speculatePHIs() local658 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() local703 if (!OrigI->use_empty()) { in speculatePHIs()704 auto *SpecIPN = IRB.CreatePHI(OrigI->getType(), SpecPreds.size(), in speculatePHIs()[all …]
2606 auto *OrigI = cast<Instruction>(V); in OpIsSafeForPHIOfOpsHelper() local2607 for (auto *Op : OrigI->operand_values()) { in OpIsSafeForPHIOfOpsHelper()2611 auto OISIt = OpSafeForPHIOfOps.find(OrigI); in OpIsSafeForPHIOfOpsHelper()
3364 std::string OrigI; in run() local3366 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()
4507 Instruction &OrigI, Value *&Result, Constant *&Overflow) { in OptimizeOverflowCheck() argument4508 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()
2124 unsigned OrigI = PN.getBasicBlockIndex(BB); in SpeculativelyExecuteBB() local2126 Value *OrigV = PN.getIncomingValue(OrigI); in SpeculativelyExecuteBB()2141 PN.setIncomingValue(OrigI, V); in SpeculativelyExecuteBB()