Searched refs:ExpressionFormat (Results 1 – 2 of 2) sorted by relevance
38 struct ExpressionFormat { struct65 bool operator==(const ExpressionFormat &Other) const { argument70 bool operator!=(const ExpressionFormat &Other) const {81 ExpressionFormat() : Value(Kind::NoFormat){}; in ExpressionFormat() argument82 explicit ExpressionFormat(Kind Value) : Value(Value), Precision(0){}; in ExpressionFormat() argument83 explicit ExpressionFormat(Kind Value, unsigned Precision) in ExpressionFormat() argument85 explicit ExpressionFormat(Kind Value, unsigned Precision, bool AlternateForm) in ExpressionFormat() argument145 virtual Expected<ExpressionFormat>147 return ExpressionFormat(); in getImplicitFormat()195 ExpressionFormat Format;[all …]
32 StringRef ExpressionFormat::toString() const { in toString()48 Expected<std::string> ExpressionFormat::getWildcardRegex() const { in getWildcardRegex()81 ExpressionFormat::getMatchingString(APInt IntValue) const { in getMatchingString()137 APInt ExpressionFormat::valueFromStringRepr(StringRef StrVal, in valueFromStringRepr()241 Expected<ExpressionFormat>243 Expected<ExpressionFormat> LeftFormat = LeftOperand->getImplicitFormat(SM); in getImplicitFormat()244 Expected<ExpressionFormat> RightFormat = RightOperand->getImplicitFormat(SM); in getImplicitFormat()254 if (*LeftFormat != ExpressionFormat::Kind::NoFormat && in getImplicitFormat()255 *RightFormat != ExpressionFormat::Kind::NoFormat && in getImplicitFormat()264 return *LeftFormat != ExpressionFormat::Kind::NoFormat ? *LeftFormat in getImplicitFormat()[all …]