Home
last modified time | relevance | path

Searched refs:parseAttribute (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm-project/mlir/lib/Parser/
DDialectSymbolParser.cpp282 ParseResult parseAttribute(Attribute &result, Type type) override { in parseAttribute() function in __anon06f94e2e0111::CustomDialectAsmParser
283 result = parser.parseAttribute(type); in parseAttribute()
534 return dialect->parseAttribute(customParser, attrType); in parseExtendedAttr()
606 Attribute mlir::parseAttribute(StringRef attrStr, MLIRContext *context) { in parseAttribute() function in mlir
608 return parseAttribute(attrStr, context, numRead); in parseAttribute()
610 Attribute mlir::parseAttribute(StringRef attrStr, Type type) { in parseAttribute() function in mlir
612 return parseAttribute(attrStr, type, numRead); in parseAttribute()
615 Attribute mlir::parseAttribute(StringRef attrStr, MLIRContext *context, in parseAttribute() function in mlir
618 return parser.parseAttribute(); in parseAttribute()
621 Attribute mlir::parseAttribute(StringRef attrStr, Type type, size_t &numRead) { in parseAttribute() function in mlir
[all …]
DParser.h184 Attribute parseAttribute(Type type = {});
200 if (Attribute parsedAttr = parseAttribute(type)) {
DAttributeParser.cpp43 Attribute Parser::parseAttribute(Type type) { in parseAttribute() function in Parser
73 elements.push_back(parseAttribute()); in parseAttribute()
219 attribute = parseAttribute(type); in parseOptionalAttribute()
278 auto attr = parseAttribute(); in parseAttributeDict()
DLocationParser.cpp67 metadata = parseAttribute(); in parseFusedLocation()
/external/llvm-project/mlir/include/mlir/
DParser.h223 Attribute parseAttribute(llvm::StringRef attrStr, MLIRContext *context);
224 Attribute parseAttribute(llvm::StringRef attrStr, Type type);
231 Attribute parseAttribute(llvm::StringRef attrStr, MLIRContext *context,
233 Attribute parseAttribute(llvm::StringRef attrStr, Type type, size_t &numRead);
/external/llvm-project/mlir/include/mlir/IR/
DOpImplementation.h417 virtual ParseResult parseAttribute(Attribute &result, Type type = {}) = 0;
421 ParseResult parseAttribute(AttrType &result, Type type = {}) {
426 if (parseAttribute(attr, type))
438 ParseResult parseAttribute(Attribute &result, StringRef attrName, in parseAttribute() function
440 return parseAttribute(result, Type(), attrName, attrs); in parseAttribute()
445 ParseResult parseAttribute(AttrType &result, StringRef attrName, in parseAttribute() function
447 return parseAttribute(result, Type(), attrName, attrs); in parseAttribute()
476 ParseResult parseAttribute(AttrType &result, Type type, StringRef attrName, in parseAttribute() function
482 if (parseAttribute(attr, type)) in parseAttribute()
DDialectImplementation.h281 virtual ParseResult parseAttribute(Attribute &result, Type type = {}) = 0;
285 ParseResult parseAttribute(AttrType &result, Type type = {}) {
290 if (parseAttribute(attr, type))
DDialect.h80 virtual Attribute parseAttribute(DialectAsmParser &parser, Type type) const;
/external/llvm-project/mlir/lib/Dialect/PDLInterp/IR/
DPDLInterp.cpp40 if (p.parseAttribute(opName, "name", state.attributes)) in parseCreateOperationOp()
57 if (p.parseAttribute(nameAttr) || p.parseEqual() || in parseCreateOperationOp()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops.cc302 mlir::parseAttribute(spec, context, func_name_num_read); in ParseFuncAttr()
311 mlir::parseAttribute(spec, context, func_attrs_num_read); in ParseFuncAttr()
331 Attribute TensorFlowDialect::parseAttribute(DialectAsmParser &parser, in parseAttribute() function in mlir::TF::TensorFlowDialect
Dtf_ops.h73 Attribute parseAttribute(DialectAsmParser &parser, Type type) const override;
Dtf_executor.cc543 parser.parseAttribute(num_outs, i64_type, "num_outs", in ParseSwitchNOp()
740 parser.parseAttribute(frame, NoneType::get(context), "frame_name", in ParseEnterOp()
750 if (parser.parseAttribute(parallel_iterations, i64, "parallel_iterations", in ParseEnterOp()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp118 if (parser.parseAttribute(attrVal, parser.getBuilder().getNoneType(), in parseEnumStrAttr()
211 parser.parseAttribute(alignmentAttr, i32Type, kAlignmentAttrName, in parseMemoryAccessAttributes()
242 parser.parseAttribute(alignmentAttr, i32Type, kSourceAlignmentAttrName, in parseSourceMemoryAccessAttributes()
504 parser.parseAttribute(set, i32Type, descriptorSetName, in parseVariableDecorations()
507 parser.parseAttribute(binding, i32Type, bindingName, in parseVariableDecorations()
515 parser.parseAttribute(builtIn, builtInName, state.attributes) || in parseVariableDecorations()
1207 if (parser.parseAttribute(trueWeight, i32Type, "weight", weights) || in parseBranchConditionalOp()
1209 parser.parseAttribute(falseWeight, i32Type, "weight", weights) || in parseBranchConditionalOp()
1372 parser.parseAttribute(indicesAttr, kIndicesAttrName, state.attributes) || in parseCompositeExtractOp()
1429 parser.parseAttribute(indicesAttr, kIndicesAttrName, state.attributes) || in parseCompositeInsertOp()
[all …]
DSPIRVDialect.cpp1019 if (parser.parseAttribute(tripleAttr) || parser.parseComma()) in parseTargetEnvAttr()
1061 if (parser.parseAttribute(limitsAttr)) in parseTargetEnvAttr()
1081 Attribute SPIRVDialect::parseAttribute(DialectAsmParser &parser, in parseAttribute() function in SPIRVDialect
/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRDialect.cpp44 fir::FIROpsDialect::parseAttribute(mlir::DialectAsmParser &parser, in parseAttribute() function in fir::FIROpsDialect
DFIROps.cpp187 if (parser.parseAttribute(funcAttr, fir::CallOp::calleeAttrName(), attrs)) in parseCallOp()
264 if (parser.parseAttribute(predicateNameAttr, OPTY::getPredicateAttrName(), in parseCmpOp()
456 if (parser.parseAttribute(map, fir::EmboxOp::layoutName(), in parseEmboxOp()
497 if (parser.parseAttribute(nameAttr, fir::GlobalOp::symbolAttrName(), in parseGlobalOp()
506 if (parser.parseAttribute(attr, fir::GlobalOp::initValAttrName(), in parseGlobalOp()
1099 if (parser.parseAttribute(attr, "a", temp) || isValidCaseAttr(attr) || in parseSelectCase()
1320 if (parser.parseAttribute(attr, "a", temp) || parser.parseComma() || in parseSelectType()
/external/llvm-project/flang/include/flang/Optimizer/Dialect/
DFIRDialect.h29 mlir::Attribute parseAttribute(mlir::DialectAsmParser &parser,
/external/llvm-project/mlir/lib/IR/
DDialect.cpp73 Attribute Dialect::parseAttribute(DialectAsmParser &parser, Type type) const { in parseAttribute() function in Dialect
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp70 parser.parseAttribute(predicateAttr, "predicate", result.attributes) || in parseCmpOp()
381 if (isDirect && parser.parseAttribute(funcAttr, "callee", result.attributes)) in parseInvokeOp()
661 if (parser.parseAttribute(funcAttr, "callee", result.attributes)) in parseCallOp()
838 parser.parseAttribute(positionAttr, "position", result.attributes) || in parseExtractValueOp()
921 parser.parseAttribute(positionAttr, "position", result.attributes) || in parseInsertValueOp()
1168 if (parser.parseAttribute(value, "value", result.attributes) || in parseGlobalOp()
1268 parser.parseAttribute(maskAttr, "mask", result.attributes) || in parseShuffleVectorOp()
1725 parser.parseAttribute(sScope, syncscopeKeyword, result.attributes) || in parseFenceOp()
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DNewHdfParser.java389 index = parseAttribute(seq, index, state, element); in parseAttributes()
405 private int parseAttribute(String seq, int index, ParseState state, HdfNameAttrs element) in parseAttribute() method in NewHdfParser
/external/llvm-project/mlir/examples/toy/Ch2/mlir/
DDialect.cpp113 parser.parseAttribute(value, "value", result.attributes)) in parseConstantOp()
/external/llvm-project/mlir/lib/Interfaces/
DViewLikeInterface.cpp127 if (failed(parser.parseAttribute<IntegerAttr>(attr))) in parseListOfOperandsOrIntegers()
/external/llvm-project/mlir/examples/toy/Ch3/mlir/
DDialect.cpp113 parser.parseAttribute(value, "value", result.attributes)) in parseConstantOp()
/external/llvm-project/mlir/examples/toy/Ch4/mlir/
DDialect.cpp169 parser.parseAttribute(value, "value", result.attributes)) in parseConstantOp()
/external/llvm-project/mlir/examples/toy/Ch6/mlir/
DDialect.cpp169 parser.parseAttribute(value, "value", result.attributes)) in parseConstantOp()

12