Home
last modified time | relevance | path

Searched refs:lhs_id (Results 1 – 25 of 33) sorted by relevance

12

/third_party/spirv-tools/source/fuzz/
Dtransformation_replace_boolean_constant_with_constant_binary.cpp120 const protobufs::IdUseDescriptor& id_use_descriptor, uint32_t lhs_id, in TransformationReplaceBooleanConstantWithConstantBinary() argument
124 message_.set_lhs_id(lhs_id); in TransformationReplaceBooleanConstantWithConstantBinary()
151 ir_context->get_def_use_mgr()->GetDef(message_.lhs_id()); in IsApplicable()
176 ir_context->get_constant_mgr()->FindDeclaredConstant(message_.lhs_id()); in IsApplicable()
268 {SPV_OPERAND_TYPE_ID, {message_.lhs_id()}}, in ApplyWithResult()
Dfuzzer_pass_obfuscate_constants.cpp68 uint32_t lhs_id; in ObfuscateBoolConstantViaConstantPair() local
74 lhs_id = constant_id_1; in ObfuscateBoolConstantViaConstantPair()
77 lhs_id = constant_id_2; in ObfuscateBoolConstantViaConstantPair()
85 bool_constant_use, lhs_id, rhs_id, comparison_opcode, in ObfuscateBoolConstantViaConstantPair()
Dtransformation_replace_boolean_constant_with_constant_binary.h34 const protobufs::IdUseDescriptor& id_use_descriptor, uint32_t lhs_id,
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_replace_boolean_constant_with_constant_binary.cpp120 const protobufs::IdUseDescriptor& id_use_descriptor, uint32_t lhs_id, in TransformationReplaceBooleanConstantWithConstantBinary() argument
124 message_.set_lhs_id(lhs_id); in TransformationReplaceBooleanConstantWithConstantBinary()
151 ir_context->get_def_use_mgr()->GetDef(message_.lhs_id()); in IsApplicable()
176 ir_context->get_constant_mgr()->FindDeclaredConstant(message_.lhs_id()); in IsApplicable()
268 {SPV_OPERAND_TYPE_ID, {message_.lhs_id()}}, in ApplyWithResult()
Dfuzzer_pass_obfuscate_constants.cpp69 uint32_t lhs_id; in ObfuscateBoolConstantViaConstantPair() local
75 lhs_id = constant_id_1; in ObfuscateBoolConstantViaConstantPair()
78 lhs_id = constant_id_2; in ObfuscateBoolConstantViaConstantPair()
86 bool_constant_use, lhs_id, rhs_id, comparison_opcode, in ObfuscateBoolConstantViaConstantPair()
Dtransformation_replace_boolean_constant_with_constant_binary.h34 const protobufs::IdUseDescriptor& id_use_descriptor, uint32_t lhs_id,
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_replace_boolean_constant_with_constant_binary.cpp120 const protobufs::IdUseDescriptor& id_use_descriptor, uint32_t lhs_id, in TransformationReplaceBooleanConstantWithConstantBinary() argument
124 message_.set_lhs_id(lhs_id); in TransformationReplaceBooleanConstantWithConstantBinary()
151 ir_context->get_def_use_mgr()->GetDef(message_.lhs_id()); in IsApplicable()
176 ir_context->get_constant_mgr()->FindDeclaredConstant(message_.lhs_id()); in IsApplicable()
268 {SPV_OPERAND_TYPE_ID, {message_.lhs_id()}}, in ApplyWithResult()
Dfuzzer_pass_obfuscate_constants.cpp69 uint32_t lhs_id; in ObfuscateBoolConstantViaConstantPair() local
75 lhs_id = constant_id_1; in ObfuscateBoolConstantViaConstantPair()
78 lhs_id = constant_id_2; in ObfuscateBoolConstantViaConstantPair()
86 bool_constant_use, lhs_id, rhs_id, comparison_opcode, in ObfuscateBoolConstantViaConstantPair()
Dtransformation_replace_boolean_constant_with_constant_binary.h34 const protobufs::IdUseDescriptor& id_use_descriptor, uint32_t lhs_id,
/third_party/spirv-tools/test/opt/
Dpropagator_test.cpp111 uint32_t lhs_id = instr->GetSingleWordOperand(0); in TEST_F() local
116 values_[lhs_id] = val; in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dpropagator_test.cpp111 uint32_t lhs_id = instr->GetSingleWordOperand(0); in TEST_F() local
116 values_[lhs_id] = val; in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpropagator_test.cpp111 uint32_t lhs_id = instr->GetSingleWordOperand(0); in TEST_F() local
116 values_[lhs_id] = val; in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/fact_manager/
Dfact_manager.cpp66 stream << fact.lhs_id(); in ToString()
258 void FactManager::AddFactIdEquation(uint32_t lhs_id, SpvOp opcode, in AddFactIdEquation() argument
261 fact.set_lhs_id(lhs_id); in AddFactIdEquation()
Dfact_manager.h86 void AddFactIdEquation(uint32_t lhs_id, SpvOp opcode,
Ddata_synonym_and_id_equation_facts.cpp80 if (irrelevant_value_facts.IdIsIrrelevant(fact.lhs_id(), dead_block_facts)) { in MaybeAddFact()
92 protobufs::DataDescriptor lhs_dd = MakeDataDescriptor(fact.lhs_id(), {}); in MaybeAddFact()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/fact_manager/
Dfact_manager.cpp66 stream << fact.lhs_id(); in ToString()
258 void FactManager::AddFactIdEquation(uint32_t lhs_id, SpvOp opcode, in AddFactIdEquation() argument
261 fact.set_lhs_id(lhs_id); in AddFactIdEquation()
Dfact_manager.h86 void AddFactIdEquation(uint32_t lhs_id, SpvOp opcode,
Ddata_synonym_and_id_equation_facts.cpp80 if (irrelevant_value_facts.IdIsIrrelevant(fact.lhs_id(), dead_block_facts)) { in MaybeAddFact()
92 protobufs::DataDescriptor lhs_dd = MakeDataDescriptor(fact.lhs_id(), {}); in MaybeAddFact()
/third_party/spirv-tools/source/fuzz/fact_manager/
Dfact_manager.cpp66 stream << fact.lhs_id(); in ToString()
258 void FactManager::AddFactIdEquation(uint32_t lhs_id, SpvOp opcode, in AddFactIdEquation() argument
261 fact.set_lhs_id(lhs_id); in AddFactIdEquation()
Dfact_manager.h86 void AddFactIdEquation(uint32_t lhs_id, SpvOp opcode,
Ddata_synonym_and_id_equation_facts.cpp80 if (irrelevant_value_facts.IdIsIrrelevant(fact.lhs_id(), dead_block_facts)) { in MaybeAddFact()
92 protobufs::DataDescriptor lhs_dd = MakeDataDescriptor(fact.lhs_id(), {}); in MaybeAddFact()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/fact_manager/
Ddata_synonym_and_id_equation_facts_test.cpp606 uint32_t lhs_id = 30; in TEST() local
608 fact_manager.AddFactIdEquation(lhs_id, SpvOpBitcast, {rhs_id}); in TEST()
609 ASSERT_TRUE(fact_manager.IsSynonymous(MakeDataDescriptor(lhs_id, {}), in TEST()
611 ++lhs_id; in TEST()
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/fact_manager/
Ddata_synonym_and_id_equation_facts_test.cpp606 uint32_t lhs_id = 30; in TEST() local
608 fact_manager.AddFactIdEquation(lhs_id, SpvOpBitcast, {rhs_id}); in TEST()
609 ASSERT_TRUE(fact_manager.IsSynonymous(MakeDataDescriptor(lhs_id, {}), in TEST()
611 ++lhs_id; in TEST()
/third_party/spirv-tools/test/fuzz/fact_manager/
Ddata_synonym_and_id_equation_facts_test.cpp606 uint32_t lhs_id = 30; in TEST() local
608 fact_manager.AddFactIdEquation(lhs_id, SpvOpBitcast, {rhs_id}); in TEST()
609 ASSERT_TRUE(fact_manager.IsSynonymous(MakeDataDescriptor(lhs_id, {}), in TEST()
611 ++lhs_id; in TEST()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder.cc405 auto lhs_id = GenerateExpression(assign->lhs); in GenerateAssignStatement() local
406 if (lhs_id == 0) { in GenerateAssignStatement()
418 return GenerateStore(lhs_id, rhs_id); in GenerateAssignStatement()
1798 auto lhs_id = GenerateExpression(expr->lhs); in GenerateShortCircuitBinaryExpression() local
1799 if (lhs_id == 0) { in GenerateShortCircuitBinaryExpression()
1802 lhs_id = GenerateLoadIfNeeded(TypeOf(expr->lhs), lhs_id); in GenerateShortCircuitBinaryExpression()
1833 {Operand::Int(lhs_id), Operand::Int(true_block_id), in GenerateShortCircuitBinaryExpression()
1864 {Operand::Int(type_id), result, Operand::Int(lhs_id), in GenerateShortCircuitBinaryExpression()
1898 uint32_t Builder::GenerateMatrixAddOrSub(uint32_t lhs_id, in GenerateMatrixAddOrSub() argument
1926 Operand::Int(lhs_id), Operand::Int(i)})) { in GenerateMatrixAddOrSub()
[all …]

12