/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/ |
D | constants.h | 35 class IntConstant; variable 56 virtual IntConstant* AsIntConstant() { return nullptr; } in AsIntConstant() 66 virtual const IntConstant* AsIntConstant() const { return nullptr; } in AsIntConstant() 105 class IntConstant : public ScalarConstant { 107 IntConstant(const analysis::Integer* ty, const std::vector<uint32_t>& w) in IntConstant() function 109 IntConstant(const analysis::Integer* ty, std::vector<uint32_t>&& w) in IntConstant() function 112 IntConstant* AsIntConstant() override { return this; } in AsIntConstant() 113 const IntConstant* AsIntConstant() const override { return this; } in AsIntConstant() 116 std::unique_ptr<IntConstant> CopyIntConstant() const { in CopyIntConstant() 117 return MakeUnique<IntConstant>(type_->AsInteger(), words_); in CopyIntConstant()
|
/third_party/spirv-tools/source/opt/ |
D | constants.h | 45 class IntConstant; variable 68 virtual IntConstant* AsIntConstant() { return nullptr; } in AsIntConstant() 79 virtual const IntConstant* AsIntConstant() const { return nullptr; } in AsIntConstant() 175 class IntConstant : public ScalarConstant { 177 IntConstant(const Integer* ty, const std::vector<uint32_t>& w) in IntConstant() function 179 IntConstant(const Integer* ty, std::vector<uint32_t>&& w) in IntConstant() function 182 IntConstant* AsIntConstant() override { return this; } in AsIntConstant() 183 const IntConstant* AsIntConstant() const override { return this; } in AsIntConstant() 216 std::unique_ptr<IntConstant> CopyIntConstant() const { in CopyIntConstant() 217 return MakeUnique<IntConstant>(type_->AsInteger(), words_); in CopyIntConstant()
|
D | constants.cpp | 62 if (const IntConstant* ic = AsIntConstant()) { in GetU32() 74 if (const IntConstant* ic = AsIntConstant()) { in GetU64() 86 if (const IntConstant* ic = AsIntConstant()) { in GetS32() 98 if (const IntConstant* ic = AsIntConstant()) { in GetS64() 113 if (const IntConstant* ic = AsIntConstant()) { in GetZeroExtendedValue() 132 if (const IntConstant* ic = AsIntConstant()) { in GetSignExtendedValue() 251 return MakeUnique<IntConstant>(it, literal_words_or_ids); in CreateConstant() 337 } else if (const IntConstant* ic = c->AsIntConstant()) { in CreateInstruction()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | constants.h | 45 class IntConstant; variable 68 virtual IntConstant* AsIntConstant() { return nullptr; } in AsIntConstant() 79 virtual const IntConstant* AsIntConstant() const { return nullptr; } in AsIntConstant() 175 class IntConstant : public ScalarConstant { 177 IntConstant(const Integer* ty, const std::vector<uint32_t>& w) in IntConstant() function 179 IntConstant(const Integer* ty, std::vector<uint32_t>&& w) in IntConstant() function 182 IntConstant* AsIntConstant() override { return this; } in AsIntConstant() 183 const IntConstant* AsIntConstant() const override { return this; } in AsIntConstant() 216 std::unique_ptr<IntConstant> CopyIntConstant() const { in CopyIntConstant() 217 return MakeUnique<IntConstant>(type_->AsInteger(), words_); in CopyIntConstant()
|
D | constants.cpp | 62 if (const IntConstant* ic = AsIntConstant()) { in GetU32() 74 if (const IntConstant* ic = AsIntConstant()) { in GetU64() 86 if (const IntConstant* ic = AsIntConstant()) { in GetS32() 98 if (const IntConstant* ic = AsIntConstant()) { in GetS64() 113 if (const IntConstant* ic = AsIntConstant()) { in GetZeroExtendedValue() 132 if (const IntConstant* ic = AsIntConstant()) { in GetSignExtendedValue() 252 return MakeUnique<IntConstant>(it, literal_words_or_ids); in CreateConstant() 338 } else if (const IntConstant* ic = c->AsIntConstant()) { in CreateInstruction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | constants.h | 45 class IntConstant; variable 68 virtual IntConstant* AsIntConstant() { return nullptr; } in AsIntConstant() 79 virtual const IntConstant* AsIntConstant() const { return nullptr; } in AsIntConstant() 175 class IntConstant : public ScalarConstant { 177 IntConstant(const Integer* ty, const std::vector<uint32_t>& w) in IntConstant() function 179 IntConstant(const Integer* ty, std::vector<uint32_t>&& w) in IntConstant() function 182 IntConstant* AsIntConstant() override { return this; } in AsIntConstant() 183 const IntConstant* AsIntConstant() const override { return this; } in AsIntConstant() 216 std::unique_ptr<IntConstant> CopyIntConstant() const { in CopyIntConstant() 217 return MakeUnique<IntConstant>(type_->AsInteger(), words_); in CopyIntConstant()
|
D | constants.cpp | 62 if (const IntConstant* ic = AsIntConstant()) { in GetU32() 74 if (const IntConstant* ic = AsIntConstant()) { in GetU64() 86 if (const IntConstant* ic = AsIntConstant()) { in GetS32() 98 if (const IntConstant* ic = AsIntConstant()) { in GetS64() 113 if (const IntConstant* ic = AsIntConstant()) { in GetZeroExtendedValue() 132 if (const IntConstant* ic = AsIntConstant()) { in GetSignExtendedValue() 252 return MakeUnique<IntConstant>(it, literal_words_or_ids); in CreateConstant() 338 } else if (const IntConstant* ic = c->AsIntConstant()) { in CreateInstruction()
|
/third_party/spirv-tools/test/opt/ |
D | constants_test.cpp | 49 IntConstant value(&type, GetParam().words); in TEST_P() 56 IntConstant value(&type, GetParam().words); in TEST_P()
|
D | constant_manager_test.cpp | 101 IntConstant int_constant(int_type->AsInteger(), {3}); in TEST_F()
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
D | constants_test.cpp | 49 IntConstant value(&type, GetParam().words); in TEST_P() 56 IntConstant value(&type, GetParam().words); in TEST_P()
|
D | constant_manager_test.cpp | 101 IntConstant int_constant(int_type->AsInteger(), {3}); in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | constants_test.cpp | 49 IntConstant value(&type, GetParam().words); in TEST_P() 56 IntConstant value(&type, GetParam().words); in TEST_P()
|
D | constant_manager_test.cpp | 101 IntConstant int_constant(int_type->AsInteger(), {3}); in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_replace_constant_with_uniform.cpp | 61 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in MakeAccessChainInstruction() 217 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in IsApplicable()
|
D | transformation_add_function.cpp | 435 opt::analysis::IntConstant zero(registered_unsigned_int_type->AsInteger(), in TryToAddLoopLimiters() 447 opt::analysis::IntConstant one(registered_unsigned_int_type->AsInteger(), in TryToAddLoopLimiters() 841 opt::analysis::IntConstant bound_minus_one(index_int_type, {bound - 1}); in TryToClampAccessChainIndices()
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_replace_constant_with_uniform.cpp | 61 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in MakeAccessChainInstruction() 217 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in IsApplicable()
|
D | transformation_add_function.cpp | 435 opt::analysis::IntConstant zero(registered_unsigned_int_type->AsInteger(), in TryToAddLoopLimiters() 447 opt::analysis::IntConstant one(registered_unsigned_int_type->AsInteger(), in TryToAddLoopLimiters() 841 opt::analysis::IntConstant bound_minus_one(index_int_type, {bound - 1}); in TryToClampAccessChainIndices()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_replace_constant_with_uniform.cpp | 61 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in MakeAccessChainInstruction() 217 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in IsApplicable()
|
D | transformation_add_function.cpp | 435 opt::analysis::IntConstant zero(registered_unsigned_int_type->AsInteger(), in TryToAddLoopLimiters() 447 opt::analysis::IntConstant one(registered_unsigned_int_type->AsInteger(), in TryToAddLoopLimiters() 841 opt::analysis::IntConstant bound_minus_one(index_int_type, {bound - 1}); in TryToClampAccessChainIndices()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | remove_struct_member_reduction_opportunity.cpp | 194 opt::analysis::IntConstant(int_type, {member - 1}); in AdjustAccessedIndices()
|
/third_party/skia/third_party/externals/spirv-tools/source/reduce/ |
D | remove_struct_member_reduction_opportunity.cpp | 194 opt::analysis::IntConstant(int_type, {member - 1}); in AdjustAccessedIndices()
|
/third_party/spirv-tools/source/reduce/ |
D | remove_struct_member_reduction_opportunity.cpp | 192 opt::analysis::IntConstant(int_type, {member - 1}); in AdjustAccessedIndices()
|
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/fact_manager/ |
D | constant_uniform_facts_test.cpp | 30 using opt::analysis::IntConstant; 786 opt::analysis::IntConstant constant_one(int_type, {1}); in TEST()
|
/third_party/spirv-tools/test/fuzz/fact_manager/ |
D | constant_uniform_facts_test.cpp | 30 using opt::analysis::IntConstant; 786 opt::analysis::IntConstant constant_one(int_type, {1}); in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/fact_manager/ |
D | constant_uniform_facts_test.cpp | 30 using opt::analysis::IntConstant; 786 opt::analysis::IntConstant constant_one(int_type, {1}); in TEST()
|