+void arch_set_frame_offset(const arch_env_t *env, ir_node *irn, int offset)
+{
+ const arch_irn_ops_t *ops = get_irn_ops(env, irn);
+ ops->impl->set_frame_offset(ops, irn, offset);
+}
+
+ir_entity *arch_get_frame_entity(const arch_env_t *env, ir_node *irn)
+{
+ const arch_irn_ops_t *ops = get_irn_ops(env, irn);
+ return ops->impl->get_frame_entity(ops, irn);
+}
+
+void arch_set_frame_entity(const arch_env_t *env, ir_node *irn, ir_entity *ent)
+{
+ const arch_irn_ops_t *ops = get_irn_ops(env, irn);
+ ops->impl->set_frame_entity(ops, irn, ent);
+}
+
+int arch_get_sp_bias(const arch_env_t *env, ir_node *irn)
+{
+ const arch_irn_ops_t *ops = get_irn_ops(env, irn);
+ return ops->impl->get_sp_bias(ops, irn);
+}
+
+arch_inverse_t *arch_get_inverse(const arch_env_t *env, const ir_node *irn, int i, arch_inverse_t *inverse, struct obstack *obstack)
+{
+ const arch_irn_ops_t *ops = get_irn_ops(env, irn);
+ if(ops->impl->get_inverse) {
+ return ops->impl->get_inverse(ops, irn, i, inverse, obstack);
+ } else {
+ return NULL;
+ }
+}
+
+int arch_possible_memory_operand(const arch_env_t *env, const ir_node *irn, unsigned int i) {
+ const arch_irn_ops_t *ops = get_irn_ops(env, irn);
+ if(ops->impl->possible_memory_operand) {
+ return ops->impl->possible_memory_operand(ops, irn, i);
+ } else {
+ return 0;
+ }
+}
+
+void arch_perform_memory_operand(const arch_env_t *env, ir_node *irn, ir_node *spill, unsigned int i) {
+ const arch_irn_ops_t *ops = get_irn_ops(env, irn);
+ if(ops->impl->perform_memory_operand) {
+ ops->impl->perform_memory_operand(ops, irn, spill, i);
+ } else {
+ return;
+ }
+}
+
+int arch_get_op_estimated_cost(const arch_env_t *env, const ir_node *irn)
+{
+ const arch_irn_ops_t *ops = get_irn_ops(env, irn);
+ if(ops->impl->get_op_estimated_cost) {
+ return ops->impl->get_op_estimated_cost(ops, irn);
+ } else {
+ return 1;
+ }
+}
+
+int arch_is_possible_memory_operand(const arch_env_t *env, const ir_node *irn, int i)
+{
+ const arch_irn_ops_t *ops = get_irn_ops(env, irn);
+ if(ops->impl->possible_memory_operand) {
+ return ops->impl->possible_memory_operand(ops, irn, i);
+ } else {
+ return 0;
+ }
+}
+
+int arch_get_allocatable_regs(const arch_env_t *env, const ir_node *irn, int pos, bitset_t *bs)