Home
last modified time | relevance | path

Searched refs:rhs_id (Results 1 – 25 of 39) sorted by relevance

12

/third_party/spirv-tools/test/opt/
Dpropagator_test.cpp112 uint32_t rhs_id = instr->GetSingleWordOperand(1); in TEST_F() local
113 Instruction* rhs_def = ctx_->get_def_use_mgr()->GetDef(rhs_id); in TEST_F()
179 uint32_t rhs_id = instr->GetSingleWordOperand(2); in TEST_F() local
180 Instruction* rhs_def = ctx_->get_def_use_mgr()->GetDef(rhs_id); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpropagator_test.cpp112 uint32_t rhs_id = instr->GetSingleWordOperand(1); in TEST_F() local
113 Instruction* rhs_def = ctx_->get_def_use_mgr()->GetDef(rhs_id); in TEST_F()
179 uint32_t rhs_id = instr->GetSingleWordOperand(2); in TEST_F() local
180 Instruction* rhs_def = ctx_->get_def_use_mgr()->GetDef(rhs_id); in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dpropagator_test.cpp112 uint32_t rhs_id = instr->GetSingleWordOperand(1); in TEST_F() local
113 Instruction* rhs_def = ctx_->get_def_use_mgr()->GetDef(rhs_id); in TEST_F()
179 uint32_t rhs_id = instr->GetSingleWordOperand(2); in TEST_F() local
180 Instruction* rhs_def = ctx_->get_def_use_mgr()->GetDef(rhs_id); in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_replace_boolean_constant_with_constant_binary.cpp121 uint32_t rhs_id, SpvOp comparison_opcode, in TransformationReplaceBooleanConstantWithConstantBinary() argument
125 message_.set_rhs_id(rhs_id); in TransformationReplaceBooleanConstantWithConstantBinary()
161 ir_context->get_def_use_mgr()->GetDef(message_.rhs_id()); in IsApplicable()
178 ir_context->get_constant_mgr()->FindDeclaredConstant(message_.rhs_id()); in IsApplicable()
269 {SPV_OPERAND_TYPE_ID, {message_.rhs_id()}}}; in ApplyWithResult()
Dtransformation_equation_instruction.cpp81 std::vector<uint32_t> rhs_id; in Apply() local
84 rhs_id.push_back(id); in Apply()
104 message_.fresh_id(), static_cast<SpvOp>(message_.opcode()), rhs_id); in Apply()
Dfuzzer_pass_obfuscate_constants.cpp70 uint32_t rhs_id; in ObfuscateBoolConstantViaConstantPair() local
76 rhs_id = constant_id_2; in ObfuscateBoolConstantViaConstantPair()
79 rhs_id = constant_id_1; in ObfuscateBoolConstantViaConstantPair()
86 bool_constant_use, lhs_id, rhs_id, comparison_opcode, in ObfuscateBoolConstantViaConstantPair()
Dtransformation_replace_boolean_constant_with_constant_binary.h35 uint32_t rhs_id, SpvOp comparison_opcode,
/third_party/spirv-tools/source/fuzz/
Dtransformation_replace_boolean_constant_with_constant_binary.cpp121 uint32_t rhs_id, SpvOp comparison_opcode, in TransformationReplaceBooleanConstantWithConstantBinary() argument
125 message_.set_rhs_id(rhs_id); in TransformationReplaceBooleanConstantWithConstantBinary()
161 ir_context->get_def_use_mgr()->GetDef(message_.rhs_id()); in IsApplicable()
178 ir_context->get_constant_mgr()->FindDeclaredConstant(message_.rhs_id()); in IsApplicable()
269 {SPV_OPERAND_TYPE_ID, {message_.rhs_id()}}}; in ApplyWithResult()
Dtransformation_equation_instruction.cpp81 std::vector<uint32_t> rhs_id; in Apply() local
84 rhs_id.push_back(id); in Apply()
104 message_.fresh_id(), static_cast<SpvOp>(message_.opcode()), rhs_id); in Apply()
Dfuzzer_pass_obfuscate_constants.cpp70 uint32_t rhs_id; in ObfuscateBoolConstantViaConstantPair() local
76 rhs_id = constant_id_2; in ObfuscateBoolConstantViaConstantPair()
79 rhs_id = constant_id_1; in ObfuscateBoolConstantViaConstantPair()
86 bool_constant_use, lhs_id, rhs_id, comparison_opcode, in ObfuscateBoolConstantViaConstantPair()
Dtransformation_replace_boolean_constant_with_constant_binary.h35 uint32_t rhs_id, SpvOp comparison_opcode,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_replace_boolean_constant_with_constant_binary.cpp121 uint32_t rhs_id, SpvOp comparison_opcode, in TransformationReplaceBooleanConstantWithConstantBinary() argument
125 message_.set_rhs_id(rhs_id); in TransformationReplaceBooleanConstantWithConstantBinary()
161 ir_context->get_def_use_mgr()->GetDef(message_.rhs_id()); in IsApplicable()
178 ir_context->get_constant_mgr()->FindDeclaredConstant(message_.rhs_id()); in IsApplicable()
269 {SPV_OPERAND_TYPE_ID, {message_.rhs_id()}}}; in ApplyWithResult()
Dtransformation_equation_instruction.cpp81 std::vector<uint32_t> rhs_id; in Apply() local
84 rhs_id.push_back(id); in Apply()
104 message_.fresh_id(), static_cast<SpvOp>(message_.opcode()), rhs_id); in Apply()
Dfuzzer_pass_obfuscate_constants.cpp70 uint32_t rhs_id; in ObfuscateBoolConstantViaConstantPair() local
76 rhs_id = constant_id_2; in ObfuscateBoolConstantViaConstantPair()
79 rhs_id = constant_id_1; in ObfuscateBoolConstantViaConstantPair()
86 bool_constant_use, lhs_id, rhs_id, comparison_opcode, in ObfuscateBoolConstantViaConstantPair()
Dtransformation_replace_boolean_constant_with_constant_binary.h35 uint32_t rhs_id, SpvOp comparison_opcode,
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/fact_manager/
Dfact_manager.cpp68 for (auto rhs_id : fact.rhs_id()) { in ToString() local
69 stream << " " << rhs_id; in ToString()
259 const std::vector<uint32_t>& rhs_id) { in AddFactIdEquation() argument
263 for (auto an_rhs_id : rhs_id) { in AddFactIdEquation()
Ddata_synonym_and_id_equation_facts.cpp85 for (auto id : fact.rhs_id()) { in MaybeAddFact()
100 for (auto rhs_id : fact.rhs_id()) { in MaybeAddFact() local
103 rhs_dds.push_back(RegisterDataDescriptor(MakeDataDescriptor(rhs_id, {}))); in MaybeAddFact()
/third_party/spirv-tools/source/fuzz/fact_manager/
Dfact_manager.cpp68 for (auto rhs_id : fact.rhs_id()) { in ToString() local
69 stream << " " << rhs_id; in ToString()
259 const std::vector<uint32_t>& rhs_id) { in AddFactIdEquation() argument
263 for (auto an_rhs_id : rhs_id) { in AddFactIdEquation()
Ddata_synonym_and_id_equation_facts.cpp85 for (auto id : fact.rhs_id()) { in MaybeAddFact()
100 for (auto rhs_id : fact.rhs_id()) { in MaybeAddFact() local
103 rhs_dds.push_back(RegisterDataDescriptor(MakeDataDescriptor(rhs_id, {}))); in MaybeAddFact()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/fact_manager/
Dfact_manager.cpp68 for (auto rhs_id : fact.rhs_id()) { in ToString() local
69 stream << " " << rhs_id; in ToString()
259 const std::vector<uint32_t>& rhs_id) { in AddFactIdEquation() argument
263 for (auto an_rhs_id : rhs_id) { in AddFactIdEquation()
Ddata_synonym_and_id_equation_facts.cpp85 for (auto id : fact.rhs_id()) { in MaybeAddFact()
100 for (auto rhs_id : fact.rhs_id()) { in MaybeAddFact() local
103 rhs_dds.push_back(RegisterDataDescriptor(MakeDataDescriptor(rhs_id, {}))); in MaybeAddFact()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder.cc399 auto rhs_id = GenerateExpression(assign->rhs); in GenerateAssignStatement() local
400 if (rhs_id == 0) { in GenerateAssignStatement()
409 auto rhs_id = GenerateExpression(assign->rhs); in GenerateAssignStatement() local
410 if (rhs_id == 0) { in GenerateAssignStatement()
416 rhs_id = GenerateLoadIfNeeded(type, rhs_id); in GenerateAssignStatement()
418 return GenerateStore(lhs_id, rhs_id); in GenerateAssignStatement()
1842 auto rhs_id = GenerateExpression(expr->rhs); in GenerateShortCircuitBinaryExpression() local
1843 if (rhs_id == 0) { in GenerateShortCircuitBinaryExpression()
1846 rhs_id = GenerateLoadIfNeeded(TypeOf(expr->rhs), rhs_id); in GenerateShortCircuitBinaryExpression()
1866 Operand::Int(rhs_id), Operand::Int(rhs_block_id)})) { in GenerateShortCircuitBinaryExpression()
[all …]
/third_party/spirv-tools/test/fuzz/fact_manager/
Ddata_synonym_and_id_equation_facts_test.cpp607 for (uint32_t rhs_id : {6, 6, 7, 7, 19, 19, 20, 20, 21, 21, 22, 22}) { in TEST()
608 fact_manager.AddFactIdEquation(lhs_id, SpvOpBitcast, {rhs_id}); in TEST()
610 MakeDataDescriptor(rhs_id, {}))); in TEST()
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/fact_manager/
Ddata_synonym_and_id_equation_facts_test.cpp607 for (uint32_t rhs_id : {6, 6, 7, 7, 19, 19, 20, 20, 21, 21, 22, 22}) { in TEST()
608 fact_manager.AddFactIdEquation(lhs_id, SpvOpBitcast, {rhs_id}); in TEST()
610 MakeDataDescriptor(rhs_id, {}))); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/fact_manager/
Ddata_synonym_and_id_equation_facts_test.cpp607 for (uint32_t rhs_id : {6, 6, 7, 7, 19, 19, 20, 20, 21, 21, 22, 22}) { in TEST()
608 fact_manager.AddFactIdEquation(lhs_id, SpvOpBitcast, {rhs_id}); in TEST()
610 MakeDataDescriptor(rhs_id, {}))); in TEST()

12