Home
last modified time | relevance | path

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

1234

/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DIVDescriptors.cpp70 static Instruction *lookThroughAnd(PHINode *Phi, Type *&RT, in lookThroughAnd()
185 Instruction *Exit, PHINode *Phi) { in checkOrderedReduction()
217 PHINode *Phi, RecurKind Kind, Loop *TheLoop, FastMathFlags FuncFMF, in AddReductionVar()
825 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI()
925 PHINode *Phi, Loop *TheLoop, in isFixedOrderRecurrence()
1163 RecurrenceDescriptor::getReductionOpChain(PHINode *Phi, Loop *L) const { in getReductionOpChain()
1316 bool InductionDescriptor::isFPInductionPHI(PHINode *Phi, const Loop *TheLoop, in isFPInductionPHI()
1474 bool InductionDescriptor::isInductionPHI(PHINode *Phi, const Loop *TheLoop, in isInductionPHI()
1519 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
682 auto FixPhiIncomingValues = [&](MemoryPhi *Phi, MemoryPhi *NewPhi) { in updateForClonedLoop()
1243 if (auto *Phi = dyn_cast<MemoryPhi>(&*Defs->begin())) in moveAllAccesses() local
[all …]
H A DDivergenceAnalysis.cpp194 for (const auto &Phi : DivExit.phis()) { in analyzeLoopExitDivergence() local
223 for (const auto &Phi : UserBlock->phis()) { in analyzeLoopExitDivergence() local
277 for (const auto &Phi : JoinBlock.phis()) { in taintAndPushPhiNodes() local
H A DPhiValues.cpp49 void PhiValues::processPhi(const PHINode *Phi, in processPhi()
H A DMemorySSA.cpp597 void addSearches(MemoryPhi *Phi, SmallVectorImpl<ListIndex> &PausedSearches, in addSearches()
767 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start, in tryOptimizePhi()
1107 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in renameSuccessorPhis() local
1215 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in markUnreachableAsLiveOnEntry() local
1686 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in createMemoryPhi() local
1888 if (MemoryPhi *Phi = getMemoryAccess(&BB)) { in verifyPrevDefInPhis() local
1973 MemoryPhi *Phi = getMemoryAccess(&B); in verifyOrderingDominationAndDefUses() local
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp170 bool SIAnnotateControlFlow::isElse(PHINode *Phi) { in isElse()
197 bool SIAnnotateControlFlow::eraseIfUnused(PHINode *Phi) { in eraseIfUnused()
367 PHINode *Phi = dyn_cast<PHINode>(Term->getCondition()); in runOnFunction() local
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DMergeICmps.cpp471 BCECmpChain::BCECmpChain(const std::vector<BasicBlock *> &Blocks, PHINode &Phi, in BCECmpChain()
604 PHINode &Phi, const TargetLibraryInfo &TLI, in mergeComparisons()
738 std::vector<BasicBlock *> getOrderedBlocks(PHINode &Phi, in getOrderedBlocks()
773 bool processPhi(PHINode &Phi, const TargetLibraryInfo &TLI, AliasAnalysis &AA, in processPhi()
863 if (auto *const Phi = dyn_cast<PHINode>(&*BB.begin())) in runImpl() local
H A DReg2Mem.cpp87 for (auto &Phi : BB.phis()) in runPass() local
H A DPartiallyInlineLibCalls.cpp74 PHINode *Phi = Builder.CreatePHI(Ty, 2); in optimizeSQRT() local
H A DIndVarSimplify.cpp682 PHINode *Phi = dyn_cast<PHINode>(IncI->getOperand(0)); in getLoopPhiForCounter() local
745 PHINode *Phi = dyn_cast<PHINode>(LHS); in needsLFTR() local
850 static bool AlmostDeadIV(PHINode *Phi, BasicBlock *LatchBlock, Value *Cond) { in AlmostDeadIV()
865 static bool isLoopCounter(PHINode* Phi, Loop *L, in isLoopCounter()
909 PHINode *Phi = cast<PHINode>(I); in FindLoopCounter() local
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlanHCFGBuilder.cpp95 for (auto *Phi : PhisToFix) { in fixPhiNodes() local
232 if (auto *Phi = dyn_cast<PHINode>(Inst)) { in createVPInstructionsForVPBB() local
H A DLoopVectorizationLegality.cpp549 PHINode *Phi, const InductionDescriptor &ID, in addInductionPhi()
604 auto isSupportedPhi = [&](PHINode &Phi) -> bool { in setupOuterLoopInductions()
662 if (auto *Phi = dyn_cast<PHINode>(&I)) { in canVectorizeInstrs() local
902 if (any_of(FixedOrderRecurrences, [LoopLatch, this](const PHINode *Phi) { in canVectorizeInstrs()
H A DVPlanTransforms.cpp51 auto *Phi = cast<PHINode>(VPPhi->getUnderlyingValue()); in VPInstructionsToVPRecipes() local
343 for (auto &Phi : Plan.getVectorLoopRegion()->getEntryBasicBlock()->phis()) { in removeRedundantInductionCasts() local
H A DVPlan.h636 PHINode *Phi; variable
639 VPLiveOut(PHINode *Phi, VPValue *Op) in VPLiveOut()
1176 VPWidenPointerInductionRecipe(PHINode *Phi, VPValue *Start, VPValue *Step, in VPWidenPointerInductionRecipe()
1216 : VPHeaderPHIRecipe(VPDef::VPWidenPHISC, Phi) { in VPHeaderPHIRecipe() argument
1324 PHINode *Phi; variable
1330 VPBlendRecipe(PHINode *Phi, ArrayRef<VPValue *> Operands) in VPBlendRecipe()
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp189 if (auto *Phi = dyn_cast<PHINode>(Index)) { in matchStridedRecurrence() local
538 if (auto *Phi = dyn_cast_or_null<PHINode>(MaybeDeadPHIs.pop_back_val())) in runOnFunction() local
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp201 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in visitMul() local
533 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in visitFMul() local
939 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in commonIDivTransforms() local
1588 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in visitFDiv() local
1702 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in commonIRemTransforms() local
1886 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in visitFRem() local
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DMachineSSAContext.cpp59 bool MachineSSAContext::isConstantValuePhi(const MachineInstr &Phi) { in isConstantValuePhi()
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()
1144 unsigned PhiNum, MachineInstr *Phi, unsigned OldReg, unsigned NewReg, in rewriteScheduledInstr()
1202 bool ModuloScheduleExpander::isLoopCarried(MachineInstr &Phi) { in isLoopCarried()
1692 auto clonePhi = [&](MachineInstr *Phi) { in moveStageBetweenBlocks()
1727 MachineInstr *Phi) { in getPhiCanonicalReg()
/openbsd/gnu/llvm/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
/openbsd/gnu/llvm/llvm/lib/IR/
H A DReplaceConstant.cpp48 if (auto *Phi = dyn_cast<PHINode>(I)) { in convertConstantExprsToInstructions() local
H A DSSAContext.cpp79 if (auto *Phi = dyn_cast<PHINode>(&Instr)) in isConstantValuePhi() local
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp157 for (auto &Phi : Header->phis()) { in processHeaderPhiOperands() local
478 while (PHINode *Phi = dyn_cast<PHINode>(Src->begin())) in UnrollAndJamLoop() local
493 while (PHINode *Phi = dyn_cast<PHINode>(ForeBlocksFirst[0]->begin())) { in UnrollAndJamLoop() local
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUMemoryUtils.cpp187 const MemoryPhi *Phi = cast<MemoryPhi>(MA); in isClobberedInFunction() local
/openbsd/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceOperandsSkip.cpp218 if (PHINode *Phi = dyn_cast<PHINode>(P.first->getUser())) in extractOperandsFromModule() local
H A DReduceOperands.cpp27 if (PHINode *Phi = dyn_cast<PHINode>(&I)) { in extractOperandsFromModule() local

1234