Home
last modified time | relevance | path

Searched refs:addMethod (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DOpDefinitionsGen.cpp1093 opClass.addMethod("void", setterName + "Attr", in genAttrSetters()
1116 auto *method = opClass.addMethod("::mlir::Attribute", in genOptionalAttrRemovers()
1209 auto *m = opClass.addMethod(rangeType, "getODSOperands", in generateNamedOperandGetters()
1224 m = opClass.addMethod("::mlir::Value", name); in generateNamedOperandGetters()
1246 m = opClass.addMethod(rangeType, name); in generateNamedOperandGetters()
1250 m = opClass.addMethod("::mlir::Value", name); in generateNamedOperandGetters()
1373 m = opClass.addMethod("::mlir::Value", name); in genNamedResultGetters()
1383 m = opClass.addMethod("::mlir::Value", name); in genNamedResultGetters()
1409 auto *m = opClass.addMethod("::mlir::Region &", name); in genNamedRegionGetters()
1435 auto *m = opClass.addMethod("::mlir::Block *", name); in genNamedSuccessorGetters()
[all …]
H A DAttrOrTypeDefGen.cpp275 auto *parser = defCls.addMethod(strfmt("::mlir::{0}", valueType), "parse", in emitParserPrinter()
282 defCls.addMethod("void", "print", props, in emitParserPrinter()
291 Method *m = defCls.addMethod( in emitAccessors()
368 Method *m = defCls.addMethod(returnType, "get", props, in emitCustomBuilder()
396 Method *m = defCls.addMethod( in emitCheckedCustomBuilder()
443 defCls.addMethod(method.getReturnType(), method.getName(), props, in emitTraitMethod()
522 Method *construct = storageCls->addMethod<Method::Inline>( in emitConstruct()
H A DOpFormatGen.cpp2132 auto *method = opClass.addMethod( in genPrinter()
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DClass.h596 Method *addMethod(RetTypeT &&retType, NameT &&name, in addMethod() function
606 Method *addMethod(RetTypeT &&retType, NameT &&name, Args &&...args) { in addMethod() function
607 return addMethod(std::forward<RetTypeT>(retType), std::forward<NameT>(name), in addMethod()
615 return addMethod<Properties | Method::Static>( in addStaticMethod()
625 return addMethod<Properties | Method::StaticInline>( in addStaticInlineMethod()
634 return addMethod<Properties | Method::Inline>( in addInlineMethod()
643 return addMethod<Properties | Method::Const>( in addConstMethod()
652 return addMethod<Properties | Method::Declaration>( in declareMethod()
662 return addMethod<Properties | Method::StaticDeclaration>( in declareStaticMethod()
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DWrapperFunctionUtilsTest.cpp66 int32_t addMethod(int32_t Y) { return X + Y; } in addMethod() function in AddClass
84 ArgData, ArgSize, makeMethodWrapperHandler(&AddClass::addMethod)); in addMethodWrapper()
/llvm-project-15.0.7/compiler-rt/lib/orc/unittests/
H A Dwrapper_function_utils_test.cpp110 int32_t addMethod(int32_t Y) { return X + Y; } in addMethod() function in AddClass
119 ArgData, ArgSize, makeMethodWrapperHandler(&AddClass::addMethod)) in addMethodWrapper()