Searched refs:ConstantPrimitive (Results 1 – 1 of 1) sorted by relevance
189 class ConstantPrimitive : public Constant {190 ConstantPrimitive() = delete;191 ConstantPrimitive(const ConstantPrimitive &) = delete;192 ConstantPrimitive &operator=(const ConstantPrimitive &) = delete;197 static ConstantPrimitive *create(GlobalContext *Ctx, Type Ty, in create()200 new (Ctx->allocate<ConstantPrimitive>()) ConstantPrimitive(Ty, Value); in create()222 ConstantPrimitive(Type Ty, PrimType Value) : Constant(K, Ty), Value(Value) {} in ConstantPrimitive() function275 using ConstantInteger32 = ConstantPrimitive<int32_t, Operand::kConstInteger32>;276 using ConstantInteger64 = ConstantPrimitive<int64_t, Operand::kConstInteger64>;277 using ConstantFloat = ConstantPrimitive<float, Operand::kConstFloat>;[all …]