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