MLIR
20.0.0git
|
#include "CodegenEnv.h"
#include "mlir/Dialect/Bufferization/IR/Bufferization.h"
#include "mlir/Dialect/Linalg/Utils/Utils.h"
#include "mlir/Dialect/SparseTensor/IR/SparseTensorType.h"
#include "mlir/Dialect/Tensor/IR/Tensor.h"
#include <optional>
Go to the source code of this file.
Functions | |
static bool | isMaterializing (Value val) |
Returns true if tensor materializes uninitialized into the computation. More... | |
static void | sortDependentLoops (std::vector< LoopCoeffPair > &target) |
Sorts the dependent loops such that it is ordered in the same sequence in which loops will be generated. More... | |
|
static |
Returns true if tensor materializes uninitialized into the computation.
Definition at line 26 of file CodegenEnv.cpp.
References mlir::Value::getDefiningOp().
Referenced by mlir::sparse_tensor::CodegenEnv::isAdmissibleTensorExp().
|
static |
Sorts the dependent loops such that it is ordered in the same sequence in which loops will be generated.
Definition at line 33 of file CodegenEnv.cpp.
Referenced by mlir::sparse_tensor::CodegenEnv::startEmit().