/external/llvm-project/mlir/tools/mlir-tblgen/ |
D | OpDefinitionsGen.cpp | 321 OpClass opClass; member in __anonec93f51b0111::OpEmitter 440 opClass(op.getCppClassName(), op.getExtraClassDeclaration()) { in OpEmitter() 464 generateOpFormat(op, opClass); in OpEmitter() 476 void OpEmitter::emitDecl(raw_ostream &os) { opClass.writeDeclTo(os); } in emitDecl() 478 void OpEmitter::emitDef(raw_ostream &os) { opClass.writeDefTo(os); } in emitDef() 487 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() 548 opClass.addTrait("::mlir::DerivedAttributeOpInterface::Trait"); in genAttrGetters() 553 auto *method = opClass.addMethodAndPrune("bool", "isDerivedAttribute", in genAttrGetters() [all …]
|
D | OpFormatGen.h | 23 void generateOpFormat(const Operator &constOp, OpClass &opClass);
|
D | OpFormatGen.cpp | 416 void genParser(Operator &op, OpClass &opClass); 431 void genPrinter(Operator &op, OpClass &opClass); 1009 void OperationFormat::genParser(Operator &op, OpClass &opClass) { in genParser() argument 1015 opClass.addMethodAndPrune("::mlir::ParseResult", "parse", in genParser() 1751 void OperationFormat::genPrinter(Operator &op, OpClass &opClass) { in genPrinter() argument 1753 opClass.addMethodAndPrune("void", "print", "::mlir::OpAsmPrinter &p"); in genPrinter() 2965 void mlir::tblgen::generateOpFormat(const Operator &constOp, OpClass &opClass) { in generateOpFormat() argument 2988 format.genParser(op, opClass); in generateOpFormat() 2989 format.genPrinter(op, opClass); in generateOpFormat()
|
/external/llvm-project/mlir/lib/Bindings/Python/ |
D | MainModule.cpp | 191 [dialectClass](py::object opClass) -> py::object { in PYBIND11_MODULE() argument 193 opClass.attr("OPERATION_NAME").cast<std::string>(); in PYBIND11_MODULE() 194 auto rawSubclass = PyOpView::createRawSubclass(opClass); in PYBIND11_MODULE() 195 PyGlobals::get().registerOperationImpl(operationName, opClass, in PYBIND11_MODULE() 199 py::object opClassName = opClass.attr("__name__"); in PYBIND11_MODULE() 200 dialectClass.attr(opClassName) = opClass; in PYBIND11_MODULE() 205 opClass.attr("_Raw") = rawSubclass; in PYBIND11_MODULE() 206 return opClass; in PYBIND11_MODULE()
|
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/ |
D | doc.h | 174 opClass.push_back(oc); 179 OperandClass getClass(int op) const { return opClass[op]; } in getClass() 182 int getNum() const { return (int)opClass.size(); } in getNum() 185 std::vector<OperandClass> opClass; 223 opClass(OpClassMissing), in InstructionParameters() 238 OpcodeClass opClass; variable
|
/external/deqp-deps/glslang/SPIRV/ |
D | doc.h | 174 opClass.push_back(oc); 179 OperandClass getClass(int op) const { return opClass[op]; } in getClass() 182 int getNum() const { return (int)opClass.size(); } in getNum() 185 std::vector<OperandClass> opClass; 223 opClass(OpClassMissing), in InstructionParameters() 238 OpcodeClass opClass; variable
|
/external/shaderc/spirv-headers/tools/buildHeaders/ |
D | jsonToSpirv.h | 104 opClass.push_back(oc); 109 OperandClass getClass(int op) const { return opClass[op]; } in getClass() 112 int getNum() const { return (int)opClass.size(); } in getNum() 115 std::vector<OperandClass> opClass; 244 opClass(0), in InstructionValue() 261 int opClass; variable
|
D | header.cpp | 331 for (auto opClass = enums.begin(); opClass != enums.end(); ++opClass) { in printDefs() local 332 const bool isMask = (*opClass)["Type"].asString() == "Bit"; in printDefs() 333 const auto opName = (*opClass)["Name"].asString(); in printDefs() 344 const auto sorted = getSortedVals((*opClass)["Values"]); in printDefs() 356 auto nextOpClass = opClass; in printDefs() 509 for (auto opClass = enums.begin(); opClass != enums.end(); ++opClass) { in printHasResultType() local 510 const auto opName = (*opClass)["Name"].asString(); in printHasResultType() 584 for (auto opClass = enums.begin(); opClass != enums.end(); ++opClass) { in printEpilogue() local 585 const bool isMask = (*opClass)["Type"].asString() == "Bit"; in printEpilogue() 586 const auto opName = (*opClass)["Name"].asString(); in printEpilogue()
|
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/ |
D | header.cpp | 331 for (auto opClass = enums.begin(); opClass != enums.end(); ++opClass) { in printDefs() local 332 const bool isMask = (*opClass)["Type"].asString() == "Bit"; in printDefs() 333 const auto opName = (*opClass)["Name"].asString(); in printDefs() 344 const auto sorted = getSortedVals((*opClass)["Values"]); in printDefs() 356 auto nextOpClass = opClass; in printDefs() 509 for (auto opClass = enums.begin(); opClass != enums.end(); ++opClass) { in printHasResultType() local 510 const auto opName = (*opClass)["Name"].asString(); in printHasResultType() 584 for (auto opClass = enums.begin(); opClass != enums.end(); ++opClass) { in printEpilogue() local 585 const bool isMask = (*opClass)["Type"].asString() == "Bit"; in printEpilogue() 586 const auto opName = (*opClass)["Name"].asString(); in printEpilogue()
|
D | jsonToSpirv.h | 121 opClass.push_back(oc); 126 OperandClass getClass(int op) const { return opClass[op]; } in getClass() 129 int getNum() const { return (int)opClass.size(); } in getNum() 132 std::vector<OperandClass> opClass;
|
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/ |
D | header.cpp | 331 for (auto opClass = enums.begin(); opClass != enums.end(); ++opClass) { in printDefs() local 332 const bool isMask = (*opClass)["Type"].asString() == "Bit"; in printDefs() 333 const auto opName = (*opClass)["Name"].asString(); in printDefs() 344 const auto sorted = getSortedVals((*opClass)["Values"]); in printDefs() 356 auto nextOpClass = opClass; in printDefs() 509 for (auto opClass = enums.begin(); opClass != enums.end(); ++opClass) { in printHasResultType() local 510 const auto opName = (*opClass)["Name"].asString(); in printHasResultType() 584 for (auto opClass = enums.begin(); opClass != enums.end(); ++opClass) { in printEpilogue() local 585 const bool isMask = (*opClass)["Type"].asString() == "Bit"; in printEpilogue() 586 const auto opName = (*opClass)["Name"].asString(); in printEpilogue()
|
D | jsonToSpirv.h | 119 opClass.push_back(oc); 124 OperandClass getClass(int op) const { return opClass[op]; } in getClass() 127 int getNum() const { return (int)opClass.size(); } in getNum() 130 std::vector<OperandClass> opClass;
|
/external/angle/third_party/vulkan-deps/spirv-headers/src/tools/buildHeaders/ |
D | header.cpp | 331 for (auto opClass = enums.begin(); opClass != enums.end(); ++opClass) { in printDefs() local 332 const bool isMask = (*opClass)["Type"].asString() == "Bit"; in printDefs() 333 const auto opName = (*opClass)["Name"].asString(); in printDefs() 344 const auto sorted = getSortedVals((*opClass)["Values"]); in printDefs() 356 auto nextOpClass = opClass; in printDefs() 509 for (auto opClass = enums.begin(); opClass != enums.end(); ++opClass) { in printHasResultType() local 510 const auto opName = (*opClass)["Name"].asString(); in printHasResultType() 584 for (auto opClass = enums.begin(); opClass != enums.end(); ++opClass) { in printEpilogue() local 585 const bool isMask = (*opClass)["Type"].asString() == "Bit"; in printEpilogue() 586 const auto opName = (*opClass)["Name"].asString(); in printEpilogue()
|
D | jsonToSpirv.h | 124 opClass.push_back(oc); 129 OperandClass getClass(int op) const { return opClass[op]; } in getClass() 132 int getNum() const { return (int)opClass.size(); } in getNum() 135 std::vector<OperandClass> opClass;
|
/external/tensorflow/tensorflow/java/src/gen/java/org/tensorflow/processor/ |
D | OperatorProcessor.java | 221 TypeElement opClass = (TypeElement) e; in collectOpsMethods() local 223 if (opClass.getAnnotation(Deprecated.class) == null) { in collectOpsMethods() 224 collectOpMethods(groupedMethods, opClass, annotation); in collectOpsMethods() 231 Multimap<String, MethodSpec> groupedMethods, TypeElement opClass, TypeElement annotation) { in collectOpMethods() argument 232 AnnotationMirror am = getAnnotationMirror(opClass, annotation); in collectOpMethods() 235 ClassName opClassName = ClassName.get(opClass); in collectOpMethods() 242 for (ExecutableElement opMethod : ElementFilter.methodsIn(opClass.getEnclosedElements())) { in collectOpMethods()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | OpBase.td | 1636 // reference point to an op of `opClass` within the closest parent with a symbol 1639 class ReferToOp<string opClass> : AttrConstraint< 1640 CPred<"isa_and_nonnull<" # opClass # ">(" 1643 "referencing to a '" # opClass # "' symbol">;
|