Home
last modified time | relevance | path

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

1234

/freebsd-src/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp68 static Instruction *lookThroughAnd(PHINode *Phi, Type *&RT, in 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 __anon725ef00a0302(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()
H A DMemorySSA.cpp591 addSearches(MemoryPhi * Phi,SmallVectorImpl<ListIndex> & PausedSearches,ListIndex PriorNode) addSearches() argument
761 tryOptimizePhi(MemoryPhi * Phi,MemoryAccess * Start,const MemoryLocation & Loc) tryOptimizePhi() argument
1101 auto *Phi = cast<MemoryPhi>(&Accesses->front()); renameSuccessorPhis() local
1209 auto *Phi = cast<MemoryPhi>(&Accesses->front()); markUnreachableAsLiveOnEntry() local
1675 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); createMemoryPhi() local
1882 if (MemoryPhi *Phi = getMemoryAccess(&BB)) { verifyPrevDefInPhis() local
1967 MemoryPhi *Phi = getMemoryAccess(&B); verifyOrderingDominationAndDefUses() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp171 BasicBlock *IDom = DT->getNode(Phi->getParent())->getIDom()->getBlock(); in isElse() argument
198 eraseIfUnused(PHINode * Phi) eraseIfUnused() argument
380 PHINode *Phi = dyn_cast<PHINode>(Term->getCondition()); runOnFunction() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReg2Mem.cpp85 for (auto &Phi : BB.phis()) in runPass() local
H A DMergeICmps.cpp473 BCECmpChain::BCECmpChain(const std::vector<BasicBlock *> &Blocks, PHINode &Phi, in BCECmpChain() argument
606 PHINode &Phi, const TargetLibraryInfo &TLI, in mergeComparisons() argument
741 getOrderedBlocks(PHINode & Phi,BasicBlock * const LastBlock,int NumBlocks) getOrderedBlocks() argument
776 processPhi(PHINode & Phi,const TargetLibraryInfo & TLI,AliasAnalysis & AA,DomTreeUpdater & DTU) processPhi() argument
866 if (auto *const Phi = dyn_cast<PHINode>(&*BB.begin())) runImpl() local
[all...]
H A DPartiallyInlineLibCalls.cpp74 PHINode *Phi = Builder.CreatePHI(Ty, 2); in optimizeSQRT() local
H A DIndVarSimplify.cpp670 PHINode *Phi = dyn_cast<PHINode>(IncI->getOperand(0)); getLoopPhiForCounter() local
733 PHINode *Phi = dyn_cast<PHINode>(LHS); needsLFTR() local
795 isLoopCounter(PHINode * Phi,Loop * L,ScalarEvolution * SE) isLoopCounter() argument
839 PHINode *Phi = cast<PHINode>(I); FindLoopCounter() local
[all...]
H A DScalarizeMaskedMemIntrin.cpp243 PHINode *Phi = Builder.CreatePHI(VecType, 2, "res.phi.else"); in scalarizeMaskedLoad() local
497 PHINode *Phi = Builder.CreatePHI(VecType, 2, "res.phi.else"); in scalarizeMaskedGather() local
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanHCFGBuilder.cpp124 for (auto *Phi : PhisToFix) { in fixPhiNodes() local
308 if (auto *Phi = dyn_cast<PHINode>(Inst)) { createVPInstructionsForVPBB() local
[all...]
H A DLoopVectorizationLegality.cpp682 PHINode *Phi, const InductionDescriptor &ID, in addInductionPhi() argument
737 __anon1263b3f00602(PHINode &Phi) setupOuterLoopInductions() argument
795 if (auto *Phi = dyn_cast<PHINode>(&I)) { canVectorizeInstrs() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/IR/
H A DReplaceConstant.cpp84 if (auto *Phi = dyn_cast<PHINode>(I)) { convertUsersOfConstantsToInstructions() local
H A DSSAContext.cpp67 if (auto *Phi = dyn_cast<PHINode>(&Instr)) in isConstantOrUndefValuePhi() local
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUMemoryUtils.cpp147 const MemoryPhi *Phi = cast<MemoryPhi>(MA); isClobberedInFunction() local
/freebsd-src/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp201 if (auto *Phi = dyn_cast<PHINode>(Index)) { in matchStridedRecurrence() local
564 if (auto *Phi = dyn_cast_or_null<PHINode>(MaybeDeadPHIs.pop_back_val())) runOnFunction() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineSSAContext.cpp58 bool MachineSSAContext::isConstantOrUndefValuePhi(const MachineInstr &Phi) { in isConstantOrUndefValuePhi()
H A DModuloSchedule.cpp52 assert(InitVal != 0 && LoopVal != 0 && "Unexpected Phi structur argument
36 getPhiRegs(MachineInstr & Phi,MachineBasicBlock * Loop,unsigned & InitVal,unsigned & LoopVal) getPhiRegs() argument
60 getLoopPhiReg(MachineInstr & Phi,MachineBasicBlock * LoopBB) getLoopPhiReg() argument
1139 rewriteScheduledInstr(MachineBasicBlock * BB,InstrMapTy & InstrMap,unsigned CurStageNum,unsigned PhiNum,MachineInstr * Phi,unsigned OldReg,unsigned NewReg,unsigned PrevReg) rewriteScheduledInstr() argument
1197 isLoopCarried(MachineInstr & Phi) isLoopCarried() argument
1687 __anon76bf4b630302(MachineInstr *Phi) moveStageBetweenBlocks() argument
1722 getPhiCanonicalReg(MachineInstr * CanonicalPhi,MachineInstr * Phi) getPhiCanonicalReg() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp809 PHINode *Phi = dyn_cast<PHINode>(Offsets); tryCreateIncrementingWBGatScat() local
885 pushOutAdd(PHINode * & Phi,Value * OffsSecondOperand,unsigned StartIndex) pushOutAdd() argument
905 pushOutMulShl(unsigned Opcode,PHINode * & Phi,Value * IncrementPerRound,Value * OffsSecondOperand,unsigned LoopIncrement,IRBuilder<> & Builder) pushOutMulShl() argument
989 PHINode *Phi; optimiseOffsets() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp156 for (auto &Phi : Header->phis()) { 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...]
H A DLoopUtils.cpp1305 for (const RewritePhi &Phi : RewritePhiSet) { canLoopBeDeleted() local
1333 checkIsIndPhi(PHINode * Phi,Loop * L,ScalarEvolution * SE,InductionDescriptor & ID) checkIsIndPhi() argument
1424 PHINode *Phi = dyn_cast<PHINode>(U); rewriteLoopExitValues() local
1498 for (const RewritePhi &Phi : RewritePhiSet) { rewriteLoopExitValues() local
[all...]
H A DCallPromotionUtils.cpp115 PHINode *Phi = Builder.CreatePHI(OrigInst->getType(), 0); createRetPHINode() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp204 if (Instruction *Phi = foldBinopWithPhiOperands(I)) visitMul() local
760 if (Instruction *Phi = foldBinopWithPhiOperands(I)) visitFMul() local
1029 if (Instruction *Phi = foldBinopWithPhiOperands(I)) commonIDivTransforms() local
1721 if (Instruction *Phi = foldBinopWithPhiOperands(I)) visitFDiv() local
1955 if (Instruction *Phi = foldBinopWithPhiOperands(I)) commonIRemTransforms() local
2155 if (Instruction *Phi = foldBinopWithPhiOperands(I)) visitFRem() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp157 const auto *Phi = dyn_cast<PHINode>(V); in getPromotablePHINodes() local
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp160 Instruction *Phi = PendingPHIs.pop_back_val(); in getBonusFromPendingPHIs() local
304 if (auto *Phi = dyn_cast<PHINode>(V)) { in discoverTransitivelyIncomingValues() local

1234