/external/llvm-project/mlir/include/mlir/IR/ |
D | DialectImplementation.h | 212 if (parseOptionalKeyword(keyword)) 220 if (parseOptionalKeyword(keyword)) in parseKeyword() 226 virtual ParseResult parseOptionalKeyword(StringRef keyword) = 0; 229 virtual ParseResult parseOptionalKeyword(StringRef *keyword) = 0;
|
D | OpImplementation.h | 360 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/ |
D | OpenACC.cpp | 49 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/ |
D | GPUDialect.cpp | 495 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/ |
D | LLVMDialect.cpp | 238 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()
|
D | LLVMTypeSyntax.cpp | 361 if (succeeded(parser.parseOptionalKeyword("opaque"))) { in parseStructType() 376 bool isPacked = succeeded(parser.parseOptionalKeyword("packed")); in parseStructType()
|
/external/llvm-project/mlir/lib/Parser/ |
D | DialectSymbolParser.cpp | 258 ParseResult parseOptionalKeyword(StringRef keyword) override { in parseOptionalKeyword() function in __anon8dbb0c750111::CustomDialectAsmParser 267 ParseResult parseOptionalKeyword(StringRef *keyword) override { in parseOptionalKeyword() function in __anon8dbb0c750111::CustomDialectAsmParser
|
D | Parser.cpp | 1159 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/ |
D | tf_executor.cc | 357 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/ |
D | FIROps.cpp | 488 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()
|
D | FIRAttr.cpp | 130 if (parser.parseOptionalKeyword("i")) { in parseFirRealAttr()
|
/external/llvm-project/mlir/lib/Dialect/SPIRV/ |
D | SPIRVOps.cpp | 173 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()
|
D | SPIRVDialect.cpp | 631 if (succeeded(parser.parseOptionalKeyword(&identifier))) { in parseStructType() 1029 if (succeeded(parser.parseOptionalKeyword(&vendorStr))) { in parseTargetEnvAttr()
|
/external/llvm-project/mlir/lib/Dialect/Quant/IR/ |
D | TypeParser.cpp | 32 if (failed(parser.parseOptionalKeyword(&identifier))) { in parseStorageType()
|
/external/llvm-project/mlir/lib/Dialect/OpenMP/IR/ |
D | OpenMPDialect.cpp | 230 while (succeeded(parser.parseOptionalKeyword(&keyword))) { in parseParallelOp()
|
/external/llvm-project/mlir/lib/Dialect/SCF/ |
D | SCF.cpp | 200 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/ |
D | LinalgOps.cpp | 336 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/ |
D | AffineOps.cpp | 1315 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/ |
D | SymbolTable.cpp | 998 if (parser.parseOptionalKeyword(&visibility, {"public", "private", "nested"})) in parseOptionalVisibilityKeyword()
|
/external/llvm-project/flang/include/flang/Optimizer/Dialect/ |
D | FIROps.td | 1666 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/ |
D | Ops.cpp | 2093 if (succeeded(parser.parseOptionalKeyword("uninitialized"))) { in parseGlobalMemrefOpTypeAndInitialValue()
|