Home
last modified time | relevance | path

Searched refs:parseKeyword (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestDialect.cpp184 if (failed(parser.parseKeyword(&typeTag))) in parseTestType()
198 if (parser.parseLess() || parser.parseKeyword(&name)) in parseTestType()
354 if (parser.parseKeyword("type_refs_capture")) in parseCustomDirectiveWithTypeRefs()
565 if (parser.parseKeyword(&keyword)) in parseWrappedKeywordOp()
580 if (parser.parseKeyword("wraps")) in parseWrappingRegionOp()
892 if (parser.parseKeyword("then") || parser.parseRegion(*thenRegion, {}, {}) || in parseRegionIfOp()
893 parser.parseKeyword("else") || parser.parseRegion(*elseRegion, {}, {}) || in parseRegionIfOp()
894 parser.parseKeyword("join") || parser.parseRegion(*joinRegion, {}, {})) in parseRegionIfOp()
DTestTypes.cpp29 if (parser.parseKeyword(&signStr)) in parseSignedness()
DTestTypeDefs.td134 if ($_parser.parseKeyword(&name)) return Type();
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVDialect.cpp252 if (parser.parseKeyword("stride") || parser.parseEqual()) in parseOptionalArrayStride()
360 if (parser.parseComma() || parser.parseKeyword(&storageClassSpec)) in parsePointerType()
435 if (parser.parseKeyword(&enumSpec)) { in parseAndVerify()
719 if (parser.parseKeyword(&keyword)) in parseType()
860 if (parser.parseKeyword(&keyword) || failed(processKeyword(loc, keyword))) in parseKeywordList()
918 if (parser.parseKeyword(&storageClass)) in parseInterfaceVarABIAttr()
949 if (parser.parseKeyword(&version) || parser.parseComma()) in parseVerCapExtAttr()
1039 if (parser.parseKeyword(&deviceTypeStr)) in parseTargetEnvAttr()
1091 if (parser.parseKeyword(&attrKind)) in parseAttribute()
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DParserUtils.h30 if (parser.parseKeyword(&keyword))
/external/llvm-project/mlir/lib/Dialect/Linalg/IR/
DLinalgTypes.cpp79 if (parser.parseKeyword(&keyword)) in parseType()
/external/llvm-project/mlir/include/mlir/IR/
DDialectImplementation.h210 ParseResult parseKeyword(StringRef keyword, const Twine &msg = "") {
218 ParseResult parseKeyword(StringRef *keyword) { in parseKeyword() function
DOpImplementation.h358 ParseResult parseKeyword(StringRef keyword, const Twine &msg = "") {
366 ParseResult parseKeyword(StringRef *keyword) { in parseKeyword() function
801 return failure(parseKeyword(keyword) || parseType(result)); in parseKeywordType()
/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIRAttr.cpp148 if (parser.parseKeyword(&hex) || parser.parseGreater()) { in parseFirRealAttr()
164 if (parser.parseKeyword(&attrName)) { in parseFirAttribute()
DFIRType.cpp239 if (parser.parseLess() || parser.parseKeyword(&name)) { in parseDerived()
251 if (parser.parseKeyword(&lenparam) || parser.parseColon() || in parseDerived()
271 if (parser.parseKeyword(&field) || parser.parseColon() || in parseDerived()
312 if (mlir::failed(parser.parseKeyword(&typeNameLit))) in parseFirType()
DFIROps.cpp631 parser.parseKeyword("to") || parser.parseOperand(ub) || in parseIterWhileOp()
633 parser.parseKeyword("step") || parser.parseOperand(step) || in parseIterWhileOp()
639 if (parser.parseKeyword("and") || parser.parseLParen() || in parseIterWhileOp()
819 parser.parseKeyword("to") || parser.parseOperand(ub) || in parseLoopOp()
821 parser.parseKeyword("step") || parser.parseOperand(step) || in parseLoopOp()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/ir/
Dtf_framework_ops.cc39 if (parser.parseKeyword(&keyword)) return Type(); in parseType()
/external/llvm-project/mlir/lib/Dialect/GPU/IR/
DGPUDialect.cpp50 if (parser.parseKeyword(&keyword)) in parseType()
206 if (parser.parseKeyword(&mode)) in parseShuffleOp()
364 parser.parseKeyword("in") || parser.parseLParen()) in parseSizeAssignment()
403 if (parser.parseKeyword(LaunchOp::getBlocksKeyword().data()) || in parseLaunchOp()
407 parser.parseKeyword(LaunchOp::getThreadsKeyword().data()) || in parseLaunchOp()
/external/llvm-project/mlir/lib/Dialect/Async/IR/
DAsync.cpp30 if (parser.parseKeyword(&keyword)) in parseType()
244 parser.parseKeyword("as") || in parseExecuteOp()
/external/llvm-project/mlir/lib/Dialect/OpenMP/IR/
DOpenMPDialect.cpp290 if (parser.parseLParen() || parser.parseKeyword(&defval) || in parseParallelOp()
306 if (parser.parseLParen() || parser.parseKeyword(&bind) || in parseParallelOp()
/external/tensorflow/tensorflow/compiler/mlir/tfr/ir/
Dtfr_ops.cc585 if (failed(parser.parseKeyword(&typeNameSpelling))) return {}; in parseType()
595 if (failed(parser.parseKeyword(&attr))) return {}; in parseType()
/external/llvm-project/mlir/lib/Dialect/SCF/
DSCF.cpp189 parser.parseKeyword("to") || parser.parseOperand(ub) || in parseForOp()
191 parser.parseKeyword("step") || parser.parseOperand(step) || in parseForOp()
935 if (parser.parseKeyword("to") || in parseParallelOp()
943 if (parser.parseKeyword("step") || in parseParallelOp()
1253 parser.parseKeyword("do") || parser.parseRegion(*after) || in parseWhileOp()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_executor.cc111 if (parser.parseKeyword(&data_type)) return Type(); in parseType()
542 if (parser.parseOperandList(op_infos, 2) || parser.parseKeyword("of") || in ParseSwitchNOp()
739 if (parser.parseKeyword("frame") || in ParseEnterOp()
Dtf_device.cc240 if (parser->parseKeyword("as", in ParseReplicateOpOperands()
247 parser->parseKeyword( in ParseReplicateOpOperands()
Dtf_ops.cc356 if (parser.parseKeyword(&data)) return Type(); in parseType()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp140 if (parser.parseOperand(arraySize) || parser.parseKeyword("x") || in parseAllocaOp()
385 parser.parseKeyword("to") || in parseInvokeOp()
387 parser.parseKeyword("unwind") || in parseInvokeOp()
1549 if (parser.getCurrentLocation(&loc) || parser.parseKeyword(&keyword)) in parseAtomicBinOp()
1576 if (parser.getCurrentLocation(&loc) || parser.parseKeyword(&ordering)) in parseAtomicOrdering()
/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DTypeParser.cpp325 if (failed(parser.parseKeyword(&typeNameSpelling))) in parseType()
/external/llvm-project/mlir/lib/Dialect/PDL/IR/
DPDL.cpp33 if (parser.parseKeyword(&keyword)) in parseType()
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp2382 return failure(parser.parseKeyword("to") || parser.parseKeyword("offset") || in parseMemRefReinterpretCastOp()
2386 return failure(parser.parseComma() || parser.parseKeyword("sizes") || in parseMemRefReinterpretCastOp()
2390 return failure(parser.parseComma() || parser.parseKeyword("strides") || in parseMemRefReinterpretCastOp()
2566 parser.parseComma() || parser.parseKeyword(&readOrWrite) || in parsePrefetchOp()
2567 parser.parseComma() || parser.parseKeyword("locality") || in parsePrefetchOp()
2572 parser.parseKeyword(&cacheType) || parser.parseColonType(type) || in parsePrefetchOp()
3818 if (parser.parseOperand(srcInfo) || parser.parseKeyword("into") || in parseSubTensorInsertOp()
/external/llvm-project/mlir/lib/Dialect/Shape/IR/
DShape.cpp123 if (parser.parseKeyword(&keyword)) in parseType()
609 if (parser.parseKeyword("mapping")) in parseFunctionLibraryOp()

12