Home
last modified time | relevance | path

Searched refs:NumLoops (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLoopExtractor.cpp39 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 …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DLoopExtractor.h24 LoopExtractorPass(unsigned NumLoops = ~0) : NumLoops(NumLoops) {} in NumLoops() function
30 unsigned NumLoops;
/freebsd/sys/contrib/dev/acpica/components/debugger/
H A Ddbexec.c762 for (i = 0; i < Info->NumLoops; i++) in AcpiDbMethodThread()
960 UINT32 NumLoops; in AcpiDbCreateExecutionThreads() local
971 NumLoops = strtoul (NumLoopsArg, NULL, 0); in AcpiDbCreateExecutionThreads()
973 if (!NumThreads || !NumLoops) in AcpiDbCreateExecutionThreads()
976 NumThreads, NumLoops); in AcpiDbCreateExecutionThreads()
1042 AcpiGbl_DbMethodInfo.NumLoops = NumLoops; in AcpiDbCreateExecutionThreads()
1083 NumThreads, NumLoops); in AcpiDbCreateExecutionThreads()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp344 unsigned NumLoops, in Create() argument
348 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); in Create()
350 new (Mem) OMPOrderedClause(Num, NumLoops, StartLoc, LParenLoc, EndLoc); in Create()
351 for (unsigned I = 0; I < NumLoops; ++I) { in Create()
359 unsigned NumLoops) { in CreateEmpty() argument
360 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); in CreateEmpty()
361 auto *Clause = new (Mem) OMPOrderedClause(NumLoops); in CreateEmpty()
362 for (unsigned I = 0; I < NumLoops; ++I) { in CreateEmpty()
1058 ArrayRef<Expr *> VL, unsigned NumLoops) { in Create() argument
1060 totalSizeToAlloc<Expr *>(VL.size() + /*depend-modifier*/ 1 + NumLoops), in Create()
[all …]
H A DStmtOpenMP.cpp126 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()
412 unsigned NumLoops, Stmt *AssociatedStmt, in Create() argument
416 NumLoops); in Create()
424 unsigned NumLoops) { in CreateEmpty() argument
427 SourceLocation(), SourceLocation(), NumLoops); in CreateEmpty()
472 ArrayRef<OMPClause *> Clauses, unsigned NumLoops, Stmt *AssociatedStmt, in Create() argument
476 NumLoops); in Create()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtOpenMP.h910 unsigned NumLoops,
916 unsigned NumLoops, in doForAllLoops() argument
928 NumLoops, NewCallback, NewTransformCb); in doForAllLoops()
935 unsigned NumLoops, in doForAllLoops() argument
938 return doForAllLoops(CurStmt, TryImperfectlyNestedLoops, NumLoops, Callback, in doForAllLoops()
943 unsigned NumLoops, in doForAllLoops() argument
949 NumLoops, NewCallback); in doForAllLoops()
955 Stmt *CurStmt, bool TryImperfectlyNestedLoops, unsigned NumLoops,
958 const Stmt *CurStmt, bool TryImperfectlyNestedLoops, unsigned NumLoops, in doForAllLoopsBodies() argument
964 NumLoops, NewCallback); in doForAllLoopsBodies()
[all …]
H A DOpenMPClause.h1852 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);
4947 unsigned NumLoops = 0; variable
4958 SourceLocation EndLoc, unsigned N, unsigned NumLoops) in OMPDependClause() argument
4961 NumLoops(NumLoops) {} in OMPDependClause()
4968 explicit OMPDependClause(unsigned N, unsigned NumLoops) in OMPDependClause() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMustExecute.cpp361 const auto NumLoops = Loops.size(); in printInfoComment() local
362 if (NumLoops > 1) in printInfoComment()
363 OS << " ; (mustexec in " << NumLoops << " loops: "; in printInfoComment()
H A DInlineCost.cpp992 int NumLoops = 0; in finalizeAnalysis() local
997 NumLoops++; in finalizeAnalysis()
999 addCost(NumLoops * InlineConstants::LoopPenalty); in finalizeAnalysis()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp9312 unsigned NumLoops = in checkOpenMPIterationSpace() local
9314 if (CurrentNestedLoopCount >= NumLoops) { in checkOpenMPIterationSpace()
9621 unsigned NumLoops = std::max(OrderedLoopCount, NestedLoopCount); in checkOpenMPLoop() local
9622 SmallVector<LoopIterationSpace, 4> IterSpaces(NumLoops); in checkOpenMPLoop()
9625 SupportsNonPerfectlyNested, NumLoops, in checkOpenMPLoop()
9626 [DKind, &SemaRef, &DSA, NumLoops, NestedLoopCount, in checkOpenMPLoop()
9631 NumLoops, CollapseLoopCountExpr, OrderedLoopCountExpr, in checkOpenMPLoop()
14021 OpenMPDirectiveKind Kind, Stmt *AStmt, int NumLoops, in checkTransformableLoopNest() argument
14026 AStmt->IgnoreContainers(), /*TryImperfectlyNestedLoops=*/false, NumLoops, in checkTransformableLoopNest()
14113 size_t NumLoops = LoopStmts.size(); in collectLoopStmts() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp4710 size_t NumLoops = Loops.size(); in collapseLoops() local
4713 if (NumLoops == 1) in collapseLoops()
4765 NewIndVars.resize(NumLoops); in collapseLoops()
4766 for (int i = NumLoops - 1; i >= 1; --i) { in collapseLoops()
4801 for (size_t i = 0; i < NumLoops - 1; ++i) in collapseLoops()
4808 for (size_t i = NumLoops - 1; i > 0; --i) in collapseLoops()
4819 for (size_t i = 0; i < NumLoops; ++i) in collapseLoops()
4839 int NumLoops = Loops.size(); in tileLoops() local
4840 assert(NumLoops >= 1 && "At least one loop to tile required"); in tileLoops()
4872 for (int i = 0; i < NumLoops - 1; ++i) { in tileLoops()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenACC.cpp981 ExprResult NumLoops = in ParseOpenACCClauseParams() local
983 if (NumLoops.isInvalid()) { in ParseOpenACCClauseParams()
/freebsd/sys/contrib/dev/acpica/include/
H A Daclocal.h1541 UINT32 NumLoops; member
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp3452 unsigned NumLoops = Record[ASTStmtReader::NumStmtFields]; in ReadStmtFromStream() local
3454 S = OMPTileDirective::CreateEmpty(Context, NumClauses, NumLoops); in ReadStmtFromStream()
3475 unsigned NumLoops = Record[ASTStmtReader::NumStmtFields]; in ReadStmtFromStream() local
3477 S = OMPInterchangeDirective::CreateEmpty(Context, NumClauses, NumLoops); in ReadStmtFromStream()
H A DASTReader.cpp10559 unsigned NumLoops = Record.readInt(); in readClause() local
10560 C = OMPDependClause::CreateEmpty(Context, NumVars, NumLoops); in readClause()
10706 unsigned NumLoops = Record.readInt(); in readClause() local
10707 C = OMPDoacrossClause::CreateEmpty(Context, NumVars, NumLoops); in readClause()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h1403 OpenMPDirectiveKind Kind, Stmt *AStmt, int NumLoops,
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h2476 InsertPointTy AllocaIP, unsigned NumLoops,
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp5907 unsigned NumLoops = C->getNumLoops(); in emitRestoreIP() local
5911 for (unsigned I = 0; I < NumLoops; I++) { in emitRestoreIP()
5922 OMPBuilder.createOrderedDepend(CGF.Builder, AllocaIP, NumLoops, in emitRestoreIP()