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

Method serialize

lib/Bytecode/Writer/BytecodeWriter.cpp:804–809  ·  view source on GitHub ↗

di-compile-unit =: DebugTag[DICompileUnit] diFileIndex[varint] - DIFileAttr

Source from the content-addressed store, hash-verified

802 // DebugTag[DICompileUnit]
803 // diFileIndex[varint] - DIFileAttr
804 LogicalResult serialize(DICompileUnitAttr diCompileUnit,
805 EncodingWriter &writer) {
806 writer.writeVarInt(Bytecode::DebugTag::DICompileUnit);
807 writer.writeVarInt(getDebugInfoIndex(diCompileUnit.getFile()));
808 return success();
809 }
810 // di-file =:
811 // DebugTag[DIFile]
812 // fileNameIndex[varint] - StringAttr

Callers

nothing calls this directly

Calls 2

writeVarIntMethod · 0.80
getStringIndexMethod · 0.80

Tested by

no test coverage detected