Lines Matching defs:ComplexValue
877 struct ComplexValue { struct
879 bool IsInt;
882 APSInt IntReal, IntImag;
883 APFloat FloatReal, FloatImag;
885 ComplexValue() : FloatReal(APFloat::Bogus), FloatImag(APFloat::Bogus) {} in ComplexValue() function
887 void makeComplexFloat() { IsInt = false; } in makeComplexFloat()
888 bool isComplexFloat() const { return !IsInt; } in isComplexFloat()
889 APFloat &getComplexFloatReal() { return FloatReal; } in getComplexFloatReal()
890 APFloat &getComplexFloatImag() { return FloatImag; } in getComplexFloatImag()
892 void makeComplexInt() { IsInt = true; } in makeComplexInt()
893 bool isComplexInt() const { return IsInt; } in isComplexInt()
894 APSInt &getComplexIntReal() { return IntReal; } in getComplexIntReal()
895 APSInt &getComplexIntImag() { return IntImag; } in getComplexIntImag()
897 void moveInto(APValue &v) const { in moveInto()
903 void setFrom(const APValue &v) { in setFrom()