Searched refs:ScalarConstant (Results 1 – 13 of 13) sorted by relevance
44 class ScalarConstant; variable67 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()182 ScalarConstant(const Type* ty, const std::vector<uint32_t>& w) in ScalarConstant() function184 ScalarConstant(const Type* ty, std::vector<uint32_t>&& w) in ScalarConstant() function190 class IntConstant : public ScalarConstant {[all …]
265 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()
44 class ScalarConstant; variable67 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() function169 ScalarConstant(const Type* ty, std::vector<uint32_t>&& w) in ScalarConstant() function175 class IntConstant : public ScalarConstant {[all …]
266 if (const analysis::ScalarConstant* scalar = operand->AsScalarConstant()) { in FoldScalars()546 if (const analysis::ScalarConstant* scalar_component = in FoldVectors()621 if (const analysis::ScalarConstant* scalar = cst->AsScalarConstant()) in IsFoldableConstant()
31 using opt::analysis::ScalarConstant;
100 const analysis::ScalarConstant* result = in TEST_P()
99 const analysis::ScalarConstant* result = in TEST_P()
416 TEST_F(HeapSimulatorTest, ScalarConstant) { in TEST_F() argument
358 TEST_F(BufferAssignmentTest, ScalarConstant) { in TEST_F() argument