Home
last modified time | relevance | path

Searched defs:Phi (Results 1 – 25 of 64) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DIVDescriptors.cpp89 static Instruction *lookThroughAnd(PHINode *Phi, Type *&RT, in lookThroughAnd()
195 Instruction *Exit, PHINode *Phi) { in checkOrderedReduction()
218 bool RecurrenceDescriptor::AddReductionVar(PHINode *Phi, RecurKind Kind, in AddReductionVar()
647 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI()
717 PHINode *Phi, Loop *TheLoop, in isFirstOrderRecurrence()
869 RecurrenceDescriptor::getReductionOpChain(PHINode *Phi, Loop *L) const { in getReductionOpChain()
982 bool InductionDescriptor::isFPInductionPHI(PHINode *Phi, const Loop *TheLoop, in isFPInductionPHI()
1140 bool InductionDescriptor::isInductionPHI(PHINode *Phi, const Loop *TheLoop, in isInductionPHI()
1185 PHINode *Phi, const Loop *TheLoop, ScalarEvolution *SE, in isInductionPHI()
H A DDivergenceAnalysis.cpp195 for (const auto &Phi : DivExit.phis()) { in analyzeLoopExitDivergence() local
224 for (auto &Phi : UserBlock->phis()) { in analyzeLoopExitDivergence() local
278 for (const auto &Phi : JoinBlock.phis()) { in taintAndPushPhiNodes() local
H A DMemorySSAUpdater.cpp96 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MSSA->getMemoryAccess(BB)); in getPreviousDefRecursive() local
192 MemoryAccess *MemorySSAUpdater::recursePhi(MemoryAccess *Phi) { in recursePhi()
209 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi) { in tryRemoveTrivialPhi()
215 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi, in tryRemoveTrivialPhi()
285 if (MemoryPhi *Phi = cast_or_null<MemoryPhi>(MP)) in insertUse() local
448 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef() local
455 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef() local
474 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(NewDef)) in fixupDefs() local
683 auto FixPhiIncomingValues = [&](MemoryPhi *Phi, MemoryPhi *NewPhi) { in updateForClonedLoop()
1243 if (auto *Phi = dyn_cast<MemoryPhi>(&*Defs->begin())) in moveAllAccesses() local
[all …]
H A DPhiValues.cpp49 void PhiValues::processPhi(const PHINode *Phi, in processPhi()
H A DMemorySSA.cpp598 void addSearches(MemoryPhi *Phi, SmallVectorImpl<ListIndex> &PausedSearches, in addSearches()
776 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start, in tryOptimizePhi()
1108 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in renameSuccessorPhis() local
1216 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in markUnreachableAsLiveOnEntry() local
1698 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in createMemoryPhi() local
1886 if (MemoryPhi *Phi = getMemoryAccess(&BB)) { in verifyPrevDefInPhis() local
1971 MemoryPhi *Phi = getMemoryAccess(&B); in verifyOrderingDominationAndDefUses() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp169 bool SIAnnotateControlFlow::isElse(PHINode *Phi) { in isElse()
196 void SIAnnotateControlFlow::eraseIfUnused(PHINode *Phi) { in eraseIfUnused()
352 PHINode *Phi = dyn_cast<PHINode>(Term->getCondition()); in runOnFunction() local
H A DAMDGPUPromoteAlloca.cpp687 if (PHINode *Phi = dyn_cast<PHINode>(UseInst)) { in collectUsesWithPtrTypes() local
994 } else if (PHINode *Phi = dyn_cast<PHINode>(V)) { in handleAlloca() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp494 PHINode *Phi, const InductionDescriptor &ID, in addInductionPhi()
549 auto isSupportedPhi = [&](PHINode &Phi) -> bool { in setupOuterLoopInductions()
607 if (auto *Phi = dyn_cast<PHINode>(&I)) { in canVectorizeInstrs() local
847 if (any_of(FirstOrderRecurrences, [LoopLatch, this](const PHINode *Phi) { in canVectorizeInstrs()
905 bool LoopVectorizationLegality::isFirstOrderRecurrence(const PHINode *Phi) { in isFirstOrderRecurrence()
H A DVPlanHCFGBuilder.cpp94 for (auto *Phi : PhisToFix) { in fixPhiNodes() local
216 if (auto *Phi = dyn_cast<PHINode>(Inst)) { in createVPInstructionsForVPBB() local
H A DVPlanTransforms.cpp47 auto *Phi = cast<PHINode>(VPPhi->getUnderlyingValue()); in VPInstructionsToVPRecipes() local
H A DVPlan.h1048 VPWidenPHIRecipe(PHINode *Phi, RecurrenceDescriptor &RdxDesc, VPValue &Start) in VPWidenPHIRecipe()
1055 VPWidenPHIRecipe(PHINode *Phi) in VPWidenPHIRecipe()
1107 PHINode *Phi; variable
1113 VPBlendRecipe(PHINode *Phi, ArrayRef<VPValue *> Operands) in VPBlendRecipe()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DMergeICmps.cpp436 BCECmpChain::BCECmpChain(const std::vector<BasicBlock *> &Blocks, PHINode &Phi, in BCECmpChain()
608 PHINode &Phi, const TargetLibraryInfo &TLI, in mergeComparisons()
757 std::vector<BasicBlock *> getOrderedBlocks(PHINode &Phi, in getOrderedBlocks()
792 bool processPhi(PHINode &Phi, const TargetLibraryInfo &TLI, AliasAnalysis &AA, in processPhi()
882 if (auto *const Phi = dyn_cast<PHINode>(&*BBIt->begin())) in runImpl() local
H A DReg2Mem.cpp86 for (auto &Phi : BB.phis()) in runPass() local
H A DIndVarSimplify.cpp679 PHINode *Phi = dyn_cast<PHINode>(IncI->getOperand(0)); in getLoopPhiForCounter() local
742 PHINode *Phi = dyn_cast<PHINode>(LHS); in needsLFTR() local
845 static bool AlmostDeadIV(PHINode *Phi, BasicBlock *LatchBlock, Value *Cond) { in AlmostDeadIV()
860 static bool isLoopCounter(PHINode* Phi, Loop *L, in isLoopCounter()
904 PHINode *Phi = cast<PHINode>(I); in FindLoopCounter() local
H A DPartiallyInlineLibCalls.cpp73 PHINode *Phi = Builder.CreatePHI(Ty, 2); in optimizeSQRT() local
H A DScalarizeMaskedMemIntrin.cpp249 PHINode *Phi = Builder.CreatePHI(VecType, 2, "res.phi.else"); in scalarizeMaskedLoad() local
507 PHINode *Phi = Builder.CreatePHI(VecType, 2, "res.phi.else"); in scalarizeMaskedGather() local
H A DStructurizeCFG.cpp628 PHINode *Phi = PI.first; in setPhiValues() local
663 if (auto Phi = dyn_cast_or_null<PHINode>(VH)) { in simplifyAffectedPhis() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DModuloSchedule.cpp35 static void getPhiRegs(MachineInstr &Phi, MachineBasicBlock *Loop, in getPhiRegs()
51 static unsigned getInitPhiReg(MachineInstr &Phi, MachineBasicBlock *LoopBB) { in getInitPhiReg()
59 static unsigned getLoopPhiReg(MachineInstr &Phi, MachineBasicBlock *LoopBB) { in getLoopPhiReg()
1142 unsigned PhiNum, MachineInstr *Phi, unsigned OldReg, unsigned NewReg, in rewriteScheduledInstr()
1194 bool ModuloScheduleExpander::isLoopCarried(MachineInstr &Phi) { in isLoopCarried()
1674 auto clonePhi = [&](MachineInstr *Phi) { in moveStageBetweenBlocks()
1709 MachineInstr *Phi) { in getPhiCanonicalReg()
1771 for (auto Phi = B->begin(), IE = B->getFirstNonPHI(); Phi != IE; ++Phi) in peelPrologAndEpilogs() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp734 PHINode *Phi = dyn_cast<PHINode>(Offsets); in tryCreateIncrementingWBGatScat() local
808 void MVEGatherScatterLowering::pushOutAdd(PHINode *&Phi, in pushOutAdd()
828 void MVEGatherScatterLowering::pushOutMul(PHINode *&Phi, in pushOutMul()
908 PHINode *Phi; in optimiseOffsets() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp146 for (auto &Phi : Header->phis()) { in processHeaderPhiOperands() local
485 while (PHINode *Phi = dyn_cast<PHINode>(Src->begin())) in UnrollAndJamLoop() local
500 while (PHINode *Phi = dyn_cast<PHINode>(ForeBlocksFirst[0]->begin())) { in UnrollAndJamLoop() local
H A DLoopPeel.cpp143 PHINode *Phi, Loop *L, BasicBlock *BackEdge, in calculateIterationsToInvariance()
349 PHINode *Phi = cast<PHINode>(&*BI); in computePeelCount() local
H A DCallPromotionUtils.cpp114 PHINode *Phi = Builder.CreatePHI(OrigInst->getType(), 0); in createRetPHINode() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp159 const auto *Phi = dyn_cast<PHINode>(V); in getPromotablePHINodes() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp122 PHINode &Phi = cast<PHINode>(I); in foldGuardedFunnelShift() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp359 static bool isReachableFromPHI(PHINode *Phi, BinaryOperator *BO) { in isReachableFromPHI()

123