Home
last modified time | relevance | path

Searched refs:childLoc (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/mlir/lib/Parser/
DLocationParser.cpp133 LocationAttr childLoc; in parseNameOrFileLineColLocation() local
134 if (parseLocationInstance(childLoc)) in parseNameOrFileLineColLocation()
138 if (childLoc.isa<NameLoc>()) in parseNameOrFileLineColLocation()
141 loc = NameLoc::get(Identifier::get(str, ctx), childLoc); in parseNameOrFileLineColLocation()
/external/llvm-project/mlir/tools/mlir-tblgen/
DOpFormatGen.cpp2683 llvm::SMLoc childLoc = curToken.getLoc(); in parseOptionalChildElement() local
2692 return emitError(childLoc, "only one element can be marked as the anchor " in parseOptionalChildElement()
2703 return emitError(childLoc, "only optional attributes can be used to " in parseOptionalChildElement()
2711 return emitError(childLoc, "only variable length operands can be " in parseOptionalChildElement()
2727 return emitError(childLoc, "only variables can be used to anchor " in parseOptionalChildElement()
2732 return emitError(childLoc, "only literals, types, and variables can be " in parseOptionalChildElement()
2810 llvm::SMLoc childLoc = curToken.getLoc(); in parseCustomDirectiveParameter() local
2819 return emitError(childLoc, "only variables and types may be used as " in parseCustomDirectiveParameter()
/external/llvm-project/mlir/lib/IR/
DAsmPrinter.cpp1235 auto childLoc = loc.getChildLoc(); in printLocationInternal() local
1236 if (!childLoc.isa<UnknownLoc>()) { in printLocationInternal()
1238 printLocationInternal(childLoc, pretty); in printLocationInternal()