Home
last modified time | relevance | path

Searched refs:blockIdx (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCUDA/
H A Dcuda-builtin-vars.cu15 out[i++] = blockIdx.x; in kernel()
16 blockIdx.x = 0; // expected-error {{no setter defined for property 'x'}} in kernel()
17 out[i++] = blockIdx.y; in kernel()
18 blockIdx.y = 0; // expected-error {{no setter defined for property 'y'}} in kernel()
19 out[i++] = blockIdx.z; in kernel()
20 blockIdx.z = 0; // expected-error {{no setter defined for property 'z'}} in kernel()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DWorkList.h31 unsigned blockIdx; // This is the index of the next statement. variable
39 blockIdx(idx) {} in WorkListUnit()
45 blockIdx(0) {} in WorkListUnit()
57 unsigned getIndex() const { return blockIdx; } in getIndex()
/llvm-project-15.0.7/clang/test/CodeGenCUDA/
H A Dcuda-builtin-vars.cu13 out[i++] = blockIdx.x; // CHECK: call i32 @llvm.nvvm.read.ptx.sreg.ctaid.x() in kernel()
14 out[i++] = blockIdx.y; // CHECK: call i32 @llvm.nvvm.read.ptx.sreg.ctaid.y() in kernel()
15 out[i++] = blockIdx.z; // CHECK: call i32 @llvm.nvvm.read.ptx.sreg.ctaid.z() in kernel()
/llvm-project-15.0.7/mlir/test/Transforms/
H A Dparametric-mapping.mlir30 // blockIdx.x * blockDim.x
33 // threadIdx.x + blockIdx.x * blockDim.x
36 // thread_offset = step * (threadIdx.x + blockIdx.x * blockDim.x)
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/static-accessed-through-instance/
H A D__clang_cuda_builtin_vars.h32 __cuda_builtin_blockIdx_t blockIdx; variable
/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_cuda_builtin_vars.h107 __CUDA_BUILTIN_VAR __cuda_builtin_blockIdx_t blockIdx; variable
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dstatic-accessed-through-instance.cpp280 unsigned int x2 = blockIdx.x;
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DGCOV.cpp776 uint32_t blockIdx = 0, edgeIdx = 0; in annotateSource() local
785 os << format("%5u-block %2u\n", lineNum, blockIdx++); in annotateSource()
/llvm-project-15.0.7/llvm/docs/
H A DNVPTXUsage.rst229 ``blockIdx`` ``@llvm.nvvm.read.ptx.sreg.ctaid.*``
558 ``i32 @llvm.nvvm.read.ptx.sreg.ctaid.{x,y,z}`` blockIdx.{x,y,z}
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DDialectConversion.cpp1378 int blockIdx = 0; in convertNonEntryRegionTypes() local
1390 &blockConversions[blockIdx++]); in convertNonEntryRegionTypes()
/llvm-project-15.0.7/llvm/test/DebugInfo/NVPTX/
H A Ddebug-info.ll8 ; int i = blockIdx.x * blockDim.x + threadIdx.x;