Home
last modified time | relevance | path

Searched refs:maxIndex (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Conversion/AMDGPUToROCDL/
H A DAMDGPUToROCDL.cpp142 Value maxIndex; in matchAndRewrite() local
148 maxIndex = maxIndex ? rewriter.create<LLVM::MaximumOp>(loc, maxIndex, in matchAndRewrite()
152 numRecords = rewriter.create<LLVM::TruncOp>(loc, llvmI32, maxIndex); in matchAndRewrite()
/llvm-project-15.0.7/clang/utils/ABITest/
H A DABITestGen.py596 if opts.maxIndex is None:
598 opts.maxIndex = 10000000
600 opts.maxIndex = ftg.cardinality
601 opts.maxIndex = min(opts.maxIndex, ftg.cardinality)
602 opts.minIndex = max(0,min(opts.maxIndex-1, opts.minIndex))
604 opts.count = min(opts.count, opts.maxIndex-opts.minIndex)
664 index = opts.minIndex + int((opts.maxIndex-opts.minIndex) * random.random())
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_affinity.cpp2697 static unsigned maxIndex = pkgIdIndex; variable
2704 for (i = maxIndex;; i--) { in __kmp_affinity_cmp_ProcCpuInfo_phys_id()
2841 if (nodeIdIndex + level >= maxIndex) { in __kmp_affinity_create_cpuinfo_map()
2842 maxIndex = nodeIdIndex + level; in __kmp_affinity_create_cpuinfo_map()
2911 for (i = 0; i <= maxIndex; i++) { in __kmp_affinity_create_cpuinfo_map()
3132 for (index = 0; index <= maxIndex; index++) { in __kmp_affinity_create_cpuinfo_map()
3268 inMap[maxIndex] = (totals[maxIndex] > 1); in __kmp_affinity_create_cpuinfo_map()
3422 *maxIndex = maxOsId; in __kmp_create_masks()
4294 unsigned maxIndex; in __kmp_aux_affinity_initialize() local
4308 __kmp_affinity_proclist, osId2Mask, maxIndex); in __kmp_aux_affinity_initialize()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorUnrollDistribute.cpp91 int64_t maxIndex() const { return maxIndexVal; } in maxIndex() function in __anon77a0e1ec0111::DecomposeShapeIterator
214 for (int64_t i = 0; i < indexToOffsets.maxIndex(); i++) { in matchAndRewrite()
265 for (int64_t i = 0; i < indexToOffsets.maxIndex(); i++) { in matchAndRewrite()
333 const int64_t sliceCount = indexToOffsets.maxIndex(); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Utils/
H A DUtils.cpp884 Value maxIndex = applyMapToValues(builder, loc, m, maxIndices).front(); in makeTiledShape() local
885 Value d = makeComposedAffineApply(builder, loc, plusOneMap, {maxIndex}); in makeTiledShape()