Home
last modified time | relevance | path

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

12345

/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp68 lookThroughAnd(PHINode * Phi,Type * & RT,SmallPtrSetImpl<Instruction * > & Visited,SmallPtrSetImpl<Instruction * > & CI) lookThroughAnd() argument
182 checkOrderedReduction(RecurKind Kind,Instruction * ExactFPMathInst,Instruction * Exit,PHINode * Phi) checkOrderedReduction() argument
214 AddReductionVar(PHINode * Phi,RecurKind Kind,Loop * TheLoop,FastMathFlags FuncFMF,RecurrenceDescriptor & RedDes,DemandedBits * DB,AssumptionCache * AC,DominatorTree * DT,ScalarEvolution * SE) AddReductionVar() argument
839 isReductionPHI(PHINode * Phi,Loop * TheLoop,RecurrenceDescriptor & RedDes,DemandedBits * DB,AssumptionCache * AC,DominatorTree * DT,ScalarEvolution * SE) isReductionPHI() argument
948 isFixedOrderRecurrence(PHINode * Phi,Loop * TheLoop,DominatorTree * DT) isFixedOrderRecurrence() argument
1132 getReductionOpChain(PHINode * Phi,Loop * L) const getReductionOpChain() argument
1276 isFPInductionPHI(PHINode * Phi,const Loop * TheLoop,ScalarEvolution * SE,InductionDescriptor & D) isFPInductionPHI() argument
1434 isInductionPHI(PHINode * Phi,const Loop * TheLoop,PredicatedScalarEvolution & PSE,InductionDescriptor & D,bool Assume) isInductionPHI() argument
1479 isInductionPHI(PHINode * Phi,const Loop * TheLoop,ScalarEvolution * SE,InductionDescriptor & D,const SCEV * Expr,SmallVectorImpl<Instruction * > * CastsToIgnore) isInductionPHI() argument
[all...]
H A DMemorySSAUpdater.cpp89 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MSSA->getMemoryAccess(BB)); in getPreviousDefRecursive() local
185 recursePhi(MemoryAccess * Phi) recursePhi() argument
202 tryRemoveTrivialPhi(MemoryPhi * Phi) tryRemoveTrivialPhi() argument
208 tryRemoveTrivialPhi(MemoryPhi * Phi,RangeType & Operands) tryRemoveTrivialPhi() argument
279 if (MemoryPhi *Phi = cast_or_null<MemoryPhi>(MP)) insertUse() local
448 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); insertDef() local
455 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); insertDef() local
474 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(NewDef)) fixupDefs() local
673 __anon378ee98b0302(MemoryPhi *Phi, MemoryPhi *NewPhi) updateForClonedLoop() argument
1218 if (auto *Phi = dyn_cast<MemoryPhi>(&*Defs->begin())) moveAllAccesses() local
1248 MemoryPhi *Phi = MSSA->getMemoryAccess(Old); wireOldPredecessorsToNewImmediatePredecessor() local
[all...]
H A DPhiValues.cpp49 void PhiValues::processPhi(const PHINode *Phi, in processPhi()
/llvm-project/llvm/lib/CodeGen/
H A DWindowScheduler.cpp197 auto IsLoopCarried = [&](MachineInstr &Phi) { in initialize() argument
374 for (auto &Phi : MBB->phis()) { generateTripleMBB() local
528 for (auto &Phi : MBB->phis()) { schedulePhi() local
568 for (auto &Phi : MBB->phis()) getIssueOrder() local
692 getAntiRegister(MachineInstr * Phi) getAntiRegister() argument
[all...]
H A DMachineSSAContext.cpp58 isConstantOrUndefValuePhi(const MachineInstr & Phi) isConstantOrUndefValuePhi() argument
H A DModuloSchedule.cpp40 static void getPhiRegs(MachineInstr &Phi, MachineBasicBlock *Loop, in getPhiRegs() argument
56 getInitPhiReg(MachineInstr & Phi,MachineBasicBlock * LoopBB) getInitPhiReg() argument
64 getLoopPhiReg(MachineInstr & Phi,MachineBasicBlock * LoopBB) getLoopPhiReg() argument
1143 rewriteScheduledInstr(MachineBasicBlock * BB,InstrMapTy & InstrMap,unsigned CurStageNum,unsigned PhiNum,MachineInstr * Phi,unsigned OldReg,unsigned NewReg,unsigned PrevReg) rewriteScheduledInstr() argument
1201 isLoopCarried(MachineInstr & Phi) isLoopCarried() argument
1692 __anona8c0cc840302(MachineInstr *Phi) moveStageBetweenBlocks() argument
1727 getPhiCanonicalReg(MachineInstr * CanonicalPhi,MachineInstr * Phi) getPhiCanonicalReg() argument
2429 MachineInstr *Phi = getLoopPhiUser(OrigReg, OrigKernel); generatePhi() local
2447 replacePhiSrc(MachineInstr & Phi,Register OrigReg,Register NewReg,MachineBasicBlock * NewMBB) replacePhiSrc() argument
[all...]
/llvm-project/llvm/lib/Transforms/Scalar/
H A DReg2Mem.cpp85 for (auto &Phi : BB.phis()) runPass() local
H A DMergeICmps.cpp473 BCECmpChain::BCECmpChain(const std::vector<BasicBlock *> &Blocks, PHINode &Phi, in BCECmpChain()
606 PHINode &Phi, const TargetLibraryInfo &TLI, in mergeComparisons()
741 std::vector<BasicBlock *> getOrderedBlocks(PHINode &Phi, in getOrderedBlocks()
776 bool processPhi(PHINode &Phi, const TargetLibraryInfo &TLI, AliasAnalysis &AA, in processPhi()
866 if (auto *const Phi = dyn_cast<PHINode>(&*BB.begin())) in runImpl() local
H A DPartiallyInlineLibCalls.cpp74 PHINode *Phi = Builder.CreatePHI(Ty, 2); optimizeSQRT() local
/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp170 isElse(PHINode * Phi) isElse() argument
197 eraseIfUnused(PHINode * Phi) eraseIfUnused() argument
383 PHINode *Phi = dyn_cast<PHINode>(Term->getCondition()); runOnFunction() local
[all...]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-std-numbers.cpp49 static constexpr double Phi = 1.6180339; in foo() local
323 static constexpr T Phi = 1.6180339; in baz() local
/llvm-project/llvm/lib/IR/
H A DReplaceConstant.cpp96 if (auto *Phi = dyn_cast<PHINode>(I)) { in convertUsersOfConstantsToInstructions() local
H A DSSAContext.cpp67 return Phi->hasConstantOrUndefValue(); in isConstantOrUndefValuePhi() local
/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanHCFGBuilder.cpp124 for (auto *Phi : PhisToFix) { in fixPhiNodes() local
307 if (auto *Phi = dyn_cast<PHINode>(Inst)) { createVPInstructionsForVPBB() local
[all...]
H A DLoopVectorizationLegality.cpp682 Inductions[Phi] = ID; in addInductionPhi() argument
737 __anon085ae8110602(PHINode &Phi) setupOuterLoopInductions() argument
795 if (auto *Phi = dyn_cast<PHINode>(&I)) { canVectorizeInstrs() local
[all...]
/llvm-project/llvm/unittests/Analysis/
H A DIVDescriptorsTest.cpp205 PHINode *Phi = dyn_cast<PHINode>(&*BBI); in TEST() local
257 PHINode *Phi = dyn_cast<PHINode>(&*BBI); TEST() local
H A DBasicAliasAnalysisTest.cpp164 auto *Phi = B.CreatePHI(B.getPtrTy(), 2); in TEST_F() local
/llvm-project/llvm/unittests/Transforms/Vectorize/
H A DVPlanHCFGTest.cpp62 VPWidenPHIRecipe *Phi = dyn_cast<VPWidenPHIRecipe>(&*Iter++); TEST_F() local
/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp201 if (auto *Phi = dyn_cast<PHINode>(Index)) { matchStridedRecurrence() local
583 if (auto *Phi = dyn_cast_or_null<PHINode>(MaybeDeadPHIs.pop_back_val())) runOnFunction() local
[all...]
/llvm-project/llvm/tools/llvm-reduce/deltas/
H A DReduceOperandsSkip.cpp225 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
/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp810 if (Phi == nullptr || Phi->getNumIncomingValues() != 2 || in tryCreateIncrementingWBGatScat() local
888 pushOutAdd(PHINode * & Phi,Value * OffsSecondOperand,unsigned StartIndex) pushOutAdd() argument
908 pushOutMulShl(unsigned Opcode,PHINode * & Phi,Value * IncrementPerRound,Value * OffsSecondOperand,unsigned LoopIncrement,IRBuilder<> & Builder) pushOutMulShl() argument
995 PHINode *Phi; optimiseOffsets() local
[all...]
/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp156 Value *V = Phi.getIncomingValueForBlock(Latch); in processHeaderPhiOperands() local
477 while (PHINode *Phi = dyn_cast<PHINode>(Src->begin())) UnrollAndJamLoop() local
492 while (PHINode *Phi = dyn_cast<PHINode>(ForeBlocksFirst[0]->begin())) { UnrollAndJamLoop() local
[all...]
/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp204 if (Instruction *Phi = foldBinopWithPhiOperands(I)) visitMul() local
862 if (Instruction *Phi = foldBinopWithPhiOperands(I)) visitFMul() local
1160 if (Instruction *Phi = foldBinopWithPhiOperands(I)) commonIDivTransforms() local
1878 if (Instruction *Phi = foldBinopWithPhiOperands(I)) visitFDiv() local
2103 if (Instruction *Phi = foldBinopWithPhiOperands(I)) commonIRemTransforms() local
2303 if (Instruction *Phi = foldBinopWithPhiOperands(I)) visitFRem() local
[all...]
/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp157 const auto *Phi = dyn_cast<PHINode>(V); getPromotablePHINodes() local

12345