ae2f_docs
Loading...
Searching...
No Matches
decl_glob_obj.h File Reference
#include "aclspv/spvty.h"
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <util/ctx.h>
#include <util/emitx.h>
#include <util/is_kernel.h>
#include <util/fn.h>
#include <util/entp.h>
#include <util/bind.h>
#include <util/constant.h>
#include <util/scale.h>
#include <attr/specid.h>
#include <attr/location.h>
#include <attr/storage_class.h>
#include <ae2f/Keys.h>
#include <ae2f/c90/StdBool.h>
#include <ae2f/c90/StdInt.h>
#include <spirv/unified1/spirv.h>
#include <clang-c/Index.h>

Go to the source code of this file.

Macros

#define PUSH_SIZE   ((uintptr_t* ae2f_restrict)h_data)[0]
#define BIND_IDX   ((uintptr_t* ae2f_restrict)h_data)[1]
#define CTX   ((h_aclspv_ctx_t)((uintptr_t* ae2f_restrict)h_data)[2])
#define ARG_IDX   ((uintptr_t* ae2f_restrict)h_data)[3]
#define INTERFACE_COUNT   ((uintptr_t* ae2f_restrict)h_data)[4]
#define IO_ARG_IDX   ((uintptr_t* ae2f_restrict)h_data)[5]
#define PSH_CONSTANT_ID   ((uintptr_t* ae2f_restrict)h_data)[6]
#define INTERFACES_MGR   get_last_scale_from_vec(&CTX->m_scale_vars)
#define INTERFACES   ((util_bind* ae2f_restrict)get_buf_from_scale(&CTX->m_scale_vars, INTERFACES_MGR[0]))
#define INFO   (((INTERFACES + ARG_IDX)))
#define EMIT_POS   CTX->m_count.m_name
#define THIS_ENTP   ((util_entp_t* ae2f_restrict)CTX->m_fnlist.m_entp.m_p)[CTX->m_tmp.m_w0]
#define CTX   ((x_aclspv_ctx* ae2f_restrict)h_ctx)
#define EMIT_POS   CTX->m_count.m_name