Lines Matching refs:ConstantPrimitive
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() function
275 using ConstantInteger32 = ConstantPrimitive<int32_t, Operand::kConstInteger32>;
276 using ConstantInteger64 = ConstantPrimitive<int64_t, Operand::kConstInteger64>;
277 using ConstantFloat = ConstantPrimitive<float, Operand::kConstFloat>;
278 using ConstantDouble = ConstantPrimitive<double, Operand::kConstDouble>;