| /llvm-project-15.0.7/mlir/python/mlir/dialects/ |
| H A D | _pdl_ops_ext.py | 48 def _get_type_attr(type: Union[TypeAttr, Type]) -> TypeAttr: argument 51 return TypeAttr.get(type) 258 type: Optional[Union[TypeAttr, Type]] = None, argument 271 types: Sequence[Union[TypeAttr, Type]] = [], argument
|
| H A D | _ml_program_ops_ext.py | 48 type = TypeAttr.get(type) 67 return FunctionType(TypeAttr(self.attributes["function_type"]).value)
|
| H A D | _func_ops_ext.py | 58 type = TypeAttr.get(type) 77 return FunctionType(TypeAttr(self.attributes["function_type"]).value) 214 func_op.attributes["function_type"] = TypeAttr.get(function_type)
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | FunctionInterfaces.cpp | 155 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in insertFunctionArguments() 199 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in insertFunctionResults() 221 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in eraseFunctionArguments() 242 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in eraseFunctionResults() 284 op->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in setFunctionType()
|
| /llvm-project-15.0.7/cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/ |
| H A D | mlir-support.cpp | 37 mlir::Attribute TypeAttr = mlir::TypeAttr::get(IndexType); variable
|
| H A D | mlir-support.gdb | 125 # CHECK-LABEL: +print TypeAttr 126 print TypeAttr 127 # CHECK: typeID = mlir::TypeID::get<mlir::TypeAttr>()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/MLProgram/IR/ |
| H A D | MLProgramOps.cpp | 85 TypeAttr &typeAttr, Attribute &attr) { in parseTypedInitialValue() 96 typeAttr = TypeAttr::get(type); in parseTypedInitialValue() 101 TypeAttr type, Attribute attr) { in printTypedInitialValue()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Attributes.td | 39 class TypeAttr<string S, list<AttrProperty> P> : Attr<S, P>; 75 def ByVal : TypeAttr<"byval", [ParamAttr]>; 78 def ByRef : TypeAttr<"byref", [ParamAttr]>; 103 def ElementType : TypeAttr<"elementtype", [ParamAttr]>; 118 def InAlloca : TypeAttr<"inalloca", [ParamAttr]>; 211 def Preallocated : TypeAttr<"preallocated", [FnAttr, ParamAttr]>; 257 def StructRet : TypeAttr<"sret", [ParamAttr]>;
|
| /llvm-project-15.0.7/mlir/test/lib/IR/ |
| H A D | TestFunc.cpp | 39 typesToInsert.push_back(insert[1].cast<TypeAttr>().getValue()); in runOnOperation() 76 typesToInsert.push_back(insert[1].cast<TypeAttr>().getValue()); in runOnOperation()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Tosa/Utils/ |
| H A D | QuantUtils.h | 63 TypeAttr buildQTypeAttrFromMinMax(OpBuilder builder, Type inputDType,
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Utils/ |
| H A D | QuantUtils.cpp | 334 TypeAttr 340 return TypeAttr::get(buildQTypeFromMinMax(builder, inputDtype, minAttr, in buildQTypeAttrFromMinMax()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Attr.h | 111 class TypeAttr : public Attr { 113 TypeAttr(ASTContext &Context, const AttributeCommonInfo &CommonInfo, in TypeAttr() function
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFTypePrinter.cpp | 401 auto TypeAttr = C.find(DW_AT_type); in appendTemplateParameters() local 403 appendQualifiedName(TypeAttr ? resolveReferencedType(C, *TypeAttr) in appendTemplateParameters()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Quant/IR/ |
| H A D | QuantOps.cpp | 48 if (auto typeAttr = quantSpec.dyn_cast<TypeAttr>()) { in isValidQuantizationSpec()
|
| /llvm-project-15.0.7/mlir/test/mlir-tblgen/ |
| H A D | op-attribute.td | 281 TypeAttr:$type_attr 299 …ttr && !(((tblgen_some_type_attr.isa<::mlir::TypeAttr>())) && ((tblgen_some_type_attr.cast<::mlir:… 302 …n_type_attr && !(((tblgen_type_attr.isa<::mlir::TypeAttr>())) && ((tblgen_type_attr.cast<::mlir::T…
|
| H A D | op-python-bindings.td | 210 // CHECK: _ods_ir.TypeAttr(_ods_result_type_source_attr).value 211 // CHECK: if _ods_ir.TypeAttr.isinstance(_ods_result_type_source_attr) else 214 let arguments = (ins TypeAttr:$type); 221 let arguments = (ins TypeAttr:$type);
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Attr.td | 590 class TypeAttr : Attr; 1905 def BTFTypeTag : TypeAttr { 2015 def ObjCKindOf : TypeAttr { 2358 def Regparm : TypeAttr { 2434 def NoDeref : TypeAttr { 2854 def ObjCGC : TypeAttr { 2906 def VectorSize : TypeAttr { 3563 def Ptr32 : TypeAttr { 3568 def Ptr64 : TypeAttr { 3573 def SPtr : TypeAttr { [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/PDLToPDLInterp/ |
| H A D | PDLToPDLInterp.cpp | 345 if (TypeAttr typeAttr = rawTypeAttr.dyn_cast<TypeAttr>()) in getValueAt() 403 loc, val, ans->getValue().cast<TypeAttr>(), success, failure); in generate() 618 if (TypeAttr type = typeOp.typeAttr()) { in generateRewriter() 812 if (TypeAttr typeAttr = typeOp.typeAttr()) { in generateRewriter()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/ |
| H A D | DecorateCompositeTypeLayoutPass.cpp | 54 op, TypeAttr::get(decoratedType), globalVarAttrs); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVStructureOps.td | 381 TypeAttr:$type, 393 OpBuilder<(ins "TypeAttr":$type, 402 OpBuilder<(ins "TypeAttr":$type, "ArrayRef<NamedAttribute>":$namedAttrs), 415 $_state.addAttribute("type", TypeAttr::get(type)); 655 TypeAttr:$type,
|
| /llvm-project-15.0.7/mlir/lib/CAPI/IR/ |
| H A D | BuiltinAttributes.cpp | 266 return unwrap(attr).isa<TypeAttr>(); in mlirAttributeIsAType() 270 return wrap(TypeAttr::get(unwrap(type))); in mlirTypeAttrGet() 274 return wrap(unwrap(attr).cast<TypeAttr>().getValue()); in mlirTypeAttrGetValue()
|
| /llvm-project-15.0.7/mlir/unittests/Dialect/SPIRV/ |
| H A D | SerializationTest.cpp | 75 UnknownLoc::get(&context), TypeAttr::get(ptrType), in addGlobalVar()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/EmitC/IR/ |
| H A D | EmitC.cpp | 105 if (!tArg.isa<TypeAttr>() && !tArg.isa<IntegerAttr>() && in verify()
|
| /llvm-project-15.0.7/mlir/test/python/dialects/ |
| H A D | python_test.py | 191 inferred.results[1], TypeAttr.get(IndexType.get()))
|
| /llvm-project-15.0.7/mlir/test/python/ |
| H A D | python_test_ops.td | 100 let arguments = (ins AnyType:$input, TypeAttr:$type);
|