Lines Matching defs:ConstantInt
51 class ConstantInt : public Constant {
54 ConstantInt(const ConstantInt &) LLVM_DELETED_FUNCTION;
55 ConstantInt(IntegerType *Ty, const APInt& V);
63 static ConstantInt *getTrue(LLVMContext &Context);
64 static ConstantInt *getFalse(LLVMContext &Context);
69 /// value. Otherwise return a ConstantInt for the given value.
72 /// Return a ConstantInt with the specified integer value for the specified
77 /// @brief Get a ConstantInt for a specific value.
78 static ConstantInt *get(IntegerType *Ty, uint64_t V,
81 /// Return a ConstantInt with the specified value for the specified type. The
85 /// @brief Get a ConstantInt for a specific signed value.
86 static ConstantInt *getSigned(IntegerType *Ty, int64_t V);
89 /// Return a ConstantInt with the specified value and an implied Type. The
91 static ConstantInt *get(LLVMContext &Context, const APInt &V);
93 /// Return a ConstantInt constructed from the string strStart with the given
95 static ConstantInt *get(IntegerType *Ty, StringRef Str,
99 /// value. Otherwise return a ConstantInt for the given value.
147 /// Although ConstantInt canonicalizes everything to an unsigned integer,
518 /// simple data values (i.e. ConstantInt/ConstantFP). This Constant node has no
642 /// data values (i.e. ConstantInt/ConstantFP). This Constant node has no
694 /// data values (i.e. ConstantInt/ConstantFP). This Constant node has no
723 /// i32/i64/float/double) and must be a ConstantFP or ConstantInt.