Home
last modified time | relevance | path

Searched defs:TripCount (Results 1 – 22 of 22) sorted by relevance

/llvm-project/llvm/lib/Analysis/
H A DLoopCacheAnalysis.cpp112 const SCEV *TripCount = (!isa<SCEVCouldNotCompute>(BackedgeTakenCount) && in computeTripCount() local
286 const SCEV *TripCount = computeTripCount(L, *Sizes.back(), SE); in computeRefCost() local
328 const SCEV *TripCount = computeRefCost() local
571 unsigned TripCount = SE.getSmallConstantTripCount(L); CacheCost() local
[all...]
H A DLint.cpp376 if (auto *TripCount = dyn_cast<ConstantInt>(I.getArgOperand(1))) visitCallBase() local
/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp198 IsSafeActiveMask(IntrinsicInst * ActiveLaneMask,Value * TripCount) IsSafeActiveMask() argument
415 TryConvertActiveLaneMask(Value * TripCount) TryConvertActiveLaneMask() argument
[all...]
/llvm-project/llvm/unittests/Analysis/
H A DUnrollAnalyzerTest.cpp44 unsigned TripCount = SE.getSmallConstantTripCount(L, Exiting); in runUnrollAnalyzer() local
83 unsigned TripCount = SimplifiedValuesVector.size(); in TEST() local
/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp356 analyzeLoopUnrollCost(const Loop * L,unsigned TripCount,DominatorTree & DT,ScalarEvolution & SE,const SmallPtrSetImpl<const Value * > & EphValues,const TargetTransformInfo & TTI,unsigned MaxUnrolledLoopSize,unsigned MaxIterationsCountToAnalyze) analyzeLoopUnrollCost() argument
797 shouldPragmaUnroll(Loop * L,const PragmaInfo & PInfo,const unsigned TripMultiple,const unsigned TripCount,unsigned MaxTripCount,const UnrollCostEstimator UCE,const TargetTransformInfo::UnrollingPreferences & UP) shouldPragmaUnroll() argument
867 shouldPartialUnroll(const unsigned LoopSize,const unsigned TripCount,const UnrollCostEstimator UCE,const TargetTransformInfo::UnrollingPreferences & UP) shouldPartialUnroll() argument
926 computeUnrollCount(Loop * L,const TargetTransformInfo & TTI,DominatorTree & DT,LoopInfo * LI,AssumptionCache * AC,ScalarEvolution & SE,const SmallPtrSetImpl<const Value * > & EphValues,OptimizationRemarkEmitter * ORE,unsigned TripCount,unsigned MaxTripCount,bool MaxOrZero,unsigned TripMultiple,const UnrollCostEstimator & UCE,TargetTransformInfo::UnrollingPreferences & UP,TargetTransformInfo::PeelingPreferences & PP,bool & UseUpperBound) computeUnrollCount() argument
1254 unsigned TripCount = 0; tryToUnrollLoop() local
[all...]
H A DLoopFlatten.cpp305 setLoopComponents(Value *&TC, Value *&TripCount, BinaryOperator *&Increment, in setLoopComponents() argument
323 PHINode *&InductionPHI, Value *&TripCount, BinaryOperator *&Increment, in verifyTripCount() argument
390 PHINode *&InductionPHI, Value *&TripCount, BinaryOperator *&Increment, in findLoopComponents() argument
[all...]
/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollRuntime.cpp518 // Note that TripCount is BECount + 1. in CreateTripRemainder() argument
766 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), UnrollRuntimeLoopRemainder() local
[all...]
H A DLoopPeel.cpp540 computePeelCount(Loop * L,unsigned LoopSize,TargetTransformInfo::PeelingPreferences & PP,unsigned TripCount,DominatorTree & DT,ScalarEvolution & SE,AssumptionCache * AC,unsigned Threshold) computePeelCount() argument
H A DLoopUnrollAndJam.cpp216 UnrollAndJamLoop(Loop * L,unsigned Count,unsigned TripCount,unsigned TripMultiple,bool UnrollRemainder,LoopInfo * LI,ScalarEvolution * SE,DominatorTree * DT,AssumptionCache * AC,const TargetTransformInfo * TTI,OptimizationRemarkEmitter * ORE,Loop ** EpilogueLoop) UnrollAndJamLoop() argument
H A DLoopUnroll.cpp512 unsigned TripCount; UnrollLoop() member
/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp688 const SCEV *TripCount = createTripCountSCEV(IdxTy, PSE); optimizeForVFAndUF() local
1278 VPValue *TripCount, *IncrementValue; addVPLaneMaskPhiAndUpdateExitBranch() local
[all...]
H A DVPlan.cpp815 createInitialVPlan(const SCEV * TripCount,ScalarEvolution & SE,bool RequiresScalarEpilogueCheck,bool TailFolded,Loop * TheLoop) createInitialVPlan() argument
[all...]
H A DVPlanRecipes.cpp424 Value *TripCount = State.get(getOperand(1), VPIteration(0, 0)); generatePerPart() local
H A DLoopVectorize.cpp728 Value *TripCount = nullptr; global() member in llvm::InnerLoopVectorizer
792 Value *TripCount = nullptr; global() member
7546 unsigned TripCount = State.UF * State.VF.getKnownMinValue(); executePlan() local
[all...]
H A DVPlan.h3145 VPValue *TripCount = nullptr; global() variable
[all...]
/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp3738 createLoopSkeleton(DebugLoc DL,Value * TripCount,Function * F,BasicBlock * PreInsertBefore,BasicBlock * PostInsertBefore,const Twine & Name) createLoopSkeleton() argument
3806 createCanonicalLoop(const LocationDescription & Loc,LoopBodyGenCallbackTy BodyGenCB,Value * TripCount,const Twine & Name) createCanonicalLoop() argument
3891 Value *TripCount = Builder.CreateSelect(ZeroCmp, Zero, CountIfLooping, createCanonicalLoop() local
3977 Value *TripCount = Builder.CreateAdd(TripCountMinusOne, One); applyStaticWorkshareLoop() local
4196 createTargetLoopWorkshareCall(OpenMPIRBuilder * OMPBuilder,WorksharingLoopType LoopType,BasicBlock * InsertBlock,Value * Ident,Value * LoopBodyArg,Type * ParallelTaskPtr,Value * TripCount,Function & LoopBodyFn) createTargetLoopWorkshareCall() argument
4235 Value *TripCount = CLI->getTripCount(); workshareLoopTargetCallback() local
4864 __anonacd7f01e1c02( Value *TripCount, const Twine &Name) tileLoops() argument
5352 int TripCount = 0; computeHeuristicUnrollFactor() local
8578 setTripCount(Value * TripCount) setTripCount() argument
8702 Value *TripCount = getTripCount(); assertOK() local
[all...]
/llvm-project/llvm/unittests/Frontend/
H A DOpenMPIRBuilderTest.cpp206 Value *TripCount = F->getArg(0); buildSingleLoopFunction() local
1304 Value *TripCount = F->getArg(0); TEST_F() local
1377 Value *TripCount = Loop->getTripCount(); TEST_F() local
1500 auto *TripCount = cast<MulOperator>(Collapsed->getTripCount()); TEST_F() local
1572 Value *TripCount = F->getArg(0); TEST_F() local
1654 Value *TripCount = F->getArg(0); TEST_F() local
2254 Value *TripCount = CLI->getTripCount(); TEST_F() local
2328 Value *TripCount = Cmp->getOperand(1); TEST_F() local
[all...]
/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp784 Loop->getOperand(1).setImm(TripCount); in adjustTripCount() local
733 int64_t TripCount; global() member in __anon90be56b80111::HexagonPipelinerLoopInfo
H A DHexagonHardwareLoops.cpp1206 if (!TripCount) in convertToHardwareLoop() local
[all...]
/llvm-project/polly/lib/Analysis/
H A DScopDetection.cpp1368 auto *TripCount = SE.getBackedgeTakenCount(L); countBeneficialSubLoops() local
/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp5426 int64_t TripCount; global() member in __anon0ae814870a11::PPCPipelinerLoopInfo
5473 int64_t TripCount = LoopCount->getOperand(1).getImm() + TripCountAdjust; adjustTripCount() local
/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp7932 SDValue TripCount = getValue(I.getOperand(1)); visitIntrinsicCall() local