Home
last modified time | relevance | path

Searched defs:PN (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DPhiValues.cpp126 const PhiValues::ValueSet &PhiValues::getValuesForPhi(const PHINode *PN) { in getValuesForPhi()
147 if (const PHINode *PN = dyn_cast<PHINode>(V)) in invalidateValue() local
168 for (const PHINode &PN : BB.phis()) { in print() local
201 for (const PHINode &PN : BB.phis()) in run() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp33 void InstCombiner::PHIArgMergedDebugLoc(Instruction *Inst, PHINode &PN) { in PHIArgMergedDebugLoc()
96 Instruction *InstCombiner::FoldIntegerTypedPHI(PHINode &PN) { in FoldIntegerTypedPHI()
295 Instruction *InstCombiner::FoldPHIArgBinOpIntoPHI(PHINode &PN) { in FoldPHIArgBinOpIntoPHI()
388 Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) { in FoldPHIArgGEPIntoPHI()
543 Instruction *InstCombiner::FoldPHIArgLoadIntoPHI(PHINode &PN) { in FoldPHIArgLoadIntoPHI()
736 Instruction *InstCombiner::FoldPHIArgOpIntoPHI(PHINode &PN) { in FoldPHIArgOpIntoPHI()
844 static bool DeadPHICycle(PHINode *PN, in DeadPHICycle()
866 static bool PHIsEqualValue(PHINode *PN, Value *NonPhiInVal, in PHIsEqualValue()
891 static ConstantInt *GetAnyNonZeroConstInt(PHINode &PN) { in GetAnyNonZeroConstInt()
920 PHINode *PN; // The PHI that was lowered. member
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp49 isSafeToSpeculatePHIUsers(PHINode &PN, DominatorTree &DT, in isSafeToSpeculatePHIUsers()
203 PHINode &PN, SmallDenseMap<PHINode *, int, 16> &CostSavingsMap, in isSafeAndProfitableToSpeculateAroundPHI() argument
347 for (auto *PN : PNs) in visitPHIUsersAndDepsInPostOrder() local
433 for (auto *PN : PNs) { in findProfitablePHIs() local
492 for (auto *PN : llvm::make_range(UserPNsSplitIt, UserPNs.end())) { in findProfitablePHIs() local
756 [&](PHINode *PN) { in tryToSpeculatePHIs()
813 while (auto *PN = dyn_cast<PHINode>(&*BBI)) { in run() local
DLICM.cpp649 bool canHoistPHI(PHINode *PN) { in canHoistPHI()
913 if (PHINode *PN = dyn_cast<PHINode>(&I)) { in hoistRegion() local
1296 static bool isTriviallyReplaceablePHI(const PHINode &PN, const Instruction &I) { in isTriviallyReplaceablePHI()
1340 if (const PHINode *PN = dyn_cast<PHINode>(UI)) { in isNotUsedOrFreeInLoop() local
1366 Instruction &I, BasicBlock &ExitBlock, PHINode &PN, const LoopInfo *LI, in CloneInstructionInExitBlock()
1483 static bool canSplitPredecessors(PHINode *PN, LoopSafetyInfo *SafetyInfo) { in canSplitPredecessors()
1502 static void splitPredecessorsOfLoopExit(PHINode *PN, DominatorTree *DT, in splitPredecessorsOfLoopExit()
1607 PHINode *PN = cast<PHINode>(User); in sink() local
1659 PHINode *PN = cast<PHINode>(User); in sink() local
1768 PHINode *PN = PHINode::Create(I->getType(), PredCache.size(BB), in maybeInsertLCSSAPHI() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DProvenanceAnalysis.cpp150 if (const PHINode *PN = dyn_cast<PHINode>(A)) in relatedCheck() local
152 if (const PHINode *PN = dyn_cast<PHINode>(B)) in relatedCheck() local
DObjCARC.h86 void getEquivalentPHIs(PHINodeTy &PN, VectorTy &PHIList) { in getEquivalentPHIs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDominators.cpp234 PHINode *PN = dyn_cast<PHINode>(UserInst); in dominates() local
257 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) in dominates() local
308 if (PHINode *PN = dyn_cast<PHINode>(I)) in isReachableFromEntry() local
DBasicBlock.cpp342 while (PHINode *PN = dyn_cast<PHINode>(&front())) { in removePredecessor() local
362 PHINode *PN; in removePredecessor() local
445 PHINode *PN = dyn_cast<PHINode>(II); in replacePhiUsesWith() local
DSafepointIRVerifier.cpp84 bool hasLiveIncomingEdge(const PHINode *PN, const BasicBlock *InBB) const { in hasLiveIncomingEdge() argument
351 if (const auto *PN = dyn_cast<PHINode>(V)) { in getBaseType() local
460 bool hasLiveIncomingEdge(const PHINode *PN, const BasicBlock *InBB) const { in hasLiveIncomingEdge() argument
659 if (const PHINode *PN = dyn_cast<PHINode>(&I)) { in removeValidUnrelocatedDefs() local
795 if (const PHINode *PN = dyn_cast<PHINode>(&I)) { in verifyInstruction() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DUnifyFunctionExitNodes.cpp95 PHINode *PN = nullptr; in runOnFunction() local
DSSAUpdaterBulk.cpp160 PHINode *PN = B.CreatePHI(R.Ty, 0, R.Name); in RewriteAllUses() local
168 for (auto *PN : InsertedPHIsForVar) { in RewriteAllUses() local
DLCSSA.cpp110 if (auto *PN = dyn_cast<PHINode>(User)) in formLCSSAForInstructions() local
155 PHINode *PN = PHINode::Create(I->getType(), PredCache.size(ExitBB), in formLCSSAForInstructions() local
199 if (auto *PN = dyn_cast<PHINode>(User)) in formLCSSAForInstructions() local
DBasicBlockUtils.cpp143 while (PHINode *PN = dyn_cast<PHINode>(BB->begin())) { in FoldSingleEntryPHINodes() local
165 if (PHINode *PN = dyn_cast_or_null<PHINode>(PHIs[i].operator Value*())) in DeleteDeadPHIs() local
649 PHINode *PN = cast<PHINode>(I++); in UpdatePHINodes() local
868 PHINode *PN = PHINode::Create(LPad->getType(), 2, "lpad.phi", LPad); in SplitLandingPadPredecessors() local
904 if (PHINode *PN = dyn_cast<PHINode>(V)) { in FoldReturnIntoUncondBranch() local
DLoopSimplify.cpp187 PHINode *PN = cast<PHINode>(I); in findPHIToPartitionLoops() local
237 PHINode *PN = findPHIToPartitionLoops(L, DT, AC); in separateNestedLoop() local
393 PHINode *PN = cast<PHINode>(I); in insertUniqueBackedgeBlock() local
593 PHINode *PN; in simplifyOneLoop() local
DDemoteRegToStack.cpp59 if (PHINode *PN = dyn_cast<PHINode>(U)) { in DemoteRegToStack() local
DBreakCriticalEdges.cpp184 PHINode *PN = cast<PHINode>(I); in SplitCriticalEdge() local
328 PHINode *PN = dyn_cast<PHINode>(BB->begin()); in findIBRPredecessor() local
DLocal.cpp523 bool llvm::RecursivelyDeleteDeadPHINode(PHINode *PN, in RecursivelyDeleteDeadPHINode()
654 while (PHINode *PN = dyn_cast<PHINode>(PhiIt)) { in RemovePredecessorAndSimplify() local
674 while (PHINode *PN = dyn_cast<PHINode>(DestBB->begin())) { in MergeBasicBlockIntoOnlyPred() local
774 PHINode *PN = cast<PHINode>(I); in CanPropagatePredecessorsForPHIs() local
856 static void gatherIncomingValuesToPhi(PHINode *PN, in gatherIncomingValuesToPhi()
872 static void replaceUndefValuesInPhi(PHINode *PN, in replaceUndefValuesInPhi()
896 PHINode *PN) { in redirectValuesFromPredecessorsToPhi()
978 if (PHINode* PN = dyn_cast<PHINode>(U.getUser())) { in TryToSimplifyUncondBranchFromEmptyBlock() local
1023 PHINode *PN = cast<PHINode>(I); in TryToSimplifyUncondBranchFromEmptyBlock() local
1038 while (PHINode *PN = dyn_cast<PHINode>(&BB->front())) { in TryToSimplifyUncondBranchFromEmptyBlock() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DSparsePropagation.h76 virtual bool IsSpecialCasedPHI(PHINode *PN) { return false; } in IsSpecialCasedPHI()
397 void SparseSolver<LatticeKey, LatticeVal, KeyInfo>::visitPHINode(PHINode &PN) { in visitPHINode()
452 if (PHINode *PN = dyn_cast<PHINode>(&I)) in visitInst() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonVectorLoopCarriedReuse.cpp460 PHINode *PN = cast<PHINode>(D->front()); in findValueToReuse() local
596 PHINode *PN = dyn_cast<PHINode>(Op); in findValueInBlock() local
685 PHINode *PN = dyn_cast<PHINode>(I); in findDepChainFromPHI() local
732 auto *PN = cast<PHINode>(I); in findLoopCarriedDeps() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DBasicBlock.h297 PHINodeT *PN; variable
299 phi_iterator_impl(PHINodeT *PN) : PN(PN) {} in phi_iterator_impl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp120 if (auto *PN = dyn_cast<PHINode>(I)) in isDefinitionAcrossSuspend() local
731 if (auto *PN = dyn_cast<PHINode>(E.user())) { in insertSpills() local
814 PHINode *PN = cast<PHINode>(I); in updatePhiNodes() local
906 auto *PN = cast<PHINode>(&BB.front()); in rewritePHIs() local
931 if (auto *PN = dyn_cast<PHINode>(&BB.front())) in rewritePHIs() local
978 if (auto *PN = dyn_cast<PHINode>(E.user())) { in rewriteMaterializableInstructions() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DWinEHPrepare.cpp704 auto *PN = dyn_cast<PHINode>(I); in demotePHIsOnFunclets() local
717 for (auto *PN : PHINodes) { in demotePHIsOnFunclets() local
824 auto UpdatePHIOnClonedBlock = [&](PHINode *PN, bool IsForOldBlock) { in cloneCommonBlocks()
1073 AllocaInst *WinEHPrepare::insertPHILoads(PHINode *PN, Function &F) { in insertPHILoads()
1125 PHINode *PN = dyn_cast<PHINode>(InVal); in insertPHIStores() local
DSjLjEHPrepare.cpp299 PHINode *PN = cast<PHINode>(U); in lowerAcrossUnwindEdges() local
337 for (BasicBlock::iterator PN = UnwindBlock->begin(); isa<PHINode>(PN); ++PN) in lowerAcrossUnwindEdges() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp276 for (const PHINode &PN : BB.phis()) { in set() local
418 void FunctionLoweringInfo::ComputePHILiveOutRegInfo(const PHINode *PN) { in ComputePHILiveOutRegInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp657 } else if (const PHINode *PN = dyn_cast<PHINode>(U)) { in AllUsesOfValueWillTrapIfNull() local
1001 if (const PHINode *PN = dyn_cast<PHINode>(Inst)) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() local
1036 } else if (PHINode *PN = dyn_cast<PHINode>(U)) { in ReplaceUsesOfMallocWithGlobal() local
1094 if (const PHINode *PN = dyn_cast<PHINode>(UI)) { in LoadUsesSimpleEnoughForHeapSRA() local
1137 for (const PHINode *PN : LoadUsingPHIs) { in AllGlobalLoadUsesSimpleEnoughForHeapSRA() local
1189 PHINode *PN = cast<PHINode>(V); in GetHeapSROAValue() local
1257 PHINode *PN = cast<PHINode>(LoadUser); in RewriteHeapSROALoadUser() local
1438 PHINode *PN = PHIsToRewrite.back().first; in PerformHeapAllocSRoA() local
1457 if (PHINode *PN = dyn_cast<PHINode>(I->first)) in PerformHeapAllocSRoA() local
1467 if (PHINode *PN = dyn_cast<PHINode>(I->first)) in PerformHeapAllocSRoA() local

12345