Lines Matching defs:ComplexValue
1302 struct ComplexValue { struct
1304 bool IsInt;
1307 APSInt IntReal, IntImag;
1308 APFloat FloatReal, FloatImag;
1310 ComplexValue() : FloatReal(APFloat::Bogus()), FloatImag(APFloat::Bogus()) {} in ComplexValue() function
1312 void makeComplexFloat() { IsInt = false; } in makeComplexFloat()
1313 bool isComplexFloat() const { return !IsInt; } in isComplexFloat()
1314 APFloat &getComplexFloatReal() { return FloatReal; } in getComplexFloatReal()
1315 APFloat &getComplexFloatImag() { return FloatImag; } in getComplexFloatImag()
1317 void makeComplexInt() { IsInt = true; } in makeComplexInt()
1318 bool isComplexInt() const { return IsInt; } in isComplexInt()
1319 APSInt &getComplexIntReal() { return IntReal; } in getComplexIntReal()
1320 APSInt &getComplexIntImag() { return IntImag; } in getComplexIntImag()
1322 void moveInto(APValue &v) const { in moveInto()
1328 void setFrom(const APValue &v) { in setFrom()