Lines Matching defs:ComplexValue
952 struct ComplexValue { struct
954 bool IsInt;
957 APSInt IntReal, IntImag;
958 APFloat FloatReal, FloatImag;
960 ComplexValue() : FloatReal(APFloat::Bogus), FloatImag(APFloat::Bogus) {} in ComplexValue() argument
962 void makeComplexFloat() { IsInt = false; } in makeComplexFloat()
963 bool isComplexFloat() const { return !IsInt; } in isComplexFloat()
964 APFloat &getComplexFloatReal() { return FloatReal; } in getComplexFloatReal()
965 APFloat &getComplexFloatImag() { return FloatImag; } in getComplexFloatImag()
967 void makeComplexInt() { IsInt = true; } in makeComplexInt()
968 bool isComplexInt() const { return IsInt; } in isComplexInt()
969 APSInt &getComplexIntReal() { return IntReal; } in getComplexIntReal()
970 APSInt &getComplexIntImag() { return IntImag; } in getComplexIntImag()
972 void moveInto(APValue &v) const { in moveInto()
978 void setFrom(const APValue &v) { in setFrom()