Home
last modified time | relevance | path

Searched refs:OpMethod (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/mlir/include/mlir/TableGen/
DOpClass.h231 class OpMethod {
245 OpMethod(StringRef retType, StringRef name, Property property, unsigned id, in OpMethod() function
251 OpMethod(OpMethod &&) = default;
253 virtual ~OpMethod() = default;
270 bool makesRedundant(const OpMethod &other) const { in makesRedundant()
290 class OpConstructor : public OpMethod {
295 : OpMethod("", className, property, id, std::forward<Args>(args)...) {} in OpConstructor()
322 OpMethod *addMethodAndPrune(StringRef retType, StringRef name, in addMethodAndPrune()
323 OpMethod::Property properties, Args &&...args) { in addMethodAndPrune()
324 auto newMethod = std::make_unique<OpMethod>( in addMethodAndPrune()
[all …]
/external/llvm-project/mlir/lib/TableGen/
DOpClass.cpp200 void OpMethod::writeDeclTo(raw_ostream &os) const { in writeDeclTo()
208 void OpMethod::writeDefTo(raw_ostream &os, StringRef namePrefix) const { in writeDefTo()
256 forAllMethods([&](const OpMethod &method) { in writeDeclTo()
268 forAllMethods([&](const OpMethod &method) { in writeDeclTo()
283 forAllMethods([&](const OpMethod &method) { in writeDefTo()
312 forAllMethods([&](const OpMethod &method) { in writeDeclTo()
327 forAllMethods([&](const OpMethod &method) { in writeDeclTo()
/external/llvm-project/mlir/tools/mlir-tblgen/
DOpDefinitionsGen.cpp302 OpMethod *genOpInterfaceMethod(const tblgen::InterfaceMethod &method,
554 OpMethod::MP_Static, in genAttrGetters()
914 auto *m = opClass.addMethodAndPrune("void", "build", OpMethod::MP_Static, in genSeparateArgParamBuilder()
999 auto *m = opClass.addMethodAndPrune("void", "build", OpMethod::MP_Static, in genUseOperandAsResultTypeCollectiveParamBuilder()
1034 auto *m = opClass.addMethodAndPrune("void", "build", OpMethod::MP_Static, in genInferredTypeCollectiveParamBuilder()
1091 auto *m = opClass.addMethodAndPrune("void", "build", OpMethod::MP_Static, in genUseOperandAsResultTypeSeparateParamBuilder()
1120 auto *m = opClass.addMethodAndPrune("void", "build", OpMethod::MP_Static, in genUseAttrAsResultTypeBuilder()
1254 OpMethod::Property properties = in genBuilder()
1255 hasBody ? OpMethod::MP_Static : OpMethod::MP_StaticDeclaration; in genBuilder()
1314 auto *m = opClass.addMethodAndPrune("void", "build", OpMethod::MP_Static, in genCollectiveParamBuilder()
[all …]
DOpFormatGen.cpp1016 OpMethod::MP_Static, std::move(paramList)); in genParser()