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

Method getCurrentPtr

lib/Bytecode/Reader/BytecodeReader.cpp:216–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214 }
215
216 const char *getCurrentPtr() const {
217 if (offset >= data.size()) {
218 return nullptr;
219 }
220 return reinterpret_cast<const char *>(data.data() + offset);
221 }
222
223 LogicalResult getString(uint64_t index, StringRef &result,
224 MLIRContext &context) const {

Callers 4

parseStringSectionFunction · 0.80
parseTypeSectionFunction · 0.80
parseConstantSectionFunction · 0.80
parseDebugSectionFunction · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected