Cthulhu  0.2.10
Cthulhu compiler collection
builtin.c File Reference
#include "cthulhu/tree/builtin.h"
#include "common.h"
#include "cthulhu/tree/ops.h"
Include dependency graph for builtin.c:

Go to the source code of this file.

Functions

tree_t * tree_builtin_sizeof (const node_t *node, const tree_t *type, const tree_t *size_type)
 
tree_t * tree_builtin_alignof (const node_t *node, const tree_t *type, const tree_t *align_type)
 
tree_t * tree_builtin_offsetof (const node_t *node, const tree_t *type, const tree_t *field, const tree_t *offset_type)
 

Function Documentation

◆ tree_builtin_alignof()

tree_t* tree_builtin_alignof ( const node_t *  node,
const tree_t *  type,
const tree_t *  align_type 
)

Definition at line 13 of file builtin.c.

◆ tree_builtin_offsetof()

tree_t* tree_builtin_offsetof ( const node_t *  node,
const tree_t *  type,
const tree_t *  field,
const tree_t *  offset_type 
)

Definition at line 20 of file builtin.c.

◆ tree_builtin_sizeof()

tree_t* tree_builtin_sizeof ( const node_t *  node,
const tree_t *  type,
const tree_t *  size_type 
)

Definition at line 6 of file builtin.c.