| /external/swiftshader/third_party/subzero/src/ |
| 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::__anon2a74cbca0211::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
|
| D | IcePhiLoweringImpl.h | 35 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in prelowerPhis32Bit() local
|
| 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()
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
| 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()
|
| 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
|
| 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
|
| D | PhiValues.cpp | 50 void PhiValues::processPhi(const PHINode *Phi, in processPhi()
|
| D | MemorySSA.cpp | 596 void addSearches(MemoryPhi *Phi, SmallVectorImpl<ListIndex> &PausedSearches, in addSearches() 765 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start, in tryOptimizePhi() 1096 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in renameSuccessorPhis() local 1204 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in markUnreachableAsLiveOnEntry() local 1695 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in createMemoryPhi() local 1891 if (MemoryPhi *Phi = getMemoryAccess(&BB)) { in verifyPrevDefInPhis() local 1976 MemoryPhi *Phi = getMemoryAccess(&B); in verifyOrderingDominationAndDefUses() local
|
| /external/llvm/lib/Transforms/Utils/ |
| 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()
|
| 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
|
| /external/llvm/lib/Target/AMDGPU/ |
| 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
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
| 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()
|
| D | VPlanHCFGBuilder.cpp | 94 for (auto *Phi : PhisToFix) { in fixPhiNodes() local 214 if (auto *Phi = dyn_cast<PHINode>(Inst)) { in createVPInstructionsForVPBB() local
|
| D | VPlanTransforms.cpp | 62 else if (PHINode *Phi = dyn_cast<PHINode>(Inst)) { in VPInstructionsToVPRecipes() local
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
| 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
|
| D | AMDGPUPromoteAlloca.cpp | 603 if (PHINode *Phi = dyn_cast<PHINode>(UseInst)) { in collectUsesWithPtrTypes() local 867 } else if (PHINode *Phi = dyn_cast<PHINode>(V)) { in handleAlloca() local
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
| 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
|
| D | PartiallyInlineLibCalls.cpp | 59 PHINode *Phi = Builder.CreatePHI(Ty, 2); in optimizeSQRT() local
|
| D | IndVarSimplify.cpp | 706 for (const RewritePhi &Phi : RewritePhiSet) { in rewriteLoopExitValues() local 846 for (const RewritePhi &Phi : RewritePhiSet) { in canLoopBeDeleted() local 2039 PHINode *Phi = dyn_cast<PHINode>(IncI->getOperand(0)); in getLoopPhiForCounter() local 2102 PHINode *Phi = dyn_cast<PHINode>(LHS); in needsLFTR() local 2205 static bool AlmostDeadIV(PHINode *Phi, BasicBlock *LatchBlock, Value *Cond) { in AlmostDeadIV() 2220 static bool isLoopCounter(PHINode* Phi, Loop *L, in isLoopCounter() 2263 PHINode *Phi = cast<PHINode>(I); in FindLoopCounter() local
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
| 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
|
| D | LoopUnrollPeel.cpp | 126 PHINode *Phi, Loop *L, BasicBlock *BackEdge, in calculateIterationsToInvariance() 334 PHINode *Phi = cast<PHINode>(&*BI); in computePeelCount() local
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
| 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
|
| /external/llvm/lib/Transforms/Scalar/ |
| D | PartiallyInlineLibCalls.cpp | 55 PHINode *Phi = Builder.CreatePHI(Call->getType(), 2); in optimizeSQRT() local
|
| D | StructurizeCFG.cpp | 574 PHINode &Phi = cast<PHINode>(*I++); in delPhiValues() local 587 PHINode &Phi = cast<PHINode>(*I++); in addPhiValues() local 608 PHINode *Phi = PI.first; in setPhiValues() local
|
| 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
|