/aosp_15_r20/external/swiftshader/third_party/subzero/src/ |
H A D | IceCfgNode.cpp | 43 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::__anonc6f2e9db0211::PhiDesc 455 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in advancedPhiLowering() local 683 auto *Phi = llvm::cast<InstPhi>(&I); in liveness() local 1341 auto *Phi = llvm::cast<InstPhi>(&Inst); in shortCircuit() local
|
H A D | WasmTranslator.cpp | 327 Node Phi(wasm::LocalType, uint32_t Count, Node *Vals, Node Control) { in Phi() function in IceBuilder 345 auto *Phi = InstPhi::create(Func, Count * 200, Dest); in Phi() local 934 bool IsPhiWithMerge(Node Phi, Node Merge) const { in IsPhiWithMerge() 953 void AppendToPhi(Node Merge, Node Phi, Node From) { in AppendToPhi() 1305 void setDefiningInst(Operand *Op, InstPhi *Phi) { in setDefiningInst()
|
/aosp_15_r20/external/mesa3d/src/nouveau/compiler/nak/ |
H A D | repair_ssa.rs | 11 struct Phi { struct 22 phis: RefCell<Vec<Phi>>, argument
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/ |
H A D | IVDescriptors.cpp | 70 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 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 682 auto FixPhiIncomingValues = [&](MemoryPhi *Phi, MemoryPhi *NewPhi) { in updateForClonedLoop() 1243 if (auto *Phi = dyn_cast<MemoryPhi>(&*Defs->begin())) in moveAllAccesses() local [all …]
|
H A D | DivergenceAnalysis.cpp | 194 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
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | IVDescriptors.cpp | 86 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()
|
H A D | MemorySSAUpdater.cpp | 94 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
|
H A D | DivergenceAnalysis.cpp | 218 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
|
/aosp_15_r20/external/llvm/lib/Transforms/Utils/ |
H A D | LoopUtils.cpp | 77 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()
|
H A D | MemorySSA.cpp | 213 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
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorizationLegality.cpp | 492 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()
|
H A D | VPlanHCFGBuilder.cpp | 94 for (auto *Phi : PhisToFix) { in fixPhiNodes() local 214 if (auto *Phi = dyn_cast<PHINode>(Inst)) { in createVPInstructionsForVPBB() local
|
/aosp_15_r20/external/llvm/lib/Target/AMDGPU/ |
H A D | SIAnnotateControlFlow.cpp | 191 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
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | MergeICmps.cpp | 436 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
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Scalar/ |
H A D | MergeICmps.cpp | 471 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
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | SIAnnotateControlFlow.cpp | 185 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
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | ModuloSchedule.cpp | 36 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() 1138 unsigned PhiNum, MachineInstr *Phi, unsigned OldReg, unsigned NewReg, in rewriteScheduledInstr() 1190 bool ModuloScheduleExpander::isLoopCarried(MachineInstr &Phi) { in isLoopCarried() 1663 auto clonePhi = [&](MachineInstr *Phi) { in moveStageBetweenBlocks() 1698 MachineInstr *Phi) { in getPhiCanonicalReg() 1759 for (auto Phi = B->begin(), IE = B->getFirstNonPHI(); Phi != IE; ++Phi) in peelPrologAndEpilogs() local
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/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() 367 PHINode *Phi = dyn_cast<PHINode>(Term->getCondition()); in runOnFunction() local
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorizationLegality.cpp | 549 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()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/ |
H A D | ModuloSchedule.cpp | 36 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()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 201 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 1575 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in visitFDiv() local 1689 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in commonIRemTransforms() local 1873 if (Instruction *Phi = foldBinopWithPhiOperands(I)) in visitFRem() local
|
/aosp_15_r20/external/llvm/lib/Transforms/Scalar/ |
H A D | IndVarSimplify.cpp | 627 for (const RewritePhi &Phi : RewritePhiSet) { in rewriteLoopExitValues() local 766 for (const RewritePhi &Phi : RewritePhiSet) { in canLoopBeDeleted() local 1602 PHINode *Phi = dyn_cast<PHINode>(IncI->getOperand(0)); in getLoopPhiForCounter() local 1657 PHINode *Phi = dyn_cast<PHINode>(LHS); in needsLFTR() local 1718 static bool AlmostDeadIV(PHINode *Phi, BasicBlock *LatchBlock, Value *Cond) { in AlmostDeadIV() 1758 PHINode *Phi = cast<PHINode>(I); in FindLoopCounter() local
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 809 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
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | LoopUnrollAndJam.cpp | 94 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
|