Home
last modified time | relevance | path

Searched refs:IntConstant (Results 1 – 25 of 55) sorted by relevance

123

/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dconstants.h45 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()
Dconstants.cpp62 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()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dconstants.h45 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()
Dconstants.cpp62 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()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconstants.h45 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()
Dconstants.cpp62 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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dconstants_test.cpp49 IntConstant value(&type, GetParam().words); in TEST_P()
56 IntConstant value(&type, GetParam().words); in TEST_P()
Dconstant_manager_test.cpp101 IntConstant int_constant(int_type->AsInteger(), {3}); in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dconstants_test.cpp49 IntConstant value(&type, GetParam().words); in TEST_P()
56 IntConstant value(&type, GetParam().words); in TEST_P()
Dconstant_manager_test.cpp101 IntConstant int_constant(int_type->AsInteger(), {3}); in TEST_F()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dconstants_test.cpp49 IntConstant value(&type, GetParam().words); in TEST_P()
56 IntConstant value(&type, GetParam().words); in TEST_P()
Dconstant_manager_test.cpp101 IntConstant int_constant(int_type->AsInteger(), {3}); in TEST_F()
/external/javassist/src/test/javassist/compiler/
DLexTest.java11 else if (t == CharConstant || t == IntConstant) in main()
/external/javassist/src/main/javassist/compiler/
DLex.java258 return IntConstant; in readNumber()
272 return IntConstant; in readNumber()
299 return IntConstant; in readNumber()
DTokenId.java105 int IntConstant = 402; field
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_replace_constant_with_uniform.cpp62 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in MakeAccessChainInstruction()
218 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in IsApplicable()
Dtransformation_add_function.cpp435 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()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_replace_constant_with_uniform.cpp62 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in MakeAccessChainInstruction()
218 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in IsApplicable()
Dtransformation_add_function.cpp435 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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_replace_constant_with_uniform.cpp61 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in MakeAccessChainInstruction()
217 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in IsApplicable()
Dtransformation_add_function.cpp435 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()
/external/javassist/src/main/javassist/compiler/ast/
DIntConst.java68 newType = TokenId.IntConstant; in compute0()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dremove_struct_member_reduction_opportunity.cpp192 opt::analysis::IntConstant(int_type, {member - 1}); in AdjustAccessedIndices()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dremove_struct_member_reduction_opportunity.cpp192 opt::analysis::IntConstant(int_type, {member - 1}); in AdjustAccessedIndices()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/reduce/
Dremove_struct_member_reduction_opportunity.cpp194 opt::analysis::IntConstant(int_type, {member - 1}); in AdjustAccessedIndices()

123