Home
last modified time | relevance | path

Searched refs:IncomingBB (Results 1 – 25 of 28) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp655 BasicBlock *IncomingBB = PHI->getIncomingBlock(ValNo); in runOnFunction() local
660 BasicBlock *InsertBB = IncomingBB; in runOnFunction()
675 if (PHI->getIncomingBlock(i) == IncomingBB) { in runOnFunction()
/external/llvm-project/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp626 BasicBlock *IncomingBB = PHI->getIncomingBlock(ValNo); in run() local
631 BasicBlock *InsertBB = IncomingBB; in run()
646 if (PHI->getIncomingBlock(i) == IncomingBB) { in run()
/external/llvm-project/polly/lib/CodeGen/
DBlockGenerators.cpp1739 PHINode *PHICopy, BasicBlock *IncomingBB, in addOperandToPHI() argument
1743 BasicBlock *BBCopyStart = StartBlockMap[IncomingBB]; in addOperandToPHI()
1744 BasicBlock *BBCopyEnd = EndBlockMap[IncomingBB]; in addOperandToPHI()
1747 assert(Stmt.represents(IncomingBB) && in addOperandToPHI()
1749 IncompletePHINodeMap[IncomingBB].push_back(std::make_pair(PHI, PHICopy)); in addOperandToPHI()
1759 if (Stmt.represents(IncomingBB)) { in addOperandToPHI()
1760 Value *Op = PHI->getIncomingValueForBlock(IncomingBB); in addOperandToPHI()
1795 for (BasicBlock *IncomingBB : PHI->blocks()) in copyPHIInstruction()
1796 addOperandToPHI(Stmt, PHI, PHICopy, IncomingBB, LTS); in copyPHIInstruction()
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp405 BasicBlock *IncomingBB = PN->getIncomingBlock(i); in UpdatePHINodes() local
406 if (PredSet.count(IncomingBB)) { in UpdatePHINodes()
408 NewPHI->addIncoming(V, IncomingBB); in UpdatePHINodes()
DSimplifyCFG.cpp3390 auto *IncomingBB = PhiLPInst->getIncomingBlock(Idx); in SimplifyCommonResume() local
3395 if (IncomingBB->getUniqueSuccessor() != BB) in SimplifyCommonResume()
3398 auto *LandingPad = dyn_cast<LandingPadInst>(IncomingBB->getFirstNonPHI()); in SimplifyCommonResume()
3405 I = IncomingBB->getFirstNonPHI()->getIterator(); in SimplifyCommonResume()
3406 E = IncomingBB->getTerminator()->getIterator(); in SimplifyCommonResume()
3414 TrivialUnwindBlocks.insert(IncomingBB); in SimplifyCommonResume()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp245 auto *IncomingBB = PN.getIncomingBlock(i); in FoldIntegerTypedPHI() local
249 NewPtrPHI->addIncoming(IncomingVal, IncomingBB); in FoldIntegerTypedPHI()
281 auto *InsertBB = &IncomingBB->getParent()->getEntryBlock(); in FoldIntegerTypedPHI()
285 NewPtrPHI->addIncoming(CI, IncomingBB); in FoldIntegerTypedPHI()
/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp459 BasicBlock *IncomingBB = PHI->getIncomingBlock(Idx); in updateOperand() local
461 if (PHI->getIncomingBlock(i) == IncomingBB) { in updateOperand()
DIndVarSimplify.cpp686 auto *IncomingBB = PN->getIncomingBlock(IncomingValIdx); in rewriteFirstIterationLoopExitValues() local
692 if (IncomingBB != LoopHeader) in rewriteFirstIterationLoopExitValues()
696 auto *TermInst = IncomingBB->getTerminator(); in rewriteFirstIterationLoopExitValues()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp904 auto *IncomingBB = ehAwareSplitEdge(Pred, &BB, LandingPad, ReplPHI); in rewritePHIs() local
905 IncomingBB->setName(BB.getName() + Twine(".from.") + Pred->getName()); in rewritePHIs()
908 int Index = PN->getBasicBlockIndex(IncomingBB); in rewritePHIs()
912 &IncomingBB->front()); in rewritePHIs()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp254 auto *IncomingBB = PN.getIncomingBlock(i); in foldIntegerTypedPHI() local
258 NewPtrPHI->addIncoming(IncomingVal, IncomingBB); in foldIntegerTypedPHI()
290 auto *InsertBB = &IncomingBB->getParent()->getEntryBlock(); in foldIntegerTypedPHI()
294 NewPtrPHI->addIncoming(CI, IncomingBB); in foldIntegerTypedPHI()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp698 BasicBlock *IncomingBB = PN->getIncomingBlock(i); in UpdatePHINodes() local
699 if (PredSet.count(IncomingBB)) { in UpdatePHINodes()
701 NewPHI->addIncoming(V, IncomingBB); in UpdatePHINodes()
DSimplifyCFG.cpp3895 auto *IncomingBB = PhiLPInst->getIncomingBlock(Idx); in SimplifyCommonResume() local
3900 if (IncomingBB->getUniqueSuccessor() != BB) in SimplifyCommonResume()
3903 auto *LandingPad = dyn_cast<LandingPadInst>(IncomingBB->getFirstNonPHI()); in SimplifyCommonResume()
3910 I = IncomingBB->getFirstNonPHI()->getIterator(); in SimplifyCommonResume()
3911 E = IncomingBB->getTerminator()->getIterator(); in SimplifyCommonResume()
3919 TrivialUnwindBlocks.insert(IncomingBB); in SimplifyCommonResume()
/external/llvm-project/polly/include/polly/CodeGen/
DBlockGenerators.h906 BasicBlock *IncomingBB, LoopToScevMapT &LTS);
/external/llvm-project/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp719 BasicBlock *IncomingBB = PN->getIncomingBlock(i); in UpdatePHINodes() local
720 if (PredSet.count(IncomingBB)) { in UpdatePHINodes()
722 NewPHI->addIncoming(V, IncomingBB); in UpdatePHINodes()
DSimplifyCFG.cpp4068 auto *IncomingBB = PhiLPInst->getIncomingBlock(Idx); in simplifyCommonResume() local
4073 if (IncomingBB->getUniqueSuccessor() != BB) in simplifyCommonResume()
4076 auto *LandingPad = dyn_cast<LandingPadInst>(IncomingBB->getFirstNonPHI()); in simplifyCommonResume()
4082 make_range(LandingPad->getNextNode(), IncomingBB->getTerminator()))) in simplifyCommonResume()
4083 TrivialUnwindBlocks.insert(IncomingBB); in simplifyCommonResume()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp192 BasicBlock *IncomingBB = P->getIncomingBlock(IncomingConstant.second); in simplifyCommonValuePhi() local
193 if (C != LVI->getConstantOnEdge(CommonValue, IncomingBB, ToBB, P)) in simplifyCommonValuePhi()
DConstantHoisting.cpp719 BasicBlock *IncomingBB = PHI->getIncomingBlock(Idx); in updateOperand() local
721 if (PHI->getIncomingBlock(i) == IncomingBB) { in updateOperand()
DIndVarSimplify.cpp764 auto *IncomingBB = PN.getIncomingBlock(IncomingValIdx); in rewriteFirstIterationLoopExitValues() local
772 !DT->dominates(IncomingBB, L->getLoopLatch())) in rewriteFirstIterationLoopExitValues()
776 auto *TermInst = IncomingBB->getTerminator(); in rewriteFirstIterationLoopExitValues()
DJumpThreading.cpp224 [](BasicBlock *IncomingBB, in updatePredecessorProfileMetadata()
226 auto *PredBB = IncomingBB; in updatePredecessorProfileMetadata()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp724 BasicBlock *IncomingBB = PHI->getIncomingBlock(Idx); in updateOperand() local
726 if (PHI->getIncomingBlock(i) == IncomingBB) { in updateOperand()
DIndVarSimplify.cpp452 auto *IncomingBB = PN.getIncomingBlock(IncomingValIdx); in rewriteFirstIterationLoopExitValues() local
460 !DT->dominates(IncomingBB, L->getLoopLatch())) in rewriteFirstIterationLoopExitValues()
464 auto *TermInst = IncomingBB->getTerminator(); in rewriteFirstIterationLoopExitValues()
DCorrelatedValuePropagation.cpp190 BasicBlock *IncomingBB = P->getIncomingBlock(IncomingConstant.second); in simplifyCommonValuePhi() local
191 if (C != LVI->getConstantOnEdge(CommonValue, IncomingBB, ToBB, P)) in simplifyCommonValuePhi()
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp1553 auto *IncomingBB = ehAwareSplitEdge(Pred, &BB, LandingPad, ReplPHI); in rewritePHIs() local
1554 IncomingBB->setName(BB.getName() + Twine(".from.") + Pred->getName()); in rewritePHIs()
1558 movePHIValuesToInsertedBlock(&BB, IncomingBB, Pred, ReplPHI); in rewritePHIs()
/external/llvm-project/polly/lib/Analysis/
DScopInfo.cpp2441 BasicBlock *IncomingBB = PHI->getIncomingBlock(U); in getIncomingStmtFor() local
2446 if (IncomingInst->getParent() == IncomingBB) { in getIncomingStmtFor()
2453 return getLastStmtFor(IncomingBB); in getIncomingStmtFor()
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributor.cpp602 BasicBlock *IncomingBB = PHI->getIncomingBlock(U); in isAssumedDead() local
603 return isAssumedDead(*IncomingBB->getTerminator(), QueryingAA, FnLivenessAA, in isAssumedDead()

12