MLIR 22.0.0git
CodegenEnv.cpp File Reference

Go to the source code of this file.

Functions

static bool isMaterializing (Value val)
 Returns true if tensor materializes uninitialized into the computation.
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.

Function Documentation

◆ isMaterializing()

bool isMaterializing ( Value val)
static

Returns true if tensor materializes uninitialized into the computation.

Definition at line 26 of file CodegenEnv.cpp.

References mlir::Value::getDefiningOp().

◆ sortDependentLoops()

void sortDependentLoops ( std::vector< LoopCoeffPair > & target)
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.

References target.

Referenced by mlir::sparse_tensor::CodegenEnv::startEmit().