Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp68 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()
839 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI()
948 bool RecurrenceDescriptor::isFixedOrderRecurrence(PHINode *Phi, Loop *TheLoop, in isFixedOrderRecurrence()
1132 RecurrenceDescriptor::getReductionOpChain(PHINode *Phi, Loop *L) const { in getReductionOpChain()
1276 bool InductionDescriptor::isFPInductionPHI(PHINode *Phi, const Loop *TheLoop, in isFPInductionPHI()
1434 bool InductionDescriptor::isInductionPHI(PHINode *Phi, const Loop *TheLoop, in isInductionPHI()
1479 PHINode *Phi, const Loop *TheLoop, ScalarEvolution *SE, in isInductionPHI()
H A DMemorySSAUpdater.cpp89 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 DPhiValues.cpp49 void PhiValues::processPhi(const PHINode *Phi, in processPhi()
H A DMemorySSA.cpp591 void addSearches(MemoryPhi *Phi, SmallVectorImpl<ListIndex> &PausedSearches, in addSearches()
761 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start, in tryOptimizePhi()
1101 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in renameSuccessorPhis() local
1209 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in markUnreachableAsLiveOnEntry() local
1675 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in createMemoryPhi() local
1882 if (MemoryPhi *Phi = getMemoryAccess(&BB)) { in verifyPrevDefInPhis() local
1967 MemoryPhi *Phi = getMemoryAccess(&B); in verifyOrderingDominationAndDefUses() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp171 bool SIAnnotateControlFlow::isElse(PHINode *Phi) { in isElse()
198 bool SIAnnotateControlFlow::eraseIfUnused(PHINode *Phi) { in eraseIfUnused()
380 PHINode *Phi = dyn_cast<PHINode>(Term->getCondition()); in runOnFunction() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReg2Mem.cpp85 for (auto &Phi : BB.phis()) in runPass() local
H A DMergeICmps.cpp473 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 DPartiallyInlineLibCalls.cpp74 PHINode *Phi = Builder.CreatePHI(Ty, 2); in optimizeSQRT() local
H A DIndVarSimplify.cpp670 PHINode *Phi = dyn_cast<PHINode>(IncI->getOperand(0)); in getLoopPhiForCounter() local
733 PHINode *Phi = dyn_cast<PHINode>(LHS); in needsLFTR() local
795 static bool isLoopCounter(PHINode* Phi, Loop *L, in isLoopCounter()
839 PHINode *Phi = cast<PHINode>(I); in FindLoopCounter() local
H A DScalarizeMaskedMemIntrin.cpp243 PHINode *Phi = Builder.CreatePHI(VecType, 2, "res.phi.else"); in scalarizeMaskedLoad() local
497 PHINode *Phi = Builder.CreatePHI(VecType, 2, "res.phi.else"); in scalarizeMaskedGather() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanHCFGBuilder.cpp124 for (auto *Phi : PhisToFix) { in fixPhiNodes() local
308 if (auto *Phi = dyn_cast<PHINode>(Inst)) { in createVPInstructionsForVPBB() local
H A DLoopVectorizationLegality.cpp682 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
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DReplaceConstant.cpp84 if (auto *Phi = dyn_cast<PHINode>(I)) { in convertUsersOfConstantsToInstructions() local
H A DSSAContext.cpp67 if (auto *Phi = dyn_cast<PHINode>(&Instr)) in isConstantOrUndefValuePhi() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUMemoryUtils.cpp147 const MemoryPhi *Phi = cast<MemoryPhi>(MA); in isClobberedInFunction() local
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp201 if (auto *Phi = dyn_cast<PHINode>(Index)) { in matchStridedRecurrence() local
564 if (auto *Phi = dyn_cast_or_null<PHINode>(MaybeDeadPHIs.pop_back_val())) in runOnFunction() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineSSAContext.cpp58 bool MachineSSAContext::isConstantOrUndefValuePhi(const MachineInstr &Phi) { in isConstantOrUndefValuePhi()
H A DModuloSchedule.cpp36 static void getPhiRegs(MachineInstr &Phi, MachineBasicBlock *Loop, in getPhiRegs()
52 static unsigned getInitPhiReg(MachineInstr &Phi, MachineBasicBlock *LoopBB) { in getInitPhiReg()
60 static unsigned getLoopPhiReg(MachineInstr &Phi, MachineBasicBlock *LoopBB) { in getLoopPhiReg()
1139 unsigned PhiNum, MachineInstr *Phi, unsigned OldReg, unsigned NewReg, in rewriteScheduledInstr()
1197 bool ModuloScheduleExpander::isLoopCarried(MachineInstr &Phi) { in isLoopCarried()
1687 auto clonePhi = [&](MachineInstr *Phi) { in moveStageBetweenBlocks()
1722 MachineInstr *Phi) { in getPhiCanonicalReg()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp809 PHINode *Phi = dyn_cast<PHINode>(Offsets); in tryCreateIncrementingWBGatScat() local
885 void MVEGatherScatterLowering::pushOutAdd(PHINode *&Phi, in pushOutAdd()
905 void MVEGatherScatterLowering::pushOutMulShl(unsigned Opcode, PHINode *&Phi, in pushOutMulShl()
989 PHINode *Phi; in optimiseOffsets() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp156 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 DLoopUtils.cpp1305 for (const RewritePhi &Phi : RewritePhiSet) { in canLoopBeDeleted() local
1333 static bool checkIsIndPhi(PHINode *Phi, Loop *L, ScalarEvolution *SE, in checkIsIndPhi()
1424 PHINode *Phi = dyn_cast<PHINode>(U); in rewriteLoopExitValues() local
1498 for (const RewritePhi &Phi : RewritePhiSet) { in rewriteLoopExitValues() local
H A DCallPromotionUtils.cpp115 PHINode *Phi = Builder.CreatePHI(OrigInst->getType(), 0); in createRetPHINode() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp204 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in visitMul() local
760 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in visitFMul() local
1029 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in commonIDivTransforms() local
1721 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in visitFDiv() local
1955 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in commonIRemTransforms() local
2155 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in visitFRem() local
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp157 const auto *Phi = dyn_cast<PHINode>(V); in getPromotablePHINodes() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp160 Instruction *Phi = PendingPHIs.pop_back_val(); in getBonusFromPendingPHIs() local
304 if (auto *Phi = dyn_cast<PHINode>(V)) { in discoverTransitivelyIncomingValues() local

1234