mesa/src/nouveau/codegen
Michel Dänzer ff73392774 nouveau: Make getSize return unsigned int
This matches the type of the underlying size member, and is consistent
with other getSize methods.

Avoids compiler warning with LTO enabled:

In member function '__ct ',
    inlined from 'convertToSSA' at ../src/nouveau/codegen/nv50_ir_ssa.cpp:401:26,
    inlined from 'convertToSSA' at ../src/nouveau/codegen/nv50_ir_ssa.cpp:310:28,
    inlined from 'nv50_ir_generate_code' at ../src/nouveau/codegen/nv50_ir.cpp:1331:22:
../src/nouveau/codegen/nv50_ir_ssa.cpp:407:48: error: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Werror=alloc-size-larger-than=]
  407 |    stack = new Stack[func->allLValues.getSize()];
      |                                                ^
/usr/include/c++/12/new: In function 'nv50_ir_generate_code':
/usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here
  128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
      |                          ^

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21781>
2023-03-17 16:08:33 +00:00
..
lib nouveau: const cleanup 2022-09-16 14:23:47 +00:00
meson.build nouveau: Drop C++03 compat code 2022-07-05 13:23:12 +00:00
nv50_ir.cpp
nv50_ir.h nouveau: Drop C++03 compat code 2022-07-05 13:23:12 +00:00
nv50_ir_bb.cpp
nv50_ir_build_util.cpp nv50/ir: Avoid generating splits of splits 2022-08-23 18:29:44 +00:00
nv50_ir_build_util.h
nv50_ir_driver.h nv50/ir: add prefer_nir flag for getting compiler options 2022-11-08 21:10:08 +00:00
nv50_ir_emit_gk110.cpp
nv50_ir_emit_gm107.cpp
nv50_ir_emit_gv100.cpp gv100/ir: noop OP_BAR for now 2022-11-09 21:21:22 +00:00
nv50_ir_emit_gv100.h
nv50_ir_emit_nv50.cpp
nv50_ir_emit_nvc0.cpp
nv50_ir_from_common.cpp
nv50_ir_from_common.h
nv50_ir_from_nir.cpp nir: add assertions that loops don't have a Continue Construct 2023-02-21 10:41:11 +00:00
nv50_ir_from_tgsi.cpp gallium: Rename MUL_ZERO_WINS to LEGACY_MATH_RULES. 2022-06-10 03:26:32 +00:00
nv50_ir_graph.cpp
nv50_ir_graph.h
nv50_ir_inlines.h nv50/ir: add isUnsignedIntType() and isIntType() helpers 2022-09-09 17:32:13 +02:00
nv50_ir_lowering_gm107.cpp
nv50_ir_lowering_gm107.h
nv50_ir_lowering_gv100.cpp
nv50_ir_lowering_gv100.h
nv50_ir_lowering_helper.cpp nv50/ir: handle U8/U16 integers converting to U64 2022-09-09 17:32:30 +02:00
nv50_ir_lowering_helper.h
nv50_ir_lowering_nv50.cpp
nv50_ir_lowering_nvc0.cpp nouveau: Make getSize return unsigned int 2023-03-17 16:08:33 +00:00
nv50_ir_lowering_nvc0.h nouveau: Drop C++03 compat code 2022-07-05 13:23:12 +00:00
nv50_ir_peephole.cpp nv50/ir: fix OP_UNION resolving when used for vector values 2022-09-08 11:35:35 +00:00
nv50_ir_print.cpp nouveau: Fix compiler warnings about silly address checks in ir_print. 2022-09-13 18:39:07 +00:00
nv50_ir_ra.cpp nouveau: Make getSize return unsigned int 2023-03-17 16:08:33 +00:00
nv50_ir_sched_gm107.h
nv50_ir_serialize.cpp
nv50_ir_ssa.cpp nouveau: Make getSize return unsigned int 2023-03-17 16:08:33 +00:00
nv50_ir_target.cpp
nv50_ir_target.h
nv50_ir_target_gm107.cpp
nv50_ir_target_gm107.h
nv50_ir_target_gv100.cpp
nv50_ir_target_gv100.h
nv50_ir_target_nv50.cpp
nv50_ir_target_nv50.h
nv50_ir_target_nvc0.cpp
nv50_ir_target_nvc0.h
nv50_ir_util.cpp
nv50_ir_util.h nouveau: Make getSize return unsigned int 2023-03-17 16:08:33 +00:00