Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/tests/
H A Dthread_contention.cpp19 std::atomic<bool> *StartingGun, unsigned NumIterations) { in asyncTask() argument
25 for (unsigned i = 0; i < NumIterations; ++i) { in asyncTask()
45 void runThreadContentionTest(unsigned NumThreads, unsigned NumIterations, in runThreadContentionTest() argument
55 Threads.emplace_back(asyncTask, GPA, &StartingGun, NumIterations); in runThreadContentionTest()
66 unsigned NumIterations = 10000; in TEST_F() local
68 runThreadContentionTest(NumThreads, NumIterations, &GPA); in TEST_F()
H A Dmutex_test.cpp56 unsigned NumIterations) { in synchronousIncrementTask() argument
60 for (unsigned i = 0; i < NumIterations; ++i) { in synchronousIncrementTask()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/dataflow/
H A DDataFlow.cpp76 static size_t NumIterations; variable
119 for (size_t Iter = 0; Iter < NumIterations; Iter++) in PrintDataFlow()
128 for (size_t Iter = 0; Iter < NumIterations; Iter++) in PrintDataFlow()
130 Iter == NumIterations - 1 ? LenOfLastIteration : kNumLabels); in PrintDataFlow()
175 NumIterations = (NumBytesRead + kNumLabels - 1) / kNumLabels; in main()
177 (dfsan_label **)calloc(NumIterations, sizeof(dfsan_label *)); in main()
178 for (size_t Iter = 0; Iter < NumIterations; Iter++) in main()
182 for (size_t Iter = 0; Iter < NumIterations; Iter++) { in main()
183 fprintf(stderr, "INFO: running '%s' %zd/%zd\n", Input, Iter, NumIterations); in main()
/llvm-project-15.0.7/third-party/benchmark/test/
H A Doutput_test.h102 double NumIterations() const;
113 return NumIterations() * GetTime(kRealTime); in DurationRealTime()
116 double DurationCPUTime() const { return NumIterations() * GetTime(kCpuTime); } in DurationCPUTime()
H A Duser_counters_test.cc53 double its = e.NumIterations(); in CheckSimple()
405 double its = e.NumIterations(); in CheckIterationInvariant()
453 double its = e.NumIterations(); in CheckIsIterationInvariantRate()
497 double its = e.NumIterations(); in CheckAvgIterations()
542 double its = e.NumIterations(); in CheckAvgIterationsRate()
H A Doutput_test_helper.cc321 double Results::NumIterations() const { return GetAs<double>("iterations"); } in NumIterations() function in Results
/llvm-project-15.0.7/clang/lib/AST/
H A DStmtOpenMP.cpp357 Dir->setNumIterations(Exprs.NumIterations); in Create()
472 Dir->setNumIterations(Exprs.NumIterations); in Create()
602 Dir->setNumIterations(Exprs.NumIterations); in Create()
647 Dir->setNumIterations(Exprs.NumIterations); in Create()
964 Dir->setNumIterations(Exprs.NumIterations); in Create()
1068 Dir->setNumIterations(Exprs.NumIterations); in Create()
1113 Dir->setNumIterations(Exprs.NumIterations); in Create()
1156 Dir->setNumIterations(Exprs.NumIterations); in Create()
1201 Dir->setNumIterations(Exprs.NumIterations); in Create()
1246 Dir->setNumIterations(Exprs.NumIterations); in Create()
[all …]
H A DOpenMPClause.cpp358 Expr *NumIterations) { in setLoopNumIterations() argument
360 getTrailingObjects<Expr *>()[NumLoop] = NumIterations; in setLoopNumIterations()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/support/
H A DThreadingTests.cpp70 const unsigned NumIterations = 100; in TEST_F() local
80 for (unsigned J = 0; J < NumIterations; J++) in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp365 unsigned NumIterations = 0; in allocateCandidatesAndFindBasis() local
369 Basis != Candidates.rend() && NumIterations < MaxNumIterations; in allocateCandidatesAndFindBasis()
370 ++Basis, ++NumIterations) { in allocateCandidatesAndFindBasis()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DStackColoring.cpp469 unsigned NumIterations; member in __anon90137c370111::StackColoring
855 NumIterations = NumIters; in calculateLocalLiveness()
1266 LLVM_DEBUG(dbgs() << "Dataflow iterations: " << NumIterations << "\n"); in runOnMachineFunction()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOpenMP.cpp7681 Expr *NumIterations = nullptr; member
9561 Expr *N0 = IterSpaces[0].NumIterations; in checkOpenMPLoop()
9592 Expr *N = IterSpaces[Cnt].NumIterations; in checkOpenMPLoop()
9638 ExprResult NumIterations = LastIteration; in checkOpenMPLoop() local
9658 NumIterations = SemaRef.BuildBinOp( in checkOpenMPLoop()
9661 if (!NumIterations.isUsable()) in checkOpenMPLoop()
9822 NumIterations.get()); in checkOpenMPLoop()
10099 Built.NumIterations = NumIterations.get(); in checkOpenMPLoop()
14619 Expr *NumIterations = LoopHelper.NumIterations; in ActOnOpenMPTileDirective() local
14649 NumIterations, EndOfTile.get()); in ActOnOpenMPTileDirective()
[all …]
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h1754 ArrayRef<Expr *> NumIterations);
2507 ArrayRef<Expr *> NumIterations) override;
H A DCGOpenMPRuntime.cpp10204 if (llvm::Value *NumIterations = SizeEmitter(CGF, *LD)) in emitTargetNumIterationsCall() local
10205 return NumIterations; in emitTargetNumIterationsCall()
10301 llvm::Value *NumIterations = in emitTargetCall() local
10314 NumIterations}; in emitTargetCall()
11976 ArrayRef<Expr *> NumIterations) { in emitDoacrossInit() argument
11999 llvm::APInt Size(/*numBits=*/32, NumIterations.size()); in emitDoacrossInit()
12007 for (unsigned I = 0, E = NumIterations.size(); I < E; ++I) { in emitDoacrossInit()
12014 CGF.EmitScalarExpr(NumIterations[I]), NumIterations[I]->getType(), in emitDoacrossInit()
12015 Int64Ty, NumIterations[I]->getExprLoc()); in emitDoacrossInit()
12029 llvm::ConstantInt::getSigned(CGM.Int32Ty, NumIterations.size()), in emitDoacrossInit()
[all …]
H A DCGStmtOpenMP.cpp6630 llvm::Value *NumIterations = CGF.EmitScalarExpr(D.getNumIterations()); in emitCommonOMPTargetDirective() local
6631 NumIterations = CGF.Builder.CreateIntCast(NumIterations, CGF.Int64Ty, in emitCommonOMPTargetDirective()
6633 return NumIterations; in emitCommonOMPTargetDirective()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtOpenMP.h746 Expr *NumIterations; member
816 NumIterations != nullptr && PreCond != nullptr && in builtAll()
839 NumIterations = nullptr; in clear()
H A DOpenMPClause.h1827 void setLoopNumIterations(unsigned NumLoop, Expr *NumIterations);
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DScalarEvolution.cpp9352 unsigned NumIterations = BEs.getZExtValue(); // must be in range in getConstantEvolutionLoopExitValue() local
9356 if (IterationNum == NumIterations) in getConstantEvolutionLoopExitValue()