[mlir][IR] CommonTypeConstraints: fully qualify low-precision FP type… (#123738)
…s isa<> calls in isa<> calls To ease integration with downstream projects. Follow-up to PR #123326.
This commit is contained in:
@@ -329,31 +329,31 @@ def F64 : F<64>;
|
||||
def F80 : F<80>;
|
||||
def F128 : F<128>;
|
||||
|
||||
def BF16 : Type<CPred<"::llvm::isa<BFloat16Type>($_self)">, "bfloat16 type">,
|
||||
def BF16 : Type<CPred<"::llvm::isa<::mlir::BFloat16Type>($_self)">, "bfloat16 type">,
|
||||
BuildableType<"$_builder.getType<BFloat16Type>()">;
|
||||
def TF32 : Type<CPred<"::llvm::isa<FloatTF32Type>($_self)">, "tf32 type">,
|
||||
def TF32 : Type<CPred<"::llvm::isa<::mlir::FloatTF32Type>($_self)">, "tf32 type">,
|
||||
BuildableType<"$_builder.getType<FloatTF32Type>()">;
|
||||
def F8E4M3FN : Type<CPred<"::llvm::isa<Float8E4M3FNType>($_self)">, "f8E4M3FN type">,
|
||||
def F8E4M3FN : Type<CPred<"::llvm::isa<::mlir::Float8E4M3FNType>($_self)">, "f8E4M3FN type">,
|
||||
BuildableType<"$_builder.getType<Float8E4M3FNType>()">;
|
||||
def F8E5M2 : Type<CPred<"::llvm::isa<Float8E5M2Type>($_self)">, "f8E5M2 type">,
|
||||
def F8E5M2 : Type<CPred<"::llvm::isa<::mlir::Float8E5M2Type>($_self)">, "f8E5M2 type">,
|
||||
BuildableType<"$_builder.getType<Float8E5M2Type>()">;
|
||||
def F8E4M3 : Type<CPred<"::llvm::isa<Float8E4M3Type>($_self)">, "f8E4M3 type">,
|
||||
def F8E4M3 : Type<CPred<"::llvm::isa<::mlir::Float8E4M3Type>($_self)">, "f8E4M3 type">,
|
||||
BuildableType<"$_builder.getType<Float8E4M3Type>()">;
|
||||
def F8E4M3FNUZ : Type<CPred<"::llvm::isa<Float8E4M3FNUZType>($_self)">, "f8E4M3FNUZ type">,
|
||||
def F8E4M3FNUZ : Type<CPred<"::llvm::isa<::mlir::Float8E4M3FNUZType>($_self)">, "f8E4M3FNUZ type">,
|
||||
BuildableType<"$_builder.getType<Float8E4M3FNUZType>()">;
|
||||
def F8E4M3B11FNUZ : Type<CPred<"::llvm::isa<Float8E4M3B11FNUZType>($_self)">, "f8E4M3B11FNUZ type">,
|
||||
def F8E4M3B11FNUZ : Type<CPred<"::llvm::isa<::mlir::Float8E4M3B11FNUZType>($_self)">, "f8E4M3B11FNUZ type">,
|
||||
BuildableType<"$_builder.getType<Float8E4M3B11FNUZType>()">;
|
||||
def F8E5M2FNUZ : Type<CPred<"::llvm::isa<Float8E5M2FNUZType>($_self)">, "f8E5M2FNUZ type">,
|
||||
def F8E5M2FNUZ : Type<CPred<"::llvm::isa<::mlir::Float8E5M2FNUZType>($_self)">, "f8E5M2FNUZ type">,
|
||||
BuildableType<"$_builder.getType<Float8E5M2FNUZType>()">;
|
||||
def F8E3M4 : Type<CPred<"::llvm::isa<Float8E3M4Type>($_self)">, "f8E3M4 type">,
|
||||
def F8E3M4 : Type<CPred<"::llvm::isa<::mlir::Float8E3M4Type>($_self)">, "f8E3M4 type">,
|
||||
BuildableType<"$_builder.getType<Float8E3M4Type>()">;
|
||||
def F4E2M1FN : Type<CPred<"::llvm::isa<Float4E2M1FNType>($_self)">, "f4E2M1FN type">,
|
||||
def F4E2M1FN : Type<CPred<"::llvm::isa<::mlir::Float4E2M1FNType>($_self)">, "f4E2M1FN type">,
|
||||
BuildableType<"$_builder.getType<Float4E2M1FNType>()">;
|
||||
def F6E2M3FN : Type<CPred<"::llvm::isa<Float6E2M3FNType>($_self)">, "f6E2M3FN type">,
|
||||
def F6E2M3FN : Type<CPred<"::llvm::isa<::mlir::Float6E2M3FNType>($_self)">, "f6E2M3FN type">,
|
||||
BuildableType<"$_builder.getType<Float6E2M3FNType>()">;
|
||||
def F6E3M2FN : Type<CPred<"::llvm::isa<Float6E3M2FNType($_self)">, "f6E3M2FN type">,
|
||||
def F6E3M2FN : Type<CPred<"::llvm::isa<::mlir::Float6E3M2FNType($_self)">, "f6E3M2FN type">,
|
||||
BuildableType<"$_builder.getType<Float6E3M2FNType>()">;
|
||||
def F8E8M0FNU : Type<CPred<"::llvm::isa<Float8E8M0FNUType>($_self)">, "f8E8M0FNU type">,
|
||||
def F8E8M0FNU : Type<CPred<"::llvm::isa<::mlir::Float8E8M0FNUType>($_self)">, "f8E8M0FNU type">,
|
||||
BuildableType<"$_builder.getType<Float8E8M0FNUType>()">;
|
||||
|
||||
def AnyComplex : Type<CPred<"::llvm::isa<::mlir::ComplexType>($_self)">,
|
||||
|
||||
Reference in New Issue
Block a user