Lines Matching defs:ComplexValue
645 struct ComplexValue { struct
647 bool IsInt;
650 APSInt IntReal, IntImag;
651 APFloat FloatReal, FloatImag;
653 ComplexValue() : FloatReal(APFloat::Bogus), FloatImag(APFloat::Bogus) {} in ComplexValue() argument
655 void makeComplexFloat() { IsInt = false; } in makeComplexFloat()
656 bool isComplexFloat() const { return !IsInt; } in isComplexFloat()
657 APFloat &getComplexFloatReal() { return FloatReal; } in getComplexFloatReal()
658 APFloat &getComplexFloatImag() { return FloatImag; } in getComplexFloatImag()
660 void makeComplexInt() { IsInt = true; } in makeComplexInt()
661 bool isComplexInt() const { return IsInt; } in isComplexInt()
662 APSInt &getComplexIntReal() { return IntReal; } in getComplexIntReal()
663 APSInt &getComplexIntImag() { return IntImag; } in getComplexIntImag()
665 void moveInto(APValue &v) const { in moveInto()
671 void setFrom(const APValue &v) { in setFrom()