Home
last modified time | relevance | path

Searched defs:CurLoop (Results 1 – 20 of 20) sorted by relevance

/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineLICM.cpp147 bool isExitBlock(MachineLoop *CurLoop, const MachineBasicBlock *MBB) { in isExitBlock() argument
386 MachineLoop *CurLoop = Worklist.pop_back_val(); INITIALIZE_PASS_DEPENDENCY() local
432 ProcessMI(MachineInstr * MI,BitVector & PhysRegDefs,BitVector & PhysRegClobbers,SmallSet<int,32> & StoredFIs,SmallVectorImpl<CandidateInfo> & Candidates,MachineLoop * CurLoop) ProcessMI() argument
518 HoistRegionPostRA(MachineLoop * CurLoop,MachineBasicBlock * CurPreheader) HoistRegionPostRA() argument
609 AddToLiveIns(MCRegister Reg,MachineLoop * CurLoop) AddToLiveIns() argument
627 HoistPostRA(MachineInstr * MI,unsigned Def,MachineLoop * CurLoop,MachineBasicBlock * CurPreheader) HoistPostRA() argument
659 IsGuaranteedToExecute(MachineBasicBlock * BB,MachineLoop * CurLoop) IsGuaranteedToExecute() argument
731 HoistOutOfLoop(MachineDomTreeNode * HeaderN,MachineLoop * CurLoop,MachineBasicBlock * CurPreheader) HoistOutOfLoop() argument
1006 IsLICMCandidate(MachineInstr & I,MachineLoop * CurLoop) IsLICMCandidate() argument
1042 IsLoopInvariantInst(MachineInstr & I,MachineLoop * CurLoop) IsLoopInvariantInst() argument
1053 HasLoopPHIUse(const MachineInstr * MI,MachineLoop * CurLoop) HasLoopPHIUse() argument
1184 IsProfitableToHoist(MachineInstr & MI,MachineLoop * CurLoop) IsProfitableToHoist() argument
1292 ExtractHoistableLoad(MachineInstr * MI,MachineLoop * CurLoop) ExtractHoistableLoad() argument
1508 Hoist(MachineInstr * MI,MachineBasicBlock * Preheader,MachineLoop * CurLoop) Hoist() argument
1602 getCurPreheader(MachineLoop * CurLoop,MachineBasicBlock * CurPreheader) getCurPreheader() argument
[all...]
H A DPHIElimination.cpp682 const MachineLoop *CurLoop = MLI ? MLI->getLoopFor(&MBB) : nullptr; SplitPHIEdges() local
[all...]
H A DMachineTraceMetrics.cpp343 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTracePred() local
371 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTraceSucc() local
/freebsd-src/contrib/llvm-project/llvm/lib/Analysis/
H A DMustExecute.cpp51 void SimpleLoopSafetyInfo::computeLoopSafetyInfo(const Loop *CurLoop) { in computeLoopSafetyInfo() argument
79 void ICFLoopSafetyInfo::computeLoopSafetyInfo(const Loop *CurLoop) { in computeLoopSafetyInfo() argument
104 computeBlockColors(const Loop * CurLoop) computeBlockColors() argument
119 CanProveNotTakenFirstIteration(const BasicBlock * ExitBlock,const DominatorTree * DT,const Loop * CurLoop) CanProveNotTakenFirstIteration() argument
161 collectTransitivePredecessors(const Loop * CurLoop,const BasicBlock * BB,SmallPtrSetImpl<const BasicBlock * > & Predecessors) collectTransitivePredecessors() argument
190 allLoopPathsLeadToBlock(const Loop * CurLoop,const BasicBlock * BB,const DominatorTree * DT) const allLoopPathsLeadToBlock() argument
[all...]
H A DDependenceAnalysis.cpp441 const Loop *CurLoop) { in setPoint() argument
449 const SCEV *CC, const Loop *CurLoop) { in setLine() argument
458 const Loop *CurLoop) { in setDistance() argument
1231 const SCEV *DstConst, const Loop *CurLoop, in strongSIVtest() argument
1368 weakCrossingSIVtest(const SCEV * Coeff,const SCEV * SrcConst,const SCEV * DstConst,const Loop * CurLoop,unsigned Level,FullDependence & Result,Constraint & NewConstraint,const SCEV * & SplitIter) const weakCrossingSIVtest() argument
1568 exactSIVtest(const SCEV * SrcCoeff,const SCEV * DstCoeff,const SCEV * SrcConst,const SCEV * DstConst,const Loop * CurLoop,unsigned Level,FullDependence & Result,Constraint & NewConstraint) const exactSIVtest() argument
1762 weakZeroSrcSIVtest(const SCEV * DstCoeff,const SCEV * SrcConst,const SCEV * DstConst,const Loop * CurLoop,unsigned Level,FullDependence & Result,Constraint & NewConstraint) const weakZeroSrcSIVtest() argument
1872 weakZeroDstSIVtest(const SCEV * SrcCoeff,const SCEV * SrcConst,const SCEV * DstConst,const Loop * CurLoop,unsigned Level,FullDependence & Result,Constraint & NewConstraint) const weakZeroDstSIVtest() argument
2238 const Loop *CurLoop = SrcAddRec->getLoop(); testSIV() local
2260 const Loop *CurLoop = SrcAddRec->getLoop(); testSIV() local
2270 const Loop *CurLoop = DstAddRec->getLoop(); testSIV() local
2506 const Loop *CurLoop = AddRec->getLoop(); gcdMIVtest() local
3180 const Loop *CurLoop = CurConstraint.getAssociatedLoop(); propagateDistance() local
3206 const Loop *CurLoop = CurConstraint.getAssociatedLoop(); propagateLine() local
3280 const Loop *CurLoop = CurConstraint.getAssociatedLoop(); propagatePoint() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp546 sinkRegion(DomTreeNode * N,AAResults * AA,LoopInfo * LI,DominatorTree * DT,TargetLibraryInfo * TLI,TargetTransformInfo * TTI,Loop * CurLoop,MemorySSAUpdater & MSSAU,ICFLoopSafetyInfo * SafetyInfo,SinkAndHoistLICMFlags & Flags,OptimizationRemarkEmitter * ORE,Loop * OutermostLoop) sinkRegion() argument
614 sinkRegionForLoopNest(DomTreeNode * N,AAResults * AA,LoopInfo * LI,DominatorTree * DT,TargetLibraryInfo * TLI,TargetTransformInfo * TTI,Loop * CurLoop,MemorySSAUpdater & MSSAU,ICFLoopSafetyInfo * SafetyInfo,SinkAndHoistLICMFlags & Flags,OptimizationRemarkEmitter * ORE) sinkRegionForLoopNest() argument
645 Loop *CurLoop; global() member in __anon5160436a0511::ControlFlowHoister
657 ControlFlowHoister(LoopInfo * LI,DominatorTree * DT,Loop * CurLoop,MemorySSAUpdater & MSSAU) ControlFlowHoister() argument
867 hoistRegion(DomTreeNode * N,AAResults * AA,LoopInfo * LI,DominatorTree * DT,AssumptionCache * AC,TargetLibraryInfo * TLI,Loop * CurLoop,MemorySSAUpdater & MSSAU,ScalarEvolution * SE,ICFLoopSafetyInfo * SafetyInfo,SinkAndHoistLICMFlags & Flags,OptimizationRemarkEmitter * ORE,bool LoopNestMode,bool AllowSpeculation) hoistRegion() argument
1042 isLoadInvariantInLoop(LoadInst * LI,DominatorTree * DT,Loop * CurLoop) isLoadInvariantInLoop() argument
1150 canSinkOrHoistInst(Instruction & I,AAResults * AA,DominatorTree * DT,Loop * CurLoop,MemorySSAUpdater & MSSAU,bool TargetExecutesOncePerLoop,SinkAndHoistLICMFlags & Flags,OptimizationRemarkEmitter * ORE) canSinkOrHoistInst() argument
1343 isFoldableInLoop(const Instruction & I,const Loop * CurLoop,const TargetTransformInfo * TTI) isFoldableInLoop() argument
1373 isNotUsedOrFoldableInLoop(const Instruction & I,const Loop * CurLoop,const LoopSafetyInfo * SafetyInfo,TargetTransformInfo * TTI,bool & FoldableInLoop,bool LoopNestMode) isNotUsedOrFoldableInLoop() argument
1513 sinkThroughTriviallyReplaceablePHI(PHINode * TPN,Instruction * I,LoopInfo * LI,SmallDenseMap<BasicBlock *,Instruction *,32> & SunkCopies,const LoopSafetyInfo * SafetyInfo,const Loop * CurLoop,MemorySSAUpdater & MSSAU) sinkThroughTriviallyReplaceablePHI() argument
1546 splitPredecessorsOfLoopExit(PHINode * PN,DominatorTree * DT,LoopInfo * LI,const Loop * CurLoop,LoopSafetyInfo * SafetyInfo,MemorySSAUpdater * MSSAU) splitPredecessorsOfLoopExit() argument
1618 sink(Instruction & I,LoopInfo * LI,DominatorTree * DT,const Loop * CurLoop,ICFLoopSafetyInfo * SafetyInfo,MemorySSAUpdater & MSSAU,OptimizationRemarkEmitter * ORE) sink() argument
1724 hoist(Instruction & I,const DominatorTree * DT,const Loop * CurLoop,BasicBlock * Dest,ICFLoopSafetyInfo * SafetyInfo,MemorySSAUpdater & MSSAU,ScalarEvolution * SE,OptimizationRemarkEmitter * ORE) hoist() argument
1772 isSafeToExecuteUnconditionally(Instruction & Inst,const DominatorTree * DT,const TargetLibraryInfo * TLI,const Loop * CurLoop,const LoopSafetyInfo * SafetyInfo,OptimizationRemarkEmitter * ORE,const Instruction * CtxI,AssumptionCache * AC,bool AllowSpeculation) isSafeToExecuteUnconditionally() argument
1958 promoteLoopAccessesToScalars(const SmallSetVector<Value *,8> & PointerMustAliases,SmallVectorImpl<BasicBlock * > & ExitBlocks,SmallVectorImpl<BasicBlock::iterator> & InsertPts,SmallVectorImpl<MemoryAccess * > & MSSAInsertPts,PredIteratorCache & PIC,LoopInfo * LI,DominatorTree * DT,AssumptionCache * AC,const TargetLibraryInfo * TLI,TargetTransformInfo * TTI,Loop * CurLoop,MemorySSAUpdater & MSSAU,ICFLoopSafetyInfo * SafetyInfo,OptimizationRemarkEmitter * ORE,bool AllowSpeculation,bool HasReadsOutsideSet) promoteLoopAccessesToScalars() argument
2335 pointerInvalidatedByLoop(MemorySSA * MSSA,MemoryUse * MU,Loop * CurLoop,Instruction & I,SinkAndHoistLICMFlags & Flags,bool InvariantGroup) pointerInvalidatedByLoop() argument
2769 inSubLoop(BasicBlock * BB,Loop * CurLoop,LoopInfo * LI) inSubLoop() argument
[all...]
H A DLoopIdiomRecognize.cpp141 Loop *CurLoop = nullptr; global() member in __anonecb45e170111::LoopIdiomRecognize
989 getNumBytes(const SCEV * BECount,Type * IntPtr,const SCEV * StoreSizeSCEV,Loop * CurLoop,const DataLayout * DL,ScalarEvolution * SE) getNumBytes() argument
1557 detectPopcountIdiom(Loop * CurLoop,BasicBlock * PreCondBB,Instruction * & CntInst,PHINode * & CntPhi,Value * & Var) detectPopcountIdiom() argument
1690 detectShiftUntilZeroIdiom(Loop * CurLoop,const DataLayout & DL,Intrinsic::ID & IntrinID,Value * & InitX,Instruction * & CntInst,PHINode * & CntPhi,Instruction * & DefX) detectShiftUntilZeroIdiom() argument
2203 detectShiftUntilBitTestIdiom(Loop * CurLoop,Value * & BaseX,Value * & BitMask,Value * & BitPos,Value * & CurrX,Instruction * & NextX) detectShiftUntilBitTestIdiom() argument
2557 detectShiftUntilZeroIdiom(Loop * CurLoop,ScalarEvolution * SE,Instruction * & ValShiftedIsZero,Intrinsic::ID & IntrinID,Instruction * & IV,Value * & Start,Value * & Val,const SCEV * & ExtraOffsetExpr,bool & InvertedCond) detectShiftUntilZeroIdiom() argument
[all...]
H A DLoopVersioningLICM.cpp144 Loop *CurLoop; member
[all...]
H A DSeparateConstOffsetFromGEP.cpp1250 isLegalToSwapOperand(GetElementPtrInst * FirstGEP,GetElementPtrInst * SecondGEP,Loop * CurLoop) isLegalToSwapOperand() argument
H A DSimpleLoopUnswitch.cpp3624 auto *CurLoop = Worklist.pop_back_val(); unswitchLoop() local
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericLoopInfo.h85 for (const LoopT *CurLoop = ParentLoop; CurLoop; in getLoopDepth() local
355 const LoopT *CurLoop = static_cast<const LoopT *>(this); in getLoopsInPreorder() local
362 LoopT *CurLoop = static_cast<LoopT *>(this); in getLoopsInPreorder() local
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp632 Loop *CurLoop; member in __anon356acde80511::PolynomialMultiplyRecognize
1928 isLegalStore(Loop * CurLoop,StoreInst * SI) isLegalStore() argument
2012 collectStores(Loop * CurLoop,BasicBlock * BB,SmallVectorImpl<StoreInst * > & Stores) collectStores() argument
2021 processCopyingStore(Loop * CurLoop,StoreInst * SI,const SCEV * BECount) processCopyingStore() argument
2361 runOnLoopBlock(Loop * CurLoop,BasicBlock * BB,const SCEV * BECount,SmallVectorImpl<BasicBlock * > & ExitBlocks) runOnLoopBlock() argument
[all...]
H A DHexagonVectorLoopCarriedReuse.cpp196 Loop *CurLoop; member in __anon21964c660111::HexagonVectorLoopCarriedReuse
/freebsd-src/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.h101 ForeachLoop *CurLoop = nullptr; variable
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp1052 Loop *CurLoop = LI->getLoopFor(BB); cloneLoopWithPreheader() local
1071 Loop *CurLoop = LI->getLoopFor(BB); cloneLoopWithPreheader() local
H A DLoopUnrollAndJam.cpp774 Loop *CurLoop = LI.getLoopFor((*Blocks.begin())->front().getParent()); in checkDependencies() local
H A DScalarEvolutionExpander.cpp471 const Loop *CurLoop = I->first; visitAddExpr() local
H A DLoopUtils.cpp450 llvm::collectChildrenInLoop(DomTreeNode *N, const Loop *CurLoop) { in collectChildrenInLoop() argument
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LoopIdiomTransform.cpp
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp400 PGOCounterPromoter(DenseMap<Loop *,SmallVector<LoadStorePair,8>> & LoopToCands,Loop & CurLoop,LoopInfo & LI,BlockFrequencyInfo * BFI) PGOCounterPromoter() argument