Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp78 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MSSA->getMemoryAccess(BB)); in getPreviousDefRecursive() local
164 MemoryAccess *MemorySSAUpdater::recursePhi(MemoryAccess *Phi) { in recursePhi()
185 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi, in tryRemoveTrivialPhi()
318 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef() local
337 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(NewDef)) in fixupDefs() local
504 MemoryPhi *Phi = MSSA->getMemoryAccess(Old); in wireOldPredecessorsToNewImmediatePredecessor() local
DPhiValues.cpp40 void PhiValues::processPhi(const PHINode *Phi, in processPhi()
DMemorySSA.cpp534 void addSearches(MemoryPhi *Phi, SmallVectorImpl<ListIndex> &PausedSearches, in addSearches()
691 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start, in tryOptimizePhi()
946 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in renameSuccessorPhis() local
1047 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in markUnreachableAsLiveOnEntry() local
1499 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in createMemoryPhi() local
1706 MemoryAccess *Phi = getMemoryAccess(&B); in verifyOrdering() local
1800 if (MemoryPhi *Phi = getMemoryAccess(&B)) { in verifyDefUses() local
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIAnnotateControlFlow.cpp184 bool SIAnnotateControlFlow::isElse(PHINode *Phi) { in isElse()
202 void SIAnnotateControlFlow::eraseIfUnused(PHINode *Phi) { in eraseIfUnused()
237 PHINode *Phi = nullptr; in handleLoopCondition() local
412 PHINode *Phi = dyn_cast<PHINode>(Term->getCondition()); in runOnFunction() 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/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/
DVPlanHCFGTest.cpp56 VPInstruction *Phi = dyn_cast<VPInstruction>(&*Iter++); in TEST_F() local
137 auto *Phi = dyn_cast<VPWidenPHIRecipe>(&*Iter++); in TEST_F() local
/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::__anon5f97a60e0211::PhiDesc
455 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in advancedPhiLowering() local
705 auto *Phi = llvm::cast<InstPhi>(&I); in liveness() local
1604 auto *Phi = llvm::cast<InstPhi>(&Inst); in shortCircuit() local
DIcePhiLoweringImpl.h35 auto *Phi = llvm::dyn_cast<InstPhi>(&I); in prelowerPhis32Bit() local
DWasmTranslator.cpp327 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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DMergeICmps.cpp359 BCECmpChain::BCECmpChain(const std::vector<BasicBlock *> &Blocks, PHINode &Phi) in BCECmpChain()
539 PHINode &Phi, in mergeComparisons()
634 std::vector<BasicBlock *> getOrderedBlocks(PHINode &Phi, in getOrderedBlocks()
669 bool processPhi(PHINode &Phi, const TargetLibraryInfo *const TLI) { in processPhi()
779 if (auto *const Phi = dyn_cast<PHINode>(&*BBIt->begin())) in runImpl() local
DPartiallyInlineLibCalls.cpp53 PHINode *Phi = Builder.CreatePHI(Ty, 2); in optimizeSQRT() local
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DVPlanHCFGTransforms.cpp49 else if (PHINode *Phi = dyn_cast<PHINode>(Inst)) { in VPInstructionsToVPRecipes() local
DVPlanHCFGBuilder.cpp93 for (auto *Phi : PhisToFix) { in fixPhiNodes() local
211 if (auto *Phi = dyn_cast<PHINode>(Inst)) { in createVPInstructionsForVPBB() local
DLoopVectorizationLegality.cpp523 PHINode *Phi, const InductionDescriptor &ID, in addInductionPhi()
585 if (auto *Phi = dyn_cast<PHINode>(&I)) { in canVectorizeInstrs() local
788 bool LoopVectorizationLegality::isFirstOrderRecurrence(const PHINode *Phi) { in isFirstOrderRecurrence()
/external/v8/src/compiler/
Ddiamond.h52 Node* Phi(MachineRepresentation rep, Node* tv, Node* fv) { in Phi() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp88 static Instruction *lookThroughAnd(PHINode *Phi, Type *&RT, in lookThroughAnd()
191 bool RecurrenceDescriptor::AddReductionVar(PHINode *Phi, RecurrenceKind Kind, in AddReductionVar()
546 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI()
607 PHINode *Phi, Loop *TheLoop, in isFirstOrderRecurrence()
873 bool InductionDescriptor::isFPInductionPHI(PHINode *Phi, const Loop *TheLoop, in isFPInductionPHI()
1031 bool InductionDescriptor::isInductionPHI(PHINode *Phi, const Loop *TheLoop, in isInductionPHI()
1077 PHINode *Phi, const Loop *TheLoop, ScalarEvolution *SE, in isInductionPHI()
DLoopUnrollAndJam.cpp96 for (auto &Phi : Header->phis()) { in processHeaderPhiOperands() local
429 while (PHINode *Phi = dyn_cast<PHINode>(Src->begin())) in UnrollAndJamLoop() local
444 while (PHINode *Phi = dyn_cast<PHINode>(ForeBlocksFirst[0]->begin())) { in UnrollAndJamLoop() local
DLoopUnrollPeel.cpp105 PHINode *Phi, Loop *L, BasicBlock *BackEdge, in calculateIterationsToInvariance()
283 PHINode *Phi = cast<PHINode>(&*BI); in computePeelCount() local
/external/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp55 PHINode *Phi = Builder.CreatePHI(Call->getType(), 2); in optimizeSQRT() local
DStructurizeCFG.cpp574 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
DIndVarSimplify.cpp627 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
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DScalarEvolutionTest.cpp373 PHINode *Phi = cast<PHINode>(&*II++); in TEST_F() local
768 PHINode *Phi = Builder.CreatePHI(T_int64, 2); in TEST_F() local
839 PHINode *Phi = Builder.CreatePHI(T_int64, 2); in TEST_F() local
940 PHINode *Phi = Builder.CreatePHI(T_int64, 2); in TEST_F() local
1010 auto *Phi = PHINode::Create(Type::getInt64Ty(Context), 2, "", Br); in TEST_F() local
1066 auto *Phi = PHINode::Create(Int32Ty, 2, "", Br); in TEST_F() local
1163 PHINode *Phi = Builder.CreatePHI(T_int64, 2); in TEST_F() local
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp176 PHINode *Phi = nullptr; in scalarizeMaskedLoad() local
426 PHINode *Phi = nullptr; in scalarizeMaskedGather() local

1234