Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp615 BasicBlock *IncomingBB = PHI->getIncomingBlock(ValNo); in runOnFunction() local
620 BasicBlock *InsertBB = IncomingBB; in runOnFunction()
635 if (PHI->getIncomingBlock(i) == IncomingBB) { in runOnFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp711 auto *IncomingBB = ehAwareSplitEdge(Pred, &BB, LandingPad, ReplPHI); in rewritePHIs() local
712 IncomingBB->setName(BB.getName() + Twine(".from.") + Pred->getName()); in rewritePHIs()
715 int Index = PN->getBasicBlockIndex(IncomingBB); in rewritePHIs()
719 &IncomingBB->front()); in rewritePHIs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp472 BasicBlock *IncomingBB = PN->getIncomingBlock(i); in UpdatePHINodes() local
473 if (PredSet.count(IncomingBB)) { in UpdatePHINodes()
475 NewPHI->addIncoming(V, IncomingBB); in UpdatePHINodes()
DSimplifyCFG.cpp3783 auto *IncomingBB = PhiLPInst->getIncomingBlock(Idx); in SimplifyCommonResume() local
3788 if (IncomingBB->getUniqueSuccessor() != BB) in SimplifyCommonResume()
3791 auto *LandingPad = dyn_cast<LandingPadInst>(IncomingBB->getFirstNonPHI()); in SimplifyCommonResume()
3798 I = IncomingBB->getFirstNonPHI()->getIterator(); in SimplifyCommonResume()
3799 E = IncomingBB->getTerminator()->getIterator(); in SimplifyCommonResume()
3807 TrivialUnwindBlocks.insert(IncomingBB); in SimplifyCommonResume()
/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-7.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp236 auto *IncomingBB = PN.getIncomingBlock(i); in FoldIntegerTypedPHI() local
240 NewPtrPHI->addIncoming(IncomingVal, IncomingBB); in FoldIntegerTypedPHI()
270 auto *InsertBB = &IncomingBB->getParent()->getEntryBlock(); in FoldIntegerTypedPHI()
274 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-7.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp618 BasicBlock *IncomingBB = PHI->getIncomingBlock(Idx); in updateOperand() local
620 if (PHI->getIncomingBlock(i) == IncomingBB) { in updateOperand()
DCorrelatedValuePropagation.cpp171 BasicBlock *IncomingBB = P->getIncomingBlock(IncomingConstant.second); in simplifyCommonValuePhi() local
172 if (C != LVI->getConstantOnEdge(CommonValue, IncomingBB, ToBB, P)) in simplifyCommonValuePhi()
DIndVarSimplify.cpp732 auto *IncomingBB = PN.getIncomingBlock(IncomingValIdx); in rewriteFirstIterationLoopExitValues() local
738 if (IncomingBB != LoopHeader) in rewriteFirstIterationLoopExitValues()
742 auto *TermInst = IncomingBB->getTerminator(); in rewriteFirstIterationLoopExitValues()
DJumpThreading.cpp216 [](BasicBlock *IncomingBB, in updatePredecessorProfileMetadata()
218 auto *PredBB = IncomingBB; in updatePredecessorProfileMetadata()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVInstruction.h880 foreachPair([=](SPIRVValue *IncomingV, SPIRVBasicBlock *IncomingBB){
882 assert(IncomingBB->isBasicBlock() || IncomingBB->isForward());
/external/spirv-llvm/lib/SPIRV/
DSPIRVReader.cpp1529 Phi->foreachPair([&](SPIRVValue *IncomingV, SPIRVBasicBlock *IncomingBB, in transValueWithoutDecoration()
1533 dyn_cast<BasicBlock>(transValue(IncomingBB, F, BB))); in transValueWithoutDecoration()