Home
last modified time | relevance | path

Searched refs:addMethodAndPrune (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/mlir/tools/mlir-tblgen/
DOpDefinitionsGen.cpp487 auto *method = opClass.addMethodAndPrune(attr.getReturnType(), name); in genAttrGetters()
496 auto *method = opClass.addMethodAndPrune(attr.getReturnType(), name); in genAttrGetters()
520 opClass.addMethodAndPrune(attr.getStorageType(), (name + "Attr").str()); in genAttrGetters()
553 auto *method = opClass.addMethodAndPrune("bool", "isDerivedAttribute", in genAttrGetters()
563 auto *method = opClass.addMethodAndPrune("::mlir::DictionaryAttr", in genAttrGetters()
613 auto *method = opClass.addMethodAndPrune("void", (name + "Attr").str(), in genAttrSetters()
637 auto *method = opClass.addMethodAndPrune("std::pair<unsigned, unsigned>", in generateValueRangeStartAndEnd()
709 auto *m = opClass.addMethodAndPrune(rangeType, "getODSOperands", "unsigned", in generateNamedOperandGetters()
723 m = opClass.addMethodAndPrune("::mlir::Value", operand.name); in generateNamedOperandGetters()
727 m = opClass.addMethodAndPrune(rangeType, operand.name); in generateNamedOperandGetters()
[all …]
DOpFormatGen.cpp1015 opClass.addMethodAndPrune("::mlir::ParseResult", "parse", in genParser()
1753 opClass.addMethodAndPrune("void", "print", "::mlir::OpAsmPrinter &p"); in genPrinter()
/external/llvm-project/mlir/include/mlir/TableGen/
DOpClass.h322 OpMethod *addMethodAndPrune(StringRef retType, StringRef name, in addMethodAndPrune() function
326 return addMethodAndPrune(methods, std::move(newMethod)); in addMethodAndPrune()
330 OpMethod *addMethodAndPrune(StringRef retType, StringRef name, in addMethodAndPrune() function
332 return addMethodAndPrune(retType, name, OpMethod::MP_None, in addMethodAndPrune()
341 return addMethodAndPrune(constructors, std::move(newConstructor)); in addConstructorAndPrune()
379 MethodTy *addMethodAndPrune(MethodSet<MethodTy> &set, in addMethodAndPrune() function