| /llvm-project-15.0.7/openmp/libomptarget/test/offloading/ |
| H A D | atomic-compare-signedness.c | 20 int numThreads; in main() local 22 map(tofrom:xs, numThreads) in main() 27 numThreads = omp_get_num_threads(); in main() 29 printf("signed: num_threads=%d\n", numThreads); in main()
|
| /llvm-project-15.0.7/openmp/runtime/test/atomic/ |
| H A D | omp-atomic-compare-signedness.c | 20 int numThreads; in main() local 26 numThreads = omp_get_num_threads(); in main() 28 printf("signed: num_threads=%d\n", numThreads); in main()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | Tiling.cpp | 197 OpFoldResult numThreads, in canOmitTileOffsetInBoundsCheck() argument 200 Optional<int64_t> numThreadsConst = getConstantIntValue(numThreads); in canOmitTileOffsetInBoundsCheck() 220 RewriterBase &b, TilingInterface op, ArrayRef<OpFoldResult> numThreads, in tileToForeachThreadOpImpl() argument 237 llvm::to_vector(llvm::make_filter_range(numThreads, [](OpFoldResult ofr) { in tileToForeachThreadOpImpl() 264 bool overflow = loopIdx >= numThreads.size(); in tileToForeachThreadOpImpl() 265 bool isZero = !overflow && isConstantIntValue(numThreads[loopIdx], 0); in tileToForeachThreadOpImpl() 339 ArrayRef<OpFoldResult> numThreads, in tileToForeachThreadOp() argument 352 SmallVector<OpFoldResult> numThreads; in tileToForeachThreadOpUsingTileSizes() local 353 numThreads.reserve(nLoops); in tileToForeachThreadOpUsingTileSizes() 362 numThreads.push_back(numTiles); in tileToForeachThreadOpUsingTileSizes() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Transforms/ |
| H A D | Inliner.cpp | 748 size_t numThreads = ctx->getNumThreads(); in optimizeSCCAsync() local 749 if (opPipelines.size() < numThreads) { in optimizeSCCAsync() 752 opPipelines.reserve(numThreads); in optimizeSCCAsync() 753 opPipelines.resize(numThreads, opPipelines.front()); in optimizeSCCAsync()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/ |
| H A D | SCF.cpp | 1138 ValueRange numThreads, in build() argument 1140 result.addOperands(numThreads); in build() 1153 SmallVector<Type>(numThreads.size(), builder.getIndexType()), in build() 1154 SmallVector<Location>(numThreads.size(), result.location)); in build() 1163 ValueRange numThreads, ArrayRef<int64_t> threadDimMapping, in build() argument 1165 result.addOperands(numThreads); in build() 1175 SmallVector<Type>(numThreads.size(), builder.getIndexType()), in build() 1176 SmallVector<Location>(numThreads.size(), result.location)); in build()
|
| /llvm-project-15.0.7/openmp/runtime/tools/ |
| H A D | summarizeStats.py | 305 numThreads = tmp[s]['SampleCount']['Total_OMP_parallel']
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/OpenMP/ |
| H A D | OpenMPToLLVMIRTranslation.cpp | 289 llvm::Value *numThreads = nullptr; in convertOmpParallel() local 291 numThreads = moduleTranslation.lookupValue(numThreadsVar); in convertOmpParallel() 302 ompLoc, allocaIP, bodyGenCB, privCB, finiCB, ifCond, numThreads, pbKind, in convertOmpParallel()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/TransformOps/ |
| H A D | LinalgTransformOps.cpp | 1012 if (Optional<ArrayAttr> numThreads = getNumThreads()) in applyToOne() local 1014 rewriter, target, getAsOpFoldResult(*numThreads), dimMapping); in applyToOne()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Linalg/Transforms/ |
| H A D | Transforms.h | 470 ArrayRef<OpFoldResult> numThreads,
|