Home
last modified time | relevance | path

Searched refs:id_bound (Results 1 – 25 of 34) sorted by relevance

12

/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dmodule_test.cpp156 uint32_t current_bound = context->module()->id_bound(); in TEST()
160 EXPECT_EQ(current_bound, context->module()->id_bound()); in TEST()
178 uint32_t current_bound = context->module()->id_bound(); in TEST()
182 EXPECT_EQ(current_bound + 1, context->module()->id_bound()); in TEST()
200 uint32_t current_bound = context->module()->id_bound(); in TEST()
204 EXPECT_EQ(current_bound + 1, context->module()->id_bound()); in TEST()
222 uint32_t current_bound = context->module()->id_bound(); in TEST()
230 EXPECT_EQ(current_bound, context->module()->id_bound()); in TEST()
Dir_context_test.cpp707 uint32_t current_bound = context->module()->id_bound(); in TEST_F()
711 EXPECT_EQ(current_bound, context->module()->id_bound()); in TEST_F()
731 uint32_t current_bound = context->module()->id_bound(); in TEST_F()
735 EXPECT_EQ(current_bound + 1, context->module()->id_bound()); in TEST_F()
755 uint32_t current_bound = context->module()->id_bound(); in TEST_F()
759 EXPECT_EQ(current_bound + 1, context->module()->id_bound()); in TEST_F()
779 uint32_t current_bound = context->module()->id_bound(); in TEST_F()
787 EXPECT_EQ(current_bound, context->module()->id_bound()); in TEST_F()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dmodule_test.cpp156 uint32_t current_bound = context->module()->id_bound(); in TEST()
160 EXPECT_EQ(current_bound, context->module()->id_bound()); in TEST()
178 uint32_t current_bound = context->module()->id_bound(); in TEST()
182 EXPECT_EQ(current_bound + 1, context->module()->id_bound()); in TEST()
200 uint32_t current_bound = context->module()->id_bound(); in TEST()
204 EXPECT_EQ(current_bound + 1, context->module()->id_bound()); in TEST()
222 uint32_t current_bound = context->module()->id_bound(); in TEST()
230 EXPECT_EQ(current_bound, context->module()->id_bound()); in TEST()
Dir_context_test.cpp707 uint32_t current_bound = context->module()->id_bound(); in TEST_F()
711 EXPECT_EQ(current_bound, context->module()->id_bound()); in TEST_F()
731 uint32_t current_bound = context->module()->id_bound(); in TEST_F()
735 EXPECT_EQ(current_bound + 1, context->module()->id_bound()); in TEST_F()
755 uint32_t current_bound = context->module()->id_bound(); in TEST_F()
759 EXPECT_EQ(current_bound + 1, context->module()->id_bound()); in TEST_F()
779 uint32_t current_bound = context->module()->id_bound(); in TEST_F()
787 EXPECT_EQ(current_bound, context->module()->id_bound()); in TEST_F()
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_limits_test.cpp106 uint32_t id_bound = 0x4FFFFF; in TEST_F() local
108 OverwriteAssembledBinary(3, id_bound); in TEST_F()
109 getValidatorOptions()->universal_limits_.max_id_bound = id_bound; in TEST_F()
122 uint32_t id_bound = 5242878; in TEST_F() local
124 OverwriteAssembledBinary(3, id_bound); in TEST_F()
125 getValidatorOptions()->universal_limits_.max_id_bound = id_bound - 1; in TEST_F()
138 uint32_t id_bound = std::numeric_limits<uint32_t>::max(); in TEST_F() local
140 OverwriteAssembledBinary(3, id_bound); in TEST_F()
141 getValidatorOptions()->universal_limits_.max_id_bound = id_bound; in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_limits_test.cpp106 uint32_t id_bound = 0x4FFFFF; in TEST_F() local
108 OverwriteAssembledBinary(3, id_bound); in TEST_F()
109 getValidatorOptions()->universal_limits_.max_id_bound = id_bound; in TEST_F()
122 uint32_t id_bound = 5242878; in TEST_F() local
124 OverwriteAssembledBinary(3, id_bound); in TEST_F()
125 getValidatorOptions()->universal_limits_.max_id_bound = id_bound - 1; in TEST_F()
138 uint32_t id_bound = std::numeric_limits<uint32_t>::max(); in TEST_F() local
140 OverwriteAssembledBinary(3, id_bound); in TEST_F()
141 getValidatorOptions()->universal_limits_.max_id_bound = id_bound; in TEST_F()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dreplayer.cpp97 uint32_t first_overflow_id = ir_context->module()->id_bound(); in Run()
116 uint32_t max_observed_id_bound = ir_context->module()->id_bound(); in Run()
139 assert(ir_context->module()->id_bound() >= max_observed_id_bound && in Run()
142 max_observed_id_bound = ir_context->module()->id_bound(); in Run()
Dfuzzer_pass_add_bit_instruction_synonyms.cpp40 if (GetIRContext()->module()->id_bound() >= in Apply()
Dfuzzer.cpp207 auto minimum_fresh_id = ir_context_->module()->id_bound() + kIdBoundGap; in Run()
371 if (ir_context_->module()->id_bound() >= fuzzer_context_->GetIdBoundLimit()) { in ShouldContinueFuzzing()
Dshrinker.cpp312 return ir_context->module()->id_bound(); in GetIdBound()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dreplayer.cpp97 uint32_t first_overflow_id = ir_context->module()->id_bound(); in Run()
116 uint32_t max_observed_id_bound = ir_context->module()->id_bound(); in Run()
139 assert(ir_context->module()->id_bound() >= max_observed_id_bound && in Run()
142 max_observed_id_bound = ir_context->module()->id_bound(); in Run()
Dfuzzer_pass_add_bit_instruction_synonyms.cpp40 if (GetIRContext()->module()->id_bound() >= in Apply()
Dfuzzer.cpp207 auto minimum_fresh_id = ir_context_->module()->id_bound() + kIdBoundGap; in Run()
371 if (ir_context_->module()->id_bound() >= fuzzer_context_->GetIdBoundLimit()) { in ShouldContinueFuzzing()
/external/swiftshader/third_party/SPIRV-Tools/source/link/
Dlinker.cpp165 uint32_t id_bound = modules->front()->IdBound() - 1u; in ShiftIdsInModules() local
169 module->ForEachInst([&id_bound](Instruction* insn) { in ShiftIdsInModules()
170 insn->ForEachId([&id_bound](uint32_t* id) { *id += id_bound; }); in ShiftIdsInModules()
172 id_bound += module->IdBound() - 1u; in ShiftIdsInModules()
173 if (id_bound > 0x3FFFFF) in ShiftIdsInModules()
176 << " " << id_bound << " is the current ID bound."; in ShiftIdsInModules()
181 ++id_bound; in ShiftIdsInModules()
182 if (id_bound > 0x3FFFFF) in ShiftIdsInModules()
185 << " " << id_bound << " is the current ID bound."; in ShiftIdsInModules()
187 *max_id_bound = id_bound; in ShiftIdsInModules()
/external/deqp-deps/SPIRV-Tools/source/link/
Dlinker.cpp165 uint32_t id_bound = modules->front()->IdBound() - 1u; in ShiftIdsInModules() local
169 module->ForEachInst([&id_bound](Instruction* insn) { in ShiftIdsInModules()
170 insn->ForEachId([&id_bound](uint32_t* id) { *id += id_bound; }); in ShiftIdsInModules()
172 id_bound += module->IdBound() - 1u; in ShiftIdsInModules()
173 if (id_bound > 0x3FFFFF) in ShiftIdsInModules()
176 << " " << id_bound << " is the current ID bound."; in ShiftIdsInModules()
181 ++id_bound; in ShiftIdsInModules()
182 if (id_bound > 0x3FFFFF) in ShiftIdsInModules()
185 << " " << id_bound << " is the current ID bound."; in ShiftIdsInModules()
187 *max_id_bound = id_bound; in ShiftIdsInModules()
/external/swiftshader/third_party/SPIRV-Tools/source/
Ddisassemble.cpp71 uint32_t generator, uint32_t id_bound,
138 uint32_t id_bound, uint32_t schema) { in HandleHeader() argument
155 << "; Bound: " << id_bound << "\n" in HandleHeader()
400 uint32_t generator, uint32_t id_bound, in DisassembleHeader() argument
404 return disassembler->HandleHeader(endian, version, generator, id_bound, in DisassembleHeader()
434 uint32_t generator, uint32_t id_bound, in DisassembleTargetHeader() argument
439 id_bound, schema); in DisassembleTargetHeader()
/external/deqp-deps/SPIRV-Tools/source/
Ddisassemble.cpp71 uint32_t generator, uint32_t id_bound,
138 uint32_t id_bound, uint32_t schema) { in HandleHeader() argument
155 << "; Bound: " << id_bound << "\n" in HandleHeader()
400 uint32_t generator, uint32_t id_bound, in DisassembleHeader() argument
404 return disassembler->HandleHeader(endian, version, generator, id_bound, in DisassembleHeader()
434 uint32_t generator, uint32_t id_bound, in DisassembleTargetHeader() argument
439 id_bound, schema); in DisassembleTargetHeader()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dbuild_module.cpp32 uint32_t id_bound, uint32_t reserved) { in SetSpvHeader() argument
34 magic, version, generator, id_bound, reserved); in SetSpvHeader()
Dmodule.cpp30 if (id_bound() >= context()->max_id_bound()) { in TakeNextIdBound()
33 } else if (id_bound() >= kDefaultMaxIdBound) { in TakeNextIdBound()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dbuild_module.cpp32 uint32_t id_bound, uint32_t reserved) { in SetSpvHeader() argument
34 magic, version, generator, id_bound, reserved); in SetSpvHeader()
Dmodule.cpp30 if (id_bound() >= context()->max_id_bound()) { in TakeNextIdBound()
33 } else if (id_bound() >= kDefaultMaxIdBound) { in TakeNextIdBound()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
Dhoist_without_preheader.cpp181 uint32_t current_bound = context->module()->id_bound(); in TEST_F()
/external/deqp-deps/SPIRV-Tools/test/opt/loop_optimizations/
Dhoist_without_preheader.cpp181 uint32_t current_bound = context->module()->id_bound(); in TEST_F()
/external/deqp-deps/SPIRV-Tools/test/
Dbinary_parse_test.cpp108 uint32_t id_bound, uint32_t reserved));
115 uint32_t id_bound, uint32_t reserved) { in invoke_header() argument
117 endian, magic, version, generator, id_bound, reserved); in invoke_header()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dbinary_parse_test.cpp108 uint32_t id_bound, uint32_t reserved));
115 uint32_t id_bound, uint32_t reserved) { in invoke_header() argument
117 endian, magic, version, generator, id_bound, reserved); in invoke_header()

12