Home
last modified time | relevance | path

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

123456

/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp43 void InstCombinerImpl::PHIArgMergedDebugLoc(Instruction *Inst, PHINode &PN) { in PHIArgMergedDebugLoc() argument
106 bool InstCombinerImpl::foldIntegerTypedPHI(PHINode &PN) { in foldIntegerTypedPHI() argument
307 foldPHIArgIntToPtrToPHI(PHINode & PN) foldPHIArgIntToPtrToPHI() argument
331 foldPHIArgInsertValueInstructionIntoPHI(PHINode & PN) foldPHIArgInsertValueInstructionIntoPHI() argument
371 foldPHIArgExtractValueInstructionIntoPHI(PHINode & PN) foldPHIArgExtractValueInstructionIntoPHI() argument
407 foldPHIArgBinOpIntoPHI(PHINode & PN) foldPHIArgBinOpIntoPHI() argument
502 foldPHIArgGEPIntoPHI(PHINode & PN) foldPHIArgGEPIntoPHI() argument
665 foldPHIArgLoadIntoPHI(PHINode & PN) foldPHIArgLoadIntoPHI() argument
863 foldPHIArgOpIntoPHI(PHINode & PN) foldPHIArgOpIntoPHI() argument
977 isDeadPHICycle(PHINode * PN,SmallPtrSetImpl<PHINode * > & PotentiallyDeadPHIs) isDeadPHICycle() argument
999 PHIsEqualValue(PHINode * PN,Value * & NonPhiInVal,SmallPtrSetImpl<PHINode * > & ValueEqualPHIs) PHIsEqualValue() argument
1027 getAnyNonZeroConstInt(PHINode & PN) getAnyNonZeroConstInt() argument
1056 PHINode *PN; // The PHI that was lowered. global() member
1114 PHINode *PN = PHIsToSlice[PHIId]; SliceUpIllegalIntegerPHI() local
1196 PHINode *PN = PHIsToSlice[PHIId]; SliceUpIllegalIntegerPHI() local
1282 simplifyUsingControlFlow(InstCombiner & Self,PHINode & PN,const DominatorTree & DT) simplifyUsingControlFlow() argument
1383 visitPHINode(PHINode & PN) visitPHINode() argument
[all...]
/freebsd-src/contrib/llvm-project/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.cpp339 return any_of(ExitBlock.phis(), [](const PHINode &PN) { in checkLoopsStructure()
350 all_of(BB.phis(), [&](const PHINode &PN) { in checkLoopsStructure()
H A DDDGPrinter.cpp116 for (auto *PN : PNodes) { in getVerboseNodeLabel() local
H A DLoopUnrollAnalyzer.cpp206 bool UnrolledInstAnalyzer::visitPHINode(PHINode &PN) { in visitPHINode() argument
/freebsd-src/contrib/llvm-project/llvm/lib/IR/
H A DDominators.cpp124 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
329 if (PHINode *PN = dyn_cast<PHINode>(I)) in isReachableFromEntry() local
H A DSafepointIRVerifier.cpp83 bool hasLiveIncomingEdge(const PHINode *PN, const BasicBlock *InBB) const { in hasLiveIncomingEdge() argument
350 if (const auto *PN = dyn_cast<PHINode>(V)) { in getBaseType() local
469 bool hasLiveIncomingEdge(const PHINode *PN, const BasicBlock *InBB) const { in hasLiveIncomingEdge() argument
665 if (const PHINode *PN = dyn_cast<PHINode>(&I)) { in removeValidUnrelocatedDefs() local
801 if (const PHINode *PN = dyn_cast<PHINode>(&I)) { in verifyInstruction() local
/freebsd-src/contrib/llvm-project/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.h74 void getEquivalentPHIs(PHINodeTy &PN, VectorTy &PHIList) { in getEquivalentPHIs() argument
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSSAUpdaterBulk.cpp154 PHINode *PN = B.CreatePHI(R.Ty, 0, R.Name); in RewriteAllUses() local
162 for (auto *PN : InsertedPHIsForVar) { in RewriteAllUses() local
H A DUnifyFunctionExitNodes.cpp62 PHINode *PN = nullptr; in unifyReturnBlocks() local
H A DLCSSA.cpp121 if (auto *PN = dyn_cast<PHINode>(User)) in formLCSSAForInstructions() local
162 PHINode *PN = PHINode::Create(I->getType(), PredCache.size(ExitBB), in formLCSSAForInstructions() local
221 if (auto *PN = dyn_cast<PHINode>(User)) formLCSSAForInstructions() local
[all...]
H A DLoopSimplify.cpp177 PHINode *PN = cast<PHINode>(I); in findPHIToPartitionLoops() local
248 PHINode *PN in separateNestedLoop() local
400 PHINode *PN = cast<PHINode>(I); insertUniqueBackedgeBlock() local
596 PHINode *PN; simplifyOneLoop() local
[all...]
H A DDemoteRegToStack.cpp58 if (PHINode *PN = dyn_cast<PHINode>(U)) { DemoteRegToStack() local
H A DScalarEvolutionExpander.cpp625 isNormalAddRecExprPHI(PHINode * PN,Instruction * IncV,const Loop * L) isNormalAddRecExprPHI() argument
779 isExpandedAddRecExprPHI(PHINode * PN,Instruction * IncV,const Loop * L) isExpandedAddRecExprPHI() argument
793 expandIVInc(PHINode * PN,Value * StepV,const Loop * L,bool useSubtract) expandIVInc() argument
1014 PHINode *PN = Builder.CreatePHI(ExpandTy, std::distance(HPB, HPE), getAddRecExprPHILiterally() local
1078 PHINode *PN = getAddRecExprPHILiterally(Normalized, L, TruncTy, InvertStep); expandAddRecExprLiterally() local
1164 if (PHINode *PN = L->getCanonicalInductionVariable()) visitAddRecExpr() local
1548 __anon628091320902(PHINode *PN) replaceCongruentIVs() argument
1641 if (PHINode *PN = dyn_cast<PHINode>(OrigInc)) replaceCongruentIVs() local
[all...]
H A DLowerSwitch.cpp121 PHINode *PN = cast<PHINode>(&I); in FixPhis() local
200 PHINode *PN = cast<PHINode>(&I); in NewLeafBlock() local
208 PHINode *PN in NewLeafBlock() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSparsePropagation.h78 virtual bool IsSpecialCasedPHI(PHINode *PN) { return false; } in IsSpecialCasedPHI()
399 void SparseSolver<LatticeKey, LatticeVal, KeyInfo>::visitPHINode(PHINode &PN) { in visitPHINode()
454 if (PHINode *PN = dyn_cast<PHINode>(&I)) in visitInst() local
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorLoopCarriedReuse.cpp381 PHINode *PN = cast<PHINode>(D->front()); in findValueToReuse() local
514 PHINode *PN = dyn_cast<PHINode>(Op); in findValueInBlock() local
603 PHINode *PN = dyn_cast<PHINode>(I); in findDepChainFromPHI() local
650 auto *PN = cast<PHINode>(I); in findLoopCarriedDeps() local
/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/
H A DBasicBlock.h472 PHINodeT *PN; global() variable
474 phi_iterator_impl(PHINodeT * PN) phi_iterator_impl() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h134 void visitPHINode(PHINode &PN) { in visitPHINode()
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp869 auto *PN = dyn_cast<PHINode>(&I); demotePHIsOnFunclets() local
882 for (auto *PN : PHINodes) { demotePHIsOnFunclets() local
985 __anon0a1f65f00202(PHINode *PN, bool IsForOldBlock) cloneCommonBlocks() argument
1227 insertPHILoads(PHINode * PN,Function & F) insertPHILoads() argument
1277 PHINode *PN = dyn_cast<PHINode>(InVal); insertPHIStores() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp272 for (const PHINode &PN : BB.phis()) { set() local
421 ComputePHILiveOutRegInfo(const PHINode * PN) ComputePHILiveOutRegInfo() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp717 canHoistPHI(PHINode * PN) canHoistPHI() argument
962 if (PHINode *PN = dyn_cast<PHINode>(&I)) { hoistRegion() local
1334 isTriviallyReplaceablePHI(const PHINode & PN,const Instruction & I) isTriviallyReplaceablePHI() argument
1381 if (const PHINode *PN = dyn_cast<PHINode>(UI)) { isNotUsedOrFoldableInLoop() local
1416 cloneInstructionInExitBlock(Instruction & I,BasicBlock & ExitBlock,PHINode & PN,const LoopInfo * LI,const LoopSafetyInfo * SafetyInfo,MemorySSAUpdater & MSSAU) cloneInstructionInExitBlock() argument
1528 canSplitPredecessors(PHINode * PN,LoopSafetyInfo * SafetyInfo) canSplitPredecessors() argument
1545 splitPredecessorsOfLoopExit(PHINode * PN,DominatorTree * DT,LoopInfo * LI,const Loop * CurLoop,LoopSafetyInfo * SafetyInfo,MemorySSAUpdater * MSSAU) splitPredecessorsOfLoopExit() argument
1641 PHINode *PN = cast<PHINode>(User); sink() local
1705 PHINode *PN = cast<PHINode>(User); sink() local
1823 PHINode *PN = PHINode::Create(I->getType(), PredCache.size(BB), maybeInsertLCSSAPHI() local
[all...]
H A DLoopDeletion.cpp265 auto GetSoleInputOnFirstIteration = [&](PHINode & PN)->Value * { in canProveExitOnFirstIteration() argument
318 for (auto &PN : BB->phis()) { in canProveExitOnFirstIteration() local
/freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp445 if (auto *PN = dyn_cast<PHINode>(V)) { in collectLeaves() local
468 PHINode *PN = nullptr; in collectLeaves() local

123456