Lines Matching refs: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,
3813 bool MasmParser::parseRealValue(const fltSemantics &Semantics, APInt &Res) {
3834 APFloat Value(Semantics);
3838 Value = APFloat::getInf(Semantics);
3840 Value = APFloat::getNaN(Semantics, false, ~0);
3842 Value = APFloat::getZero(Semantics);
3848 unsigned SizeInBits = Value.getSizeInBits(Semantics);
3875 bool MasmParser::parseRealInstList(const fltSemantics &Semantics,
3899 parseRealInstList(Semantics, DuplicatedValues) || parseRParen())
3906 if (parseRealValue(Semantics, AsInt))
3921 bool MasmParser::emitRealValues(const fltSemantics &Semantics,
3927 if (parseRealInstList(Semantics, ValuesAsInt))
3939 bool MasmParser::addRealField(StringRef Name, const fltSemantics &Semantics,
3947 if (parseRealInstList(Semantics, RealInfo.AsIntValues))
3965 const fltSemantics &Semantics,
3969 if (emitRealValues(Semantics))
3971 } else if (addRealField("", Semantics, Size)) {
3980 const fltSemantics &Semantics,
3988 if (emitRealValues(Semantics, &Count))
3997 } else if (addRealField(Name, Semantics, Size)) {
4072 const fltSemantics *Semantics;
4075 Semantics = &APFloat::IEEEsingle();
4078 Semantics = &APFloat::IEEEdouble();
4081 Semantics = &APFloat::x87DoubleExtended();
4093 if (parseRealInstList(*Semantics, AsIntValues, AsmToken::RCurly) ||
4099 if (parseRealInstList(*Semantics, AsIntValues, AsmToken::Greater) ||
4106 if (parseRealValue(*Semantics, AsIntValues.back()))