def alloca_once(builder, ty, size=None, name='', zfill=False):
 if isinstance(size, utils.INT_TYPES):
  size = ir.Constant(intp_t, size)
 with builder.goto_entry_block():
  ptr = builder.alloca(ty, size=size, name=name)
  if zfill:
   builder.store(ty(None), ptr)
  return ptr

def alloca_once ( builder , ty , size = None , name = '' , zfill = False ) : if isinstance ( size , utils . INT_TYPES ) : size = ir . Constant ( intp_t , size ) with builder . goto_entry_block ( ) : ptr = builder . alloca ( ty , size = size , name = name ) if zfill : builder . store ( ty ( None ) , ptr ) return ptr
allocate stack memory at the entry block of the current function pointed by builder withe llvm type ty .