+
+/* Returns a new, unique label number. */
+ir_label_t (get_irp_next_label_nr)(void) {
+ return _get_irp_next_label_nr();
+}
+
+/* Add a new global asm include */
+void add_irp_asm(ident *asm_string) {
+ ARR_APP1(ident *, irp->global_asms, asm_string);
+}
+
+/* Return the number of global asm includes. */
+int get_irp_n_asms(void) {
+ return ARR_LEN(irp->global_asms);
+}
+
+/* Return the global asm include at position pos. */
+ident *get_irp_asm(int pos) {
+ assert(pos <= 0 && pos < get_irp_n_asms());
+ return irp->global_asms[pos];
+}