Home
last modified time | relevance | path

Searched refs:ExpressionFormat (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/llvm/unittests/FileCheck/
DFileCheckTest.cpp90 std::pair<ExpressionFormat::Kind, unsigned>> {
95 ExpressionFormat Format;
110 ExpressionFormat::Kind Kind; in SetUp()
112 AllowHex = Kind == ExpressionFormat::Kind::HexLower || in SetUp()
113 Kind == ExpressionFormat::Kind::HexUpper; in SetUp()
114 AllowUpperHex = Kind == ExpressionFormat::Kind::HexUpper; in SetUp()
115 Signed = Kind == ExpressionFormat::Kind::Signed; in SetUp()
116 Format = ExpressionFormat(Kind, Precision); in SetUp()
303 ::testing::Values(std::make_pair(ExpressionFormat::Kind::Unsigned, 0),
304 std::make_pair(ExpressionFormat::Kind::Signed, 0),
[all …]
/external/llvm-project/llvm/lib/FileCheck/
DFileCheckImpl.h39 struct ExpressionFormat { struct
64 bool operator==(const ExpressionFormat &Other) const { argument
69 bool operator!=(const ExpressionFormat &Other) const {
80 ExpressionFormat() : Value(Kind::NoFormat){}; in ExpressionFormat() function
81 explicit ExpressionFormat(Kind Value) : Value(Value), Precision(0){}; in ExpressionFormat() function
82 explicit ExpressionFormat(Kind Value, unsigned Precision) in ExpressionFormat() argument
188 virtual Expected<ExpressionFormat>
190 return ExpressionFormat(); in getImplicitFormat()
240 ExpressionFormat Format;
245 Expression(std::unique_ptr<ExpressionAST> AST, ExpressionFormat Format) in Expression()
[all …]
DFileCheck.cpp31 StringRef ExpressionFormat::toString() const { in toString()
47 Expected<std::string> ExpressionFormat::getWildcardRegex() const { in getWildcardRegex()
76 ExpressionFormat::getMatchingString(ExpressionValue IntegerValue) const { in getMatchingString()
121 ExpressionFormat::valueFromStringRepr(StringRef StrVal, in valueFromStringRepr()
373 Expected<ExpressionFormat>
375 Expected<ExpressionFormat> LeftFormat = LeftOperand->getImplicitFormat(SM); in getImplicitFormat()
376 Expected<ExpressionFormat> RightFormat = RightOperand->getImplicitFormat(SM); in getImplicitFormat()
386 if (*LeftFormat != ExpressionFormat::Kind::NoFormat && in getImplicitFormat()
387 *RightFormat != ExpressionFormat::Kind::NoFormat && in getImplicitFormat()
396 return *LeftFormat != ExpressionFormat::Kind::NoFormat ? *LeftFormat in getImplicitFormat()
[all …]