MCPcopy Create free account
hub / github.com/NVIDIA/cuda-tile / parseArgumentRegion

Function parseArgumentRegion

lib/Dialect/CudaTile/IR/CudaTile.cpp:1046–1055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1044//===----------------------------------------------------------------------===//
1045
1046ParseResult parseArgumentRegion(OpAsmParser &parser, Region &region) {
1047 SmallVector<OpAsmParser::Argument> arguments;
1048 SmallVector<Type> resultTypes;
1049 SmallVector<DictionaryAttr> resultAttrs;
1050 bool isVariadic;
1051 if (parseFunctionArgumentList(parser, /*allowVariadic=*/false, arguments,
1052 isVariadic))
1053 return failure();
1054 return parser.parseRegion(region, arguments);
1055}
1056
1057template <typename OpT>
1058void printArgumentRegion(OpAsmPrinter &p, OpT op, Region &region) {

Callers

nothing calls this directly

Calls 2

parseRegionMethod · 0.80

Tested by

no test coverage detected