Lines Matching defs:APSInt
1 //===--- APValue.h - Union class for APFloat/APSInt/Complex -----*- C++ -*-===//
19 #include "llvm/ADT/APSInt.h"
36 /// [APSInt] [APFloat], [Complex APSInt] [Complex APFloat], [Expr + Offset],
39 typedef llvm::APSInt APSInt;
72 APSInt Real, Imag;
112 typedef llvm::AlignedCharArrayUnion<void *, APSInt, APFloat, ComplexAPSInt,
121 explicit APValue(APSInt I) : Kind(Uninitialized) {
130 APValue(APSInt R, APSInt I) : Kind(Uninitialized) {
200 APSInt &getInt() {
202 return *(APSInt*)(char*)Data.buffer;
204 const APSInt &getInt() const {
216 APSInt &getComplexIntReal() {
220 const APSInt &getComplexIntReal() const {
224 APSInt &getComplexIntImag() {
228 const APSInt &getComplexIntImag() const {
347 void setInt(APSInt I) {
349 *(APSInt *)(char *)Data.buffer = std::move(I);
362 void setComplexInt(APSInt R, APSInt I) {
406 new ((void*)Data.buffer) APSInt(1);