'Insert a unique internal constant named *name*, with LLVM value
*val*, into module *mod*.'

def insert_unique_const(self, mod, name, val):

    try:
        gv = mod.get_global(name)
    except KeyError:
        return cgutils.global_constant(mod, name, val)
    else:
        return gv
