parameters: (self, ptr, name='', align=None)
return_statement: return ld
docstring: Load value from pointer, with optional guaranteed alignment:
              name = *ptr
docstring_summary: Load value from pointer, with optional guaranteed alignment:
              name = *ptr
docstring_tokens: Load value from pointer with optional guaranteed alignment : name = * ptr
function: def load(self, ptr, name='', align=None):
          """
          Load value from pointer, with optional guaranteed alignment:
              name = *ptr
          """
          if not isinstance(ptr.type, types.PointerType):
              raise TypeError("cannot load from value of type %s (%r): not a pointer"
                              % (ptr.type, str(ptr)))
          ld = instructions.LoadInstr(self.block, ptr, name)
          ld.align = align
          self._insert(ld)
          return ld
function_tokens: def load ( self , ptr , name = '' , align = None ) : if not isinstance ( ptr . type , types . PointerType ) : raise TypeError ( "cannot load from value of type %s (%r): not a pointer" % ( ptr . type , str ( ptr ) ) ) ld = instructions . LoadInstr ( self . block , ptr , name ) ld . align = align self . _insert ( ld ) return ld