class_docstr: Auxiliary builder to build IR for testing and dev.
  
  Examples
  --------
  .. code-block:: python
  
      ib = tvm.tir.ir_builder.create()
      n = te.var("n")
      A = ib.allocate("float32", n, name="A")
      with ib.for_range(0, n, name="i") as i:
          with ib.if_scope((i % 2) == 0):
              A[i] = A[i] + 1
      # The result stmt.
      stmt = ib.get()
docstr: Create pointer variable corresponds to buffer ptr.
  
  Parameters
  ----------
  buf : Buffer
      The buffer to be extracted.
  
  Returns
  -------
  ptr : BufferVar
      The buffer var representing the buffer.
code: def buffer_ptr(self, buf):
      """Create pointer variable corresponds to buffer ptr.
  
      Parameters
      ----------
      buf : Buffer
          The buffer to be extracted.
  
      Returns
      -------
      ptr : BufferVar
          The buffer var representing the buffer.
      """
      return BufferVar(self, buf, buf.dtype)
  
imports: import tvm
  from tvm._ffi.base import string_types
  from tvm.runtime import ObjectGeneric, convert, const
  from tvm.ir import container
  from .None import stmt
  from .None import expr
  from .None import buffer
  from .None import op
label_desc: Use image node_id 13 for calling the IRBuilder obj's underlying member method code with example usage: obj.buffer_ptr(buf) and returns: BufferVar