/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
H A D | LoopExtractor.cpp | 39 unsigned NumLoops; member 41 explicit LoopExtractorLegacyPass(unsigned NumLoops = ~0) in LoopExtractorLegacyPass() 42 : ModulePass(ID), NumLoops(NumLoops) { in LoopExtractorLegacyPass() 60 unsigned NumLoops, in LoopExtractor() 64 : NumLoops(NumLoops), LookupDomTree(LookupDomTree), in LoopExtractor() 71 unsigned NumLoops; member 128 return LoopExtractor(NumLoops, LookupDomTree, LookupLoopInfo, LookupACT) in runOnModule() 137 if (!NumLoops) in runOnModule() 149 if (!NumLoops) in runOnModule() 233 if (!NumLoops) in extractLoops() [all …]
|
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/IPO/ |
H A D | LoopExtractor.h | 24 LoopExtractorPass(unsigned NumLoops = ~0) : NumLoops(NumLoops) {} in NumLoops() function 30 unsigned NumLoops;
|
/openbsd-src/gnu/llvm/clang/lib/AST/ |
H A D | OpenMPClause.cpp | 341 unsigned NumLoops, in Create() argument 345 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); in Create() 347 new (Mem) OMPOrderedClause(Num, NumLoops, StartLoc, LParenLoc, EndLoc); in Create() 348 for (unsigned I = 0; I < NumLoops; ++I) { in Create() 356 unsigned NumLoops) { in CreateEmpty() argument 357 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); in CreateEmpty() 358 auto *Clause = new (Mem) OMPOrderedClause(NumLoops); in CreateEmpty() 359 for (unsigned I = 0; I < NumLoops; ++I) { in CreateEmpty() 1053 ArrayRef<Expr *> VL, unsigned NumLoops) { in Create() argument 1055 totalSizeToAlloc<Expr *>(VL.size() + /*depend-modifier*/ 1 + NumLoops), in Create() [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()
|
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | InlineModelFeatureMaps.h | 37 M(NumLoops, "num_loops") \
|
/openbsd-src/gnu/llvm/clang/include/clang/AST/ |
H A D | StmtOpenMP.h | 895 unsigned NumLoops, 901 unsigned NumLoops, in doForAllLoops() argument 913 NumLoops, NewCallback, NewTransformCb); in doForAllLoops() 920 unsigned NumLoops, in doForAllLoops() argument 923 return doForAllLoops(CurStmt, TryImperfectlyNestedLoops, NumLoops, Callback, in doForAllLoops() 928 unsigned NumLoops, in doForAllLoops() argument 934 NumLoops, NewCallback); in doForAllLoops() 940 Stmt *CurStmt, bool TryImperfectlyNestedLoops, unsigned NumLoops, 943 const Stmt *CurStmt, bool TryImperfectlyNestedLoops, unsigned NumLoops, in doForAllLoopsBodies() argument 949 NumLoops, NewCallback); in doForAllLoopsBodies() [all …]
|
H A D | OpenMPClause.h | 1852 OMPOrderedClause(Expr *Num, unsigned NumLoops, SourceLocation StartLoc, in OMPOrderedClause() argument 1855 LParenLoc(LParenLoc), NumForLoops(Num), NumberOfLoops(NumLoops) {} in OMPOrderedClause() 1858 explicit OMPOrderedClause(unsigned NumLoops) in OMPOrderedClause() argument 1860 NumberOfLoops(NumLoops) {} in OMPOrderedClause() 1874 unsigned NumLoops, SourceLocation StartLoc, 1879 static OMPOrderedClause* CreateEmpty(const ASTContext &C, unsigned NumLoops); 4811 unsigned NumLoops = 0; variable 4822 SourceLocation EndLoc, unsigned N, unsigned NumLoops) in OMPDependClause() argument 4825 NumLoops(NumLoops) {} in OMPDependClause() 4832 explicit OMPDependClause(unsigned N, unsigned NumLoops) in OMPDependClause() argument [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
H A D | MustExecute.cpp | 456 const auto NumLoops = Loops.size(); in printInfoComment() local 457 if (NumLoops > 1) in printInfoComment() 458 OS << " ; (mustexec in " << NumLoops << " loops: "; in printInfoComment()
|
H A D | InlineCost.cpp | 917 int NumLoops = 0; in finalizeAnalysis() local 922 NumLoops++; in finalizeAnalysis() 924 addCost(NumLoops * InlineConstants::LoopPenalty); in finalizeAnalysis() 1215 increment(InlineCostFeatureIndex::NumLoops, in finalizeAnalysis()
|
/openbsd-src/gnu/llvm/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 2616 size_t NumLoops = Loops.size(); in collapseLoops() local 2619 if (NumLoops == 1) in collapseLoops() 2671 NewIndVars.resize(NumLoops); in collapseLoops() 2672 for (int i = NumLoops - 1; i >= 1; --i) { in collapseLoops() 2707 for (size_t i = 0; i < NumLoops - 1; ++i) in collapseLoops() 2714 for (size_t i = NumLoops - 1; i > 0; --i) in collapseLoops() 2725 for (size_t i = 0; i < NumLoops; ++i) in collapseLoops() 2745 int NumLoops = Loops.size(); in tileLoops() local 2746 assert(NumLoops >= 1 && "At least one loop to tile required"); in tileLoops() 2778 for (int i = 0; i < NumLoops - 1; ++i) { in tileLoops() [all …]
|
/openbsd-src/gnu/llvm/clang/lib/Sema/ |
H A D | SemaOpenMP.cpp | 9571 unsigned NumLoops = std::max(OrderedLoopCount, NestedLoopCount); in checkOpenMPLoop() local 9572 SmallVector<LoopIterationSpace, 4> IterSpaces(NumLoops); in checkOpenMPLoop() 9575 SupportsNonPerfectlyNested, NumLoops, in checkOpenMPLoop() 9576 [DKind, &SemaRef, &DSA, NumLoops, NestedLoopCount, in checkOpenMPLoop() 9581 NumLoops, CollapseLoopCountExpr, OrderedLoopCountExpr, in checkOpenMPLoop() 14621 OpenMPDirectiveKind Kind, Stmt *AStmt, int NumLoops, in checkTransformableLoopNest() argument 14628 AStmt->IgnoreContainers(), /*TryImperfectlyNestedLoops=*/false, NumLoops, in checkTransformableLoopNest() 14679 unsigned NumLoops = SizesClause->getNumSizes(); in ActOnOpenMPTileDirective() local 14686 SmallVector<OMPLoopBasedDirective::HelperExprs, 4> LoopHelpers(NumLoops); in ActOnOpenMPTileDirective() 14690 if (!checkTransformableLoopNest(OMPD_tile, AStmt, NumLoops, LoopHelpers, Body, in ActOnOpenMPTileDirective() [all …]
|
/openbsd-src/gnu/llvm/llvm/include/llvm/Frontend/OpenMP/ |
H A D | OMPIRBuilder.h | 1301 InsertPointTy AllocaIP, unsigned NumLoops,
|
/openbsd-src/gnu/llvm/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 3308 unsigned NumLoops = Record[ASTStmtReader::NumStmtFields]; in ReadStmtFromStream() local 3310 S = OMPTileDirective::CreateEmpty(Context, NumClauses, NumLoops); in ReadStmtFromStream()
|
H A D | ASTReader.cpp | 10133 unsigned NumLoops = Record.readInt(); in readClause() local 10134 C = OMPDependClause::CreateEmpty(Context, NumVars, NumLoops); in readClause()
|
/openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGStmtOpenMP.cpp | 5826 unsigned NumLoops = DC->getNumLoops(); in EmitOMPOrderedDirective() local 5830 for (unsigned I = 0; I < NumLoops; I++) { in EmitOMPOrderedDirective() 5842 Builder, AllocaIP, NumLoops, StoreValues, ".cnt.addr", in EmitOMPOrderedDirective()
|
/openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
H A D | Sema.h | 10987 OpenMPDirectiveKind Kind, Stmt *AStmt, int NumLoops,
|