#include "mlir/Interfaces/InferTypeOpInterface.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/Matchers.h"
#include "llvm/Support/FormatVariadic.h"
usingnamespacemlir;
namespace mlir {
#include "mlir/Interfaces/InferTypeOpInterface.cpp.inc"
}
LogicalResult
mlir::reifyResultShapes(OpBuilder &b, Operation *op,
ReifiedRankedShapedTypeDims &reifiedReturnShapes) { … }
bool ShapeAdaptor::hasRank() const { … }
Type ShapeAdaptor::getElementType() const { … }
void ShapeAdaptor::getDims(SmallVectorImpl<int64_t> &res) const { … }
void ShapeAdaptor::getDims(ShapedTypeComponents &res) const { … }
int64_t ShapeAdaptor::getDimSize(int index) const { … }
int64_t ShapeAdaptor::getRank() const { … }
bool ShapeAdaptor::hasStaticShape() const { … }
int64_t ShapeAdaptor::getNumElements() const { … }
void ShapeAdaptor::dump() const { … }
ShapeAdaptor ValueShapeRange::getValueAsShape(int index) { … }
ShapeAdaptor ValueShapeRange::getShape(Value val) const { … }
ShapeAdaptor ValueShapeRange::getShape(int index) const { … }
LogicalResult mlir::detail::inferReturnTensorTypes(
ArrayRef<ShapedTypeComponents> retComponents,
SmallVectorImpl<Type> &inferredReturnTypes) { … }
LogicalResult mlir::detail::verifyInferredResultTypes(Operation *op) { … }