MLIR 24.0.0git
CastOps.cpp File Reference
#include "mlir/Dialect/SPIRV/IR/SPIRVOps.h"
#include "SPIRVOpUtils.h"
#include "SPIRVParsingUtils.h"
#include "llvm/ADT/TypeSwitch.h"

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::spirv

Functions

static FailureOr< std::pair< Type, Type > > mlir::spirv::getCastOpOperandAndResultElementType (Operation *op)
static LogicalResult mlir::spirv::verifyCastOp (Operation *op, bool requireSameBitWidth=true, bool skipBitWidthCheck=false)