Home
last modified time | relevance | path

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

1234567

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp42 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 DPhiValues.cpp125 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 DLoopNestAnalysis.cpp259 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 DSpeculateAroundPHIs.cpp49 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 DLICM.cpp678 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 DJumpThreading.cpp222 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 DDominators.cpp117 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 DSafepointIRVerifier.cpp85 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 DProvenanceAnalysis.cpp146 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 DObjCARC.h75 void getEquivalentPHIs(PHINodeTy &PN, VectorTy &PHIList) { in getEquivalentPHIs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSSAUpdaterBulk.cpp160 PHINode *PN = B.CreatePHI(R.Ty, 0, R.Name); in RewriteAllUses() local
168 for (auto *PN : InsertedPHIsForVar) { in RewriteAllUses() local
H A DLCSSA.cpp118 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 DUnifyFunctionExitNodes.cpp86 PHINode *PN = nullptr; in unifyReturnBlocks() local
H A DLoopSimplify.cpp182 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 DDemoteRegToStack.cpp59 if (PHINode *PN = dyn_cast<PHINode>(U)) { in DemoteRegToStack() local
H A DBreakCriticalEdges.cpp201 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 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
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonVectorLoopCarriedReuse.cpp381 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 DBasicBlock.h320 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 DBPFCheckAndAdjustIR.cpp79 PHINode *PN = dyn_cast<PHINode>(&I); in checkIR() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp724 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 DSjLjEHPrepare.cpp308 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 DX86PartialReduction.cpp388 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 DInterpreter.h134 void visitPHINode(PHINode &PN) { in visitPHINode()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp284 for (const PHINode &PN : BB.phis()) { in set() local
435 void FunctionLoweringInfo::ComputePHILiveOutRegInfo(const PHINode *PN) { in ComputePHILiveOutRegInfo()

1234567