/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 25 Instruction *InstCombiner::FoldPHIArgBinOpIntoPHI(PHINode &PN) { in FoldPHIArgBinOpIntoPHI() 131 Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) { in FoldPHIArgGEPIntoPHI() 286 Instruction *InstCombiner::FoldPHIArgLoadIntoPHI(PHINode &PN) { in FoldPHIArgLoadIntoPHI() 477 Instruction *InstCombiner::FoldPHIArgOpIntoPHI(PHINode &PN) { in FoldPHIArgOpIntoPHI() 599 static bool DeadPHICycle(PHINode *PN, in DeadPHICycle() 621 static bool PHIsEqualValue(PHINode *PN, Value *NonPhiInVal, in PHIsEqualValue() 665 PHINode *PN; // The PHI that was lowered. member 724 PHINode *PN = PHIsToSlice[PHIId]; in SliceUpIllegalIntegerPHI() local 792 PHINode *PN = PHIsToSlice[PHIId]; in SliceUpIllegalIntegerPHI() local 880 Instruction *InstCombiner::visitPHINode(PHINode &PN) { in visitPHINode()
|
/external/llvm/lib/IR/ |
D | BasicBlock.cpp | 300 while (PHINode *PN = dyn_cast<PHINode>(&front())) { in removePredecessor() local 320 PHINode *PN; in removePredecessor() local 388 PHINode *PN; in splitBasicBlock() local 411 PHINode *PN = dyn_cast<PHINode>(II); in replaceSuccessorsPhiUsesWith() local
|
D | Dominators.cpp | 201 PHINode *PN = dyn_cast<PHINode>(UserInst); in dominates() local 224 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) in dominates() local 275 if (PHINode *PN = dyn_cast<PHINode>(I)) in isReachableFromEntry() local
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ProvenanceAnalysis.cpp | 150 if (const PHINode *PN = dyn_cast<PHINode>(A)) in relatedCheck() local 152 if (const PHINode *PN = dyn_cast<PHINode>(B)) in relatedCheck() local
|
/external/llvm/lib/Transforms/Utils/ |
D | LCSSA.cpp | 81 if (PHINode *PN = dyn_cast<PHINode>(User)) in processInstruction() local 120 PHINode *PN = PHINode::Create(Inst.getType(), PredCache.size(ExitBB), in processInstruction() local 163 if (PHINode *PN = dyn_cast<PHINode>(User)) in processInstruction() local
|
D | Local.cpp | 403 bool llvm::RecursivelyDeleteDeadPHINode(PHINode *PN, in RecursivelyDeleteDeadPHINode() 533 while (PHINode *PN = dyn_cast<PHINode>(PhiIt)) { in RemovePredecessorAndSimplify() local 555 while (PHINode *PN = dyn_cast<PHINode>(DestBB->begin())) { in MergeBasicBlockIntoOnlyPred() local 625 PHINode *PN = cast<PHINode>(I); in CanPropagatePredecessorsForPHIs() local 705 static void gatherIncomingValuesToPhi(PHINode *PN, in gatherIncomingValuesToPhi() 721 static void replaceUndefValuesInPhi(PHINode *PN, in replaceUndefValuesInPhi() 745 PHINode *PN) { in redirectValuesFromPredecessorsToPhi() 831 if (PHINode* PN = dyn_cast<PHINode>(U.getUser())) { in TryToSimplifyUncondBranchFromEmptyBlock() local 852 PHINode *PN = cast<PHINode>(I); in TryToSimplifyUncondBranchFromEmptyBlock() local 867 while (PHINode *PN = dyn_cast<PHINode>(&BB->front())) { in TryToSimplifyUncondBranchFromEmptyBlock() local
|
D | BasicBlockUtils.cpp | 72 while (PHINode *PN = dyn_cast<PHINode>(BB->begin())) { in FoldSingleEntryPHINodes() local 100 if (PHINode *PN = dyn_cast_or_null<PHINode>(PHIs[i].operator Value*())) in DeleteDeadPHIs() local 137 if (PHINode *PN = dyn_cast<PHINode>(BI)) { in MergeBlockIntoPredecessor() local 399 PHINode *PN = cast<PHINode>(I++); in UpdatePHINodes() local 630 PHINode *PN = PHINode::Create(LPad->getType(), 2, "lpad.phi", LPad); in SplitLandingPadPredecessors() local 669 if (PHINode *PN = dyn_cast<PHINode>(V)) { in FoldReturnIntoUncondBranch() local
|
D | UnifyFunctionExitNodes.cpp | 93 PHINode *PN = nullptr; in runOnFunction() local
|
D | BreakCriticalEdges.cpp | 170 PHINode *PN = cast<PHINode>(I); in SplitCriticalEdge() local 213 if (PHINode *PN = dyn_cast<PHINode>(DestBB->begin())) { in SplitCriticalEdge() local
|
D | CodeExtractor.cpp | 193 PHINode *PN = dyn_cast<PHINode>(Header->begin()); in severSplitPHINodes() local 233 PHINode *PN = cast<PHINode>(OldPred->begin()); in severSplitPHINodes() local 245 PHINode *PN = cast<PHINode>(AfterPHIs); in severSplitPHINodes() local 744 PHINode *PN = cast<PHINode>(I); in extractCodeRegion() local 757 PHINode *PN = cast<PHINode>(I); in extractCodeRegion() local
|
D | LoopSimplify.cpp | 210 PHINode *PN = cast<PHINode>(I); in findPHIToPartitionLoops() local 260 PHINode *PN = findPHIToPartitionLoops(L, DT, AC); in separateNestedLoop() local 394 PHINode *PN = cast<PHINode>(I); in insertUniqueBackedgeBlock() local 602 PHINode *PN; in simplifyOneLoop() local
|
D | DemoteRegToStack.cpp | 58 if (PHINode *PN = dyn_cast<PHINode>(U)) { in DemoteRegToStack() local
|
D | CloneFunction.cpp | 547 if (const PHINode *PN = dyn_cast<PHINode>(I)) { in CloneAndPruneIntoFromInst() local 577 PHINode *PN = cast<PHINode>(VMap[OPN]); in CloneAndPruneIntoFromInst() local 599 PHINode *PN = cast<PHINode>(NewBB->begin()); in CloneAndPruneIntoFromInst() local 653 if (PHINode *PN = dyn_cast<PHINode>(VMap[PHIToResolve[Idx]])) in CloneAndPruneIntoFromInst() local
|
D | GlobalStatus.cpp | 137 } else if (const PHINode *PN = dyn_cast<PHINode>(I)) { in analyzeGlobalAux() local
|
D | LowerSwitch.cpp | 173 PHINode *PN = cast<PHINode>(I); in fixPhis() local 344 PHINode* PN = cast<PHINode>(I); in newLeafBlock() local 509 PHINode *PN = cast<PHINode>(I); in processSwitchInst() local
|
D | LoopVersioning.cpp | 125 PHINode *PN; in addPHINodes() local
|
D | SimplifyCFG.cpp | 174 PHINode *PN = cast<PHINode>(BBI); in SafeToMergeTerminators() local 213 PHINode *PN = cast<PHINode>(BBI); in isProfitableToFoldUnconditional() local 230 PHINode *PN; in AddPredecessorToBlock() local 1059 PHINode *PN; in isSafeToHoistInvoke() local 1154 PHINode *PN; in HoistThenElseCodeToIf() local 1191 PHINode *PN; in HoistThenElseCodeToIf() local 1248 if (PHINode *PN = dyn_cast<PHINode>(I)) { in SinkThenElseCodeToEnd() local 1715 PHINode *PN = dyn_cast<PHINode>(BI->getCondition()); in FoldCondBranchOnPHI() local 1765 if (PHINode *PN = dyn_cast<PHINode>(BBI)) { in FoldCondBranchOnPHI() local 1811 static bool FoldTwoEntryPHINode(PHINode *PN, const TargetTransformInfo &TTI, in FoldTwoEntryPHINode() [all …]
|
D | LoopUnroll.cpp | 58 if (PHINode *PN = dyn_cast<PHINode>(I)) { in RemapInstruction() local 401 PHINode *PN = OrigPHINode[i]; in UnrollLoop() local
|
/external/llvm/lib/Analysis/ |
D | SparsePropagation.cpp | 230 void SparseSolver::visitPHINode(PHINode &PN) { in visitPHINode() 280 if (PHINode *PN = dyn_cast<PHINode>(&I)) in visitInst() local
|
D | ScalarEvolutionExpander.cpp | 825 bool SCEVExpander::isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, in isNormalAddRecExprPHI() 949 bool SCEVExpander::isExpandedAddRecExprPHI(PHINode *PN, Instruction *IncV, in isExpandedAddRecExprPHI() 963 Value *SCEVExpander::expandIVInc(PHINode *PN, Value *StepV, const Loop *L, in expandIVInc() 1093 auto *PN = dyn_cast<PHINode>(&I); in getAddRecExprPHILiterally() local 1202 PHINode *PN = Builder.CreatePHI(ExpandTy, std::distance(HPB, HPE), in getAddRecExprPHILiterally() local 1289 PHINode *PN = getAddRecExprPHILiterally(Normalized, L, ExpandTy, IntTy, in expandAddRecExprLiterally() local 1384 if (PHINode *PN = L->getCanonicalInductionVariable()) in visitAddRecExpr() local 1695 if (auto *PN = dyn_cast<PHINode>(&I)) in replaceCongruentIVs() local 1715 auto SimplifyPHINode = [&](PHINode *PN) -> Value * { in replaceCongruentIVs() 1796 if (PHINode *PN = dyn_cast<PHINode>(OrigInc)) in replaceCongruentIVs() local
|
/external/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 525 static bool isTriviallyReplacablePHI(const PHINode &PN, const Instruction &I) { in isTriviallyReplacablePHI() 540 if (const PHINode *PN = dyn_cast<PHINode>(UI)) { in isNotUsedInLoop() local 570 PHINode &PN, in CloneInstructionInExitBlock() 633 PHINode *PN = cast<PHINode>(User); in sink() local 758 PHINode *PN = in maybeInsertLCSSAPHI() local
|
D | InductiveRangeCheckElimination.cpp | 630 void LoopConstrainer::replacePHIBlock(PHINode *PN, BasicBlock *Block, in replacePHIBlock() 966 PHINode *PN = cast<PHINode>(&I); in cloneLoop() local 1102 PHINode *PN = cast<PHINode>(&I); in changeIterationSpaceEnd() local 1121 if (PHINode *PN = dyn_cast<PHINode>(&I)) in changeIterationSpaceEnd() local 1139 PHINode *PN = cast<PHINode>(&I); in rewriteIncomingValuesForPHIs() local 1160 PHINode *PN = cast<PHINode>(&I); in createPreheader() local
|
/external/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 563 auto *PN = dyn_cast<PHINode>(I); in demotePHIsOnFunclets() local 576 for (auto *PN : PHINodes) { in demotePHIsOnFunclets() local 661 auto UpdatePHIOnClonedBlock = [&](PHINode *PN, bool IsForOldBlock) { in cloneCommonBlocks() 904 AllocaInst *WinEHPrepare::insertPHILoads(PHINode *PN, Function &F) { in insertPHILoads() 955 PHINode *PN = dyn_cast<PHINode>(InVal); in insertPHIStores() local
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 644 } else if (const PHINode *PN = dyn_cast<PHINode>(U)) { in AllUsesOfValueWillTrapIfNull() local 984 if (const PHINode *PN = dyn_cast<PHINode>(Inst)) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() local 1019 } else if (PHINode *PN = dyn_cast<PHINode>(U)) { in ReplaceUsesOfMallocWithGlobal() local 1076 if (const PHINode *PN = dyn_cast<PHINode>(UI)) { in LoadUsesSimpleEnoughForHeapSRA() local 1120 for (const PHINode *PN : LoadUsingPHIs) { in AllGlobalLoadUsesSimpleEnoughForHeapSRA() local 1172 PHINode *PN = cast<PHINode>(V); in GetHeapSROAValue() local 1240 PHINode *PN = cast<PHINode>(LoadUser); in RewriteHeapSROALoadUser() local 1416 PHINode *PN = PHIsToRewrite.back().first; in PerformHeapAllocSRoA() local 1435 if (PHINode *PN = dyn_cast<PHINode>(I->first)) in PerformHeapAllocSRoA() local 1445 if (PHINode *PN = dyn_cast<PHINode>(I->first)) in PerformHeapAllocSRoA() local [all …]
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 154 void visitPHINode(PHINode &PN) { in visitPHINode()
|