MCPcopy Create free account
hub / github.com/apache/tvm / visit_buffer_load_

Method visit_buffer_load_

python/tvm/tirx/transform/common.py:110–115  ·  view source on GitHub ↗
(self, op: BufferLoad)

Source from the content-addressed store, hash-verified

108 return op
109
110 def visit_buffer_load_(self, op: BufferLoad):
111 new_buffer = self.mutate_buffer(op.buffer)
112 op = super().visit_buffer_load_(op)
113 if new_buffer is not None:
114 return BufferLoad(new_buffer, op.indices)
115 return op
116
117 def visit_buffer_store_(self, op: BufferStore):
118 new_buffer = self.mutate_buffer(op.buffer)

Callers

nothing calls this directly

Calls 2

mutate_bufferMethod · 0.95
BufferLoadClass · 0.90

Tested by

no test coverage detected