|
MLIR 22.0.0git
|
#include "DimLvlMapParser.h"Go to the source code of this file.
Macros | |
| #define | FAILURE_IF_FAILED(RES) |
| #define | FAILURE_IF_NULLOPT_OR_FAILED(RES) |
| #define | ERROR_IF(COND, MSG) |
Functions | |
| static bool | didntSucceed (OptionalParseResult res) |
| Helper function for FAILURE_IF_NULLOPT_OR_FAILED to avoid duplicating its RES parameter. | |
| static Twine | nth (Var::Num n) |
| #define ERROR_IF | ( | COND, | |
| MSG ) |
Definition at line 32 of file DimLvlMapParser.cpp.
Referenced by mlir::sparse_tensor::ir_detail::LvlTypeParser::parseLvlType().
| #define FAILURE_IF_FAILED | ( | RES | ) |
Definition at line 15 of file DimLvlMapParser.cpp.
Referenced by mlir::sparse_tensor::ir_detail::DimLvlMapParser::parseDimLvlMap(), and mlir::sparse_tensor::ir_detail::LvlTypeParser::parseLvlType().
| #define FAILURE_IF_NULLOPT_OR_FAILED | ( | RES | ) |
Definition at line 26 of file DimLvlMapParser.cpp.
|
inlinestatic |
Helper function for FAILURE_IF_NULLOPT_OR_FAILED to avoid duplicating its RES parameter.
Definition at line 22 of file DimLvlMapParser.cpp.
References mlir::OptionalParseResult::has_value().
|
inlinestatic |