Home
last modified time | relevance | path

Searched refs:parseOptionalKeyword (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/mlir/include/mlir/IR/
DDialectImplementation.h212 if (parseOptionalKeyword(keyword))
220 if (parseOptionalKeyword(keyword)) in parseKeyword()
226 virtual ParseResult parseOptionalKeyword(StringRef keyword) = 0;
229 virtual ParseResult parseOptionalKeyword(StringRef *keyword) = 0;
DOpImplementation.h360 if (parseOptionalKeyword(keyword))
368 if (parseOptionalKeyword(keyword)) in parseKeyword()
374 virtual ParseResult parseOptionalKeyword(StringRef keyword) = 0;
377 virtual ParseResult parseOptionalKeyword(StringRef *keyword) = 0;
382 parseOptionalKeyword(StringRef *keyword,
/external/llvm-project/mlir/lib/Dialect/OpenACC/IR/
DOpenACC.cpp49 if (failed(parser.parseOptionalKeyword(keyword))) in parseOperandList()
94 if (succeeded(parser.parseOptionalKeyword(keyword))) { in parseOptionalOperand()
122 if (succeeded(parser.parseOptionalKeyword(keyword))) { in parseOptionalOperandAndType()
145 if (succeeded(parser.parseOptionalKeyword(prefixKeyword))) { in parserOptionalOperandAndTypeWithPrefix()
473 if (succeeded(parser.parseOptionalKeyword(LoopOp::getGangKeyword()))) in parseLoopOp()
493 if (succeeded(parser.parseOptionalKeyword(LoopOp::getWorkerKeyword()))) in parseLoopOp()
502 if (succeeded(parser.parseOptionalKeyword(LoopOp::getVectorKeyword()))) in parseLoopOp()
/external/llvm-project/mlir/lib/Dialect/GPU/IR/
DGPUDialect.cpp495 if (parser.parseOptionalKeyword("args")) in parseLaunchFuncOperands()
572 if (failed(parser.parseOptionalKeyword(keyword))) in parseAttributions()
648 if (succeeded(parser.parseOptionalKeyword(GPUFuncOp::getKernelKeyword()))) in parseGPUFuncOp()
848 if (succeeded(parser.parseOptionalKeyword("async"))) { in parseAsyncDependencies()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp238 if (succeeded(parser.parseOptionalKeyword("volatile"))) in parseLoadOp()
286 if (succeeded(parser.parseOptionalKeyword("volatile"))) in parseStoreOp()
520 if (succeeded(parser.parseOptionalKeyword("cleanup"))) in parseLandingpadOp()
525 (succeeded(parser.parseOptionalKeyword("filter")) || in parseLandingpadOp()
526 succeeded(parser.parseOptionalKeyword("catch")))) { in parseLandingpadOp()
1112 if (succeeded(parser.parseOptionalKeyword(en.value()))) in parseOptionalKeywordAlternative()
1157 if (succeeded(parser.parseOptionalKeyword("constant"))) in parseGlobalOp()
1723 if (!failed(parser.parseOptionalKeyword(syncscopeKeyword))) { in parseFenceOp()
DLLVMTypeSyntax.cpp361 if (succeeded(parser.parseOptionalKeyword("opaque"))) { in parseStructType()
376 bool isPacked = succeeded(parser.parseOptionalKeyword("packed")); in parseStructType()
/external/llvm-project/mlir/lib/Parser/
DDialectSymbolParser.cpp258 ParseResult parseOptionalKeyword(StringRef keyword) override { in parseOptionalKeyword() function in __anon8dbb0c750111::CustomDialectAsmParser
267 ParseResult parseOptionalKeyword(StringRef *keyword) override { in parseOptionalKeyword() function in __anon8dbb0c750111::CustomDialectAsmParser
DParser.cpp1159 if (failed(parseOptionalKeyword("attributes"))) in parseOptionalAttrDictWithKeyword()
1185 ParseResult parseOptionalKeyword(StringRef keyword) override { in parseOptionalKeyword() function in __anond23dd3090611::CustomOpAsmParser
1194 ParseResult parseOptionalKeyword(StringRef *keyword) override { in parseOptionalKeyword() function in __anond23dd3090611::CustomOpAsmParser
1206 parseOptionalKeyword(StringRef *keyword, in parseOptionalKeyword() function in __anond23dd3090611::CustomOpAsmParser
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_executor.cc357 if (succeeded(parser.parseOptionalKeyword("wraps"))) { in ParseIslandOp()
745 if (parser.parseOptionalKeyword("parallel_iterations")) { in ParseEnterOp()
754 bool has_constant = succeeded(parser.parseOptionalKeyword("constant")); in ParseEnterOp()
/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIROps.cpp488 if (mlir::succeeded(parser.parseOptionalKeyword(&linkage))) { in parseGlobalOp()
513 if (succeeded(parser.parseOptionalKeyword("constant"))) { in parseGlobalOp()
652 if (mlir::succeeded(parser.parseOptionalKeyword("iter_args"))) { in parseIterWhileOp()
825 if (mlir::succeeded(parser.parseOptionalKeyword("unordered"))) in parseLoopOp()
834 if (succeeded(parser.parseOptionalKeyword("iter_args"))) { in parseLoopOp()
1432 if (!parser.parseOptionalKeyword("else")) { in parseWhereOp()
DFIRAttr.cpp130 if (parser.parseOptionalKeyword("i")) { in parseFirRealAttr()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp173 if (succeeded(parser.parseOptionalKeyword(kControl))) { in parseControlAttribute()
495 if (succeeded(parser.parseOptionalKeyword("bind"))) { in parseVariableDecorations()
512 } else if (succeeded(parser.parseOptionalKeyword(builtInName))) { in parseVariableDecorations()
730 if (succeeded(parser.parseOptionalKeyword(kClusterSize))) { in parseGroupNonUniformArithmeticOp()
1945 if (succeeded(parser.parseOptionalKeyword(kInitializerAttrName))) { in parseGlobalVariableOp()
2466 if (succeeded(parser.parseOptionalKeyword("requires"))) { in parseModuleOp()
2777 if (succeeded(parser.parseOptionalKeyword(kSpecIdAttrName))) { in parseSpecConstantOp()
2892 if (succeeded(parser.parseOptionalKeyword("init"))) { in parseVariableOp()
DSPIRVDialect.cpp631 if (succeeded(parser.parseOptionalKeyword(&identifier))) { in parseStructType()
1029 if (succeeded(parser.parseOptionalKeyword(&vendorStr))) { in parseTargetEnvAttr()
/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DTypeParser.cpp32 if (failed(parser.parseOptionalKeyword(&identifier))) { in parseStorageType()
/external/llvm-project/mlir/lib/Dialect/OpenMP/IR/
DOpenMPDialect.cpp230 while (succeeded(parser.parseOptionalKeyword(&keyword))) { in parseParallelOp()
/external/llvm-project/mlir/lib/Dialect/SCF/
DSCF.cpp200 if (succeeded(parser.parseOptionalKeyword("iter_args"))) { in parseForOp()
648 if (!parser.parseOptionalKeyword("else")) { in parseIfOp()
951 if (succeeded(parser.parseOptionalKeyword("init"))) { in parseParallelOp()
/external/llvm-project/mlir/lib/Dialect/Linalg/IR/
DLinalgOps.cpp336 if (succeeded(parser.parseOptionalKeyword("attrs"))) in parseGenericOp()
1537 if (succeeded(parser.parseOptionalKeyword("ins"))) { in parseCommonStructuredOpParts()
1547 if (succeeded(parser.parseOptionalKeyword("outs"))) { in parseCommonStructuredOpParts()
1554 if (succeeded(parser.parseOptionalKeyword("init"))) { in parseCommonStructuredOpParts()
/external/llvm-project/mlir/lib/Dialect/Affine/IR/
DAffineOps.cpp1315 failed(p.parseOptionalKeyword(isLower ? "max" : "min")); in parseBound()
1416 if (parser.parseOptionalKeyword("step")) { in parseAffineForOp()
1439 if (succeeded(parser.parseOptionalKeyword("iter_args"))) { in parseAffineForOp()
1962 if (!parser.parseOptionalKeyword("else")) { in parseAffineIfOp()
2809 if (failed(parser.parseOptionalKeyword("step"))) { in parseAffineParallelOp()
2837 if (succeeded(parser.parseOptionalKeyword("reduce"))) { in parseAffineParallelOp()
/external/llvm-project/mlir/lib/IR/
DSymbolTable.cpp998 if (parser.parseOptionalKeyword(&visibility, {"public", "private", "nested"})) in parseOptionalVisibilityKeyword()
/external/llvm-project/flang/include/flang/Optimizer/Dialect/
DFIROps.td1666 if (parser.parseOptionalKeyword(&fieldName) ||
1813 if (parser.parseOptionalKeyword(&fieldName) ||
2148 if (failed(parser.parseOptionalKeyword(&calleeName))) {
2797 if (failed(parser.parseOptionalKeyword(&fieldName))) {
2932 if (failed(parser.parseOptionalKeyword(&methodName))) {
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp2093 if (succeeded(parser.parseOptionalKeyword("uninitialized"))) { in parseGlobalMemrefOpTypeAndInitialValue()