MLIR
20.0.0git
|
A helper class to simplify lowering operations with/without function calls. More...
#include "Dialect/SparseTensor/Transforms/Utils/CodegenUtils.h"
Public Member Functions | |
FuncCallOrInlineGenerator (TypeRange retTypes, ValueRange params, bool genCall) | |
SmallVector< Value > | genCallOrInline (OpBuilder &builder, Location loc) |
A helper class to simplify lowering operations with/without function calls.
Definition at line 78 of file CodegenUtils.h.
|
inline |
Definition at line 80 of file CodegenUtils.h.
|
inline |
Definition at line 85 of file CodegenUtils.h.
References mlir::OpBuilder::create(), mlir::get(), mlir::Block::getArguments(), mlir::Operation::getResults(), mlir::ValueRange::getTypes(), mlir::OpBuilder::setInsertionPoint(), and mlir::OpBuilder::setInsertionPointToStart().