Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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 Drecoverable.cpp154 unsigned NumIterations, unsigned Job, char *Ptr) { in singleAllocThrashTask() argument
159 for (unsigned i = 0; i < NumIterations; ++i) { in singleAllocThrashTask()
180 void runInterThreadThrashingSingleAlloc(unsigned NumIterations, in runInterThreadThrashingSingleAlloc() argument
193 NumIterations, i, Ptr); in runInterThreadThrashingSingleAlloc()
H A Dmutex_test.cpp56 unsigned NumIterations) { in synchronousIncrementTask() argument
60 for (unsigned i = 0; i < NumIterations; ++i) { in synchronousIncrementTask()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
979 Dir->setNumIterations(Exprs.NumIterations); in Create()
1083 Dir->setNumIterations(Exprs.NumIterations); in Create()
1128 Dir->setNumIterations(Exprs.NumIterations); in Create()
1171 Dir->setNumIterations(Exprs.NumIterations); in Create()
1216 Dir->setNumIterations(Exprs.NumIterations); in Create()
1261 Dir->setNumIterations(Exprs.NumIterations); in Create()
[all …]
H A DOpenMPClause.cpp367 Expr *NumIterations) { in setLoopNumIterations() argument
369 getTrailingObjects<Expr *>()[NumLoop] = NumIterations; in setLoopNumIterations()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DStackColoring.cpp469 unsigned NumIterations; member in __anon23f2cc7e0111::StackColoring
855 NumIterations = NumIters; in calculateLocalLiveness()
1266 LLVM_DEBUG(dbgs() << "Dataflow iterations: " << NumIterations << "\n"); in runOnMachineFunction()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaOpenMP.cpp2977 Expr *NumIterations, Sema &SemaRef,
7765 Expr *NumIterations = nullptr; member
9267 ResultIterSpaces[CurrentNestedLoopCount].NumIterations = in checkOpenMPIterationSpace()
9303 ResultIterSpaces[CurrentNestedLoopCount].NumIterations == nullptr || in checkOpenMPIterationSpace()
9314 ResultIterSpaces[CurrentNestedLoopCount].NumIterations); in checkOpenMPIterationSpace()
9644 Expr *N0 = IterSpaces[0].NumIterations; in checkOpenMPLoop()
9675 Expr *N = IterSpaces[Cnt].NumIterations; in checkOpenMPLoop()
9721 ExprResult NumIterations = LastIteration; in checkOpenMPLoop() local
9741 NumIterations = SemaRef.BuildBinOp( in checkOpenMPLoop()
9744 if (!NumIterations.isUsable()) in checkOpenMPLoop()
[all …]
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h1485 ArrayRef<Expr *> NumIterations);
2238 ArrayRef<Expr *> NumIterations) override;
H A DCGOpenMPRuntime.cpp9806 if (llvm::Value *NumIterations = SizeEmitter(CGF, *LD)) in emitTargetNumIterationsCall() local
9807 return NumIterations; in emitTargetNumIterationsCall()
9903 llvm::Value *NumIterations = in emitTargetCall() local
9936 NumIterations, in emitTargetCall()
11588 ArrayRef<Expr *> NumIterations) { in emitDoacrossInit() argument
11611 llvm::APInt Size(/*numBits=*/32, NumIterations.size()); in emitDoacrossInit()
11619 for (unsigned I = 0, E = NumIterations.size(); I < E; ++I) { in emitDoacrossInit()
11626 CGF.EmitScalarExpr(NumIterations[I]), NumIterations[I]->getType(), in emitDoacrossInit()
11627 Int64Ty, NumIterations[I]->getExprLoc()); in emitDoacrossInit()
11641 llvm::ConstantInt::getSigned(CGM.Int32Ty, NumIterations.size()), in emitDoacrossInit()
[all …]
H A DCGStmtOpenMP.cpp6606 llvm::Value *NumIterations = CGF.EmitScalarExpr(D.getNumIterations()); in emitCommonOMPTargetDirective() local
6607 NumIterations = CGF.Builder.CreateIntCast(NumIterations, CGF.Int64Ty, in emitCommonOMPTargetDirective()
6609 return NumIterations; in emitCommonOMPTargetDirective()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DStmtOpenMP.h747 Expr *NumIterations; member
817 NumIterations != nullptr && PreCond != nullptr && in builtAll()
840 NumIterations = nullptr; in clear()
H A DOpenMPClause.h1891 void setLoopNumIterations(unsigned NumLoop, Expr *NumIterations);
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DScalarEvolution.cpp9619 unsigned NumIterations = BEs.getZExtValue(); // must be in range in getConstantEvolutionLoopExitValue() local
9623 if (IterationNum == NumIterations) in getConstantEvolutionLoopExitValue()