|
My Project
|
#include <LinalgTraits.h>


Public Member Functions | |
| Value | getInput (unsigned i) |
Return the i-th input value. More... | |
| Optional< unsigned > | getIndexOfInput (Value value) |
| ShapedType | getInputShapedType (unsigned i) |
Return the i-th input buffer type. More... | |
| Operation::operand_range | getInputs () |
| Return the range over inputs. More... | |
| Value | getOutput (unsigned i) |
Return the i-th output. More... | |
| Optional< unsigned > | getIndexOfOutput (Value value) |
| ShapedType | getOutputShapedType (unsigned i) |
Return the i-th output buffer type. More... | |
| bool | hasBufferSemantics () |
| Query whether the op has only MemRef input and outputs. More... | |
| SmallVector< RankedTensorType, 4 > | getInputTensorTypes () |
| Query the subset of input operands that are of ranked tensor type. More... | |
| SmallVector< RankedTensorType, 4 > | getOutputTensorTypes () |
| Query the subset of output operands that are of ranked tensor type. More... | |
| Operation::operand_range | getOutputs () |
| Return the range over outputs. More... | |
| unsigned | getNumInputsAndOutputs () |
| Return the number of inputs and outputs. More... | |
| ShapedType | getShapedType (unsigned i) |
Return the i-th buffer type. More... | |
| Operation::operand_range | getInputsAndOutputs () |
| Return the range over inputs and outputs. More... | |
| unsigned | getNumParallelLoops () |
| unsigned | getNumReductionLoops () |
| unsigned | getNumWindowLoops () |
| unsigned | getNumLoops () |
Static Public Member Functions | |
| static LogicalResult | verifyTrait (Operation *op) |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::OpTrait::TraitBase< ConcreteType, StructuredOpTraits > | |
| Operation * | getOperation () |
| Return the ultimate Operation being worked on. More... | |
Static Protected Member Functions inherited from mlir::OpTrait::TraitBase< ConcreteType, StructuredOpTraits > | |
| static LogicalResult | verifyTrait (Operation *op) |
| static AbstractOperation::OperationProperties | getTraitProperties () |
This class provides the API for structured ops that are known to operate on buffers or tensors. This trait must be used in conjunction with an op definition or a trait that provides the methods getNumInputs and getNumOutputs. Use as a trait as follows:
class DotOp : public Op<DotOp, OpTrait::StructuredOpTraits> {
|
inline |
Return the index of value in the list of inputs if found, llvm::None otherwise.
|
inline |
Return the index of value in the list of output values if found, llvm::None otherwise.
|
inline |
Return the i-th input value.
|
inline |
Return the range over inputs.
|
inline |
Return the range over inputs and outputs.
|
inline |
Return the i-th input buffer type.
|
inline |
Query the subset of input operands that are of ranked tensor type.
|
inline |
Return the number of inputs and outputs.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return the i-th output.
|
inline |
Return the range over outputs.
|
inline |
Return the i-th output buffer type.
|
inline |
Query the subset of output operands that are of ranked tensor type.
|
inline |
Return the i-th buffer type.
|
inline |
Query whether the op has only MemRef input and outputs.
|
inlinestatic |
1.8.13