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

Method writeTypeIndex

lib/Bytecode/Writer/BytecodeWriter.cpp:388–393  ·  view source on GitHub ↗

Helper function to write the index of a given type to the writer.

Source from the content-addressed store, hash-verified

386
387 /// Helper function to write the index of a given type to the writer.
388 LogicalResult writeTypeIndex(Type type, EncodingWriter &writer) {
389 // Ensure type is registered and get its index.
390 uint64_t index = getTypeIndex(type);
391 writer.writeVarInt(index);
392 return success();
393 }
394
395private:
396 // Include generated type serialization functions.

Callers 3

writeResultTypesMethod · 0.80
writeSingleAttributeMethod · 0.80
writeBlockMethod · 0.80

Calls 1

writeVarIntMethod · 0.80

Tested by

no test coverage detected