Home
last modified time | relevance | path

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

1234567

/external/llvm-project/llvm/lib/Analysis/
DIVDescriptors.cpp86 static Instruction *lookThroughAnd(PHINode *Phi, Type *&RT, in lookThroughAnd()
189 bool RecurrenceDescriptor::AddReductionVar(PHINode *Phi, RecurrenceKind Kind, in AddReductionVar()
613 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI()
674 PHINode *Phi, Loop *TheLoop, in isFirstOrderRecurrence()
823 RecurrenceDescriptor::getReductionOpChain(PHINode *Phi, Loop *L) const { in getReductionOpChain()
943 bool InductionDescriptor::isFPInductionPHI(PHINode *Phi, const Loop *TheLoop, in isFPInductionPHI()
1101 bool InductionDescriptor::isInductionPHI(PHINode *Phi, const Loop *TheLoop, in isInductionPHI()
1146 PHINode *Phi, const Loop *TheLoop, ScalarEvolution *SE, in isInductionPHI()
DDivergenceAnalysis.cpp195 for (const auto &Phi : DivExit.phis()) { in analyzeLoopExitDivergence() local
225 for (auto &Phi : UserBlock->phis()) { in analyzeLoopExitDivergence() local
279 for (const auto &Phi : JoinBlock.phis()) { in taintAndPushPhiNodes() local
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
450 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef() local
457 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef() local
476 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(NewDef)) in fixupDefs() local
685 auto FixPhiIncomingValues = [&](MemoryPhi *Phi, MemoryPhi *NewPhi) { in updateForClonedLoop()
1238 if (auto *Phi = dyn_cast<MemoryPhi>(&*Defs->begin())) in moveAllAccesses() local
[all …]
/external/swiftshader/third_party/subzero/src/
DIceCfgNode.cpp43 if (auto *Phi = llvm::dyn_cast<InstPhi>(Instr)) { in appendInst() local
61 auto &Phi = llvm::cast<InstPhi>(Inst); in replaceInEdge() local
117 auto *Phi = llvm::cast<InstPhi>(&Instr); in enforcePhiConsistency() local
167 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in placePhiLoads() local
259 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in placePhiStores() local
343 PhiDesc(InstPhi *Phi, Variable *Dest) : Phi(Phi), Dest(Dest) {} in PhiDesc()
345 InstPhi *Phi = nullptr; member in Ice::__anon450638ec0211::PhiDesc
455 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in advancedPhiLowering() local
683 auto *Phi = llvm::cast<InstPhi>(&I); in liveness() local
1555 auto *Phi = llvm::cast<InstPhi>(&Inst); in shortCircuit() local
DIcePhiLoweringImpl.h35 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in prelowerPhis32Bit() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp86 static Instruction *lookThroughAnd(PHINode *Phi, Type *&RT, in lookThroughAnd()
189 bool RecurrenceDescriptor::AddReductionVar(PHINode *Phi, RecurrenceKind Kind, in AddReductionVar()
610 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI()
671 PHINode *Phi, Loop *TheLoop, in isFirstOrderRecurrence()
849 bool InductionDescriptor::isFPInductionPHI(PHINode *Phi, const Loop *TheLoop, in isFPInductionPHI()
1007 bool InductionDescriptor::isInductionPHI(PHINode *Phi, const Loop *TheLoop, in isInductionPHI()
1052 PHINode *Phi, const Loop *TheLoop, ScalarEvolution *SE, in isInductionPHI()
DDivergenceAnalysis.cpp218 for (auto &Phi : UserBlock->phis()) { in taintLoopLiveOuts() local
254 for (const auto &Phi : Block.phis()) { in pushPHINodes() local
392 const auto *Phi = dyn_cast<const PHINode>(&I); in compute() local
DMemorySSAUpdater.cpp94 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MSSA->getMemoryAccess(BB)); in getPreviousDefRecursive() local
190 MemoryAccess *MemorySSAUpdater::recursePhi(MemoryAccess *Phi) { in recursePhi()
207 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi) { in tryRemoveTrivialPhi()
213 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi, in tryRemoveTrivialPhi()
283 if (MemoryPhi *Phi = cast_or_null<MemoryPhi>(MP)) in insertUse() local
445 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef() local
464 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(NewDef)) in fixupDefs() local
659 auto FixPhiIncomingValues = [&](MemoryPhi *Phi, MemoryPhi *NewPhi) { in updateForClonedLoop()
1203 if (auto *Phi = dyn_cast<MemoryPhi>(&*Defs->begin())) in moveAllAccesses() local
1247 MemoryPhi *Phi = MSSA->getMemoryAccess(Old); in wireOldPredecessorsToNewImmediatePredecessor() local
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp77 RecurrenceDescriptor::lookThroughAnd(PHINode *Phi, Type *&RT, in lookThroughAnd()
162 bool RecurrenceDescriptor::AddReductionVar(PHINode *Phi, RecurrenceKind Kind, in AddReductionVar()
473 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI()
522 bool RecurrenceDescriptor::isFirstOrderRecurrence(PHINode *Phi, Loop *TheLoop, in isFirstOrderRecurrence()
734 bool InductionDescriptor::isInductionPHI(PHINode *Phi, in isInductionPHI()
758 bool InductionDescriptor::isInductionPHI(PHINode *Phi, in isInductionPHI()
DMemorySSA.cpp213 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in renameBlock() local
275 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in markUnreachableAsLiveOnEntry() local
409 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in buildMemorySSA() local
458 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in createMemoryPhi() local
554 if (MemoryPhi *Phi = getMemoryAccess(UseBlock)) in findDominatingDef() local
688 MemoryAccess *Phi = getMemoryAccess(&B); in verifyOrdering() local
792 if (MemoryPhi *Phi = getMemoryAccess(&B)) { in verifyDefUses() local
/external/llvm/lib/Target/AMDGPU/
DSIAnnotateControlFlow.cpp191 bool SIAnnotateControlFlow::isElse(PHINode *Phi) { in isElse()
209 void SIAnnotateControlFlow::eraseIfUnused(PHINode *Phi) { in eraseIfUnused()
243 PHINode *Phi = nullptr; in handleLoopCondition() local
404 PHINode *Phi = dyn_cast<PHINode>(Term->getCondition()); in runOnFunction() local
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIAnnotateControlFlow.cpp185 bool SIAnnotateControlFlow::isElse(PHINode *Phi) { in isElse()
203 void SIAnnotateControlFlow::eraseIfUnused(PHINode *Phi) { in eraseIfUnused()
352 PHINode *Phi = dyn_cast<PHINode>(Term->getCondition()); in runOnFunction() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIAnnotateControlFlow.cpp185 bool SIAnnotateControlFlow::isElse(PHINode *Phi) { in isElse()
203 void SIAnnotateControlFlow::eraseIfUnused(PHINode *Phi) { in eraseIfUnused()
352 PHINode *Phi = dyn_cast<PHINode>(Term->getCondition()); in runOnFunction() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp492 PHINode *Phi, const InductionDescriptor &ID, in addInductionPhi()
547 auto isSupportedPhi = [&](PHINode &Phi) -> bool { in setupOuterLoopInductions()
581 if (auto *Phi = dyn_cast<PHINode>(&I)) { in canVectorizeInstrs() local
823 if (any_of(FirstOrderRecurrences, [LoopLatch, this](const PHINode *Phi) { in canVectorizeInstrs()
881 bool LoopVectorizationLegality::isFirstOrderRecurrence(const PHINode *Phi) { in isFirstOrderRecurrence()
DVPlanHCFGBuilder.cpp94 for (auto *Phi : PhisToFix) { in fixPhiNodes() local
214 if (auto *Phi = dyn_cast<PHINode>(Inst)) { in createVPInstructionsForVPBB() local
DVPlanTransforms.cpp62 else if (PHINode *Phi = dyn_cast<PHINode>(Inst)) { in VPInstructionsToVPRecipes() local
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp506 PHINode *Phi, const InductionDescriptor &ID, in addInductionPhi()
561 auto isSupportedPhi = [&](PHINode &Phi) -> bool { in setupOuterLoopInductions()
617 if (auto *Phi = dyn_cast<PHINode>(&I)) { in canVectorizeInstrs() local
859 if (any_of(FirstOrderRecurrences, [LoopLatch, this](const PHINode *Phi) { in canVectorizeInstrs()
917 bool LoopVectorizationLegality::isFirstOrderRecurrence(const PHINode *Phi) { in isFirstOrderRecurrence()
DVPlanHCFGBuilder.cpp94 for (auto *Phi : PhisToFix) { in fixPhiNodes() local
214 if (auto *Phi = dyn_cast<PHINode>(Inst)) { in createVPInstructionsForVPBB() local
DVPlanTransforms.cpp67 else if (PHINode *Phi = dyn_cast<PHINode>(Inst)) { in VPInstructionsToVPRecipes() local
/external/llvm-project/llvm/lib/Transforms/Scalar/
DMergeICmps.cpp436 BCECmpChain::BCECmpChain(const std::vector<BasicBlock *> &Blocks, PHINode &Phi, in BCECmpChain()
609 PHINode &Phi, const TargetLibraryInfo &TLI, in mergeComparisons()
760 std::vector<BasicBlock *> getOrderedBlocks(PHINode &Phi, in getOrderedBlocks()
795 bool processPhi(PHINode &Phi, const TargetLibraryInfo &TLI, AliasAnalysis &AA, in processPhi()
885 if (auto *const Phi = dyn_cast<PHINode>(&*BBIt->begin())) in runImpl() local
DReg2Mem.cpp86 for (auto &Phi : BB.phis()) in runPass() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMergeICmps.cpp436 BCECmpChain::BCECmpChain(const std::vector<BasicBlock *> &Blocks, PHINode &Phi, in BCECmpChain()
609 PHINode &Phi, const TargetLibraryInfo &TLI, in mergeComparisons()
759 std::vector<BasicBlock *> getOrderedBlocks(PHINode &Phi, in getOrderedBlocks()
794 bool processPhi(PHINode &Phi, const TargetLibraryInfo &TLI, AliasAnalysis &AA, in processPhi()
884 if (auto *const Phi = dyn_cast<PHINode>(&*BBIt->begin())) in runImpl() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollAndJam.cpp94 for (auto &Phi : Header->phis()) { in processHeaderPhiOperands() local
439 while (PHINode *Phi = dyn_cast<PHINode>(Src->begin())) in UnrollAndJamLoop() local
454 while (PHINode *Phi = dyn_cast<PHINode>(ForeBlocksFirst[0]->begin())) { in UnrollAndJamLoop() local
/external/llvm-project/llvm/unittests/Transforms/Vectorize/
DVPlanHCFGTest.cpp57 VPInstruction *Phi = dyn_cast<VPInstruction>(&*Iter++); in TEST_F() local
/external/llvm-project/llvm/lib/CodeGen/
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

1234567