Home
last modified time | relevance | path

Searched refs:loop_reg_pressure (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dregister_pressure.cpp282 const Loop& loop, RegionRegisterLiveness* loop_reg_pressure) const { in ComputeLoopRegisterPressure()
283 loop_reg_pressure->Clear(); in ComputeLoopRegisterPressure()
286 loop_reg_pressure->live_in_ = header_live_inout->live_in_; in ComputeLoopRegisterPressure()
293 loop_reg_pressure->live_out_.insert(live_inout->live_in_.begin(), in ComputeLoopRegisterPressure()
298 for (Instruction* insn : loop_reg_pressure->live_out_) { in ComputeLoopRegisterPressure()
299 loop_reg_pressure->AddRegisterClass(insn); in ComputeLoopRegisterPressure()
302 for (Instruction* insn : loop_reg_pressure->live_in_) { in ComputeLoopRegisterPressure()
306 loop_reg_pressure->AddRegisterClass(insn); in ComputeLoopRegisterPressure()
310 loop_reg_pressure->used_registers_ = 0; in ComputeLoopRegisterPressure()
317 loop_reg_pressure->used_registers_ = std::max( in ComputeLoopRegisterPressure()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dregister_pressure.cpp282 const Loop& loop, RegionRegisterLiveness* loop_reg_pressure) const { in ComputeLoopRegisterPressure()
283 loop_reg_pressure->Clear(); in ComputeLoopRegisterPressure()
286 loop_reg_pressure->live_in_ = header_live_inout->live_in_; in ComputeLoopRegisterPressure()
293 loop_reg_pressure->live_out_.insert(live_inout->live_in_.begin(), in ComputeLoopRegisterPressure()
298 for (Instruction* insn : loop_reg_pressure->live_out_) { in ComputeLoopRegisterPressure()
299 loop_reg_pressure->AddRegisterClass(insn); in ComputeLoopRegisterPressure()
302 for (Instruction* insn : loop_reg_pressure->live_in_) { in ComputeLoopRegisterPressure()
306 loop_reg_pressure->AddRegisterClass(insn); in ComputeLoopRegisterPressure()
310 loop_reg_pressure->used_registers_ = 0; in ComputeLoopRegisterPressure()
317 loop_reg_pressure->used_registers_ = std::max( in ComputeLoopRegisterPressure()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dregister_liveness.cpp1087 RegisterLiveness::RegionRegisterLiveness loop_reg_pressure; in TEST_F() local
1088 register_liveness->ComputeLoopRegisterPressure(*ld[39], &loop_reg_pressure); in TEST_F()
1102 CompareSets(loop_reg_pressure.live_in_, live_in); in TEST_F()
1114 CompareSets(loop_reg_pressure.live_out_, live_out); in TEST_F()
1116 EXPECT_EQ(loop_reg_pressure.used_registers_, 13u); in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dregister_liveness.cpp1087 RegisterLiveness::RegionRegisterLiveness loop_reg_pressure; in TEST_F() local
1088 register_liveness->ComputeLoopRegisterPressure(*ld[39], &loop_reg_pressure); in TEST_F()
1102 CompareSets(loop_reg_pressure.live_in_, live_in); in TEST_F()
1114 CompareSets(loop_reg_pressure.live_out_, live_out); in TEST_F()
1116 EXPECT_EQ(loop_reg_pressure.used_registers_, 13u); in TEST_F()