Home
last modified time | relevance | path

Searched refs:ScalarConstant (Results 1 – 8 of 8) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Dconstants.h44 class ScalarConstant; variable
67 virtual ScalarConstant* AsScalarConstant() { return nullptr; } in AsScalarConstant()
78 virtual const ScalarConstant* AsScalarConstant() const { return nullptr; } in AsScalarConstant()
145 class ScalarConstant : public Constant {
147 ScalarConstant() = delete;
148 ScalarConstant* AsScalarConstant() override { return this; } in AsScalarConstant()
149 const ScalarConstant* AsScalarConstant() const override { return this; } in AsScalarConstant()
167 ScalarConstant(const Type* ty, const std::vector<uint32_t>& w) in ScalarConstant() function
169 ScalarConstant(const Type* ty, std::vector<uint32_t>&& w) in ScalarConstant() function
175 class IntConstant : public ScalarConstant {
[all …]
Dfold.cpp265 if (const analysis::ScalarConstant* scalar = operand->AsScalarConstant()) { in FoldScalars()
545 if (const analysis::ScalarConstant* scalar_component = in FoldVectors()
620 if (const analysis::ScalarConstant* scalar = cst->AsScalarConstant()) in IsFoldableConstant()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconstants.h44 class ScalarConstant; variable
67 virtual ScalarConstant* AsScalarConstant() { return nullptr; } in AsScalarConstant()
78 virtual const ScalarConstant* AsScalarConstant() const { return nullptr; } in AsScalarConstant()
145 class ScalarConstant : public Constant {
147 ScalarConstant() = delete;
148 ScalarConstant* AsScalarConstant() override { return this; } in AsScalarConstant()
149 const ScalarConstant* AsScalarConstant() const override { return this; } in AsScalarConstant()
167 ScalarConstant(const Type* ty, const std::vector<uint32_t>& w) in ScalarConstant() function
169 ScalarConstant(const Type* ty, std::vector<uint32_t>&& w) in ScalarConstant() function
175 class IntConstant : public ScalarConstant {
[all …]
Dfold.cpp265 if (const analysis::ScalarConstant* scalar = operand->AsScalarConstant()) { in FoldScalars()
545 if (const analysis::ScalarConstant* scalar_component = in FoldVectors()
620 if (const analysis::ScalarConstant* scalar = cst->AsScalarConstant()) in IsFoldableConstant()
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/fact_manager/
Dconstant_uniform_facts_test.cpp31 using opt::analysis::ScalarConstant;
/external/deqp-deps/SPIRV-Tools/test/fuzz/fact_manager/
Dconstant_uniform_facts_test.cpp31 using opt::analysis::ScalarConstant;
/external/tensorflow/tensorflow/compiler/xla/service/
Dheap_simulator_test.cc416 TEST_F(HeapSimulatorTest, ScalarConstant) { in TEST_F() argument
Dbuffer_assignment_test.cc341 TEST_F(BufferAssignmentTest, ScalarConstant) { in TEST_F() argument