Home
last modified time | relevance | path

Searched refs:NumLoops (Results 1 – 17 of 17) 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.cpp345 unsigned NumLoops, in Create() argument
349 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); in Create()
351 new (Mem) OMPOrderedClause(Num, NumLoops, StartLoc, LParenLoc, EndLoc); in Create()
352 for (unsigned I = 0; I < NumLoops; ++I) { in Create()
360 unsigned NumLoops) { in CreateEmpty() argument
361 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); in CreateEmpty()
362 auto *Clause = new (Mem) OMPOrderedClause(NumLoops); in CreateEmpty()
363 for (unsigned I = 0; I < NumLoops; ++I) { in CreateEmpty()
988 unsigned NumLoops) { in CreateEmpty() argument
989 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(NumLoops)); in CreateEmpty()
[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()
410 unsigned NumLoops, Stmt *AssociatedStmt, in Create() argument
414 NumLoops); in Create()
422 unsigned NumLoops) { in CreateEmpty() argument
425 SourceLocation(), SourceLocation(), NumLoops); in CreateEmpty()
431 unsigned NumLoops, Stmt *AssociatedStmt, in Create() argument
435 NumLoops); in Create()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtOpenMP.h894 unsigned NumLoops,
900 unsigned NumLoops, in doForAllLoops() argument
912 NumLoops, NewCallback, NewTransformCb); in doForAllLoops()
919 unsigned NumLoops, in doForAllLoops() argument
922 return doForAllLoops(CurStmt, TryImperfectlyNestedLoops, NumLoops, Callback, in doForAllLoops()
927 unsigned NumLoops, in doForAllLoops() argument
933 NumLoops, NewCallback); in doForAllLoops()
939 Stmt *CurStmt, bool TryImperfectlyNestedLoops, unsigned NumLoops,
942 const Stmt *CurStmt, bool TryImperfectlyNestedLoops, unsigned NumLoops, in doForAllLoopsBodies() argument
948 NumLoops, NewCallback); in doForAllLoopsBodies()
[all …]
H A DOpenMPClause.h1054 unsigned NumLoops; variable
1058 assert(VL.size() == NumLoops && "Expecting one expression per loop"); in setArgRefs()
1063 explicit OMPPermutationClause(int NumLoops) in OMPPermutationClause() argument
1066 NumLoops(NumLoops) {} in OMPPermutationClause()
1085 unsigned NumLoops);
1094 unsigned getNumLoops() const { return NumLoops; } in getNumLoops()
1098 MutableArrayRef<Expr *> getArgsRefs() { return getTrailingObjects(NumLoops); } in getArgsRefs()
1099 ArrayRef<Expr *> getArgsRefs() const { return getTrailingObjects(NumLoops); } in getArgsRefs()
2149 OMPOrderedClause(Expr *Num, unsigned NumLoops, SourceLocation StartLoc, in OMPOrderedClause() argument
2152 LParenLoc(LParenLoc), NumForLoops(Num), NumberOfLoops(NumLoops) {} in OMPOrderedClause()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMustExecute.cpp369 const auto NumLoops = Loops.size(); in printInfoComment() local
370 if (NumLoops > 1) in printInfoComment()
371 OS << " ; (mustexec in " << NumLoops << " loops: "; in printInfoComment()
H A DInlineCost.cpp1091 int NumLoops = 0; in finalizeAnalysis() local
1096 NumLoops++; in finalizeAnalysis()
1098 addCost(NumLoops * InlineConstants::LoopPenalty); in finalizeAnalysis()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp9353 unsigned NumLoops = in checkOpenMPIterationSpace() local
9355 if (CurrentNestedLoopCount >= NumLoops) { in checkOpenMPIterationSpace()
9707 unsigned NumLoops = std::max(OrderedLoopCount, NestedLoopCount); in checkOpenMPLoop() local
9708 SmallVector<LoopIterationSpace, 4> IterSpaces(NumLoops); in checkOpenMPLoop()
9711 SupportsNonPerfectlyNested, NumLoops, in checkOpenMPLoop()
9712 [DKind, &SemaRef, &DSA, NumLoops, NestedLoopCount, in checkOpenMPLoop()
9718 NumLoops, CollapseLoopCountExpr, OrderedLoopCountExpr, in checkOpenMPLoop()
14193 OpenMPDirectiveKind Kind, Stmt *AStmt, int NumLoops, in checkTransformableLoopNest() argument
14198 AStmt->IgnoreContainers(), /*TryImperfectlyNestedLoops=*/false, NumLoops, in checkTransformableLoopNest()
14287 size_t NumLoops = LoopStmts.size(); in collectLoopStmts() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp4998 size_t NumLoops = Loops.size(); in collapseLoops() local
5001 if (NumLoops == 1) in collapseLoops()
5053 NewIndVars.resize(NumLoops); in collapseLoops()
5054 for (int i = NumLoops - 1; i >= 1; --i) { in collapseLoops()
5089 for (size_t i = 0; i < NumLoops - 1; ++i) in collapseLoops()
5096 for (size_t i = NumLoops - 1; i > 0; --i) in collapseLoops()
5107 for (size_t i = 0; i < NumLoops; ++i) in collapseLoops()
5127 int NumLoops = Loops.size(); in tileLoops() local
5128 assert(NumLoops >= 1 && "At least one loop to tile required"); in tileLoops()
5160 for (int i = 0; i < NumLoops - 1; ++i) { in tileLoops()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp3583 unsigned NumLoops = Record[ASTStmtReader::NumStmtFields]; in ReadStmtFromStream() local
3585 S = OMPTileDirective::CreateEmpty(Context, NumClauses, NumLoops); in ReadStmtFromStream()
3590 unsigned NumLoops = Record[ASTStmtReader::NumStmtFields]; in ReadStmtFromStream() local
3592 S = OMPStripeDirective::CreateEmpty(Context, NumClauses, NumLoops); in ReadStmtFromStream()
3604 unsigned NumLoops = Record[ASTStmtReader::NumStmtFields]; in ReadStmtFromStream() local
3607 S = OMPReverseDirective::CreateEmpty(Context, NumLoops); in ReadStmtFromStream()
3612 unsigned NumLoops = Record[ASTStmtReader::NumStmtFields]; in ReadStmtFromStream() local
3614 S = OMPInterchangeDirective::CreateEmpty(Context, NumClauses, NumLoops); in ReadStmtFromStream()
H A DASTReader.cpp11101 unsigned NumLoops = Record.readInt(); in readClause() local
11102 C = OMPPermutationClause::CreateEmpty(Context, NumLoops); in readClause()
11279 unsigned NumLoops = Record.readInt(); in readClause() local
11280 C = OMPDependClause::CreateEmpty(Context, NumVars, NumLoops); in readClause()
11426 unsigned NumLoops = Record.readInt(); in readClause() local
11427 C = OMPDoacrossClause::CreateEmpty(Context, NumVars, NumLoops); in readClause()
/freebsd/sys/contrib/dev/acpica/include/
H A Daclocal.h1542 UINT32 NumLoops; member
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h1480 OpenMPDirectiveKind Kind, Stmt *AStmt, int NumLoops,
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h2669 unsigned NumLoops, ArrayRef<llvm::Value *> StoreValues,
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp6123 unsigned NumLoops = C->getNumLoops(); in emitRestoreIP() local
6127 for (unsigned I = 0; I < NumLoops; I++) { in emitRestoreIP()
6138 OMPBuilder.createOrderedDepend(CGF.Builder, AllocaIP, NumLoops, in emitRestoreIP()