Lines Matching defs:Semantics
556 /// Parse a floating point expression using the float \p Semantics
558 bool parseRealValue(const fltSemantics &Semantics, APInt &Res);
870 bool emitRealValues(const fltSemantics &Semantics, unsigned *Count = nullptr);
871 bool addRealField(StringRef Name, const fltSemantics &Semantics, size_t Size);
872 bool parseDirectiveRealValue(StringRef IDVal, const fltSemantics &Semantics,
875 const fltSemantics &Semantics, SmallVectorImpl<APInt> &Values,
878 const fltSemantics &Semantics,
3814 bool MasmParser::parseRealValue(const fltSemantics &Semantics, APInt &Res) {
3835 APFloat Value(Semantics);
3839 Value = APFloat::getInf(Semantics);
3841 Value = APFloat::getNaN(Semantics, false, ~0);
3843 Value = APFloat::getZero(Semantics);
3849 unsigned SizeInBits = Value.getSizeInBits(Semantics);
3876 bool MasmParser::parseRealInstList(const fltSemantics &Semantics,
3900 parseRealInstList(Semantics, DuplicatedValues) || parseRParen())
3907 if (parseRealValue(Semantics, AsInt))
3922 bool MasmParser::emitRealValues(const fltSemantics &Semantics,
3928 if (parseRealInstList(Semantics, ValuesAsInt))
3940 bool MasmParser::addRealField(StringRef Name, const fltSemantics &Semantics,
3948 if (parseRealInstList(Semantics, RealInfo.AsIntValues))
3966 const fltSemantics &Semantics,
3970 if (emitRealValues(Semantics))
3972 } else if (addRealField("", Semantics, Size)) {
3981 const fltSemantics &Semantics,
3989 if (emitRealValues(Semantics, &Count))
3998 } else if (addRealField(Name, Semantics, Size)) {
4073 const fltSemantics *Semantics;
4076 Semantics = &APFloat::IEEEsingle();
4079 Semantics = &APFloat::IEEEdouble();
4082 Semantics = &APFloat::x87DoubleExtended();
4094 if (parseRealInstList(*Semantics, AsIntValues, AsmToken::RCurly) ||
4100 if (parseRealInstList(*Semantics, AsIntValues, AsmToken::Greater) ||
4107 if (parseRealValue(*Semantics, AsIntValues.back()))