22 #include "mlir/Dialect/X86Vector/X86VectorDialect.cpp.inc"
24 void x86vector::X86VectorDialect::initialize() {
27 #include "mlir/Dialect/X86Vector/X86Vector.cpp.inc"
32 if (getSrc() && getConstantSrc())
33 return emitError(
"cannot use both src and constant_src");
36 return emitError(
"failed to verify that src and dst have same type");
38 if (getConstantSrc() && (getConstantSrc()->
getType() != getDst().
getType()))
40 "failed to verify that constant_src and dst have same type");
45 #define GET_OP_CLASSES
46 #include "mlir/Dialect/X86Vector/X86Vector.cpp.inc"
Include the generated interface declarations.
Type getType(OpFoldResult ofr)
Returns the int type of the integer in ofr.
InFlightDiagnostic emitError(Location loc)
Utility method to emit an error message using this location.
LogicalResult verify(Operation *op, bool verifyRecursively=true)
Perform (potentially expensive) checks of invariants, used to detect compiler bugs,...