LLVM API Documentation
#include <cstdio>
#include "SparcV9InstrForest.h"
Include dependency graph for SparcV9.burm.cpp:
Go to the source code of this file.
Defines | |
#define | OP_LABEL(p) ((p)->opLabel) |
#define | LEFT_CHILD(p) ((p)->LeftChild) |
#define | RIGHT_CHILD(p) ((p)->RightChild) |
#define | STATE_LABEL(p) ((p)->state) |
#define | PANIC printf |
#define | burm_PANIC PANIC |
#define | burm_assert(x, y) if(!(x)) {y; abort();} |
#define | burm_stmt_rule(state) burm_eruleMap[burm_plank_0[state].f27 +74] |
#define | burm_reg_rule(state) burm_eruleMap[burm_plank_0[state].f26 +8] |
#define | burm_not_rule(state) burm_eruleMap[burm_plank_0[state].f25 +2] |
#define | burm_tobool_rule(state) burm_eruleMap[burm_plank_0[state].f24 +86] |
#define | burm_toubyte_rule(state) burm_eruleMap[burm_plank_0[state].f23 +102] |
#define | burm_tosbyte_rule(state) burm_eruleMap[burm_plank_0[state].f22 +98] |
#define | burm_toushort_rule(state) burm_eruleMap[burm_plank_0[state].f21 +108] |
#define | burm_toshort_rule(state) burm_eruleMap[burm_plank_0[state].f20 +100] |
#define | burm_touint_rule(state) burm_eruleMap[burm_plank_0[state].f19 +104] |
#define | burm_toint_rule(state) burm_eruleMap[burm_plank_0[state].f18 +94] |
#define | burm_toulong_rule(state) burm_eruleMap[burm_plank_0[state].f17 +106] |
#define | burm_tolong_rule(state) burm_eruleMap[burm_plank_0[state].f16 +96] |
#define | burm_tofloat_rule(state) burm_eruleMap[burm_plank_0[state].f15 +92] |
#define | burm_todouble_rule(state) burm_eruleMap[burm_plank_1[state].f14 +88] |
#define | burm_todoubleConst_rule(state) burm_eruleMap[burm_plank_1[state].f13 +90] |
#define | burm_setCCconst_rule(state) burm_eruleMap[burm_plank_1[state].f12 +72] |
#define | burm_setCC_rule(state) burm_eruleMap[burm_plank_1[state].f11 +70] |
#define | burm_bnot_rule(state) burm_eruleMap[burm_plank_1[state].f10 +0] |
#define | burm_ptrreg_rule(state) burm_eruleMap[burm_plank_1[state].f9 +5] |
#define | burm_Ret_state 42 |
#define | burm_RetValue_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 42 : 0 ) |
#define | burm_BrUncond_state 22 |
#define | burm_BrCond_state(l) ( (burm_TEMP = burm_plank_2[l].f1) ? burm_TEMP + 17 : 0 ) |
#define | burm_Switch_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 50 : 0 ) |
#define | burm_Add_state(l, r) ( (burm_TEMP = burm_Add_transition[burm_plank_1[l].f0][burm_plank_1[r].f2]) ? burm_TEMP + 0 : 0 ) |
#define | burm_Sub_state(l, r) ( (burm_TEMP = burm_Sub_transition[burm_plank_1[l].f0][burm_plank_1[r].f2]) ? burm_TEMP + 48 : 0 ) |
#define | burm_Mul_state(l, r) ( (burm_TEMP = burm_Mul_transition[burm_plank_1[l].f3][burm_plank_1[r].f4]) ? burm_TEMP + 30 : 0 ) |
#define | burm_Div_state(l, r) ( (burm_TEMP = burm_Div_transition[burm_plank_1[l].f0][burm_plank_1[r].f2]) ? burm_TEMP + 24 : 0 ) |
#define | burm_Rem_state(l, r) ( (burm_TEMP = burm_Rem_transition[burm_plank_1[l].f0][burm_plank_1[r].f2]) ? burm_TEMP + 39 : 0 ) |
#define | burm_And_state(l, r) ( (burm_TEMP = burm_And_transition[burm_plank_1[l].f0][burm_plank_1[r].f5]) ? burm_TEMP + 4 : 0 ) |
#define | burm_Or_state(l, r) ( (burm_TEMP = burm_Or_transition[burm_plank_1[l].f0][burm_plank_1[r].f5]) ? burm_TEMP + 35 : 0 ) |
#define | burm_Xor_state(l, r) ( (burm_TEMP = burm_Xor_transition[burm_plank_1[l].f0][burm_plank_1[r].f5]) ? burm_TEMP + 68 : 0 ) |
#define | burm_BAnd_state(l, r) ( (burm_TEMP = burm_BAnd_transition[burm_plank_1[l].f0][burm_plank_1[r].f6]) ? burm_TEMP + 7 : 0 ) |
#define | burm_BOr_state(l, r) ( (burm_TEMP = burm_BOr_transition[burm_plank_1[l].f0][burm_plank_1[r].f6]) ? burm_TEMP + 11 : 0 ) |
#define | burm_BXor_state(l, r) ( (burm_TEMP = burm_BXor_transition[burm_plank_1[l].f0][burm_plank_1[r].f6]) ? burm_TEMP + 14 : 0 ) |
#define | burm_BNot_state(l, r) ( (burm_TEMP = burm_BNot_transition[burm_plank_1[l].f0][burm_plank_1[r].f0]) ? burm_TEMP + 10 : 0 ) |
#define | burm_Not_state(l, r) ( (burm_TEMP = burm_Not_transition[burm_plank_1[l].f7][burm_plank_1[r].f0]) ? burm_TEMP + 34 : 0 ) |
#define | burm_SetCC_state(l, r) ( (burm_TEMP = burm_SetCC_transition[burm_plank_1[l].f0][burm_plank_1[r].f2]) ? burm_TEMP + 43 : 0 ) |
#define | burm_Malloc_state 0 |
#define | burm_Free_state 0 |
#define | burm_Alloca_state 3 |
#define | burm_AllocaN_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 3 : 0 ) |
#define | burm_Load_state(l) ( (burm_TEMP = burm_plank_1[l].f8) ? burm_TEMP + 28 : 0 ) |
#define | burm_Store_state(l, r) ( (burm_TEMP = burm_Store_transition[burm_plank_1[l].f0][burm_plank_1[r].f8]) ? burm_TEMP + 47 : 0 ) |
#define | burm_GetElemPtr_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 26 : 0 ) |
#define | burm_GetElemPtrIdx_state(l, r) ( (burm_TEMP = burm_GetElemPtrIdx_transition[burm_plank_1[l].f0][burm_plank_1[r].f0]) ? burm_TEMP + 27 : 0 ) |
#define | burm_Phi_state(l, r) ( (burm_TEMP = burm_Phi_transition[burm_plank_1[l].f0][burm_plank_1[r].f0]) ? burm_TEMP + 38 : 0 ) |
#define | burm_Cast_state 0 |
#define | burm_ToBoolTy_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 52 : 0 ) |
#define | burm_ToUByteTy_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 61 : 0 ) |
#define | burm_ToSByteTy_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 59 : 0 ) |
#define | burm_ToUShortTy_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 64 : 0 ) |
#define | burm_ToShortTy_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 60 : 0 ) |
#define | burm_ToUIntTy_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 62 : 0 ) |
#define | burm_ToIntTy_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 56 : 0 ) |
#define | burm_ToULongTy_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 63 : 0 ) |
#define | burm_ToLongTy_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 57 : 0 ) |
#define | burm_ToFloatTy_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 55 : 0 ) |
#define | burm_ToDoubleTy_state(l) ( (burm_TEMP = burm_plank_1[l].f2) ? burm_TEMP + 53 : 0 ) |
#define | burm_ToArrayTy_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 51 : 0 ) |
#define | burm_ToPointerTy_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 58 : 0 ) |
#define | burm_Call_state 23 |
#define | burm_Shl_state(l, r) ( (burm_TEMP = burm_Shl_transition[burm_plank_1[l].f0][burm_plank_1[r].f0]) ? burm_TEMP + 45 : 0 ) |
#define | burm_Shr_state(l, r) ( (burm_TEMP = burm_Shr_transition[burm_plank_1[l].f0][burm_plank_1[r].f0]) ? burm_TEMP + 46 : 0 ) |
#define | burm_VAArg_state(l) ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 65 : 0 ) |
#define | burm_VRegList_state(l, r) ( (burm_TEMP = burm_VRegList_transition[burm_plank_1[l].f0][burm_plank_1[r].f0]) ? burm_TEMP + 67 : 0 ) |
#define | burm_VReg_state 67 |
#define | burm_Constant_state 24 |
#define | burm_Label_state 0 |
#define | burm_INCLUDE_EXTRA |
#define | burm_STATE_LABEL STATE_LABEL |
#define | burm_NODEPTR_TYPE NODEPTR_TYPE |
#define | burm_LEFT_CHILD LEFT_CHILD |
#define | burm_OP_LABEL OP_LABEL |
#define | burm_RIGHT_CHILD RIGHT_CHILD |
#define | burm_ptrreg_NT 19 |
#define | burm_bnot_NT 18 |
#define | burm_setCC_NT 17 |
#define | burm_setCCconst_NT 16 |
#define | burm_todoubleConst_NT 15 |
#define | burm_todouble_NT 14 |
#define | burm_tofloat_NT 13 |
#define | burm_tolong_NT 12 |
#define | burm_toulong_NT 11 |
#define | burm_toint_NT 10 |
#define | burm_touint_NT 9 |
#define | burm_toshort_NT 8 |
#define | burm_toushort_NT 7 |
#define | burm_tosbyte_NT 6 |
#define | burm_toubyte_NT 5 |
#define | burm_tobool_NT 4 |
#define | burm_not_NT 3 |
#define | burm_reg_NT 2 |
#define | burm_stmt_NT 1 |
#define | burm_NT 19 |
#define | burm_Max_state 71 |
#define | burm_Max_rule 540 |
Typedefs | |
typedef llvm::InstrTreeNode * | NODEPTR_TYPE |
Functions | |
void | abort () |
int | burm_rule (state, goalnt) int state |
int | burm_state (op, l, r) int op |
void | printcover (NODEPTR_TYPE p, int goalnt, int indent) |
void | printtree (NODEPTR_TYPE p) |
int | treecost (NODEPTR_TYPE p, int goalnt, int costindex) |
void | printMatches (NODEPTR_TYPE p) |
Variables | |
static short | burm_r1_nts [] = { 0 } |
static short | burm_r2_nts [] = { 2, 0 } |
static short | burm_r3_nts [] = { 2, 2, 0 } |
static short | burm_r4_nts [] = { 2, 19, 0 } |
static short | burm_r6_nts [] = { 17, 0 } |
static short | burm_r52_nts [] = { 19, 0 } |
static short | burm_r123_nts [] = { 5, 0 } |
static short | burm_r124_nts [] = { 6, 0 } |
static short | burm_r125_nts [] = { 7, 0 } |
static short | burm_r126_nts [] = { 8, 0 } |
static short | burm_r127_nts [] = { 9, 0 } |
static short | burm_r128_nts [] = { 10, 0 } |
static short | burm_r129_nts [] = { 11, 0 } |
static short | burm_r130_nts [] = { 12, 0 } |
static short | burm_r131_nts [] = { 13, 0 } |
static short | burm_r132_nts [] = { 14, 0 } |
static short | burm_r133_nts [] = { 15, 0 } |
static short | burm_r135_nts [] = { 14, 14, 0 } |
static short | burm_r138_nts [] = { 2, 3, 0 } |
static short | burm_r206_nts [] = { 16, 0 } |
static short | burm_r221_nts [] = { 3, 0 } |
static short | burm_r222_nts [] = { 4, 0 } |
static short | burm_r321_nts [] = { 18, 0 } |
static short | burm_r322_nts [] = { 4, 2, 0 } |
static short | burm_r335_nts [] = { 14, 15, 0 } |
static short | burm_r438_nts [] = { 2, 18, 0 } |
short * | burm_nts [] |
static unsigned char | burm_Add_transition [2][3] |
static unsigned char | burm_Sub_transition [2][3] |
static unsigned char | burm_Mul_transition [4][5] |
static unsigned char | burm_Div_transition [2][3] |
static unsigned char | burm_Rem_transition [2][3] |
static unsigned char | burm_And_transition [2][4] |
static unsigned char | burm_Or_transition [2][4] |
static unsigned char | burm_Xor_transition [2][4] |
static unsigned char | burm_BAnd_transition [2][4] |
static unsigned char | burm_BOr_transition [2][4] |
static unsigned char | burm_BXor_transition [2][4] |
static unsigned char | burm_BNot_transition [2][2] |
static unsigned char | burm_Not_transition [3][2] |
static unsigned char | burm_SetCC_transition [2][3] |
static unsigned char | burm_Store_transition [2][3] |
static unsigned char | burm_GetElemPtrIdx_transition [2][2] |
static unsigned char | burm_Phi_transition [2][2] |
static unsigned char | burm_Shl_transition [2][2] |
static unsigned char | burm_Shr_transition [2][2] |
static unsigned char | burm_VRegList_transition [2][2] |
struct { | |
unsigned int f15:2 | |
unsigned int f16:2 | |
unsigned int f17:2 | |
unsigned int f18:2 | |
unsigned int f19:2 | |
unsigned int f20:2 | |
unsigned int f21:2 | |
unsigned int f22:2 | |
unsigned int f23:2 | |
unsigned int f24:2 | |
unsigned int f25:2 | |
unsigned int f26:6 | |
unsigned int f27:4 | |
} | burm_plank_0 [] |
struct { | |
unsigned int f0:2 | |
unsigned int f2:2 | |
unsigned int f3:3 | |
unsigned int f4:3 | |
unsigned int f5:3 | |
unsigned int f6:3 | |
unsigned int f7:2 | |
unsigned int f8:2 | |
unsigned int f9:2 | |
unsigned int f10:2 | |
unsigned int f11:2 | |
unsigned int f12:2 | |
unsigned int f13:2 | |
unsigned int f14:2 | |
} | burm_plank_1 [] |
struct { | |
unsigned int f1:3 | |
} | burm_plank_2 [] |
static short | burm_eruleMap [] |
int | goalnt |
int | l |
int | r |
int | rulenumber |
burm_NODEPTR_TYPE * | kids |
int | index |
char | burm_arity [] |
int | burm_max_op = 314 |
int | burm_max_state = 71 |
const char * | burm_string [] |
int | burm_max_rule = 540 |
short | burm_rule_descriptor_0 [] = { 0, 0 } |
short | burm_rule_descriptor_1 [] = { -1, 1, } |
short | burm_rule_descriptor_2 [] = { -1, 101, -2, } |
short | burm_rule_descriptor_3 [] = { -1, 25, -2, -2, } |
short | burm_rule_descriptor_4 [] = { -1, 25, -2, -19, } |
short | burm_rule_descriptor_5 [] = { -1, 2, } |
short | burm_rule_descriptor_6 [] = { -1, 102, -17, } |
short | burm_rule_descriptor_8 [] = { -1, 102, -2, } |
short | burm_rule_descriptor_9 [] = { -1, 3, -2, } |
short | burm_rule_descriptor_10 [] = { -2, 97, -2, -2, } |
short | burm_rule_descriptor_19 [] = { -2, 139, -2, } |
short | burm_rule_descriptor_20 [] = { -2, 140, -2, } |
short | burm_rule_descriptor_21 [] = { -3, 314, -2, -2, } |
short | burm_rule_descriptor_22 [] = { -4, 128, -2, } |
short | burm_rule_descriptor_23 [] = { -5, 129, -2, } |
short | burm_rule_descriptor_24 [] = { -6, 130, -2, } |
short | burm_rule_descriptor_25 [] = { -7, 131, -2, } |
short | burm_rule_descriptor_26 [] = { -8, 132, -2, } |
short | burm_rule_descriptor_27 [] = { -9, 133, -2, } |
short | burm_rule_descriptor_28 [] = { -10, 134, -2, } |
short | burm_rule_descriptor_29 [] = { -11, 135, -2, } |
short | burm_rule_descriptor_30 [] = { -12, 136, -2, } |
short | burm_rule_descriptor_31 [] = { -13, 137, -2, } |
short | burm_rule_descriptor_32 [] = { -14, 138, -2, } |
short | burm_rule_descriptor_33 [] = { -2, 7, -2, -2, } |
short | burm_rule_descriptor_34 [] = { -2, 8, -2, -2, } |
short | burm_rule_descriptor_35 [] = { -2, 9, -2, -2, } |
short | burm_rule_descriptor_36 [] = { -2, 10, -2, -2, } |
short | burm_rule_descriptor_37 [] = { -2, 11, -2, -2, } |
short | burm_rule_descriptor_38 [] = { -2, 12, -2, -2, } |
short | burm_rule_descriptor_39 [] = { -2, 13, -2, -2, } |
short | burm_rule_descriptor_40 [] = { -2, 14, -2, -2, } |
short | burm_rule_descriptor_41 [] = { -16, 115, -2, 99, } |
short | burm_rule_descriptor_42 [] = { -17, 115, -2, -2, } |
short | burm_rule_descriptor_51 [] = { -2, 24, -2, } |
short | burm_rule_descriptor_52 [] = { -2, 24, -19, } |
short | burm_rule_descriptor_55 [] = { -19, 26, -2, } |
short | burm_rule_descriptor_56 [] = { -19, 126, -2, -2, } |
short | burm_rule_descriptor_57 [] = { -2, 23, } |
short | burm_rule_descriptor_58 [] = { -2, 123, -2, } |
short | burm_rule_descriptor_61 [] = { -2, 29, } |
short | burm_rule_descriptor_62 [] = { -2, 30, -2, -2, } |
short | burm_rule_descriptor_63 [] = { -2, 31, -2, -2, } |
short | burm_rule_descriptor_64 [] = { -2, 27, -2, -2, } |
short | burm_rule_descriptor_66 [] = { -2, 37, -2, } |
short | burm_rule_descriptor_71 [] = { -2, 98, } |
short | burm_rule_descriptor_72 [] = { -2, 99, } |
short | burm_rule_descriptor_111 [] = { -1, -2, } |
short | burm_rule_descriptor_123 [] = { -2, -5, } |
short | burm_rule_descriptor_124 [] = { -2, -6, } |
short | burm_rule_descriptor_125 [] = { -2, -7, } |
short | burm_rule_descriptor_126 [] = { -2, -8, } |
short | burm_rule_descriptor_127 [] = { -2, -9, } |
short | burm_rule_descriptor_128 [] = { -2, -10, } |
short | burm_rule_descriptor_129 [] = { -2, -11, } |
short | burm_rule_descriptor_130 [] = { -2, -12, } |
short | burm_rule_descriptor_131 [] = { -2, -13, } |
short | burm_rule_descriptor_132 [] = { -2, -14, } |
short | burm_rule_descriptor_133 [] = { -2, -15, } |
short | burm_rule_descriptor_135 [] = { -2, 9, -14, -14, } |
short | burm_rule_descriptor_138 [] = { -2, 12, -2, -3, } |
short | burm_rule_descriptor_139 [] = { -2, 13, -2, -3, } |
short | burm_rule_descriptor_140 [] = { -2, 14, -2, -3, } |
short | burm_rule_descriptor_155 [] = { -2, -19, } |
short | burm_rule_descriptor_206 [] = { -1, 102, -16, } |
short | burm_rule_descriptor_208 [] = { -1, 102, 99, } |
short | burm_rule_descriptor_221 [] = { -2, -3, } |
short | burm_rule_descriptor_222 [] = { -2, -4, } |
short | burm_rule_descriptor_232 [] = { -15, 138, 99, } |
short | burm_rule_descriptor_233 [] = { -2, 7, -2, 99, } |
short | burm_rule_descriptor_234 [] = { -2, 8, -2, 99, } |
short | burm_rule_descriptor_235 [] = { -2, 9, -2, 99, } |
short | burm_rule_descriptor_236 [] = { -2, 10, -2, 99, } |
short | burm_rule_descriptor_237 [] = { -2, 11, -2, 99, } |
short | burm_rule_descriptor_238 [] = { -2, 12, -2, 99, } |
short | burm_rule_descriptor_239 [] = { -2, 13, -2, 99, } |
short | burm_rule_descriptor_240 [] = { -2, 14, -2, 99, } |
short | burm_rule_descriptor_241 [] = { -2, -16, } |
short | burm_rule_descriptor_242 [] = { -2, -17, } |
short | burm_rule_descriptor_321 [] = { -2, -18, } |
short | burm_rule_descriptor_322 [] = { -3, 314, -4, -2, } |
short | burm_rule_descriptor_335 [] = { -2, 9, -14, -15, } |
short | burm_rule_descriptor_338 [] = { -2, 112, -2, -2, } |
short | burm_rule_descriptor_339 [] = { -2, 113, -2, -2, } |
short | burm_rule_descriptor_340 [] = { -2, 114, -2, -2, } |
short | burm_rule_descriptor_421 [] = { -18, 214, -2, -2, } |
short | burm_rule_descriptor_438 [] = { -2, 112, -2, -18, } |
short | burm_rule_descriptor_439 [] = { -2, 113, -2, -18, } |
short | burm_rule_descriptor_440 [] = { -2, 114, -2, -18, } |
short | burm_rule_descriptor_538 [] = { -2, 112, -2, 99, } |
short | burm_rule_descriptor_539 [] = { -2, 113, -2, 99, } |
short | burm_rule_descriptor_540 [] = { -2, 114, -2, 99, } |
short * | burm_rule_descriptors [] |
short | burm_cost [][4] |
short | burm_delta_cost [72][20][4] |
const char * | burm_state_string [] |
const char * | burm_ntname [] |
short | burm_closure [20][20] |
#define burm_Add_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_Add_transition[burm_plank_1[l].f0][burm_plank_1[r].f2]) ? burm_TEMP + 0 : 0 ) |
Definition at line 1020 of file SparcV9.burm.cpp.
#define burm_Alloca_state 3 |
Definition at line 1036 of file SparcV9.burm.cpp.
#define burm_AllocaN_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 3 : 0 ) |
Definition at line 1037 of file SparcV9.burm.cpp.
#define burm_And_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_And_transition[burm_plank_1[l].f0][burm_plank_1[r].f5]) ? burm_TEMP + 4 : 0 ) |
Definition at line 1025 of file SparcV9.burm.cpp.
#define burm_assert | ( | x, | |||
y | ) | if(!(x)) {y; abort();} |
Definition at line 22 of file SparcV9.burm.cpp.
#define burm_BAnd_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_BAnd_transition[burm_plank_1[l].f0][burm_plank_1[r].f6]) ? burm_TEMP + 7 : 0 ) |
Definition at line 1028 of file SparcV9.burm.cpp.
#define burm_bnot_NT 18 |
#define burm_bnot_rule | ( | state | ) | burm_eruleMap[burm_plank_1[state].f10 +0] |
Definition at line 959 of file SparcV9.burm.cpp.
#define burm_BNot_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_BNot_transition[burm_plank_1[l].f0][burm_plank_1[r].f0]) ? burm_TEMP + 10 : 0 ) |
Definition at line 1031 of file SparcV9.burm.cpp.
#define burm_BOr_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_BOr_transition[burm_plank_1[l].f0][burm_plank_1[r].f6]) ? burm_TEMP + 11 : 0 ) |
Definition at line 1029 of file SparcV9.burm.cpp.
#define burm_BrCond_state | ( | l | ) | ( (burm_TEMP = burm_plank_2[l].f1) ? burm_TEMP + 17 : 0 ) |
Definition at line 1018 of file SparcV9.burm.cpp.
#define burm_BrUncond_state 22 |
Definition at line 1017 of file SparcV9.burm.cpp.
#define burm_BXor_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_BXor_transition[burm_plank_1[l].f0][burm_plank_1[r].f6]) ? burm_TEMP + 14 : 0 ) |
Definition at line 1030 of file SparcV9.burm.cpp.
#define burm_Call_state 23 |
Definition at line 1057 of file SparcV9.burm.cpp.
#define burm_Cast_state 0 |
Definition at line 1043 of file SparcV9.burm.cpp.
#define burm_Constant_state 24 |
Definition at line 1063 of file SparcV9.burm.cpp.
#define burm_Div_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_Div_transition[burm_plank_1[l].f0][burm_plank_1[r].f2]) ? burm_TEMP + 24 : 0 ) |
Definition at line 1023 of file SparcV9.burm.cpp.
#define burm_Free_state 0 |
Definition at line 1035 of file SparcV9.burm.cpp.
#define burm_GetElemPtr_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 26 : 0 ) |
Definition at line 1040 of file SparcV9.burm.cpp.
#define burm_GetElemPtrIdx_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_GetElemPtrIdx_transition[burm_plank_1[l].f0][burm_plank_1[r].f0]) ? burm_TEMP + 27 : 0 ) |
Definition at line 1041 of file SparcV9.burm.cpp.
#define burm_INCLUDE_EXTRA |
#define burm_Label_state 0 |
Definition at line 1064 of file SparcV9.burm.cpp.
#define burm_LEFT_CHILD LEFT_CHILD |
#define burm_Load_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f8) ? burm_TEMP + 28 : 0 ) |
Definition at line 1038 of file SparcV9.burm.cpp.
#define burm_Malloc_state 0 |
Definition at line 1034 of file SparcV9.burm.cpp.
#define burm_Max_rule 540 |
Definition at line 2653 of file SparcV9.burm.cpp.
#define burm_Max_state 71 |
Definition at line 2108 of file SparcV9.burm.cpp.
#define burm_Mul_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_Mul_transition[burm_plank_1[l].f3][burm_plank_1[r].f4]) ? burm_TEMP + 30 : 0 ) |
Definition at line 1022 of file SparcV9.burm.cpp.
#define burm_NODEPTR_TYPE NODEPTR_TYPE |
#define burm_not_NT 3 |
#define burm_not_rule | ( | state | ) | burm_eruleMap[burm_plank_0[state].f25 +2] |
Definition at line 944 of file SparcV9.burm.cpp.
#define burm_Not_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_Not_transition[burm_plank_1[l].f7][burm_plank_1[r].f0]) ? burm_TEMP + 34 : 0 ) |
Definition at line 1032 of file SparcV9.burm.cpp.
#define burm_NT 19 |
#define burm_OP_LABEL OP_LABEL |
#define burm_Or_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_Or_transition[burm_plank_1[l].f0][burm_plank_1[r].f5]) ? burm_TEMP + 35 : 0 ) |
Definition at line 1026 of file SparcV9.burm.cpp.
#define burm_PANIC PANIC |
Definition at line 12 of file SparcV9.burm.cpp.
#define burm_Phi_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_Phi_transition[burm_plank_1[l].f0][burm_plank_1[r].f0]) ? burm_TEMP + 38 : 0 ) |
Definition at line 1042 of file SparcV9.burm.cpp.
#define burm_ptrreg_NT 19 |
#define burm_ptrreg_rule | ( | state | ) | burm_eruleMap[burm_plank_1[state].f9 +5] |
Definition at line 960 of file SparcV9.burm.cpp.
#define burm_reg_NT 2 |
#define burm_reg_rule | ( | state | ) | burm_eruleMap[burm_plank_0[state].f26 +8] |
Definition at line 943 of file SparcV9.burm.cpp.
#define burm_Rem_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_Rem_transition[burm_plank_1[l].f0][burm_plank_1[r].f2]) ? burm_TEMP + 39 : 0 ) |
Definition at line 1024 of file SparcV9.burm.cpp.
#define burm_Ret_state 42 |
Definition at line 1015 of file SparcV9.burm.cpp.
#define burm_RetValue_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 42 : 0 ) |
Definition at line 1016 of file SparcV9.burm.cpp.
#define burm_RIGHT_CHILD RIGHT_CHILD |
#define burm_setCC_NT 17 |
#define burm_setCC_rule | ( | state | ) | burm_eruleMap[burm_plank_1[state].f11 +70] |
Definition at line 958 of file SparcV9.burm.cpp.
#define burm_SetCC_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_SetCC_transition[burm_plank_1[l].f0][burm_plank_1[r].f2]) ? burm_TEMP + 43 : 0 ) |
Definition at line 1033 of file SparcV9.burm.cpp.
#define burm_setCCconst_NT 16 |
#define burm_setCCconst_rule | ( | state | ) | burm_eruleMap[burm_plank_1[state].f12 +72] |
Definition at line 957 of file SparcV9.burm.cpp.
#define burm_Shl_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_Shl_transition[burm_plank_1[l].f0][burm_plank_1[r].f0]) ? burm_TEMP + 45 : 0 ) |
Definition at line 1058 of file SparcV9.burm.cpp.
#define burm_Shr_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_Shr_transition[burm_plank_1[l].f0][burm_plank_1[r].f0]) ? burm_TEMP + 46 : 0 ) |
Definition at line 1059 of file SparcV9.burm.cpp.
#define burm_STATE_LABEL STATE_LABEL |
#define burm_stmt_NT 1 |
#define burm_stmt_rule | ( | state | ) | burm_eruleMap[burm_plank_0[state].f27 +74] |
Definition at line 942 of file SparcV9.burm.cpp.
#define burm_Store_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_Store_transition[burm_plank_1[l].f0][burm_plank_1[r].f8]) ? burm_TEMP + 47 : 0 ) |
Definition at line 1039 of file SparcV9.burm.cpp.
#define burm_Sub_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_Sub_transition[burm_plank_1[l].f0][burm_plank_1[r].f2]) ? burm_TEMP + 48 : 0 ) |
Definition at line 1021 of file SparcV9.burm.cpp.
#define burm_Switch_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 50 : 0 ) |
Definition at line 1019 of file SparcV9.burm.cpp.
#define burm_ToArrayTy_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 51 : 0 ) |
Definition at line 1055 of file SparcV9.burm.cpp.
#define burm_tobool_NT 4 |
#define burm_tobool_rule | ( | state | ) | burm_eruleMap[burm_plank_0[state].f24 +86] |
Definition at line 945 of file SparcV9.burm.cpp.
#define burm_ToBoolTy_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 52 : 0 ) |
Definition at line 1044 of file SparcV9.burm.cpp.
#define burm_todouble_NT 14 |
#define burm_todouble_rule | ( | state | ) | burm_eruleMap[burm_plank_1[state].f14 +88] |
Definition at line 955 of file SparcV9.burm.cpp.
#define burm_todoubleConst_NT 15 |
#define burm_todoubleConst_rule | ( | state | ) | burm_eruleMap[burm_plank_1[state].f13 +90] |
Definition at line 956 of file SparcV9.burm.cpp.
#define burm_ToDoubleTy_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f2) ? burm_TEMP + 53 : 0 ) |
Definition at line 1054 of file SparcV9.burm.cpp.
#define burm_tofloat_NT 13 |
#define burm_tofloat_rule | ( | state | ) | burm_eruleMap[burm_plank_0[state].f15 +92] |
Definition at line 954 of file SparcV9.burm.cpp.
#define burm_ToFloatTy_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 55 : 0 ) |
Definition at line 1053 of file SparcV9.burm.cpp.
#define burm_toint_NT 10 |
#define burm_toint_rule | ( | state | ) | burm_eruleMap[burm_plank_0[state].f18 +94] |
Definition at line 951 of file SparcV9.burm.cpp.
#define burm_ToIntTy_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 56 : 0 ) |
Definition at line 1050 of file SparcV9.burm.cpp.
#define burm_tolong_NT 12 |
#define burm_tolong_rule | ( | state | ) | burm_eruleMap[burm_plank_0[state].f16 +96] |
Definition at line 953 of file SparcV9.burm.cpp.
#define burm_ToLongTy_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 57 : 0 ) |
Definition at line 1052 of file SparcV9.burm.cpp.
#define burm_ToPointerTy_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 58 : 0 ) |
Definition at line 1056 of file SparcV9.burm.cpp.
#define burm_tosbyte_NT 6 |
#define burm_tosbyte_rule | ( | state | ) | burm_eruleMap[burm_plank_0[state].f22 +98] |
Definition at line 947 of file SparcV9.burm.cpp.
#define burm_ToSByteTy_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 59 : 0 ) |
Definition at line 1046 of file SparcV9.burm.cpp.
#define burm_toshort_NT 8 |
#define burm_toshort_rule | ( | state | ) | burm_eruleMap[burm_plank_0[state].f20 +100] |
Definition at line 949 of file SparcV9.burm.cpp.
#define burm_ToShortTy_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 60 : 0 ) |
Definition at line 1048 of file SparcV9.burm.cpp.
#define burm_toubyte_NT 5 |
#define burm_toubyte_rule | ( | state | ) | burm_eruleMap[burm_plank_0[state].f23 +102] |
Definition at line 946 of file SparcV9.burm.cpp.
#define burm_ToUByteTy_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 61 : 0 ) |
Definition at line 1045 of file SparcV9.burm.cpp.
#define burm_touint_NT 9 |
#define burm_touint_rule | ( | state | ) | burm_eruleMap[burm_plank_0[state].f19 +104] |
Definition at line 950 of file SparcV9.burm.cpp.
#define burm_ToUIntTy_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 62 : 0 ) |
Definition at line 1049 of file SparcV9.burm.cpp.
#define burm_toulong_NT 11 |
#define burm_toulong_rule | ( | state | ) | burm_eruleMap[burm_plank_0[state].f17 +106] |
Definition at line 952 of file SparcV9.burm.cpp.
#define burm_ToULongTy_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 63 : 0 ) |
Definition at line 1051 of file SparcV9.burm.cpp.
#define burm_toushort_NT 7 |
#define burm_toushort_rule | ( | state | ) | burm_eruleMap[burm_plank_0[state].f21 +108] |
Definition at line 948 of file SparcV9.burm.cpp.
#define burm_ToUShortTy_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 64 : 0 ) |
Definition at line 1047 of file SparcV9.burm.cpp.
#define burm_VAArg_state | ( | l | ) | ( (burm_TEMP = burm_plank_1[l].f0) ? burm_TEMP + 65 : 0 ) |
Definition at line 1060 of file SparcV9.burm.cpp.
#define burm_VReg_state 67 |
Definition at line 1062 of file SparcV9.burm.cpp.
#define burm_VRegList_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_VRegList_transition[burm_plank_1[l].f0][burm_plank_1[r].f0]) ? burm_TEMP + 67 : 0 ) |
Definition at line 1061 of file SparcV9.burm.cpp.
#define burm_Xor_state | ( | l, | |||
r | ) | ( (burm_TEMP = burm_Xor_transition[burm_plank_1[l].f0][burm_plank_1[r].f5]) ? burm_TEMP + 68 : 0 ) |
Definition at line 1027 of file SparcV9.burm.cpp.
#define LEFT_CHILD | ( | p | ) | ((p)->LeftChild) |
Definition at line 7 of file SparcV9.burm.cpp.
#define OP_LABEL | ( | p | ) | ((p)->opLabel) |
Definition at line 6 of file SparcV9.burm.cpp.
#define PANIC printf |
Definition at line 10 of file SparcV9.burm.cpp.
#define RIGHT_CHILD | ( | p | ) | ((p)->RightChild) |
Definition at line 8 of file SparcV9.burm.cpp.
#define STATE_LABEL | ( | p | ) | ((p)->state) |
Definition at line 9 of file SparcV9.burm.cpp.
Referenced by printcover(), printMatches(), and treecost().
typedef llvm::InstrTreeNode* NODEPTR_TYPE |
Definition at line 5 of file SparcV9.burm.cpp.
void abort | ( | ) |
Referenced by llvm::TargetFrameInfo::adjustAlignment(), AlphaCompilationCallback(), llvm::Interpreter::callExternalFunction(), llvm::ValueHandle::clone(), CompilationCallback(), llvm::ConvertConstantType< ConstantClass, TypeClass >::convert(), llvm::X86RegisterInfo::copyRegToReg(), llvm::SparcV9RegisterInfo::copyRegToReg(), llvm::PPCRegisterInfo::copyRegToReg(), llvm::AlphaRegisterInfo::copyRegToReg(), llvm::TDDataStructures::copyValue(), llvm::BUDataStructures::copyValue(), llvm::BUDataStructures::CreateGraphForExternalFunction(), llvm::createRegisterAllocator(), llvm::TargetLowering::CustomPromoteOperation(), llvm::MSScheduleSB::defPreviousStage(), llvm::MSSchedule::defPreviousStage(), llvm::GlobalValue::destroyConstant(), llvm::SparcV9RegisterInfo::eliminateFrameIndex(), llvm::SparcV9RegisterInfo::emitEpilogue(), llvm::AlphaRegisterInfo::emitEpilogue(), llvm::ExecutionEngine::emitGlobals(), llvm::SparcV9RegisterInfo::emitPrologue(), llvm::AlphaRegisterInfo::emitPrologue(), enumRegToMachineReg(), executeAddInst(), executeAndInst(), executeDivInst(), executeMulInst(), executeOrInst(), executeRemInst(), executeSetEQInst(), executeSetGEInst(), executeSetGTInst(), executeSetLEInst(), executeSetLTInst(), executeSetNEInst(), executeShrInst(), executeSubInst(), executeXorInst(), llvm::ELFCodeEmitter::finishFunctionStub(), FoldOperationIntoSelectOperand(), getAlphaRegNumber(), getBCCForSetCC(), llvm::ExecutionEngine::getConstantValue(), getCRIdxForSetCC(), llvm::SparcV9RegisterInfo::getDwarfRegNum(), llvm::TargetFrameInfo::getDynamicAreaOffset(), llvm::TargetFrameInfo::getFirstAutomaticVarOffset(), llvm::SparcV9RegisterInfo::getFrameRegister(), llvm::TargetFrameInfo::getIncomingArgOffset(), llvm::MSchedGraphSBNode::getInEdge(), llvm::MSchedGraphNode::getInEdge(), llvm::MSchedGraphSBNode::getInEdgeNum(), llvm::MSchedGraphNode::getInEdgeNum(), llvm::ValID::getName(), llvm::JIT::getOrEmitGlobalVariable(), llvm::TargetFrameInfo::getOutgoingArgOffset(), llvm::JIT::getPointerToFunction(), llvm::JIT::getPointerToNamedFunction(), llvm::SparcV9RegisterInfo::getRARegister(), llvm::TargetFrameInfo::getRegSpillAreaOffset(), GetSelectFoldableConstant(), llvm::TargetFrameInfo::getTmpAreaOffset(), llvm::TargetLowering::InsertAtEndOfBasicBlock(), llvm::TargetInstrInfo::insertNoop(), llvm::X86RegisterInfo::loadRegFromStackSlot(), llvm::SparcV9RegisterInfo::loadRegFromStackSlot(), llvm::PPCRegisterInfo::loadRegFromStackSlot(), llvm::AlphaRegisterInfo::loadRegFromStackSlot(), llvm::ExecutionEngine::LoadValueFromMemory(), llvm::AlphaTargetLowering::LowerArguments(), llvm::IA64TargetLowering::LowerFrameReturnAddress(), llvm::DefaultIntrinsicLowering::LowerIntrinsicCall(), llvm::X86TargetLowering::LowerOperation(), llvm::TargetLowering::LowerOperation(), llvm::PPCTargetLowering::LowerOperation(), llvm::IA64TargetLowering::LowerOperation(), llvm::DSNode::mergeTypeInfo(), llvm::PassNameParser::passRegistered(), PPC32CompilationCallback(), llvm::X86IntelAsmPrinter::printOp(), llvm::X86ATTAsmPrinter::printOperand(), ProvideOption(), llvm::OpaqueType::refineAbstractType(), llvm::RemoveSuccessor(), llvm::ReplaceNopsWithUsefulInstr(), RestoreRegisters(), llvm::TargetInstrInfo::reverseBranchCondition(), llvm::FunctionPassManager::run(), SaveRegisters(), llvm::InstrSchedule::scheduleInstr(), llvm::ELFCodeEmitter::startFunctionStub(), llvm::X86RegisterInfo::storeRegToStackSlot(), llvm::SparcV9RegisterInfo::storeRegToStackSlot(), llvm::PPCRegisterInfo::storeRegToStackSlot(), llvm::AlphaRegisterInfo::storeRegToStackSlot(), llvm::OpaqueType::typeBecameConcrete(), llvm::SelectionDAGLowering::visit(), llvm::SCEVVisitor< llvm::SCEVExpander, llvm::Value * >::visit(), llvm::Interpreter::visitBinaryOperator(), llvm::SCEVVisitor< llvm::SCEVExpander, llvm::Value * >::visitCouldNotCompute(), llvm::Interpreter::visitUnreachableInst(), llvm::Interpreter::visitUnwindInst(), llvm::Interpreter::visitVAArgInst(), and X86CompilationCallback().
Referenced by printcover(), printMatches(), and treecost().
void printcover | ( | NODEPTR_TYPE | p, | |
int | goalnt, | |||
int | indent | |||
) |
Definition at line 5547 of file SparcV9.burm.cpp.
References burm_kids(), burm_nts, burm_rule(), kids, and STATE_LABEL.
void printMatches | ( | NODEPTR_TYPE | p | ) |
Definition at line 5599 of file SparcV9.burm.cpp.
References burm_rule(), printtree(), and STATE_LABEL.
void printtree | ( | NODEPTR_TYPE | p | ) |
int treecost | ( | NODEPTR_TYPE | p, | |
int | goalnt, | |||
int | costindex | |||
) |
Definition at line 5587 of file SparcV9.burm.cpp.
References burm_kids(), burm_nts, burm_rule(), kids, and STATE_LABEL.
unsigned char burm_Add_transition[2][3] [static] |
unsigned char burm_And_transition[2][4] [static] |
char burm_arity[] |
Definition at line 1789 of file SparcV9.burm.cpp.
unsigned char burm_BAnd_transition[2][4] [static] |
unsigned char burm_BNot_transition[2][2] [static] |
unsigned char burm_BOr_transition[2][4] [static] |
unsigned char burm_BXor_transition[2][4] [static] |
short burm_closure[20][20] |
Definition at line 5498 of file SparcV9.burm.cpp.
short burm_cost[][4] |
Definition at line 3290 of file SparcV9.burm.cpp.
short burm_delta_cost[72][20][4] |
Definition at line 3834 of file SparcV9.burm.cpp.
unsigned char burm_Div_transition[2][3] [static] |
short burm_eruleMap[] [static] |
Initial value:
{ 0, 421, 0, 322, 21, 0, 56, 55, 0, 72, 71, 66, 64, 63, 62, 61, 58, 57, 155, 52, 51, 540, 539, 538, 237, 236, 335, 235, 234, 233, 321, 440, 340, 439, 339, 438, 338, 37, 36, 135, 35, 34, 33, 20, 19, 133, 132, 131, 130, 129, 128, 127, 126, 125, 124, 123, 242, 241, 222, 221, 240, 140, 40, 239, 139, 39, 238, 138, 38, 10, 0, 42, 0, 41, 0, 111, 9, 208, 8, 206, 6, 5, 4, 3, 2, 1, 0, 22, 0, 32, 0, 232, 0, 31, 0, 28, 0, 30, 0, 24, 0, 26, 0, 23, 0, 27, 0, 29, 0, 25 }
Definition at line 929 of file SparcV9.burm.cpp.
unsigned char burm_GetElemPtrIdx_transition[2][2] [static] |
int burm_max_op = 314 |
Definition at line 2106 of file SparcV9.burm.cpp.
int burm_max_rule = 540 |
Definition at line 2652 of file SparcV9.burm.cpp.
int burm_max_state = 71 |
Definition at line 2107 of file SparcV9.burm.cpp.
unsigned char burm_Mul_transition[4][5] [static] |
Initial value:
{ { 0, 0, 0, 0, 0} , { 0, 1, 2, 1, 1} , { 0, 1, 2, 3, 4} , { 0, 1, 2, 3, 4} }
Definition at line 601 of file SparcV9.burm.cpp.
unsigned char burm_Not_transition[3][2] [static] |
const char* burm_ntname[] |
Initial value:
{ "Error: Nonterminals are > 0", "stmt", "reg", "not", "tobool", "toubyte", "tosbyte", "toushort", "toshort", "touint", "toint", "toulong", "tolong", "tofloat", "todouble", "todoubleConst", "setCCconst", "setCC", "bnot", "ptrreg", 0 }
Definition at line 5474 of file SparcV9.burm.cpp.
short* burm_nts[] |
unsigned char burm_Or_transition[2][4] [static] |
unsigned char burm_Phi_transition[2][2] [static] |
struct { ... } burm_plank_0[] [static] |
struct { ... } burm_plank_1[] [static] |
struct { ... } burm_plank_2[] [static] |
short burm_r123_nts[] = { 5, 0 } [static] |
Definition at line 30 of file SparcV9.burm.cpp.
short burm_r124_nts[] = { 6, 0 } [static] |
Definition at line 31 of file SparcV9.burm.cpp.
short burm_r125_nts[] = { 7, 0 } [static] |
Definition at line 32 of file SparcV9.burm.cpp.
short burm_r126_nts[] = { 8, 0 } [static] |
Definition at line 33 of file SparcV9.burm.cpp.
short burm_r127_nts[] = { 9, 0 } [static] |
Definition at line 34 of file SparcV9.burm.cpp.
short burm_r128_nts[] = { 10, 0 } [static] |
Definition at line 35 of file SparcV9.burm.cpp.
short burm_r129_nts[] = { 11, 0 } [static] |
Definition at line 36 of file SparcV9.burm.cpp.
short burm_r130_nts[] = { 12, 0 } [static] |
Definition at line 37 of file SparcV9.burm.cpp.
short burm_r131_nts[] = { 13, 0 } [static] |
Definition at line 38 of file SparcV9.burm.cpp.
short burm_r132_nts[] = { 14, 0 } [static] |
Definition at line 39 of file SparcV9.burm.cpp.
short burm_r133_nts[] = { 15, 0 } [static] |
Definition at line 40 of file SparcV9.burm.cpp.
short burm_r135_nts[] = { 14, 14, 0 } [static] |
Definition at line 41 of file SparcV9.burm.cpp.
short burm_r138_nts[] = { 2, 3, 0 } [static] |
Definition at line 42 of file SparcV9.burm.cpp.
short burm_r1_nts[] = { 0 } [static] |
Definition at line 24 of file SparcV9.burm.cpp.
short burm_r206_nts[] = { 16, 0 } [static] |
Definition at line 43 of file SparcV9.burm.cpp.
short burm_r221_nts[] = { 3, 0 } [static] |
Definition at line 44 of file SparcV9.burm.cpp.
short burm_r222_nts[] = { 4, 0 } [static] |
Definition at line 45 of file SparcV9.burm.cpp.
short burm_r2_nts[] = { 2, 0 } [static] |
Definition at line 25 of file SparcV9.burm.cpp.
short burm_r321_nts[] = { 18, 0 } [static] |
Definition at line 46 of file SparcV9.burm.cpp.
short burm_r322_nts[] = { 4, 2, 0 } [static] |
Definition at line 47 of file SparcV9.burm.cpp.
short burm_r335_nts[] = { 14, 15, 0 } [static] |
Definition at line 48 of file SparcV9.burm.cpp.
short burm_r3_nts[] = { 2, 2, 0 } [static] |
Definition at line 26 of file SparcV9.burm.cpp.
short burm_r438_nts[] = { 2, 18, 0 } [static] |
Definition at line 49 of file SparcV9.burm.cpp.
short burm_r4_nts[] = { 2, 19, 0 } [static] |
Definition at line 27 of file SparcV9.burm.cpp.
short burm_r52_nts[] = { 19, 0 } [static] |
Definition at line 29 of file SparcV9.burm.cpp.
short burm_r6_nts[] = { 17, 0 } [static] |
Definition at line 28 of file SparcV9.burm.cpp.
unsigned char burm_Rem_transition[2][3] [static] |
short burm_rule_descriptor_0[] = { 0, 0 } |
Definition at line 2654 of file SparcV9.burm.cpp.
short burm_rule_descriptor_1[] = { -1, 1, } |
Definition at line 2655 of file SparcV9.burm.cpp.
short burm_rule_descriptor_10[] = { -2, 97, -2, -2, } |
Definition at line 2663 of file SparcV9.burm.cpp.
short burm_rule_descriptor_111[] = { -1, -2, } |
Definition at line 2701 of file SparcV9.burm.cpp.
short burm_rule_descriptor_123[] = { -2, -5, } |
Definition at line 2702 of file SparcV9.burm.cpp.
short burm_rule_descriptor_124[] = { -2, -6, } |
Definition at line 2703 of file SparcV9.burm.cpp.
short burm_rule_descriptor_125[] = { -2, -7, } |
Definition at line 2704 of file SparcV9.burm.cpp.
short burm_rule_descriptor_126[] = { -2, -8, } |
Definition at line 2705 of file SparcV9.burm.cpp.
short burm_rule_descriptor_127[] = { -2, -9, } |
Definition at line 2706 of file SparcV9.burm.cpp.
short burm_rule_descriptor_128[] = { -2, -10, } |
Definition at line 2707 of file SparcV9.burm.cpp.
short burm_rule_descriptor_129[] = { -2, -11, } |
Definition at line 2708 of file SparcV9.burm.cpp.
short burm_rule_descriptor_130[] = { -2, -12, } |
Definition at line 2709 of file SparcV9.burm.cpp.
short burm_rule_descriptor_131[] = { -2, -13, } |
Definition at line 2710 of file SparcV9.burm.cpp.
short burm_rule_descriptor_132[] = { -2, -14, } |
Definition at line 2711 of file SparcV9.burm.cpp.
short burm_rule_descriptor_133[] = { -2, -15, } |
Definition at line 2712 of file SparcV9.burm.cpp.
short burm_rule_descriptor_135[] = { -2, 9, -14, -14, } |
Definition at line 2713 of file SparcV9.burm.cpp.
short burm_rule_descriptor_138[] = { -2, 12, -2, -3, } |
Definition at line 2714 of file SparcV9.burm.cpp.
short burm_rule_descriptor_139[] = { -2, 13, -2, -3, } |
Definition at line 2715 of file SparcV9.burm.cpp.
short burm_rule_descriptor_140[] = { -2, 14, -2, -3, } |
Definition at line 2716 of file SparcV9.burm.cpp.
short burm_rule_descriptor_155[] = { -2, -19, } |
Definition at line 2717 of file SparcV9.burm.cpp.
short burm_rule_descriptor_19[] = { -2, 139, -2, } |
Definition at line 2664 of file SparcV9.burm.cpp.
short burm_rule_descriptor_2[] = { -1, 101, -2, } |
Definition at line 2656 of file SparcV9.burm.cpp.
short burm_rule_descriptor_20[] = { -2, 140, -2, } |
Definition at line 2665 of file SparcV9.burm.cpp.
short burm_rule_descriptor_206[] = { -1, 102, -16, } |
Definition at line 2718 of file SparcV9.burm.cpp.
short burm_rule_descriptor_208[] = { -1, 102, 99, } |
Definition at line 2719 of file SparcV9.burm.cpp.
short burm_rule_descriptor_21[] = { -3, 314, -2, -2, } |
Definition at line 2666 of file SparcV9.burm.cpp.
short burm_rule_descriptor_22[] = { -4, 128, -2, } |
Definition at line 2667 of file SparcV9.burm.cpp.
short burm_rule_descriptor_221[] = { -2, -3, } |
Definition at line 2720 of file SparcV9.burm.cpp.
short burm_rule_descriptor_222[] = { -2, -4, } |
Definition at line 2721 of file SparcV9.burm.cpp.
short burm_rule_descriptor_23[] = { -5, 129, -2, } |
Definition at line 2668 of file SparcV9.burm.cpp.
short burm_rule_descriptor_232[] = { -15, 138, 99, } |
Definition at line 2722 of file SparcV9.burm.cpp.
short burm_rule_descriptor_233[] = { -2, 7, -2, 99, } |
Definition at line 2723 of file SparcV9.burm.cpp.
short burm_rule_descriptor_234[] = { -2, 8, -2, 99, } |
Definition at line 2724 of file SparcV9.burm.cpp.
short burm_rule_descriptor_235[] = { -2, 9, -2, 99, } |
Definition at line 2725 of file SparcV9.burm.cpp.
short burm_rule_descriptor_236[] = { -2, 10, -2, 99, } |
Definition at line 2726 of file SparcV9.burm.cpp.
short burm_rule_descriptor_237[] = { -2, 11, -2, 99, } |
Definition at line 2727 of file SparcV9.burm.cpp.
short burm_rule_descriptor_238[] = { -2, 12, -2, 99, } |
Definition at line 2728 of file SparcV9.burm.cpp.
short burm_rule_descriptor_239[] = { -2, 13, -2, 99, } |
Definition at line 2729 of file SparcV9.burm.cpp.
short burm_rule_descriptor_24[] = { -6, 130, -2, } |
Definition at line 2669 of file SparcV9.burm.cpp.
short burm_rule_descriptor_240[] = { -2, 14, -2, 99, } |
Definition at line 2730 of file SparcV9.burm.cpp.
short burm_rule_descriptor_241[] = { -2, -16, } |
Definition at line 2731 of file SparcV9.burm.cpp.
short burm_rule_descriptor_242[] = { -2, -17, } |
Definition at line 2732 of file SparcV9.burm.cpp.
short burm_rule_descriptor_25[] = { -7, 131, -2, } |
Definition at line 2670 of file SparcV9.burm.cpp.
short burm_rule_descriptor_26[] = { -8, 132, -2, } |
Definition at line 2671 of file SparcV9.burm.cpp.
short burm_rule_descriptor_27[] = { -9, 133, -2, } |
Definition at line 2672 of file SparcV9.burm.cpp.
short burm_rule_descriptor_28[] = { -10, 134, -2, } |
Definition at line 2673 of file SparcV9.burm.cpp.
short burm_rule_descriptor_29[] = { -11, 135, -2, } |
Definition at line 2674 of file SparcV9.burm.cpp.
short burm_rule_descriptor_3[] = { -1, 25, -2, -2, } |
Definition at line 2657 of file SparcV9.burm.cpp.
short burm_rule_descriptor_30[] = { -12, 136, -2, } |
Definition at line 2675 of file SparcV9.burm.cpp.
short burm_rule_descriptor_31[] = { -13, 137, -2, } |
Definition at line 2676 of file SparcV9.burm.cpp.
short burm_rule_descriptor_32[] = { -14, 138, -2, } |
Definition at line 2677 of file SparcV9.burm.cpp.
short burm_rule_descriptor_321[] = { -2, -18, } |
Definition at line 2733 of file SparcV9.burm.cpp.
short burm_rule_descriptor_322[] = { -3, 314, -4, -2, } |
Definition at line 2734 of file SparcV9.burm.cpp.
short burm_rule_descriptor_33[] = { -2, 7, -2, -2, } |
Definition at line 2678 of file SparcV9.burm.cpp.
short burm_rule_descriptor_335[] = { -2, 9, -14, -15, } |
Definition at line 2735 of file SparcV9.burm.cpp.
short burm_rule_descriptor_338[] = { -2, 112, -2, -2, } |
Definition at line 2736 of file SparcV9.burm.cpp.
short burm_rule_descriptor_339[] = { -2, 113, -2, -2, } |
Definition at line 2737 of file SparcV9.burm.cpp.
short burm_rule_descriptor_34[] = { -2, 8, -2, -2, } |
Definition at line 2679 of file SparcV9.burm.cpp.
short burm_rule_descriptor_340[] = { -2, 114, -2, -2, } |
Definition at line 2738 of file SparcV9.burm.cpp.
short burm_rule_descriptor_35[] = { -2, 9, -2, -2, } |
Definition at line 2680 of file SparcV9.burm.cpp.
short burm_rule_descriptor_36[] = { -2, 10, -2, -2, } |
Definition at line 2681 of file SparcV9.burm.cpp.
short burm_rule_descriptor_37[] = { -2, 11, -2, -2, } |
Definition at line 2682 of file SparcV9.burm.cpp.
short burm_rule_descriptor_38[] = { -2, 12, -2, -2, } |
Definition at line 2683 of file SparcV9.burm.cpp.
short burm_rule_descriptor_39[] = { -2, 13, -2, -2, } |
Definition at line 2684 of file SparcV9.burm.cpp.
short burm_rule_descriptor_4[] = { -1, 25, -2, -19, } |
Definition at line 2658 of file SparcV9.burm.cpp.
short burm_rule_descriptor_40[] = { -2, 14, -2, -2, } |
Definition at line 2685 of file SparcV9.burm.cpp.
short burm_rule_descriptor_41[] = { -16, 115, -2, 99, } |
Definition at line 2686 of file SparcV9.burm.cpp.
short burm_rule_descriptor_42[] = { -17, 115, -2, -2, } |
Definition at line 2687 of file SparcV9.burm.cpp.
short burm_rule_descriptor_421[] = { -18, 214, -2, -2, } |
Definition at line 2739 of file SparcV9.burm.cpp.
short burm_rule_descriptor_438[] = { -2, 112, -2, -18, } |
Definition at line 2740 of file SparcV9.burm.cpp.
short burm_rule_descriptor_439[] = { -2, 113, -2, -18, } |
Definition at line 2741 of file SparcV9.burm.cpp.
short burm_rule_descriptor_440[] = { -2, 114, -2, -18, } |
Definition at line 2742 of file SparcV9.burm.cpp.
short burm_rule_descriptor_5[] = { -1, 2, } |
Definition at line 2659 of file SparcV9.burm.cpp.
short burm_rule_descriptor_51[] = { -2, 24, -2, } |
Definition at line 2688 of file SparcV9.burm.cpp.
short burm_rule_descriptor_52[] = { -2, 24, -19, } |
Definition at line 2689 of file SparcV9.burm.cpp.
short burm_rule_descriptor_538[] = { -2, 112, -2, 99, } |
Definition at line 2743 of file SparcV9.burm.cpp.
short burm_rule_descriptor_539[] = { -2, 113, -2, 99, } |
Definition at line 2744 of file SparcV9.burm.cpp.
short burm_rule_descriptor_540[] = { -2, 114, -2, 99, } |
Definition at line 2745 of file SparcV9.burm.cpp.
short burm_rule_descriptor_55[] = { -19, 26, -2, } |
Definition at line 2690 of file SparcV9.burm.cpp.
short burm_rule_descriptor_56[] = { -19, 126, -2, -2, } |
Definition at line 2691 of file SparcV9.burm.cpp.
short burm_rule_descriptor_57[] = { -2, 23, } |
Definition at line 2692 of file SparcV9.burm.cpp.
short burm_rule_descriptor_58[] = { -2, 123, -2, } |
Definition at line 2693 of file SparcV9.burm.cpp.
short burm_rule_descriptor_6[] = { -1, 102, -17, } |
Definition at line 2660 of file SparcV9.burm.cpp.
short burm_rule_descriptor_61[] = { -2, 29, } |
Definition at line 2694 of file SparcV9.burm.cpp.
short burm_rule_descriptor_62[] = { -2, 30, -2, -2, } |
Definition at line 2695 of file SparcV9.burm.cpp.
short burm_rule_descriptor_63[] = { -2, 31, -2, -2, } |
Definition at line 2696 of file SparcV9.burm.cpp.
short burm_rule_descriptor_64[] = { -2, 27, -2, -2, } |
Definition at line 2697 of file SparcV9.burm.cpp.
short burm_rule_descriptor_66[] = { -2, 37, -2, } |
Definition at line 2698 of file SparcV9.burm.cpp.
short burm_rule_descriptor_71[] = { -2, 98, } |
Definition at line 2699 of file SparcV9.burm.cpp.
short burm_rule_descriptor_72[] = { -2, 99, } |
Definition at line 2700 of file SparcV9.burm.cpp.
short burm_rule_descriptor_8[] = { -1, 102, -2, } |
Definition at line 2661 of file SparcV9.burm.cpp.
short burm_rule_descriptor_9[] = { -1, 3, -2, } |
Definition at line 2662 of file SparcV9.burm.cpp.
short* burm_rule_descriptors[] |
Definition at line 2747 of file SparcV9.burm.cpp.
unsigned char burm_SetCC_transition[2][3] [static] |
unsigned char burm_Shl_transition[2][2] [static] |
unsigned char burm_Shr_transition[2][2] [static] |
const char* burm_state_string[] |
Definition at line 5400 of file SparcV9.burm.cpp.
unsigned char burm_Store_transition[2][3] [static] |
const char* burm_string[] |
Definition at line 2109 of file SparcV9.burm.cpp.
unsigned char burm_Sub_transition[2][3] [static] |
unsigned char burm_VRegList_transition[2][2] [static] |
unsigned char burm_Xor_transition[2][4] [static] |
unsigned int f0 |
Definition at line 765 of file SparcV9.burm.cpp.
unsigned int f1 |
Definition at line 854 of file SparcV9.burm.cpp.
unsigned int f10 |
Definition at line 774 of file SparcV9.burm.cpp.
unsigned int f11 |
Definition at line 775 of file SparcV9.burm.cpp.
unsigned int f12 |
Definition at line 776 of file SparcV9.burm.cpp.
unsigned int f13 |
Definition at line 777 of file SparcV9.burm.cpp.
unsigned int f14 |
Definition at line 778 of file SparcV9.burm.cpp.
unsigned int f15 |
Definition at line 677 of file SparcV9.burm.cpp.
unsigned int f16 |
Definition at line 678 of file SparcV9.burm.cpp.
unsigned int f17 |
Definition at line 679 of file SparcV9.burm.cpp.
unsigned int f18 |
Definition at line 680 of file SparcV9.burm.cpp.
unsigned int f19 |
Definition at line 681 of file SparcV9.burm.cpp.
unsigned int f2 |
Definition at line 766 of file SparcV9.burm.cpp.
unsigned int f20 |
Definition at line 682 of file SparcV9.burm.cpp.
unsigned int f21 |
Definition at line 683 of file SparcV9.burm.cpp.
unsigned int f22 |
Definition at line 684 of file SparcV9.burm.cpp.
unsigned int f23 |
Definition at line 685 of file SparcV9.burm.cpp.
unsigned int f24 |
Definition at line 686 of file SparcV9.burm.cpp.
unsigned int f25 |
Definition at line 687 of file SparcV9.burm.cpp.
unsigned int f26 |
Definition at line 688 of file SparcV9.burm.cpp.
unsigned int f27 |
Definition at line 689 of file SparcV9.burm.cpp.
unsigned int f3 |
Definition at line 767 of file SparcV9.burm.cpp.
unsigned int f4 |
Definition at line 768 of file SparcV9.burm.cpp.
unsigned int f5 |
Definition at line 769 of file SparcV9.burm.cpp.
unsigned int f6 |
Definition at line 770 of file SparcV9.burm.cpp.
unsigned int f7 |
Definition at line 771 of file SparcV9.burm.cpp.
unsigned int f8 |
Definition at line 772 of file SparcV9.burm.cpp.
unsigned int f9 |
Definition at line 773 of file SparcV9.burm.cpp.
int goalnt |
Definition at line 965 of file SparcV9.burm.cpp.
int index |
Definition at line 1422 of file SparcV9.burm.cpp.
Referenced by llvm::LiveIntervals::addIntervalsForSpills(), llvm::MSScheduleSB::constructKernel(), llvm::MSSchedule::constructKernel(), llvm::MSchedGraphSBNode::MSchedGraphSBNode(), and llvm::Archive::parseMemberHeader().
burm_NODEPTR_TYPE* kids |
int l |
Definition at line 1069 of file SparcV9.burm.cpp.
Referenced by fallbackSort(), and llvm::DSGraph::removeTriviallyDeadNodes().
int r |
Definition at line 1069 of file SparcV9.burm.cpp.
Referenced by BZ2_bzDecompress(), llvm::InterferenceGraph::createGraph(), fallbackQSort3(), fallbackSort(), llvm::LiveInterval::liveAt(), and llvm::InterferenceGraph::~InterferenceGraph().
int rulenumber |
Definition at line 1249 of file SparcV9.burm.cpp.