/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 42 void InstCombinerImpl::PHIArgMergedDebugLoc(Instruction *Inst, PHINode &PN) { in PHIArgMergedDebugLoc() 105 Instruction *InstCombinerImpl::foldIntegerTypedPHI(PHINode &PN) { in foldIntegerTypedPHI() 305 InstCombinerImpl::foldPHIArgInsertValueInstructionIntoPHI(PHINode &PN) { in foldPHIArgInsertValueInstructionIntoPHI() 345 InstCombinerImpl::foldPHIArgExtractValueInstructionIntoPHI(PHINode &PN) { in foldPHIArgExtractValueInstructionIntoPHI() 381 Instruction *InstCombinerImpl::foldPHIArgBinOpIntoPHI(PHINode &PN) { in foldPHIArgBinOpIntoPHI() 474 Instruction *InstCombinerImpl::foldPHIArgGEPIntoPHI(PHINode &PN) { in foldPHIArgGEPIntoPHI() 635 Instruction *InstCombinerImpl::foldPHIArgLoadIntoPHI(PHINode &PN) { in foldPHIArgLoadIntoPHI() 823 Instruction *InstCombinerImpl::foldPHIArgOpIntoPHI(PHINode &PN) { in foldPHIArgOpIntoPHI() 935 static bool DeadPHICycle(PHINode *PN, in DeadPHICycle() 957 static bool PHIsEqualValue(PHINode *PN, Value *NonPhiInVal, in PHIsEqualValue() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | PhiValues.cpp | 125 const PhiValues::ValueSet &PhiValues::getValuesForPhi(const PHINode *PN) { in getValuesForPhi() 146 if (const PHINode *PN = dyn_cast<PHINode>(V)) in invalidateValue() local 167 for (const PHINode &PN : BB.phis()) { in print() local 200 for (const PHINode &PN : BB.phis()) in run() local
|
H A D | LoopNestAnalysis.cpp | 259 return any_of(ExitBlock.phis(), [](const PHINode &PN) { in checkLoopsStructure() 270 all_of(BB.phis(), [&](const PHINode &PN) { in checkLoopsStructure()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | SpeculateAroundPHIs.cpp | 49 isSafeToSpeculatePHIUsers(PHINode &PN, DominatorTree &DT, in isSafeToSpeculatePHIUsers() 203 PHINode &PN, SmallDenseMap<PHINode *, InstructionCost, 16> &CostSavingsMap, in isSafeAndProfitableToSpeculateAroundPHI() argument 353 for (auto *PN : PNs) in visitPHIUsersAndDepsInPostOrder() local 439 for (auto *PN : PNs) { in findProfitablePHIs() local 498 for (auto *PN : llvm::make_range(UserPNsSplitIt, UserPNs.end())) { in findProfitablePHIs() local 761 llvm::erase_if(PNs, [&](PHINode *PN) { in tryToSpeculatePHIs() 816 while (auto *PN = dyn_cast<PHINode>(&*BBI)) { in run() local
|
H A D | LICM.cpp | 678 bool canHoistPHI(PHINode *PN) { in canHoistPHI() 973 if (PHINode *PN = dyn_cast<PHINode>(&I)) { in hoistRegion() local 1377 static bool isTriviallyReplaceablePHI(const PHINode &PN, const Instruction &I) { in isTriviallyReplaceablePHI() 1423 if (const PHINode *PN = dyn_cast<PHINode>(UI)) { in isNotUsedOrFreeInLoop() local 1449 Instruction &I, BasicBlock &ExitBlock, PHINode &PN, const LoopInfo *LI, in cloneInstructionInExitBlock() 1564 static bool canSplitPredecessors(PHINode *PN, LoopSafetyInfo *SafetyInfo) { in canSplitPredecessors() 1583 static void splitPredecessorsOfLoopExit(PHINode *PN, DominatorTree *DT, in splitPredecessorsOfLoopExit() 1680 PHINode *PN = cast<PHINode>(User); in sink() local 1745 PHINode *PN = cast<PHINode>(User); in sink() local 1755 for (auto *PN : ExitPNs) { in sink() local [all …]
|
H A D | JumpThreading.cpp | 222 static void updatePredecessorProfileMetadata(PHINode *PN, BasicBlock *BB) { in updatePredecessorProfileMetadata() 691 if (PHINode *PN = dyn_cast<PHINode>(I)) { in computeValueKnownInPredecessorsImpl() local 827 PHINode *PN = dyn_cast<PHINode>(CmpLHS); in computeValueKnownInPredecessorsImpl() local 1224 if (PHINode *PN = dyn_cast<PHINode>(CondInst)) in processBlock() local 1236 PHINode *PN = dyn_cast<PHINode>( in processBlock() local 1511 PHINode *PN = PHINode::Create(LoadI->getType(), std::distance(PB, PE), "", in simplifyPartiallyRedundantLoad() local 1809 bool JumpThreadingPass::processBranchOnPHI(PHINode *PN) { in processBranchOnPHI()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Dominators.cpp | 117 if (auto *PN = dyn_cast<PHINode>(UserInst)) in dominates() local 253 PHINode *PN = dyn_cast<PHINode>(UserInst); in dominates() local 283 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) in dominates() local 336 if (PHINode *PN = dyn_cast<PHINode>(I)) in isReachableFromEntry() local
|
H A D | SafepointIRVerifier.cpp | 85 bool hasLiveIncomingEdge(const PHINode *PN, const BasicBlock *InBB) const { in hasLiveIncomingEdge() argument 352 if (const auto *PN = dyn_cast<PHINode>(V)) { in getBaseType() local 460 bool hasLiveIncomingEdge(const PHINode *PN, const BasicBlock *InBB) const { in hasLiveIncomingEdge() argument 658 if (const PHINode *PN = dyn_cast<PHINode>(&I)) { in removeValidUnrelocatedDefs() local 794 if (const PHINode *PN = dyn_cast<PHINode>(&I)) { in verifyInstruction() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
H A D | ProvenanceAnalysis.cpp | 146 if (const PHINode *PN = dyn_cast<PHINode>(A)) in relatedCheck() local 148 if (const PHINode *PN = dyn_cast<PHINode>(B)) in relatedCheck() local
|
H A D | ObjCARC.h | 75 void getEquivalentPHIs(PHINodeTy &PN, VectorTy &PHIList) { in getEquivalentPHIs()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | SSAUpdaterBulk.cpp | 160 PHINode *PN = B.CreatePHI(R.Ty, 0, R.Name); in RewriteAllUses() local 168 for (auto *PN : InsertedPHIsForVar) { in RewriteAllUses() local
|
H A D | LCSSA.cpp | 118 if (auto *PN = dyn_cast<PHINode>(User)) in formLCSSAForInstructions() local 163 PHINode *PN = Builder.CreatePHI(I->getType(), PredCache.size(ExitBB), in formLCSSAForInstructions() local 212 if (auto *PN = dyn_cast<PHINode>(User)) in formLCSSAForInstructions() local
|
H A D | UnifyFunctionExitNodes.cpp | 86 PHINode *PN = nullptr; in unifyReturnBlocks() local
|
H A D | LoopSimplify.cpp | 182 PHINode *PN = cast<PHINode>(I); in findPHIToPartitionLoops() local 253 PHINode *PN = findPHIToPartitionLoops(L, DT, AC); in separateNestedLoop() local 406 PHINode *PN = cast<PHINode>(I); in insertUniqueBackedgeBlock() local 603 PHINode *PN; in simplifyOneLoop() local
|
H A D | DemoteRegToStack.cpp | 59 if (PHINode *PN = dyn_cast<PHINode>(U)) { in DemoteRegToStack() local
|
H A D | BreakCriticalEdges.cpp | 201 PHINode *PN = cast<PHINode>(I); in SplitKnownCriticalEdge() local 322 PHINode *PN = dyn_cast<PHINode>(BB->begin()); in findIBRPredecessor() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | SparsePropagation.h | 76 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
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
H A D | HexagonVectorLoopCarriedReuse.cpp | 381 PHINode *PN = cast<PHINode>(D->front()); in findValueToReuse() local 517 PHINode *PN = dyn_cast<PHINode>(Op); in findValueInBlock() local 606 PHINode *PN = dyn_cast<PHINode>(I); in findDepChainFromPHI() local 653 auto *PN = cast<PHINode>(I); in findLoopCarriedDeps() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | BasicBlock.h | 320 PHINodeT *PN; variable 322 phi_iterator_impl(PHINodeT *PN) : PN(PN) {} in phi_iterator_impl()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/ |
H A D | BPFCheckAndAdjustIR.cpp | 79 PHINode *PN = dyn_cast<PHINode>(&I); in checkIR() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | WinEHPrepare.cpp | 724 auto *PN = dyn_cast<PHINode>(&I); in demotePHIsOnFunclets() local 737 for (auto *PN : PHINodes) { in demotePHIsOnFunclets() local 840 auto UpdatePHIOnClonedBlock = [&](PHINode *PN, bool IsForOldBlock) { in cloneCommonBlocks() 1088 AllocaInst *WinEHPrepare::insertPHILoads(PHINode *PN, Function &F) { in insertPHILoads() 1138 PHINode *PN = dyn_cast<PHINode>(InVal); in insertPHIStores() local
|
H A D | SjLjEHPrepare.cpp | 308 PHINode *PN = cast<PHINode>(U); in lowerAcrossUnwindEdges() local 346 for (BasicBlock::iterator PN = UnwindBlock->begin(); isa<PHINode>(PN); ++PN) in lowerAcrossUnwindEdges() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86PartialReduction.cpp | 388 if (auto *PN = dyn_cast<PHINode>(V)) { in collectLeaves() local 411 PHINode *PN = nullptr; in collectLeaves() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Interpreter.h | 134 void visitPHINode(PHINode &PN) { in visitPHINode()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FunctionLoweringInfo.cpp | 284 for (const PHINode &PN : BB.phis()) { in set() local 435 void FunctionLoweringInfo::ComputePHILiveOutRegInfo(const PHINode *PN) { in ComputePHILiveOutRegInfo()
|