| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | LoopExtractor.cpp | 39 unsigned NumLoops; member 42 : ModulePass(ID), NumLoops(NumLoops) { in LoopExtractorLegacyPass() 60 unsigned NumLoops, in LoopExtractor() 64 : NumLoops(NumLoops), LookupDomTree(LookupDomTree), in LoopExtractor() 71 unsigned NumLoops; member 137 if (!NumLoops) in runOnModule() 149 if (!NumLoops) in runOnModule() 233 if (!NumLoops) in extractLoops() 240 assert(NumLoops != 0); in extractLoop() 247 --NumLoops; in extractLoop() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/ |
| H A D | LoopExtractor.h | 24 LoopExtractorPass(unsigned NumLoops = ~0) : NumLoops(NumLoops) {} in NumLoops() function 30 unsigned NumLoops;
|
| /llvm-project-15.0.7/bolt/include/bolt/Passes/ |
| H A D | StokeInfo.h | 46 unsigned NumLoops; member 64 NumLoops = MaxLoopDepth = 0; in reset() 87 << "," << NumBlocks << "," << IsLoopFree << "," << NumLoops << "," in printData()
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopDetection.cpp | 1363 int NumLoops = 1; in countBeneficialSubLoops() local 1369 NumLoops -= 1; in countBeneficialSubLoops() 1373 NumLoops += Stats.NumLoops; in countBeneficialSubLoops() 1377 return {NumLoops, MaxLoopDepth}; in countBeneficialSubLoops() 1402 LoopNum += Stats.NumLoops; in countBeneficialLoops() 1659 int NumLoops) const { in hasSufficientCompute() 1662 if (NumLoops == 0) in hasSufficientCompute() 1669 InstCount = InstCount / NumLoops; in hasSufficientCompute() 1705 int NumLoops = in isProfitableRegion() local 1886 NumLoopsInScop += Stats.NumLoops; in updateLoopCountStatistic() [all …]
|
| H A D | ScopInfo.cpp | 2501 int NumTotalLoops = LoopStat.NumLoops; in getStatistics() 2557 assert(Stats.NumLoops == ScopStats.NumAffineLoops + ScopStats.NumBoxedLoops); in updateLoopCountStatistic() 2560 NumLoopsInScop += Stats.NumLoops; in updateLoopCountStatistic() 2562 std::max(MaxNumLoopsInScop.getValue(), (uint64_t)Stats.NumLoops); in updateLoopCountStatistic()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 332 unsigned NumLoops, in Create() argument 336 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); in Create() 339 for (unsigned I = 0; I < NumLoops; ++I) { in Create() 348 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); in CreateEmpty() 349 auto *Clause = new (Mem) OMPOrderedClause(NumLoops); in CreateEmpty() 350 for (unsigned I = 0; I < NumLoops; ++I) { in CreateEmpty() 1056 for (unsigned I = 0 ; I < NumLoops; ++I) in Create() 1066 return new (Mem) OMPDependClause(N, NumLoops); in CreateEmpty() 1072 NumLoop < NumLoops && in setLoopData() 1082 NumLoop < NumLoops && in getLoopData() [all …]
|
| H A D | StmtOpenMP.cpp | 126 Stmt *CurStmt, bool TryImperfectlyNestedLoops, unsigned NumLoops, in doForAllLoops() argument 131 for (unsigned Cnt = 0; Cnt < NumLoops; ++Cnt) { in doForAllLoops() 180 Stmt *CurStmt, bool TryImperfectlyNestedLoops, unsigned NumLoops, in doForAllLoopsBodies() argument 183 CurStmt, TryImperfectlyNestedLoops, NumLoops, in doForAllLoopsBodies() 410 unsigned NumLoops, Stmt *AssociatedStmt, in Create() argument 414 NumLoops); in Create() 422 unsigned NumLoops) { in CreateEmpty() argument 425 SourceLocation(), SourceLocation(), NumLoops); in CreateEmpty()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | InlineModelFeatureMaps.h | 37 M(NumLoops, "num_loops") \
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | StmtOpenMP.h | 894 unsigned NumLoops, 900 unsigned NumLoops, in doForAllLoops() argument 912 NumLoops, NewCallback, NewTransformCb); in doForAllLoops() 919 unsigned NumLoops, in doForAllLoops() argument 927 unsigned NumLoops, in doForAllLoops() argument 933 NumLoops, NewCallback); in doForAllLoops() 948 NumLoops, NewCallback); in doForAllLoopsBodies() 5503 unsigned NumLoops) in OMPTileDirective() argument 5506 NumLoops) { in OMPTileDirective() 5507 setNumGeneratedLoops(3 * NumLoops); in OMPTileDirective() [all …]
|
| H A D | OpenMPClause.h | 1788 OMPOrderedClause(Expr *Num, unsigned NumLoops, SourceLocation StartLoc, in OMPOrderedClause() argument 1794 explicit OMPOrderedClause(unsigned NumLoops) in OMPOrderedClause() argument 1796 NumberOfLoops(NumLoops) {} in OMPOrderedClause() 4769 unsigned NumLoops = 0; variable 4780 SourceLocation EndLoc, unsigned N, unsigned NumLoops) in OMPDependClause() argument 4783 NumLoops(NumLoops) {} in OMPDependClause() 4790 explicit OMPDependClause(unsigned N, unsigned NumLoops) in OMPDependClause() argument 4794 NumLoops(NumLoops) {} in OMPDependClause() 4826 unsigned NumLoops); 4835 unsigned NumLoops); [all …]
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | MustExecute.cpp | 446 const auto NumLoops = Loops.size(); in printInfoComment() local 447 if (NumLoops > 1) in printInfoComment() 448 OS << " ; (mustexec in " << NumLoops << " loops: "; in printInfoComment()
|
| H A D | InlineCost.cpp | 888 int NumLoops = 0; in finalizeAnalysis() local 893 NumLoops++; in finalizeAnalysis() 895 addCost(NumLoops * InlineConstants::LoopPenalty); in finalizeAnalysis() 1181 increment(InlineCostFeatureIndex::NumLoops, in finalizeAnalysis()
|
| /llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 2527 size_t NumLoops = Loops.size(); in collapseLoops() local 2530 if (NumLoops == 1) in collapseLoops() 2582 NewIndVars.resize(NumLoops); in collapseLoops() 2583 for (int i = NumLoops - 1; i >= 1; --i) { in collapseLoops() 2636 for (size_t i = 0; i < NumLoops; ++i) in collapseLoops() 2656 int NumLoops = Loops.size(); in tileLoops() local 2689 for (int i = 0; i < NumLoops - 1; ++i) { in tileLoops() 2702 for (int i = 0; i < NumLoops; ++i) { in tileLoops() 2732 Result.reserve(NumLoops * 2); in tileLoops() 2775 for (int i = 0; i < NumLoops; ++i) { in tileLoops() [all …]
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | StokeInfo.cpp | 108 FuncInfo.NumLoops = BLI.OuterLoops; in checkFunction()
|
| /llvm-project-15.0.7/polly/lib/Transform/ |
| H A D | ScheduleTreeTransform.cpp | 615 int NumLoops = unsignedFromIslSize(Band.n_member()); in visitBand() local 617 for (auto j : seq<int>(0, NumLoops)) in visitBand() 632 int NumLoops = unsignedFromIslSize(Band.n_member()); in visitBand() local 633 for (int i : seq<int>(0, NumLoops)) { in visitBand()
|
| /llvm-project-15.0.7/polly/include/polly/ |
| H A D | ScopDetection.h | 193 int NumLoops; member
|
| /llvm-project-15.0.7/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.h | 1052 InsertPointTy AllocaIP, unsigned NumLoops,
|
| /llvm-project-15.0.7/llvm/unittests/Frontend/ |
| H A D | OpenMPIRBuilderTest.cpp | 2558 unsigned NumLoops = 2; in TEST_F() local 2565 Builder.restoreIP(OMPBuilder.createOrderedDepend(Builder, AllocaIP, NumLoops, in TEST_F() 2576 EXPECT_EQ(ArrType->getNumElements(), NumLoops); in TEST_F() 2581 for (unsigned Iter = 0; Iter < NumLoops; Iter++) { in TEST_F() 2643 unsigned NumLoops = 2; in TEST_F() local 2650 Builder.restoreIP(OMPBuilder.createOrderedDepend(Builder, AllocaIP, NumLoops, in TEST_F() 2661 EXPECT_EQ(ArrType->getNumElements(), NumLoops); in TEST_F() 2666 for (unsigned Iter = 0; Iter < NumLoops; Iter++) { in TEST_F()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 9489 SmallVector<LoopIterationSpace, 4> IterSpaces(NumLoops); in checkOpenMPLoop() 9492 SupportsNonPerfectlyNested, NumLoops, in checkOpenMPLoop() 14481 OpenMPDirectiveKind Kind, Stmt *AStmt, int NumLoops, in checkTransformableLoopNest() argument 14539 unsigned NumLoops = SizesClause->getNumSizes(); in ActOnOpenMPTileDirective() local 14564 FloorIndVars.resize(NumLoops); in ActOnOpenMPTileDirective() 14565 TileIndVars.resize(NumLoops); in ActOnOpenMPTileDirective() 14566 for (unsigned I = 0; I < NumLoops; ++I) { in ActOnOpenMPTileDirective() 14617 for (int I = NumLoops - 1; I >= 0; --I) { in ActOnOpenMPTileDirective() 14693 for (int I = NumLoops - 1; I >= 0; --I) { in ActOnOpenMPTileDirective() 14758 constexpr unsigned NumLoops = 1; in ActOnOpenMPUnrollDirective() local [all …]
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 3261 unsigned NumLoops = Record[ASTStmtReader::NumStmtFields]; in ReadStmtFromStream() local 3263 S = OMPTileDirective::CreateEmpty(Context, NumClauses, NumLoops); in ReadStmtFromStream()
|
| H A D | ASTReader.cpp | 11666 unsigned NumLoops = Record.readInt(); in readClause() local 11667 C = OMPDependClause::CreateEmpty(Context, NumVars, NumLoops); in readClause()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 5762 unsigned NumLoops = DC->getNumLoops(); in EmitOMPOrderedDirective() local 5766 for (unsigned I = 0; I < NumLoops; I++) { in EmitOMPOrderedDirective() 5778 Builder, AllocaIP, NumLoops, StoreValues, ".cnt.addr", in EmitOMPOrderedDirective()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 10657 OpenMPDirectiveKind Kind, Stmt *AStmt, int NumLoops,
|