| MLIR
    22.0.0git
    | 
#include "mlir/Query/Matcher/VariantValue.h"
| Public Member Functions | |
| VariantValue () | |
| VariantValue (const VariantValue &other) | |
| ~VariantValue () | |
| VariantValue & | operator= (const VariantValue &other) | 
| VariantValue (const llvm::StringRef string) | |
| VariantValue (const VariantMatcher &matcher) | |
| VariantValue (int64_t signedValue) | |
| VariantValue (bool setBoolean) | |
| bool | isString () const | 
| const llvm::StringRef & | getString () const | 
| void | setString (const llvm::StringRef &string) | 
| bool | isMatcher () const | 
| const VariantMatcher & | getMatcher () const | 
| void | setMatcher (const VariantMatcher &matcher) | 
| bool | isSigned () const | 
| int64_t | getSigned () const | 
| void | setSigned (int64_t signedValue) | 
| bool | isBoolean () const | 
| bool | getBoolean () const | 
| void | setBoolean (bool booleanValue) | 
| std::string | getTypeAsString () const | 
| operator bool () const | |
| bool | hasValue () const | 
Definition at line 82 of file VariantValue.h.
| 
 | inline | 
Definition at line 84 of file VariantValue.h.
| mlir::query::matcher::VariantValue::VariantValue | ( | const VariantValue & | other | ) | 
Definition at line 95 of file VariantValue.cpp.
| mlir::query::matcher::VariantValue::~VariantValue | ( | ) | 
Definition at line 118 of file VariantValue.cpp.
| mlir::query::matcher::VariantValue::VariantValue | ( | const llvm::StringRef | string | ) | 
Definition at line 100 of file VariantValue.cpp.
References mlir::String.
| mlir::query::matcher::VariantValue::VariantValue | ( | const VariantMatcher & | matcher | ) | 
Definition at line 105 of file VariantValue.cpp.
References mlir::query::matcher::Matcher.
| mlir::query::matcher::VariantValue::VariantValue | ( | int64_t | signedValue | ) | 
Definition at line 110 of file VariantValue.cpp.
| mlir::query::matcher::VariantValue::VariantValue | ( | bool | setBoolean | ) | 
Definition at line 114 of file VariantValue.cpp.
References mlir::query::matcher::Boolean, and setBoolean().
| bool mlir::query::matcher::VariantValue::getBoolean | ( | ) | const | 
Definition at line 174 of file VariantValue.cpp.
Referenced by mlir::query::matcher::internal::ArgTypeTraits< bool >::get(), and operator=().
| const VariantMatcher & mlir::query::matcher::VariantValue::getMatcher | ( | ) | const | 
Definition at line 196 of file VariantValue.cpp.
References isMatcher().
Referenced by mlir::query::matcher::internal::VariadicOperatorMatcherDescriptor::create(), mlir::query::matcher::internal::ArgTypeTraits< DynMatcher >::get(), operator=(), and mlir::query::matcher::internal::Parser::parseMatcherExpression().
| int64_t mlir::query::matcher::VariantValue::getSigned | ( | ) | const | 
Definition at line 164 of file VariantValue.cpp.
Referenced by mlir::query::matcher::internal::ArgTypeTraits< int64_t >::get(), and operator=().
| const llvm::StringRef & mlir::query::matcher::VariantValue::getString | ( | ) | const | 
Definition at line 183 of file VariantValue.cpp.
References isString().
Referenced by mlir::query::matcher::internal::ArgTypeTraits< llvm::StringRef >::get(), and operator=().
| std::string mlir::query::matcher::VariantValue::getTypeAsString | ( | ) | const | 
Definition at line 207 of file VariantValue.cpp.
Referenced by mlir::query::matcher::internal::Parser::parseMatcherExpression().
| 
 | inline | 
Definition at line 118 of file VariantValue.h.
Referenced by operator bool().
| bool mlir::query::matcher::VariantValue::isBoolean | ( | ) | const | 
Definition at line 172 of file VariantValue.cpp.
Referenced by mlir::query::matcher::internal::ArgTypeTraits< bool >::hasCorrectType().
| bool mlir::query::matcher::VariantValue::isMatcher | ( | ) | const | 
Definition at line 194 of file VariantValue.cpp.
Referenced by mlir::query::matcher::internal::VariadicOperatorMatcherDescriptor::create(), getMatcher(), mlir::query::matcher::internal::ArgTypeTraits< DynMatcher >::hasCorrectType(), and mlir::query::matcher::internal::Parser::parseMatcherExpression().
| bool mlir::query::matcher::VariantValue::isSigned | ( | ) | const | 
Definition at line 162 of file VariantValue.cpp.
Referenced by mlir::query::matcher::internal::ArgTypeTraits< int64_t >::hasCorrectType().
| bool mlir::query::matcher::VariantValue::isString | ( | ) | const | 
Definition at line 181 of file VariantValue.cpp.
Referenced by getString(), and mlir::query::matcher::internal::ArgTypeTraits< llvm::StringRef >::hasCorrectType().
| 
 | inlineexplicit | 
Definition at line 117 of file VariantValue.h.
References hasValue().
| VariantValue & mlir::query::matcher::VariantValue::operator= | ( | const VariantValue & | other | ) | 
Definition at line 120 of file VariantValue.cpp.
References getBoolean(), getMatcher(), getSigned(), getString(), setBoolean(), setMatcher(), setSigned(), and setString().
| void mlir::query::matcher::VariantValue::setBoolean | ( | bool | booleanValue | ) | 
Definition at line 176 of file VariantValue.cpp.
Referenced by operator=(), and VariantValue().
| void mlir::query::matcher::VariantValue::setMatcher | ( | const VariantMatcher & | matcher | ) | 
Definition at line 201 of file VariantValue.cpp.
Referenced by operator=().
| void mlir::query::matcher::VariantValue::setSigned | ( | int64_t | signedValue | ) | 
Definition at line 166 of file VariantValue.cpp.
Referenced by operator=().
| void mlir::query::matcher::VariantValue::setString | ( | const llvm::StringRef & | string | ) | 
Definition at line 188 of file VariantValue.cpp.
Referenced by operator=().