static void arm_collect_frame_entity_nodes(ir_node *node, void *data) { if (!is_frame_load(node)) return; const arm_load_store_attr_t *attr = get_arm_load_store_attr_const(node); if (!attr->is_frame_entity) return; const ir_entity *entity = attr->entity; if (entity != NULL) return; be_fec_env_t *const env = (be_fec_env_t*)data; unsigned const size = get_mode_size_bytes(attr->load_store_mode); be_load_needs_frame_entity(env, node, size, log2_floor(size)); }
int m4ri_opt_k(int a,int b,int c) { int n = MIN(a,b); int res = MIN( MAXKAY, MAX(1, (int)(0.75*log2_floor(n))) ); return res; }
inline static int LargeAllocator_sizeToLinkedListIndex(size_t size) { assert(size >= MIN_BLOCK_SIZE); return log2_floor(size) - LARGE_OBJECT_MIN_SIZE_BITS; }