MLIR  20.0.0git
Functions
DecomposeCallGraphTypes.cpp File Reference
#include "mlir/Dialect/Func/Transforms/DecomposeCallGraphTypes.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/IR/BuiltinOps.h"

Go to the source code of this file.

Functions

static SmallVector< ValuedecomposeValue (OpBuilder &builder, Location loc, Value value, const TypeConverter *converter)
 If the given value can be decomposed with the type converter, decompose it. More...
 

Function Documentation

◆ decomposeValue()

static SmallVector<Value> decomposeValue ( OpBuilder builder,
Location  loc,
Value  value,
const TypeConverter converter 
)
static

If the given value can be decomposed with the type converter, decompose it.

Otherwise, return the given value.

Definition at line 24 of file DecomposeCallGraphTypes.cpp.

References mlir::TypeConverter::convertType(), mlir::Value::getType(), and mlir::TypeConverter::materializeTargetConversion().