Home
last modified time | relevance | path

Searched refs:MaxGridSize (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Target/NVPTX/
DNVVMIntrRange.cpp36 } MaxBlockSize, MaxGridSize; member in __anon4e6b4a480111::NVVMIntrRange
46 MaxGridSize.x = SmVersion >= 30 ? 0x7fffffff : 0xffff; in NVVMIntrRange()
47 MaxGridSize.y = 0xffff; in NVVMIntrRange()
48 MaxGridSize.z = 0xffff; in NVVMIntrRange()
111 Changed |= addRangeMetadata(0, MaxGridSize.x, Call); in runOnFunction()
114 Changed |= addRangeMetadata(0, MaxGridSize.y, Call); in runOnFunction()
117 Changed |= addRangeMetadata(0, MaxGridSize.z, Call); in runOnFunction()
122 Changed |= addRangeMetadata(1, MaxGridSize.x+1, Call); in runOnFunction()
125 Changed |= addRangeMetadata(1, MaxGridSize.y+1, Call); in runOnFunction()
128 Changed |= addRangeMetadata(1, MaxGridSize.z+1, Call); in runOnFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVVMIntrRange.cpp36 } MaxBlockSize, MaxGridSize; member in __anondbcfb6800111::NVVMIntrRange
46 MaxGridSize.x = SmVersion >= 30 ? 0x7fffffff : 0xffff; in NVVMIntrRange()
47 MaxGridSize.y = 0xffff; in NVVMIntrRange()
48 MaxGridSize.z = 0xffff; in NVVMIntrRange()
115 Changed |= addRangeMetadata(0, MaxGridSize.x, Call); in runOnFunction()
118 Changed |= addRangeMetadata(0, MaxGridSize.y, Call); in runOnFunction()
121 Changed |= addRangeMetadata(0, MaxGridSize.z, Call); in runOnFunction()
126 Changed |= addRangeMetadata(1, MaxGridSize.x+1, Call); in runOnFunction()
129 Changed |= addRangeMetadata(1, MaxGridSize.y+1, Call); in runOnFunction()
132 Changed |= addRangeMetadata(1, MaxGridSize.z+1, Call); in runOnFunction()