MLIR  19.0.0git
Namespaces | Macros | Functions
ArithToAMDGPU.cpp File Reference
#include "mlir/Conversion/ArithToAMDGPU/ArithToAMDGPU.h"
#include "mlir/Dialect/AMDGPU/IR/AMDGPUDialect.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/Dialect/Arith/Utils/Utils.h"
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/IR/TypeUtilities.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Support/LogicalResult.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
#include "mlir/Conversion/Passes.h.inc"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 

Macros

#define GEN_PASS_DEF_ARITHTOAMDGPUCONVERSIONPASS
 

Functions

static Value castF32To (Type elementType, Value f32, Location loc, PatternRewriter &rewriter)
 
static Value castToF32 (Value value, Location loc, PatternRewriter &rewriter)
 
static Value clampInput (PatternRewriter &rewriter, Location loc, Type outElemType, Value source)
 

Macro Definition Documentation

◆ GEN_PASS_DEF_ARITHTOAMDGPUCONVERSIONPASS

#define GEN_PASS_DEF_ARITHTOAMDGPUCONVERSIONPASS

Definition at line 23 of file ArithToAMDGPU.cpp.

Function Documentation

◆ castF32To()

static Value castF32To ( Type  elementType,
Value  f32,
Location  loc,
PatternRewriter rewriter 
)
static

◆ castToF32()

static Value castToF32 ( Value  value,
Location  loc,
PatternRewriter rewriter 
)
static

◆ clampInput()

static Value clampInput ( PatternRewriter rewriter,
Location  loc,
Type  outElemType,
Value  source 
)
static