/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | IVDescriptors.cpp | 68 static Instruction *lookThroughAnd(PHINode *Phi, Type *&RT, in lookThroughAnd() 182 Instruction *Exit, PHINode *Phi) { in checkOrderedReduction() 214 PHINode *Phi, RecurKind Kind, Loop *TheLoop, FastMathFlags FuncFMF, in AddReductionVar() 838 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI() 947 bool RecurrenceDescriptor::isFixedOrderRecurrence(PHINode *Phi, Loop *TheLoop, in isFixedOrderRecurrence() 1131 RecurrenceDescriptor::getReductionOpChain(PHINode *Phi, Loop *L) const { in getReductionOpChain() 1275 bool InductionDescriptor::isFPInductionPHI(PHINode *Phi, const Loop *TheLoop, in isFPInductionPHI() 1433 bool InductionDescriptor::isInductionPHI(PHINode *Phi, const Loop *TheLoop, in isInductionPHI() 1478 PHINode *Phi, const Loop *TheLoop, ScalarEvolution *SE, in isInductionPHI()
|
H A D | MemorySSAUpdater.cpp | 89 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MSSA->getMemoryAccess(BB)); in getPreviousDefRecursive() local 185 MemoryAccess *MemorySSAUpdater::recursePhi(MemoryAccess *Phi) { in recursePhi() 202 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi) { in tryRemoveTrivialPhi() 208 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi, in tryRemoveTrivialPhi() 279 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 673 auto FixPhiIncomingValues = [&](MemoryPhi *Phi, MemoryPhi *NewPhi) { in updateForClonedLoop() 1218 if (auto *Phi = dyn_cast<MemoryPhi>(&*Defs->begin())) in moveAllAccesses() local [all …]
|
H A D | PhiValues.cpp | 49 void PhiValues::processPhi(const PHINode *Phi, in processPhi()
|
H A D | MemorySSA.cpp | 594 void addSearches(MemoryPhi *Phi, SmallVectorImpl<ListIndex> &PausedSearches, in addSearches() 764 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start, in tryOptimizePhi() 1104 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in renameSuccessorPhis() local 1212 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in markUnreachableAsLiveOnEntry() local 1718 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in createMemoryPhi() local 1944 if (MemoryPhi *Phi = getMemoryAccess(&BB)) { in verifyPrevDefInPhis() local 2031 MemoryPhi *Phi = getMemoryAccess(&B); in verifyOrderingDominationAndDefUses() local
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | WindowScheduler.cpp | 197 auto IsLoopCarried = [&](MachineInstr &Phi) { in initialize() 377 for (auto &Phi : MBB->phis()) { in generateTripleMBB() local 535 for (auto &Phi : MBB->phis()) { in schedulePhi() local 575 for (auto &Phi : MBB->phis()) in getIssueOrder() local 699 Register WindowScheduler::getAntiRegister(MachineInstr *Phi) { in getAntiRegister()
|
H A D | MachineSSAContext.cpp | 55 isConstantOrUndefValuePhi(const MachineInstr & Phi) isConstantOrUndefValuePhi() argument
|
H A D | ModuloSchedule.cpp | 40 static void getPhiRegs(MachineInstr &Phi, MachineBasicBlock *Loop, in getPhiRegs() 56 static unsigned getInitPhiReg(MachineInstr &Phi, MachineBasicBlock *LoopBB) { in getInitPhiReg() 64 static unsigned getLoopPhiReg(MachineInstr &Phi, MachineBasicBlock *LoopBB) { in getLoopPhiReg() 1146 unsigned PhiNum, MachineInstr *Phi, unsigned OldReg, unsigned NewReg, in rewriteScheduledInstr() 1204 bool ModuloScheduleExpander::isLoopCarried(MachineInstr &Phi) { in isLoopCarried() 1695 auto clonePhi = [&](MachineInstr *Phi) { in moveStageBetweenBlocks() 1730 MachineInstr *Phi) { in getPhiCanonicalReg() 2432 MachineInstr *Phi = getLoopPhiUser(OrigReg, OrigKernel); in generatePhi() local 2450 static void replacePhiSrc(MachineInstr &Phi, Register OrigReg, Register NewReg, in replacePhiSrc()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIAnnotateControlFlow.cpp | 170 bool SIAnnotateControlFlow::isElse(PHINode *Phi) { in isElse() 197 bool SIAnnotateControlFlow::eraseIfUnused(PHINode *Phi) { in eraseIfUnused() 383 PHINode *Phi = dyn_cast<PHINode>(Term->getCondition()); in runOnFunction() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Reg2Mem.cpp | 85 for (auto &Phi : BB.phis()) in runPass() local
|
H A D | MergeICmps.cpp | 473 BCECmpChain::BCECmpChain(const std::vector<BasicBlock *> &Blocks, PHINode &Phi, in BCECmpChain() 606 PHINode &Phi, const TargetLibraryInfo &TLI, in mergeComparisons() 741 std::vector<BasicBlock *> getOrderedBlocks(PHINode &Phi, in getOrderedBlocks() 776 bool processPhi(PHINode &Phi, const TargetLibraryInfo &TLI, AliasAnalysis &AA, in processPhi() 866 if (auto *const Phi = dyn_cast<PHINode>(&*BB.begin())) in runImpl() local
|
H A D | PartiallyInlineLibCalls.cpp | 74 PHINode *Phi = Builder.CreatePHI(Ty, 2); in optimizeSQRT() local
|
H A D | IndVarSimplify.cpp | 682 PHINode *Phi = dyn_cast<PHINode>(IncI->getOperand(0)); in getLoopPhiForCounter() local 745 PHINode *Phi = dyn_cast<PHINode>(LHS); in needsLFTR() local 807 static bool isLoopCounter(PHINode* Phi, Loop *L, in isLoopCounter() 851 PHINode *Phi = cast<PHINode>(I); in FindLoopCounter() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanHCFGBuilder.cpp | 124 for (auto *Phi : PhisToFix) { in fixPhiNodes() local 307 if (auto *Phi = dyn_cast<PHINode>(Inst)) { in createVPInstructionsForVPBB() local
|
H A D | LoopVectorizationLegality.cpp | 682 PHINode *Phi, const InductionDescriptor &ID, in addInductionPhi() 737 auto isSupportedPhi = [&](PHINode &Phi) -> bool { in setupOuterLoopInductions() 795 if (auto *Phi = dyn_cast<PHINode>(&I)) { in canVectorizeInstrs() local
|
H A D | VPlanTransforms.cpp | 53 auto *Phi = cast<PHINode>(VPPhi->getUnderlyingValue()); in VPInstructionsToVPRecipes() local 421 for (auto &Phi : Plan.getVectorLoopRegion()->getEntryBasicBlock()->phis()) { in removeRedundantInductionCasts() local 1435 bool ContainsWidenInductions = any_of(Header->phis(), [](VPRecipeBase &Phi) { in tryAddExplicitVectorLength() 1442 any_of(Header->phis(), [&](VPRecipeBase &Phi) { in tryAddExplicitVectorLength()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ReplaceConstant.cpp | 96 if (auto *Phi = dyn_cast<PHINode>(I)) { in convertUsersOfConstantsToInstructions() local
|
H A D | SSAContext.cpp | 77 if (auto *Phi = dyn_cast<PHINode>(&Instr)) isConstantOrUndefValuePhi() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVGatherScatterLowering.cpp | 201 if (auto *Phi = dyn_cast<PHINode>(Index)) { in matchStridedRecurrence() local 583 if (auto *Phi = dyn_cast_or_null<PHINode>(MaybeDeadPHIs.pop_back_val())) in runOnFunction() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 810 PHINode *Phi = dyn_cast<PHINode>(Offsets); in tryCreateIncrementingWBGatScat() local 888 void MVEGatherScatterLowering::pushOutAdd(PHINode *&Phi, in pushOutAdd() 908 void MVEGatherScatterLowering::pushOutMulShl(unsigned Opcode, PHINode *&Phi, in pushOutMulShl() 995 PHINode *Phi; in optimiseOffsets() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopUnrollAndJam.cpp | 156 for (auto &Phi : Header->phis()) { in processHeaderPhiOperands() local 477 while (PHINode *Phi = dyn_cast<PHINode>(Src->begin())) in UnrollAndJamLoop() local 492 while (PHINode *Phi = dyn_cast<PHINode>(ForeBlocksFirst[0]->begin())) { in UnrollAndJamLoop() local
|
H A D | LoopUtils.cpp | 1450 for (const RewritePhi &Phi : RewritePhiSet) { in canLoopBeDeleted() local 1478 static bool checkIsIndPhi(PHINode *Phi, Loop *L, ScalarEvolution *SE, in checkIsIndPhi() 1569 PHINode *Phi = dyn_cast<PHINode>(U); in rewriteLoopExitValues() local 1643 for (const RewritePhi &Phi : RewritePhiSet) { in rewriteLoopExitValues() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 208 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in visitMul() local 868 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in visitFMul() local 1166 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in commonIDivTransforms() local 1886 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in visitFDiv() local 2111 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in commonIRemTransforms() local 2317 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in visitFRem() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCBoolRetToInt.cpp | 157 const auto *Phi = dyn_cast<PHINode>(V); in getPromotablePHINodes() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDGPUMemoryUtils.cpp | 363 const MemoryPhi *Phi = cast<MemoryPhi>(MA); in isClobberedInFunction() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | FunctionSpecialization.cpp | 160 Instruction *Phi = PendingPHIs.pop_back_val(); in getBonusFromPendingPHIs() local 304 if (auto *Phi = dyn_cast<PHINode>(V)) { in discoverTransitivelyIncomingValues() local
|