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

Method initialize

lib/Bytecode/Reader/BytecodeReader.cpp:485–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

483 LazyTypeTable(MLIRContext &context) : context(context) {}
484
485 void initialize(ArrayRef<uint8_t> payloadData, ArrayRef<uint32_t> indices,
486 const BytecodeVersion &version) {
487 payload = payloadData;
488 typeStartIndices = indices;
489 typeCache.resize(indices.size());
490 fileVersion = version;
491 }
492
493 Type getType(uint64_t typeIndex) {
494 if (typeIndex >= typeCache.size())

Callers 2

parseTypeSectionFunction · 0.45
parseDebugSectionFunction · 0.45

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected