MLIR  19.0.0git
Namespaces | Macros | Functions
EmulateUnsupportedFloats.cpp File Reference
#include "mlir/Dialect/Arith/Transforms/Passes.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/Location.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Transforms/DialectConversion.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/ErrorHandling.h"
#include <optional>
#include "mlir/Dialect/Arith/Transforms/Passes.h.inc"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::arith
 

Macros

#define GEN_PASS_DEF_ARITHEMULATEUNSUPPORTEDFLOATS
 

Functions

static std::optional< FloatTypeparseFloatType (MLIRContext *ctx, StringRef name)
 Map strings to float types. More...
 

Macro Definition Documentation

◆ GEN_PASS_DEF_ARITHEMULATEUNSUPPORTEDFLOATS

#define GEN_PASS_DEF_ARITHEMULATEUNSUPPORTEDFLOATS

Definition at line 26 of file EmulateUnsupportedFloats.cpp.

Function Documentation

◆ parseFloatType()

static std::optional<FloatType> parseFloatType ( MLIRContext ctx,
StringRef  name 
)
static