#ifdef GET_GICOMBINER_DEPS
#include "llvm/ADT/SparseBitVector.h"
namespace llvm {
extern cl::OptionCategory GICombinerOptionCategory;
}
#endif
#ifdef GET_GICOMBINER_TYPES
struct AArch64PreLegalizerCombinerImplRuleConfig {
SparseBitVector<> DisabledRules;
bool isRuleEnabled(unsigned RuleID) const;
bool parseCommandLineOption();
bool setRuleEnabled(StringRef RuleIdentifier);
bool setRuleDisabled(StringRef RuleIdentifier);
};
static std::optional<uint64_t> getRuleIdxForIdentifier(StringRef RuleIdentifier) {
uint64_t I;
bool Parsed = !RuleIdentifier.getAsInteger(0, I);
if (Parsed)
return I;
#ifndef NDEBUG
switch (RuleIdentifier.size()) {
default: break;
case 9:
switch (RuleIdentifier[0]) {
default: break;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "opy_prop", 8) != 0)
break;
return 13;
case 'm':
switch (RuleIdentifier[1]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+2, "tch_ors", 7) != 0)
break;
return 195;
case 'u':
if (memcmp(RuleIdentifier.data()+2, "lo_by_", 6) != 0)
break;
switch (RuleIdentifier[8]) {
default: break;
case '0':
return 146;
case '2':
return 145;
}
break;
}
break;
case 'n':
if (memcmp(RuleIdentifier.data()+1, "neg_zext", 8) != 0)
break;
return 200;
}
break;
case 10:
switch (RuleIdentifier[0]) {
default: break;
case 'i':
if (memcmp(RuleIdentifier.data()+1, "2p_to_p2i", 9) != 0)
break;
return 87;
case 'm':
switch (RuleIdentifier[1]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+2, "tch_ands", 8) != 0)
break;
return 194;
case 'u':
if (memcmp(RuleIdentifier.data()+2, "l_to_shl", 8) != 0)
break;
return 14;
}
break;
case 'p':
if (memcmp(RuleIdentifier.data()+1, "2i_to_i2p", 9) != 0)
break;
return 86;
case 's':
if (memcmp(RuleIdentifier.data()+1, "ext_trunc", 9) != 0)
break;
return 198;
case 'z':
if (memcmp(RuleIdentifier.data()+1, "ext_trunc", 9) != 0)
break;
return 199;
}
break;
case 11:
switch (RuleIdentifier[0]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+1, "dd_sub_reg", 10) != 0)
break;
return 92;
case 'm':
if (memcmp(RuleIdentifier.data()+1, "atch_addos", 10) != 0)
break;
return 197;
case 's':
if (memcmp(RuleIdentifier.data()+1, "ub_add_reg", 10) != 0)
break;
return 189;
case 't':
if (memcmp(RuleIdentifier.data()+1, "runc_shift", 10) != 0)
break;
return 135;
case 'u':
if (memcmp(RuleIdentifier.data()+1, "nmerge_cst", 10) != 0)
break;
return 131;
}
break;
case 12:
switch (RuleIdentifier[0]) {
default: break;
case 'A':
if (memcmp(RuleIdentifier.data()+1, "PlusBMinusB", 11) != 0)
break;
return 2;
case 'B':
if (memcmp(RuleIdentifier.data()+1, "MinusAPlusA", 11) != 0)
break;
return 3;
case 'a':
if (memcmp(RuleIdentifier.data()+1, "dde_to_addo", 11) != 0)
break;
return 147;
case 'f':
if (memcmp(RuleIdentifier.data()+1, "sub_to_fneg", 11) != 0)
break;
return 191;
case 'm':
if (memcmp(RuleIdentifier.data()+1, "ulh_to_lshr", 11) != 0)
break;
return 177;
case 'n':
if (memcmp(RuleIdentifier.data()+1, "ot_cmp_fold", 11) != 0)
break;
return 128;
case 'r':
if (memcmp(RuleIdentifier.data()+1, "edundant_or", 11) != 0)
break;
return 124;
case 's':
switch (RuleIdentifier[1]) {
default: break;
case 'd':
if (memcmp(RuleIdentifier.data()+2, "iv_by_pow2", 10) != 0)
break;
return 175;
case 'e':
if (memcmp(RuleIdentifier.data()+2, "xt_of_sext", 10) != 0)
break;
return 50;
}
break;
case 'u':
if (memcmp(RuleIdentifier.data()+1, "div_by_pow2", 11) != 0)
break;
return 176;
case 'z':
if (memcmp(RuleIdentifier.data()+1, "ext_of_zext", 11) != 0)
break;
return 48;
}
break;
case 13:
switch (RuleIdentifier[0]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+1, "dd_of_vscale", 12) != 0)
break;
return 36;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "ommute_shift", 12) != 0)
break;
return 163;
case 'l':
if (memcmp(RuleIdentifier.data()+1, "oad_and_mask", 12) != 0)
break;
return 67;
case 'm':
switch (RuleIdentifier[1]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+2, "tch_selects", 11) != 0)
break;
return 121;
case 'e':
if (memcmp(RuleIdentifier.data()+2, "rge_unmerge", 11) != 0)
break;
return 134;
case 'u':
if (memcmp(RuleIdentifier.data()+2, "l_of_vscale", 11) != 0)
break;
return 37;
}
break;
case 'r':
if (memcmp(RuleIdentifier.data()+1, "edundant_and", 12) != 0)
break;
return 122;
case 's':
switch (RuleIdentifier[1]) {
default: break;
case 'd':
if (memcmp(RuleIdentifier.data()+2, "iv_by_const", 11) != 0)
break;
return 174;
case 'h':
if (memcmp(RuleIdentifier.data()+2, "l_of_vscale", 11) != 0)
break;
return 38;
case 'u':
if (memcmp(RuleIdentifier.data()+2, "b_of_vscale", 11) != 0)
break;
return 39;
}
break;
case 'u':
switch (RuleIdentifier[1]) {
default: break;
case 'd':
if (memcmp(RuleIdentifier.data()+2, "iv_by_const", 11) != 0)
break;
return 173;
case 'n':
if (memcmp(RuleIdentifier.data()+2, "merge_", 6) != 0)
break;
switch (RuleIdentifier[8]) {
default: break;
case 'm':
if (memcmp(RuleIdentifier.data()+9, "erge", 4) != 0)
break;
return 130;
case 'u':
if (memcmp(RuleIdentifier.data()+9, "ndef", 4) != 0)
break;
return 79;
}
break;
}
break;
}
break;
case 14:
switch (RuleIdentifier[0]) {
default: break;
case 'A':
switch (RuleIdentifier[1]) {
default: break;
case 'M':
if (memcmp(RuleIdentifier.data()+2, "inusC1PlusC2", 12) != 0)
break;
return 12;
case 'P':
if (memcmp(RuleIdentifier.data()+2, "lusC1MinusC2", 12) != 0)
break;
return 8;
}
break;
case 'C':
if (memcmp(RuleIdentifier.data()+1, "2MinusAPlusC1", 13) != 0)
break;
return 9;
case 'a':
if (memcmp(RuleIdentifier.data()+1, "nyext_of_", 9) != 0)
break;
switch (RuleIdentifier[10]) {
default: break;
case 's':
if (memcmp(RuleIdentifier.data()+11, "ext", 3) != 0)
break;
return 54;
case 'z':
if (memcmp(RuleIdentifier.data()+11, "ext", 3) != 0)
break;
return 53;
}
break;
case 'b':
if (RuleIdentifier[1] != 'i')
break;
switch (RuleIdentifier[2]) {
default: break;
case 'n':
if (memcmp(RuleIdentifier.data()+3, "op_same_val", 11) != 0)
break;
return 83;
case 't':
if (memcmp(RuleIdentifier.data()+3, "reverse_shl", 11) != 0)
break;
return 161;
}
break;
case 'f':
switch (RuleIdentifier[1]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+2, "bs_fneg_fold", 12) != 0)
break;
return 172;
case 'n':
if (memcmp(RuleIdentifier.data()+2, "eg_fneg_fold", 12) != 0)
break;
return 89;
}
break;
case 'm':
if (memcmp(RuleIdentifier.data()+1, "ul_by_neg_one", 13) != 0)
break;
return 16;
case 'r':
if (memcmp(RuleIdentifier.data()+1, "eassoc_ptradd", 13) != 0)
break;
return 104;
case 's':
switch (RuleIdentifier[1]) {
default: break;
case 'e':
switch (RuleIdentifier[2]) {
default: break;
case 'l':
if (memcmp(RuleIdentifier.data()+3, "ect_of_zext", 11) != 0)
break;
return 45;
case 'x':
if (memcmp(RuleIdentifier.data()+3, "t_of_anyext", 11) != 0)
break;
return 51;
}
break;
case 'h':
if (memcmp(RuleIdentifier.data()+2, "ifts_too_big", 12) != 0)
break;
return 103;
}
break;
case 'z':
if (memcmp(RuleIdentifier.data()+1, "ext_of_anyext", 13) != 0)
break;
return 49;
}
break;
case 15:
switch (RuleIdentifier[0]) {
default: break;
case 'A':
switch (RuleIdentifier[1]) {
default: break;
case 'M':
if (memcmp(RuleIdentifier.data()+2, "inusC1MinusC2", 13) != 0)
break;
return 10;
case 'P':
if (memcmp(RuleIdentifier.data()+2, "lusZeroMinusB", 13) != 0)
break;
return 1;
}
break;
case 'C':
if (memcmp(RuleIdentifier.data()+1, "1Minus2MinusC2", 14) != 0)
break;
return 11;
case 'Z':
if (memcmp(RuleIdentifier.data()+1, "eroMinusAPlusB", 14) != 0)
break;
return 0;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "itreverse_lshr", 14) != 0)
break;
return 162;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xtending_loads", 14) != 0)
break;
return 66;
case 'i':
if (memcmp(RuleIdentifier.data()+1, "dempotent_prop", 14) != 0)
break;
return 17;
case 'l':
if (memcmp(RuleIdentifier.data()+1, "oad_or_combine", 14) != 0)
break;
return 154;
case 'n':
if (memcmp(RuleIdentifier.data()+1, "arrow_binop_or", 14) != 0)
break;
return 60;
case 'o':
if (memcmp(RuleIdentifier.data()+1, "verlapping_and", 14) != 0)
break;
return 144;
case 's':
if (memcmp(RuleIdentifier.data()+1, "elect_same_val", 14) != 0)
break;
return 81;
case 'z':
if (memcmp(RuleIdentifier.data()+1, "ext_trunc_fold", 14) != 0)
break;
return 126;
}
break;
case 16:
switch (RuleIdentifier[0]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+1, "nyext_of_anyext", 15) != 0)
break;
return 52;
case 'n':
if (memcmp(RuleIdentifier.data()+1, "arrow_binop_", 12) != 0)
break;
switch (RuleIdentifier[13]) {
default: break;
case 'a':
switch (RuleIdentifier[14]) {
default: break;
case 'd':
if (RuleIdentifier[15] != 'd')
break;
return 56;
case 'n':
if (RuleIdentifier[15] != 'd')
break;
return 59;
}
break;
case 'm':
if (memcmp(RuleIdentifier.data()+14, "ul", 2) != 0)
break;
return 58;
case 's':
if (memcmp(RuleIdentifier.data()+14, "ub", 2) != 0)
break;
return 57;
case 'x':
if (memcmp(RuleIdentifier.data()+14, "or", 2) != 0)
break;
return 61;
}
break;
case 's':
if (memcmp(RuleIdentifier.data()+1, "elect_", 6) != 0)
break;
switch (RuleIdentifier[7]) {
default: break;
case 'o':
if (memcmp(RuleIdentifier.data()+8, "f_anyext", 8) != 0)
break;
return 46;
case 't':
if (memcmp(RuleIdentifier.data()+8, "o_minmax", 8) != 0)
break;
return 190;
case 'u':
if (memcmp(RuleIdentifier.data()+8, "ndef_cmp", 8) != 0)
break;
return 118;
}
break;
case 't':
if (memcmp(RuleIdentifier.data()+1, "runcate_of_", 11) != 0)
break;
switch (RuleIdentifier[12]) {
default: break;
case 's':
if (memcmp(RuleIdentifier.data()+13, "ext", 3) != 0)
break;
return 43;
case 'z':
if (memcmp(RuleIdentifier.data()+13, "ext", 3) != 0)
break;
return 42;
}
break;
case 'u':
if (memcmp(RuleIdentifier.data()+1, "ndef_to_fp_zero", 15) != 0)
break;
return 69;
}
break;
case 17:
switch (RuleIdentifier[0]) {
default: break;
case 'A':
if (memcmp(RuleIdentifier.data()+1, "PlusBMinus", 10) != 0)
break;
switch (RuleIdentifier[11]) {
default: break;
case 'A':
if (memcmp(RuleIdentifier.data()+12, "plusC", 5) != 0)
break;
return 6;
case 'C':
if (memcmp(RuleIdentifier.data()+12, "PlusA", 5) != 0)
break;
return 7;
}
break;
case 'a':
switch (RuleIdentifier[1]) {
default: break;
case 'd':
if (memcmp(RuleIdentifier.data()+2, "d_p2i_to_ptradd", 15) != 0)
break;
return 15;
case 'n':
if (memcmp(RuleIdentifier.data()+2, "yext_trunc_fold", 15) != 0)
break;
return 88;
}
break;
case 'c':
switch (RuleIdentifier[1]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+2, "nonicalize_", 11) != 0)
break;
switch (RuleIdentifier[13]) {
default: break;
case 'f':
if (memcmp(RuleIdentifier.data()+14, "cmp", 3) != 0)
break;
return 108;
case 'i':
if (memcmp(RuleIdentifier.data()+14, "cmp", 3) != 0)
break;
return 107;
}
break;
case 'o':
if (memcmp(RuleIdentifier.data()+2, "nstant_fold_fma", 15) != 0)
break;
return 170;
}
break;
case 'd':
if (memcmp(RuleIdentifier.data()+1, "iv_rem_to_divrem", 16) != 0)
break;
return 155;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "rase_undef_store", 16) != 0)
break;
return 78;
case 'p':
if (memcmp(RuleIdentifier.data()+1, "tr_add_with_zero", 16) != 0)
break;
return 151;
case 's':
switch (RuleIdentifier[1]) {
default: break;
case 'e':
if (memcmp(RuleIdentifier.data()+2, "lect_to_iminmax", 15) != 0)
break;
return 120;
case 'h':
if (memcmp(RuleIdentifier.data()+2, "ift_immed_chain", 15) != 0)
break;
return 152;
}
break;
case 'u':
switch (RuleIdentifier[1]) {
default: break;
case 'n':
if (memcmp(RuleIdentifier.data()+2, "def_to_int_zero", 15) != 0)
break;
return 70;
case 'r':
if (memcmp(RuleIdentifier.data()+2, "em_pow2_to_mask", 15) != 0)
break;
return 125;
}
break;
}
break;
case 18:
switch (RuleIdentifier[0]) {
default: break;
case 'A':
if (memcmp(RuleIdentifier.data()+1, "MinusBPlus", 10) != 0)
break;
switch (RuleIdentifier[11]) {
default: break;
case 'B':
if (memcmp(RuleIdentifier.data()+12, "MinusC", 6) != 0)
break;
return 5;
case 'C':
if (memcmp(RuleIdentifier.data()+12, "MinusA", 6) != 0)
break;
return 4;
}
break;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "inop_left_to_zero", 17) != 0)
break;
return 84;
case 'c':
if (RuleIdentifier[1] != 'o')
break;
switch (RuleIdentifier[2]) {
default: break;
case 'm':
if (memcmp(RuleIdentifier.data()+3, "bine_minmax_nan", 15) != 0)
break;
return 148;
case 'n':
if (memcmp(RuleIdentifier.data()+3, "stant_fold_f", 12) != 0)
break;
switch (RuleIdentifier[15]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+16, "bs", 2) != 0)
break;
return 137;
case 'n':
if (memcmp(RuleIdentifier.data()+16, "eg", 2) != 0)
break;
return 136;
}
break;
}
break;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xpand_const_fpowi", 17) != 0)
break;
return 149;
case 'f':
switch (RuleIdentifier[1]) {
default: break;
case 'o':
if (memcmp(RuleIdentifier.data()+2, "ld_global_offset", 16) != 0)
break;
return 205;
case 'p':
if (memcmp(RuleIdentifier.data()+2, "trunc_fpext_fold", 16) != 0)
break;
return 97;
}
break;
case 's':
switch (RuleIdentifier[1]) {
default: break;
case 'e':
switch (RuleIdentifier[2]) {
default: break;
case 'l':
if (memcmp(RuleIdentifier.data()+3, "ect_of_truncate", 15) != 0)
break;
return 47;
case 'x':
if (memcmp(RuleIdentifier.data()+3, "t_inreg_of_load", 15) != 0)
break;
return 115;
}
break;
case 'h':
if (memcmp(RuleIdentifier.data()+2, "uffle_to_extract", 16) != 0)
break;
return 206;
}
break;
case 't':
if (memcmp(RuleIdentifier.data()+1, "runcate_of_anyext", 17) != 0)
break;
return 44;
}
break;
case 19:
switch (RuleIdentifier[0]) {
default: break;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "inop_right_to_zero", 18) != 0)
break;
return 85;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "onst", 4) != 0)
break;
switch (RuleIdentifier[5]) {
default: break;
case '_':
if (memcmp(RuleIdentifier.data()+6, "ptradd_to_i2p", 13) != 0)
break;
return 143;
case 'a':
if (memcmp(RuleIdentifier.data()+6, "nt_fold_", 8) != 0)
break;
switch (RuleIdentifier[14]) {
default: break;
case 'b':
if (memcmp(RuleIdentifier.data()+15, "inop", 4) != 0)
break;
return 168;
case 'f':
switch (RuleIdentifier[15]) {
default: break;
case 'l':
if (memcmp(RuleIdentifier.data()+16, "og2", 3) != 0)
break;
return 139;
case 's':
if (memcmp(RuleIdentifier.data()+16, "qrt", 3) != 0)
break;
return 138;
}
break;
}
break;
}
break;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xt", 2) != 0)
break;
switch (RuleIdentifier[3]) {
default: break;
case '_':
if (memcmp(RuleIdentifier.data()+4, "uaddv_to_uaddlv", 15) != 0)
break;
return 208;
case 'e':
if (memcmp(RuleIdentifier.data()+4, "nd_through_phis", 15) != 0)
break;
return 100;
}
break;
case 'i':
if (memcmp(RuleIdentifier.data()+1, "nteger_of_truncate", 18) != 0)
break;
return 62;
case 'p':
if (memcmp(RuleIdentifier.data()+1, "tr_add_immed_chain", 18) != 0)
break;
return 106;
case 'r':
switch (RuleIdentifier[1]) {
default: break;
case 'e':
if (memcmp(RuleIdentifier.data()+2, "assoc_comm_binops", 17) != 0)
break;
return 105;
case 'i':
if (memcmp(RuleIdentifier.data()+2, "ght_identity_zero", 17) != 0)
break;
return 82;
}
break;
case 's':
switch (RuleIdentifier[1]) {
default: break;
case 'e':
if (memcmp(RuleIdentifier.data()+2, "lect_constant_cmp", 17) != 0)
break;
return 119;
case 'i':
if (memcmp(RuleIdentifier.data()+2, "mplify_add_to_sub", 17) != 0)
break;
return 101;
}
break;
case 'u':
if (memcmp(RuleIdentifier.data()+1, "nary_undef_to_zero", 18) != 0)
break;
return 74;
}
break;
case 20:
switch (RuleIdentifier[0]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+1, "nd_or_disjoint_mask", 19) != 0)
break;
return 179;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "itcast_bitcast_fold", 19) != 0)
break;
return 96;
case 'i':
if (memcmp(RuleIdentifier.data()+1, "cmp_redundant_trunc", 19) != 0)
break;
return 204;
case 'r':
if (memcmp(RuleIdentifier.data()+1, "edu", 3) != 0)
break;
switch (RuleIdentifier[4]) {
default: break;
case 'c':
if (memcmp(RuleIdentifier.data()+5, "e_shl_of_extend", 15) != 0)
break;
return 116;
case 'n':
if (memcmp(RuleIdentifier.data()+5, "dant_sext_inreg", 15) != 0)
break;
return 123;
}
break;
case 'u':
if (memcmp(RuleIdentifier.data()+1, "nmerge_zext_to_zext", 19) != 0)
break;
return 133;
}
break;
case 21:
switch (RuleIdentifier[0]) {
default: break;
case 'c':
if (RuleIdentifier[1] != 'o')
break;
switch (RuleIdentifier[2]) {
default: break;
case 'm':
if (memcmp(RuleIdentifier.data()+3, "bine_concat_vector", 18) != 0)
break;
return 196;
case 'n':
if (memcmp(RuleIdentifier.data()+3, "stant_fold_", 11) != 0)
break;
switch (RuleIdentifier[14]) {
default: break;
case 'c':
if (memcmp(RuleIdentifier.data()+15, "ast_op", 6) != 0)
break;
return 171;
case 'f':
if (memcmp(RuleIdentifier.data()+15, "ptrunc", 6) != 0)
break;
return 140;
}
break;
}
break;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xt_addv_to_udot_addv", 20) != 0)
break;
return 207;
case 'f':
if (memcmp(RuleIdentifier.data()+1, "constant_to_constant", 20) != 0)
break;
return 203;
case 'i':
if (memcmp(RuleIdentifier.data()+1, "nsert_vector_elt_oob", 20) != 0)
break;
return 23;
case 'p':
if (memcmp(RuleIdentifier.data()+1, "ush_", 4) != 0)
break;
switch (RuleIdentifier[5]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+6, "dd_through_", 11) != 0)
break;
switch (RuleIdentifier[17]) {
default: break;
case 's':
if (memcmp(RuleIdentifier.data()+18, "ext", 3) != 0)
break;
return 212;
case 'z':
if (memcmp(RuleIdentifier.data()+18, "ext", 3) != 0)
break;
return 210;
}
break;
case 's':
if (memcmp(RuleIdentifier.data()+6, "ub_through_", 11) != 0)
break;
switch (RuleIdentifier[17]) {
default: break;
case 's':
if (memcmp(RuleIdentifier.data()+18, "ext", 3) != 0)
break;
return 211;
case 'z':
if (memcmp(RuleIdentifier.data()+18, "ext", 3) != 0)
break;
return 209;
}
break;
}
break;
case 'r':
if (memcmp(RuleIdentifier.data()+1, "ight_identity_one_fp", 20) != 0)
break;
return 91;
case 'u':
if (RuleIdentifier[1] != 'n')
break;
switch (RuleIdentifier[2]) {
default: break;
case 'd':
if (memcmp(RuleIdentifier.data()+3, "ef_to_negative_one", 18) != 0)
break;
return 71;
case 'm':
if (memcmp(RuleIdentifier.data()+3, "erge_dead_to_trunc", 18) != 0)
break;
return 132;
}
break;
}
break;
case 22:
switch (RuleIdentifier[0]) {
default: break;
case 'c':
if (RuleIdentifier[1] != 'o')
break;
switch (RuleIdentifier[2]) {
default: break;
case 'm':
if (memcmp(RuleIdentifier.data()+3, "bine_shuffle_concat", 19) != 0)
break;
return 201;
case 'n':
if (memcmp(RuleIdentifier.data()+3, "stant_fold_fp_binop", 19) != 0)
break;
return 169;
}
break;
case 'f':
switch (RuleIdentifier[1]) {
default: break;
case 'o':
if (memcmp(RuleIdentifier.data()+2, "ld_binop_into_select", 20) != 0)
break;
return 188;
case 'u':
if (memcmp(RuleIdentifier.data()+2, "nnel_shift_", 11) != 0)
break;
switch (RuleIdentifier[13]) {
default: break;
case 'l':
if (memcmp(RuleIdentifier.data()+14, "eft_zero", 8) != 0)
break;
return 159;
case 'o':
if (memcmp(RuleIdentifier.data()+14, "vershift", 8) != 0)
break;
return 160;
case 't':
if (memcmp(RuleIdentifier.data()+14, "o_rotate", 8) != 0)
break;
return 157;
}
break;
}
break;
case 'i':
if (memcmp(RuleIdentifier.data()+1, "cmp_to_lhs_known_bits", 21) != 0)
break;
return 110;
case 'p':
if (memcmp(RuleIdentifier.data()+1, "ropagate_undef_any_op", 21) != 0)
break;
return 75;
case 'r':
switch (RuleIdentifier[1]) {
default: break;
case 'e':
if (memcmp(RuleIdentifier.data()+2, "dundant_neg_operands", 20) != 0)
break;
return 178;
case 'i':
if (memcmp(RuleIdentifier.data()+2, "ght_identity_one_int", 20) != 0)
break;
return 90;
}
break;
case 's':
if (memcmp(RuleIdentifier.data()+1, "hl_ashr_to_sext_inreg", 21) != 0)
break;
return 114;
case 't':
if (memcmp(RuleIdentifier.data()+1, "runc_buildvector_fold", 21) != 0)
break;
return 94;
}
break;
case 23:
switch (RuleIdentifier[0]) {
default: break;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "uildvector_of_truncate", 22) != 0)
break;
return 55;
case 'f':
if (memcmp(RuleIdentifier.data()+1, "unnel_shift_right_zero", 22) != 0)
break;
return 158;
case 'i':
if (memcmp(RuleIdentifier.data()+1, "tof_const_zero_fold_", 20) != 0)
break;
switch (RuleIdentifier[21]) {
default: break;
case 's':
if (RuleIdentifier[22] != 'i')
break;
return 141;
case 'u':
if (RuleIdentifier[22] != 'i')
break;
return 142;
}
break;
case 'p':
if (memcmp(RuleIdentifier.data()+1, "ropagate_undef_all_ops", 22) != 0)
break;
return 76;
}
break;
case 24:
switch (RuleIdentifier[0]) {
default: break;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "inop_left_undef_to_zero", 23) != 0)
break;
return 72;
case 'm':
if (memcmp(RuleIdentifier.data()+1, "atch_extract_of_element", 23) != 0)
break;
return 22;
case 'n':
if (memcmp(RuleIdentifier.data()+1, "arrow_binop_feeding_and", 23) != 0)
break;
return 117;
case 's':
if (memcmp(RuleIdentifier.data()+1, "ext_inreg_to_zext_inreg", 23) != 0)
break;
return 127;
case 'x':
if (memcmp(RuleIdentifier.data()+1, "or_of_and_with_same_reg", 23) != 0)
break;
return 150;
}
break;
case 25:
switch (RuleIdentifier[0]) {
default: break;
case 'b':
switch (RuleIdentifier[1]) {
default: break;
case 'i':
if (memcmp(RuleIdentifier.data()+2, "tfield_extract_from_", 20) != 0)
break;
switch (RuleIdentifier[22]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+23, "nd", 2) != 0)
break;
return 165;
case 's':
if (memcmp(RuleIdentifier.data()+23, "hr", 2) != 0)
break;
return 166;
}
break;
case 'u':
if (memcmp(RuleIdentifier.data()+2, "ildvector_identity_fold", 23) != 0)
break;
return 93;
}
break;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xtract_vec_elt_build_vec", 24) != 0)
break;
return 64;
case 'r':
if (memcmp(RuleIdentifier.data()+1, "ight_identity_neg_one_fp", 24) != 0)
break;
return 99;
}
break;
case 26:
switch (RuleIdentifier[0]) {
default: break;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "inop_right_undef_to_undef", 25) != 0)
break;
return 73;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "ommute_fp_constant_to_rhs", 25) != 0)
break;
return 193;
case 'f':
if (memcmp(RuleIdentifier.data()+1, "unnel_shift_from_or_shift", 25) != 0)
break;
return 156;
case 'r':
if (memcmp(RuleIdentifier.data()+1, "ight_identity_neg_zero_fp", 25) != 0)
break;
return 98;
}
break;
case 27:
switch (RuleIdentifier[0]) {
default: break;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "om", 2) != 0)
break;
switch (RuleIdentifier[3]) {
default: break;
case 'b':
if (memcmp(RuleIdentifier.data()+4, "ine_use_vector_truncate", 23) != 0)
break;
return 202;
case 'm':
if (memcmp(RuleIdentifier.data()+4, "ute_int_constant_to_rhs", 23) != 0)
break;
return 192;
}
break;
case 'd':
if (memcmp(RuleIdentifier.data()+1, "ouble_icmp_zero_or_combine", 26) != 0)
break;
return 112;
case 'r':
if (memcmp(RuleIdentifier.data()+1, "edundant_binop_in_equality", 26) != 0)
break;
return 113;
case 't':
if (memcmp(RuleIdentifier.data()+1, "runc_lshr_buildvector_fold", 26) != 0)
break;
return 95;
}
break;
case 28:
switch (RuleIdentifier[0]) {
default: break;
case 'd':
if (memcmp(RuleIdentifier.data()+1, "ouble_icmp_zero_and_combine", 27) != 0)
break;
return 111;
case 'o':
if (memcmp(RuleIdentifier.data()+1, "pt_brcond_by_inverting_cond", 27) != 0)
break;
return 129;
case 'p':
if (memcmp(RuleIdentifier.data()+1, "ropagate_undef_shuffle_mask", 27) != 0)
break;
return 77;
case 's':
if (memcmp(RuleIdentifier.data()+1, "hift_of_shifted_logic_chain", 27) != 0)
break;
return 153;
}
break;
case 29:
switch (RuleIdentifier[0]) {
default: break;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "itfield_extract_from_shr_and", 28) != 0)
break;
return 167;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "ombine_extracted_vector_load", 28) != 0)
break;
return 68;
case 'i':
if (memcmp(RuleIdentifier.data()+1, "cmp_to_true_false_known_bits", 28) != 0)
break;
return 109;
}
break;
case 30:
if (memcmp(RuleIdentifier.data()+0, "freeze_of_non_undef_non_poison", 30) != 0)
break;
return 40;
case 31:
if (memcmp(RuleIdentifier.data()+0, "insert_vector_element_", 22) != 0)
break;
switch (RuleIdentifier[22]) {
default: break;
case 'e':
if (memcmp(RuleIdentifier.data()+23, "lt_undef", 8) != 0)
break;
return 21;
case 'i':
if (memcmp(RuleIdentifier.data()+23, "dx_undef", 8) != 0)
break;
return 20;
}
break;
case 32:
switch (RuleIdentifier[0]) {
default: break;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "itfield_extract_from_sext_inreg", 31) != 0)
break;
return 164;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "ombine_f", 8) != 0)
break;
switch (RuleIdentifier[9]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+10, "dd_fmul_to_fmad_or_fma", 22) != 0)
break;
return 180;
case 's':
if (memcmp(RuleIdentifier.data()+10, "ub_fmul_to_fmad_or_fma", 22) != 0)
break;
return 184;
}
break;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xtract_vector_element_not_const", 31) != 0)
break;
return 24;
}
break;
case 34:
if (memcmp(RuleIdentifier.data()+0, "extract_all_elts_from_build_vector", 34) != 0)
break;
return 65;
case 35:
if (memcmp(RuleIdentifier.data()+0, "extract_vector_element_build_vector", 35) != 0)
break;
return 26;
case 36:
switch (RuleIdentifier[0]) {
default: break;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "ombine_", 7) != 0)
break;
switch (RuleIdentifier[8]) {
default: break;
case 'f':
if (memcmp(RuleIdentifier.data()+9, "add_fma_fmul_to_fmad_or_fma", 27) != 0)
break;
return 182;
case 'i':
if (memcmp(RuleIdentifier.data()+9, "nsert_vec_elts_build_vector", 27) != 0)
break;
return 63;
}
break;
case 'i':
if (memcmp(RuleIdentifier.data()+1, "nsert_extract_vec_elt_out_of_bounds", 35) != 0)
break;
return 80;
case 'm':
if (memcmp(RuleIdentifier.data()+1, "atch_extract_of_element_undef_index", 35) != 0)
break;
return 19;
}
break;
case 37:
switch (RuleIdentifier[0]) {
default: break;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "ombine_fsub_fneg_fmul_to_fmad_or_fma", 36) != 0)
break;
return 185;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xtract_vector_element_shuffle_vector", 36) != 0)
break;
return 34;
case 'h':
if (memcmp(RuleIdentifier.data()+1, "oist_logic_op_with_same_opcode_hands", 36) != 0)
break;
return 102;
case 'm':
if (memcmp(RuleIdentifier.data()+1, "atch_extract_of_element_undef_vector", 36) != 0)
break;
return 18;
}
break;
case 38:
if (memcmp(RuleIdentifier.data()+0, "combine_f", 9) != 0)
break;
switch (RuleIdentifier[9]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+10, "dd_fpext_fmul_to_fmad_or_fma", 28) != 0)
break;
return 181;
case 's':
if (memcmp(RuleIdentifier.data()+10, "ub_fpext_fmul_to_fmad_or_fma", 28) != 0)
break;
return 186;
}
break;
case 40:
if (memcmp(RuleIdentifier.data()+0, "extract_vector_element_different_indices", 40) != 0)
break;
return 25;
case 42:
switch (RuleIdentifier[0]) {
default: break;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "ombine_fadd_fpext_fma_fmul_to_fmad_or_fma", 41) != 0)
break;
return 183;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xtract_vector_element_build_vector_trunc", 40) != 0)
break;
switch (RuleIdentifier[41]) {
default: break;
case '2':
return 27;
case '3':
return 28;
case '4':
return 29;
case '5':
return 30;
case '6':
return 31;
case '7':
return 32;
case '8':
return 33;
}
break;
}
break;
case 43:
if (memcmp(RuleIdentifier.data()+0, "combine_fsub_fpext_fneg_fmul_to_fmad_or_fma", 43) != 0)
break;
return 187;
case 44:
if (memcmp(RuleIdentifier.data()+0, "insert_vector_element_extract_vector_element", 44) != 0)
break;
return 35;
case 46:
if (memcmp(RuleIdentifier.data()+0, "push_freeze_to_prevent_poison_from_propagating", 46) != 0)
break;
return 41;
}
#endif
return std::nullopt;
}
static std::optional<std::pair<uint64_t, uint64_t>> getRuleRangeForIdentifier(StringRef RuleIdentifier) {
std::pair<StringRef, StringRef> RangePair = RuleIdentifier.split('-');
if (!RangePair.second.empty()) {
const auto First = getRuleIdxForIdentifier(RangePair.first);
const auto Last = getRuleIdxForIdentifier(RangePair.second);
if (!First || !Last)
return std::nullopt;
if (First >= Last)
report_fatal_error("Beginning of range should be before end of range");
return {{*First, *Last + 1}};
}
if (RangePair.first == "*") {
return {{0, 213}};
}
const auto I = getRuleIdxForIdentifier(RangePair.first);
if (!I)
return std::nullopt;
return {{*I, *I + 1}};
}
bool AArch64PreLegalizerCombinerImplRuleConfig::setRuleEnabled(StringRef RuleIdentifier) {
auto MaybeRange = getRuleRangeForIdentifier(RuleIdentifier);
if (!MaybeRange)
return false;
for (auto I = MaybeRange->first; I < MaybeRange->second; ++I)
DisabledRules.reset(I);
return true;
}
bool AArch64PreLegalizerCombinerImplRuleConfig::setRuleDisabled(StringRef RuleIdentifier) {
auto MaybeRange = getRuleRangeForIdentifier(RuleIdentifier);
if (!MaybeRange)
return false;
for (auto I = MaybeRange->first; I < MaybeRange->second; ++I)
DisabledRules.set(I);
return true;
}
static std::vector<std::string> AArch64PreLegalizerCombinerOption;
static cl::list<std::string> AArch64PreLegalizerCombinerDisableOption(
"aarch64prelegalizercombiner-disable-rule",
cl::desc("Disable one or more combiner rules temporarily in the AArch64PreLegalizerCombiner pass"),
cl::CommaSeparated,
cl::Hidden,
cl::cat(GICombinerOptionCategory),
cl::callback([](const std::string &Str) {
AArch64PreLegalizerCombinerOption.push_back(Str);
}));
static cl::list<std::string> AArch64PreLegalizerCombinerOnlyEnableOption(
"aarch64prelegalizercombiner-only-enable-rule",
cl::desc("Disable all rules in the AArch64PreLegalizerCombiner pass then re-enable the specified ones"),
cl::Hidden,
cl::cat(GICombinerOptionCategory),
cl::callback([](const std::string &CommaSeparatedArg) {
StringRef Str = CommaSeparatedArg;
AArch64PreLegalizerCombinerOption.push_back("*");
do {
auto X = Str.split(",");
AArch64PreLegalizerCombinerOption.push_back(("!" + X.first).str());
Str = X.second;
} while (!Str.empty());
}));
bool AArch64PreLegalizerCombinerImplRuleConfig::isRuleEnabled(unsigned RuleID) const {
return !DisabledRules.test(RuleID);
}
bool AArch64PreLegalizerCombinerImplRuleConfig::parseCommandLineOption() {
for (StringRef Identifier : AArch64PreLegalizerCombinerOption) {
bool Enabled = Identifier.consume_front("!");
if (Enabled && !setRuleEnabled(Identifier))
return false;
if (!Enabled && !setRuleDisabled(Identifier))
return false;
}
return true;
}
#endif
#ifdef GET_GICOMBINER_TYPES
const unsigned MAX_SUBTARGET_PREDICATES = 1;
using PredicateBitset = llvm::Bitset<MAX_SUBTARGET_PREDICATES>;
#endif
#ifdef GET_GICOMBINER_CLASS_MEMBERS
PredicateBitset AvailableModuleFeatures;
mutable PredicateBitset AvailableFunctionFeatures;
PredicateBitset getAvailableFeatures() const {
return AvailableModuleFeatures | AvailableFunctionFeatures;
}
PredicateBitset
computeAvailableModuleFeatures(const AArch64Subtarget *Subtarget) const;
PredicateBitset
computeAvailableFunctionFeatures(const AArch64Subtarget *Subtarget,
const MachineFunction *MF) const;
void setupGeneratedPerFunctionState(MachineFunction &MF) override;
#endif
#ifdef GET_GICOMBINER_CLASS_MEMBERS
mutable MatcherState State;
typedef ComplexRendererFns(AArch64PreLegalizerCombinerImpl::*ComplexMatcherMemFn)(MachineOperand &) const;
typedef void(AArch64PreLegalizerCombinerImpl::*CustomRendererFn)(MachineInstrBuilder &, const MachineInstr &, int) const;
const ExecInfoTy<PredicateBitset, ComplexMatcherMemFn, CustomRendererFn> ExecInfo;
static AArch64PreLegalizerCombinerImpl::ComplexMatcherMemFn ComplexPredicateFns[];
static AArch64PreLegalizerCombinerImpl::CustomRendererFn CustomRenderers[];
bool testImmPredicate_I64(unsigned PredicateID, int64_t Imm) const override;
bool testImmPredicate_APInt(unsigned PredicateID, const APInt &Imm) const override;
bool testImmPredicate_APFloat(unsigned PredicateID, const APFloat &Imm) const override;
const uint8_t *getMatchTable() const override;
bool testMIPredicate_MI(unsigned PredicateID, const MachineInstr &MI, const MatcherState &State) const override;
bool testSimplePredicate(unsigned PredicateID) const override;
bool runCustomAction(unsigned FnID, const MatcherState &State, NewMIVector &OutMIs) const override;
#endif
#ifdef GET_GICOMBINER_IMPL
enum {
GILLT_s1,
};
const static size_t NumTypeObjects = 1;
const static LLT TypeObjects[] = {
LLT::scalar(1),
};
enum SubtargetFeatureBits : uint8_t {
Feature_HasDotProdBit = 0,
};
PredicateBitset AArch64PreLegalizerCombinerImpl::
computeAvailableModuleFeatures(const AArch64Subtarget *Subtarget) const {
PredicateBitset Features{};
if (Subtarget->hasDotProd())
Features.set(Feature_HasDotProdBit);
return Features;
}
void AArch64PreLegalizerCombinerImpl::setupGeneratedPerFunctionState(MachineFunction &MF) {
AvailableFunctionFeatures = computeAvailableFunctionFeatures((const AArch64Subtarget *)&MF.getSubtarget(), &MF);
}
PredicateBitset AArch64PreLegalizerCombinerImpl::
computeAvailableFunctionFeatures(const AArch64Subtarget *Subtarget, const MachineFunction *MF) const {
PredicateBitset Features{};
return Features;
}
enum {
GIFBS_Invalid,
GIFBS_HasDotProd,
};
constexpr static PredicateBitset FeatureBitsets[] {
{},
{Feature_HasDotProdBit, },
};
enum {
GICP_Invalid,
};
AArch64PreLegalizerCombinerImpl::ComplexMatcherMemFn
AArch64PreLegalizerCombinerImpl::ComplexPredicateFns[] = {
nullptr,
};
enum {
GICXXPred_MI_Predicate_GICombiner0 = GICXXPred_Invalid + 1,
GICXXPred_MI_Predicate_GICombiner1,
GICXXPred_MI_Predicate_GICombiner2,
GICXXPred_MI_Predicate_GICombiner3,
GICXXPred_MI_Predicate_GICombiner4,
GICXXPred_MI_Predicate_GICombiner5,
GICXXPred_MI_Predicate_GICombiner6,
GICXXPred_MI_Predicate_GICombiner7,
GICXXPred_MI_Predicate_GICombiner8,
};
bool AArch64PreLegalizerCombinerImpl::testMIPredicate_MI(unsigned PredicateID, const MachineInstr & MI, const MatcherState &State) const {
switch (PredicateID) {
case GICXXPred_MI_Predicate_GICombiner0: {
return isGuaranteedNotToBePoison(State.MIs[0]->getOperand(1).getReg(), MRI);
}
case GICXXPred_MI_Predicate_GICombiner1: {
return isGuaranteedNotToBeUndefOrPoison(State.MIs[0]->getOperand(1).getReg(), MRI);
}
case GICXXPred_MI_Predicate_GICombiner2: {
return Helper.matchConstantFPOp(State.MIs[0]->getOperand(2), 1.0);
}
case GICXXPred_MI_Predicate_GICombiner3: {
return Helper.matchConstantFPOp(State.MIs[0]->getOperand(2), -0.0);
}
case GICXXPred_MI_Predicate_GICombiner4: {
return Helper.matchConstantFPOp(State.MIs[0]->getOperand(2), -1.0);
}
case GICXXPred_MI_Predicate_GICombiner5: {
return State.MIs[1]->getOperand(1).getPredicate() == CmpInst::ICMP_EQ &&
!MRI.getType(State.MIs[1]->getOperand(2).getReg()).getScalarType().isPointer() &&
(MRI.getType(State.MIs[1]->getOperand(2).getReg()) ==
MRI.getType(State.MIs[2]->getOperand(2).getReg()));
}
case GICXXPred_MI_Predicate_GICombiner6: {
return State.MIs[1]->getOperand(1).getPredicate() == CmpInst::ICMP_NE &&
!MRI.getType(State.MIs[1]->getOperand(2).getReg()).getScalarType().isPointer() &&
(MRI.getType(State.MIs[1]->getOperand(2).getReg()) ==
MRI.getType(State.MIs[2]->getOperand(2).getReg()));
}
case GICXXPred_MI_Predicate_GICombiner7: {
return Helper.isLegalOrBeforeLegalizer({TargetOpcode::G_LSHR,
{MRI.getType(State.MIs[2]->getOperand(1).getReg()),
MRI.getType(State.MIs[1]->getOperand(2).getReg())}});
}
case GICXXPred_MI_Predicate_GICombiner8: {
return Helper.isLegalOrBeforeLegalizer({TargetOpcode::G_SHL,
{MRI.getType(State.MIs[2]->getOperand(1).getReg()),
MRI.getType(State.MIs[1]->getOperand(2).getReg())}});
}
}
llvm_unreachable("Unknown predicate");
return false;
}
bool AArch64PreLegalizerCombinerImpl::testImmPredicate_I64(unsigned PredicateID, int64_t Imm) const {
llvm_unreachable("Unknown predicate");
return false;
}
bool AArch64PreLegalizerCombinerImpl::testImmPredicate_APFloat(unsigned PredicateID, const APFloat & Imm) const {
llvm_unreachable("Unknown predicate");
return false;
}
bool AArch64PreLegalizerCombinerImpl::testImmPredicate_APInt(unsigned PredicateID, const APInt & Imm) const {
llvm_unreachable("Unknown predicate");
return false;
}
enum {
GICXXPred_Simple_IsRule0Enabled = GICXXPred_Invalid + 1,
GICXXPred_Simple_IsRule1Enabled,
GICXXPred_Simple_IsRule2Enabled,
GICXXPred_Simple_IsRule3Enabled,
GICXXPred_Simple_IsRule4Enabled,
GICXXPred_Simple_IsRule5Enabled,
GICXXPred_Simple_IsRule6Enabled,
GICXXPred_Simple_IsRule7Enabled,
GICXXPred_Simple_IsRule8Enabled,
GICXXPred_Simple_IsRule9Enabled,
GICXXPred_Simple_IsRule10Enabled,
GICXXPred_Simple_IsRule11Enabled,
GICXXPred_Simple_IsRule12Enabled,
GICXXPred_Simple_IsRule13Enabled,
GICXXPred_Simple_IsRule14Enabled,
GICXXPred_Simple_IsRule15Enabled,
GICXXPred_Simple_IsRule16Enabled,
GICXXPred_Simple_IsRule17Enabled,
GICXXPred_Simple_IsRule18Enabled,
GICXXPred_Simple_IsRule19Enabled,
GICXXPred_Simple_IsRule20Enabled,
GICXXPred_Simple_IsRule21Enabled,
GICXXPred_Simple_IsRule22Enabled,
GICXXPred_Simple_IsRule23Enabled,
GICXXPred_Simple_IsRule24Enabled,
GICXXPred_Simple_IsRule25Enabled,
GICXXPred_Simple_IsRule26Enabled,
GICXXPred_Simple_IsRule27Enabled,
GICXXPred_Simple_IsRule28Enabled,
GICXXPred_Simple_IsRule29Enabled,
GICXXPred_Simple_IsRule30Enabled,
GICXXPred_Simple_IsRule31Enabled,
GICXXPred_Simple_IsRule32Enabled,
GICXXPred_Simple_IsRule33Enabled,
GICXXPred_Simple_IsRule34Enabled,
GICXXPred_Simple_IsRule35Enabled,
GICXXPred_Simple_IsRule36Enabled,
GICXXPred_Simple_IsRule37Enabled,
GICXXPred_Simple_IsRule38Enabled,
GICXXPred_Simple_IsRule39Enabled,
GICXXPred_Simple_IsRule40Enabled,
GICXXPred_Simple_IsRule41Enabled,
GICXXPred_Simple_IsRule42Enabled,
GICXXPred_Simple_IsRule43Enabled,
GICXXPred_Simple_IsRule44Enabled,
GICXXPred_Simple_IsRule45Enabled,
GICXXPred_Simple_IsRule46Enabled,
GICXXPred_Simple_IsRule47Enabled,
GICXXPred_Simple_IsRule48Enabled,
GICXXPred_Simple_IsRule49Enabled,
GICXXPred_Simple_IsRule50Enabled,
GICXXPred_Simple_IsRule51Enabled,
GICXXPred_Simple_IsRule52Enabled,
GICXXPred_Simple_IsRule53Enabled,
GICXXPred_Simple_IsRule54Enabled,
GICXXPred_Simple_IsRule55Enabled,
GICXXPred_Simple_IsRule56Enabled,
GICXXPred_Simple_IsRule57Enabled,
GICXXPred_Simple_IsRule58Enabled,
GICXXPred_Simple_IsRule59Enabled,
GICXXPred_Simple_IsRule60Enabled,
GICXXPred_Simple_IsRule61Enabled,
GICXXPred_Simple_IsRule62Enabled,
GICXXPred_Simple_IsRule63Enabled,
GICXXPred_Simple_IsRule64Enabled,
GICXXPred_Simple_IsRule65Enabled,
GICXXPred_Simple_IsRule66Enabled,
GICXXPred_Simple_IsRule67Enabled,
GICXXPred_Simple_IsRule68Enabled,
GICXXPred_Simple_IsRule69Enabled,
GICXXPred_Simple_IsRule70Enabled,
GICXXPred_Simple_IsRule71Enabled,
GICXXPred_Simple_IsRule72Enabled,
GICXXPred_Simple_IsRule73Enabled,
GICXXPred_Simple_IsRule74Enabled,
GICXXPred_Simple_IsRule75Enabled,
GICXXPred_Simple_IsRule76Enabled,
GICXXPred_Simple_IsRule77Enabled,
GICXXPred_Simple_IsRule78Enabled,
GICXXPred_Simple_IsRule79Enabled,
GICXXPred_Simple_IsRule80Enabled,
GICXXPred_Simple_IsRule81Enabled,
GICXXPred_Simple_IsRule82Enabled,
GICXXPred_Simple_IsRule83Enabled,
GICXXPred_Simple_IsRule84Enabled,
GICXXPred_Simple_IsRule85Enabled,
GICXXPred_Simple_IsRule86Enabled,
GICXXPred_Simple_IsRule87Enabled,
GICXXPred_Simple_IsRule88Enabled,
GICXXPred_Simple_IsRule89Enabled,
GICXXPred_Simple_IsRule90Enabled,
GICXXPred_Simple_IsRule91Enabled,
GICXXPred_Simple_IsRule92Enabled,
GICXXPred_Simple_IsRule93Enabled,
GICXXPred_Simple_IsRule94Enabled,
GICXXPred_Simple_IsRule95Enabled,
GICXXPred_Simple_IsRule96Enabled,
GICXXPred_Simple_IsRule97Enabled,
GICXXPred_Simple_IsRule98Enabled,
GICXXPred_Simple_IsRule99Enabled,
GICXXPred_Simple_IsRule100Enabled,
GICXXPred_Simple_IsRule101Enabled,
GICXXPred_Simple_IsRule102Enabled,
GICXXPred_Simple_IsRule103Enabled,
GICXXPred_Simple_IsRule104Enabled,
GICXXPred_Simple_IsRule105Enabled,
GICXXPred_Simple_IsRule106Enabled,
GICXXPred_Simple_IsRule107Enabled,
GICXXPred_Simple_IsRule108Enabled,
GICXXPred_Simple_IsRule109Enabled,
GICXXPred_Simple_IsRule110Enabled,
GICXXPred_Simple_IsRule111Enabled,
GICXXPred_Simple_IsRule112Enabled,
GICXXPred_Simple_IsRule113Enabled,
GICXXPred_Simple_IsRule114Enabled,
GICXXPred_Simple_IsRule115Enabled,
GICXXPred_Simple_IsRule116Enabled,
GICXXPred_Simple_IsRule117Enabled,
GICXXPred_Simple_IsRule118Enabled,
GICXXPred_Simple_IsRule119Enabled,
GICXXPred_Simple_IsRule120Enabled,
GICXXPred_Simple_IsRule121Enabled,
GICXXPred_Simple_IsRule122Enabled,
GICXXPred_Simple_IsRule123Enabled,
GICXXPred_Simple_IsRule124Enabled,
GICXXPred_Simple_IsRule125Enabled,
GICXXPred_Simple_IsRule126Enabled,
GICXXPred_Simple_IsRule127Enabled,
GICXXPred_Simple_IsRule128Enabled,
GICXXPred_Simple_IsRule129Enabled,
GICXXPred_Simple_IsRule130Enabled,
GICXXPred_Simple_IsRule131Enabled,
GICXXPred_Simple_IsRule132Enabled,
GICXXPred_Simple_IsRule133Enabled,
GICXXPred_Simple_IsRule134Enabled,
GICXXPred_Simple_IsRule135Enabled,
GICXXPred_Simple_IsRule136Enabled,
GICXXPred_Simple_IsRule137Enabled,
GICXXPred_Simple_IsRule138Enabled,
GICXXPred_Simple_IsRule139Enabled,
GICXXPred_Simple_IsRule140Enabled,
GICXXPred_Simple_IsRule141Enabled,
GICXXPred_Simple_IsRule142Enabled,
GICXXPred_Simple_IsRule143Enabled,
GICXXPred_Simple_IsRule144Enabled,
GICXXPred_Simple_IsRule145Enabled,
GICXXPred_Simple_IsRule146Enabled,
GICXXPred_Simple_IsRule147Enabled,
GICXXPred_Simple_IsRule148Enabled,
GICXXPred_Simple_IsRule149Enabled,
GICXXPred_Simple_IsRule150Enabled,
GICXXPred_Simple_IsRule151Enabled,
GICXXPred_Simple_IsRule152Enabled,
GICXXPred_Simple_IsRule153Enabled,
GICXXPred_Simple_IsRule154Enabled,
GICXXPred_Simple_IsRule155Enabled,
GICXXPred_Simple_IsRule156Enabled,
GICXXPred_Simple_IsRule157Enabled,
GICXXPred_Simple_IsRule158Enabled,
GICXXPred_Simple_IsRule159Enabled,
GICXXPred_Simple_IsRule160Enabled,
GICXXPred_Simple_IsRule161Enabled,
GICXXPred_Simple_IsRule162Enabled,
GICXXPred_Simple_IsRule163Enabled,
GICXXPred_Simple_IsRule164Enabled,
GICXXPred_Simple_IsRule165Enabled,
GICXXPred_Simple_IsRule166Enabled,
GICXXPred_Simple_IsRule167Enabled,
GICXXPred_Simple_IsRule168Enabled,
GICXXPred_Simple_IsRule169Enabled,
GICXXPred_Simple_IsRule170Enabled,
GICXXPred_Simple_IsRule171Enabled,
GICXXPred_Simple_IsRule172Enabled,
GICXXPred_Simple_IsRule173Enabled,
GICXXPred_Simple_IsRule174Enabled,
GICXXPred_Simple_IsRule175Enabled,
GICXXPred_Simple_IsRule176Enabled,
GICXXPred_Simple_IsRule177Enabled,
GICXXPred_Simple_IsRule178Enabled,
GICXXPred_Simple_IsRule179Enabled,
GICXXPred_Simple_IsRule180Enabled,
GICXXPred_Simple_IsRule181Enabled,
GICXXPred_Simple_IsRule182Enabled,
GICXXPred_Simple_IsRule183Enabled,
GICXXPred_Simple_IsRule184Enabled,
GICXXPred_Simple_IsRule185Enabled,
GICXXPred_Simple_IsRule186Enabled,
GICXXPred_Simple_IsRule187Enabled,
GICXXPred_Simple_IsRule188Enabled,
GICXXPred_Simple_IsRule189Enabled,
GICXXPred_Simple_IsRule190Enabled,
GICXXPred_Simple_IsRule191Enabled,
GICXXPred_Simple_IsRule192Enabled,
GICXXPred_Simple_IsRule193Enabled,
GICXXPred_Simple_IsRule194Enabled,
GICXXPred_Simple_IsRule195Enabled,
GICXXPred_Simple_IsRule196Enabled,
GICXXPred_Simple_IsRule197Enabled,
GICXXPred_Simple_IsRule198Enabled,
GICXXPred_Simple_IsRule199Enabled,
GICXXPred_Simple_IsRule200Enabled,
GICXXPred_Simple_IsRule201Enabled,
GICXXPred_Simple_IsRule202Enabled,
GICXXPred_Simple_IsRule203Enabled,
GICXXPred_Simple_IsRule204Enabled,
GICXXPred_Simple_IsRule205Enabled,
GICXXPred_Simple_IsRule206Enabled,
GICXXPred_Simple_IsRule207Enabled,
GICXXPred_Simple_IsRule208Enabled,
GICXXPred_Simple_IsRule209Enabled,
GICXXPred_Simple_IsRule210Enabled,
GICXXPred_Simple_IsRule211Enabled,
GICXXPred_Simple_IsRule212Enabled,
};
bool AArch64PreLegalizerCombinerImpl::testSimplePredicate(unsigned Predicate) const {
return RuleConfig.isRuleEnabled(Predicate - GICXXPred_Invalid - 1);
}
enum {
GICR_Invalid,
};
AArch64PreLegalizerCombinerImpl::CustomRendererFn
AArch64PreLegalizerCombinerImpl::CustomRenderers[] = {
nullptr,
};
bool AArch64PreLegalizerCombinerImpl::tryCombineAllImpl(MachineInstr &I) const {
const TargetSubtargetInfo &ST = MF.getSubtarget();
const PredicateBitset AvailableFeatures = getAvailableFeatures();
B.setInstrAndDebugLoc(I);
State.MIs.clear();
State.MIs.push_back(&I);
if (executeMatchTable(*this, State, ExecInfo, B, getMatchTable(), *ST.getInstrInfo(), MRI, *MRI.getTargetRegisterInfo(), *ST.getRegBankInfo(), AvailableFeatures, nullptr)) {
return true;
}
return false;
}
enum {
GICXXCustomAction_GICombiner0 = GICXXCustomAction_Invalid + 1,
GICXXCustomAction_GICombiner1,
GICXXCustomAction_GICombiner2,
GICXXCustomAction_GICombiner3,
GICXXCustomAction_GICombiner4,
GICXXCustomAction_GICombiner5,
GICXXCustomAction_GICombiner6,
GICXXCustomAction_GICombiner7,
GICXXCustomAction_GICombiner8,
GICXXCustomAction_GICombiner9,
GICXXCustomAction_GICombiner10,
GICXXCustomAction_GICombiner11,
GICXXCustomAction_GICombiner12,
GICXXCustomAction_GICombiner13,
GICXXCustomAction_GICombiner14,
GICXXCustomAction_GICombiner15,
GICXXCustomAction_GICombiner16,
GICXXCustomAction_GICombiner17,
GICXXCustomAction_GICombiner18,
GICXXCustomAction_GICombiner19,
GICXXCustomAction_GICombiner20,
GICXXCustomAction_GICombiner21,
GICXXCustomAction_GICombiner22,
GICXXCustomAction_GICombiner23,
GICXXCustomAction_GICombiner24,
GICXXCustomAction_GICombiner25,
GICXXCustomAction_GICombiner26,
GICXXCustomAction_GICombiner27,
GICXXCustomAction_GICombiner28,
GICXXCustomAction_GICombiner29,
GICXXCustomAction_GICombiner30,
GICXXCustomAction_GICombiner31,
GICXXCustomAction_GICombiner32,
GICXXCustomAction_GICombiner33,
GICXXCustomAction_GICombiner34,
GICXXCustomAction_GICombiner35,
GICXXCustomAction_GICombiner36,
GICXXCustomAction_GICombiner37,
GICXXCustomAction_GICombiner38,
GICXXCustomAction_GICombiner39,
GICXXCustomAction_GICombiner40,
GICXXCustomAction_GICombiner41,
GICXXCustomAction_GICombiner42,
GICXXCustomAction_GICombiner43,
GICXXCustomAction_GICombiner44,
GICXXCustomAction_GICombiner45,
GICXXCustomAction_GICombiner46,
GICXXCustomAction_GICombiner47,
GICXXCustomAction_GICombiner48,
GICXXCustomAction_GICombiner49,
GICXXCustomAction_GICombiner50,
GICXXCustomAction_GICombiner51,
GICXXCustomAction_GICombiner52,
GICXXCustomAction_GICombiner53,
GICXXCustomAction_GICombiner54,
GICXXCustomAction_GICombiner55,
GICXXCustomAction_GICombiner56,
GICXXCustomAction_GICombiner57,
GICXXCustomAction_GICombiner58,
GICXXCustomAction_GICombiner59,
GICXXCustomAction_GICombiner60,
GICXXCustomAction_GICombiner61,
GICXXCustomAction_GICombiner62,
GICXXCustomAction_GICombiner63,
GICXXCustomAction_GICombiner64,
GICXXCustomAction_GICombiner65,
GICXXCustomAction_GICombiner66,
GICXXCustomAction_GICombiner67,
GICXXCustomAction_GICombiner68,
GICXXCustomAction_GICombiner69,
GICXXCustomAction_GICombiner70,
GICXXCustomAction_GICombiner71,
GICXXCustomAction_GICombiner72,
GICXXCustomAction_GICombiner73,
GICXXCustomAction_GICombiner74,
GICXXCustomAction_GICombiner75,
GICXXCustomAction_GICombiner76,
GICXXCustomAction_GICombiner77,
GICXXCustomAction_GICombiner78,
GICXXCustomAction_GICombiner79,
GICXXCustomAction_GICombiner80,
GICXXCustomAction_GICombiner81,
GICXXCustomAction_GICombiner82,
GICXXCustomAction_GICombiner83,
GICXXCustomAction_GICombiner84,
GICXXCustomAction_GICombiner85,
GICXXCustomAction_GICombiner86,
GICXXCustomAction_GICombiner87,
GICXXCustomAction_GICombiner88,
GICXXCustomAction_GICombiner89,
GICXXCustomAction_GICombiner90,
GICXXCustomAction_GICombiner91,
GICXXCustomAction_GICombiner92,
GICXXCustomAction_GICombiner93,
GICXXCustomAction_GICombiner94,
GICXXCustomAction_GICombiner95,
GICXXCustomAction_GICombiner96,
GICXXCustomAction_GICombiner97,
GICXXCustomAction_GICombiner98,
GICXXCustomAction_GICombiner99,
GICXXCustomAction_GICombiner100,
GICXXCustomAction_GICombiner101,
GICXXCustomAction_GICombiner102,
GICXXCustomAction_GICombiner103,
GICXXCustomAction_GICombiner104,
GICXXCustomAction_GICombiner105,
GICXXCustomAction_GICombiner106,
GICXXCustomAction_GICombiner107,
GICXXCustomAction_GICombiner108,
GICXXCustomAction_GICombiner109,
GICXXCustomAction_GICombiner110,
GICXXCustomAction_GICombiner111,
GICXXCustomAction_GICombiner112,
GICXXCustomAction_GICombiner113,
GICXXCustomAction_GICombiner114,
GICXXCustomAction_GICombiner115,
GICXXCustomAction_GICombiner116,
GICXXCustomAction_GICombiner117,
GICXXCustomAction_GICombiner118,
GICXXCustomAction_GICombiner119,
GICXXCustomAction_GICombiner120,
GICXXCustomAction_GICombiner121,
GICXXCustomAction_GICombiner122,
GICXXCustomAction_GICombiner123,
GICXXCustomAction_GICombiner124,
GICXXCustomAction_GICombiner125,
GICXXCustomAction_GICombiner126,
GICXXCustomAction_GICombiner127,
GICXXCustomAction_GICombiner128,
GICXXCustomAction_GICombiner129,
GICXXCustomAction_GICombiner130,
GICXXCustomAction_GICombiner131,
GICXXCustomAction_GICombiner132,
GICXXCustomAction_GICombiner133,
GICXXCustomAction_GICombiner134,
GICXXCustomAction_GICombiner135,
GICXXCustomAction_GICombiner136,
GICXXCustomAction_GICombiner137,
GICXXCustomAction_GICombiner138,
GICXXCustomAction_GICombiner139,
GICXXCustomAction_GICombiner140,
GICXXCustomAction_GICombiner141,
GICXXCustomAction_GICombiner142,
GICXXCustomAction_GICombiner143,
GICXXCustomAction_GICombiner144,
GICXXCustomAction_GICombiner145,
GICXXCustomAction_GICombiner146,
GICXXCustomAction_GICombiner147,
};
bool AArch64PreLegalizerCombinerImpl::runCustomAction(unsigned ApplyID, const MatcherState &State, NewMIVector &OutMIs) const {
Helper.getBuilder().setInstrAndDebugLoc(*State.MIs[0]);
switch(ApplyID) {
case GICXXCustomAction_GICombiner0:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchFoldAPlusC1MinusC2(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner1:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchFoldC2MinusAPlusC1(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner2:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchFoldAMinusC1MinusC2(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner3:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchFoldC1Minus2MinusC2(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner4:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchFoldAMinusC1PlusC2(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner5:{
if(![&](){return Helper.matchCombineCopy(*State.MIs[0]);}()) {
return false;
}
Helper.applyCombineCopy(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner6:{
unsigned GIMatchData_matchinfo;
if(![&](){return Helper.matchCombineMulToShl(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyCombineMulToShl(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner7:{
std::pair<Register, bool> GIMatchData_info;
if(![&](){return Helper.matchCombineAddP2IToPtrAdd(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyCombineAddP2IToPtrAdd(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner8:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchExtractVectorElement(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner9:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchInsertVectorElementOOB(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner10:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchExtractVectorElementWithDifferentIndices(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner11:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchExtractVectorElementWithBuildVector(*State.MIs[0], *State.MIs[1],
GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner12:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchExtractVectorElementWithBuildVectorTrunc(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner13:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchExtractVectorElementWithShuffleVector(*State.MIs[0], *State.MIs[1],
GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner14:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchAddOfVScale(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner15:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchMulOfVScale(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner16:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchShlOfVScale(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner17:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchSubOfVScale(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner18:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return !isGuaranteedNotToBePoison(State.MIs[0]->getOperand(1).getReg(), MRI) && Helper.matchFreezeOfSingleMaybePoisonOperand(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner19:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchTruncateOfExt(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner20:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchCastOfSelect(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner21:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchExtOfExt(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner22:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchCastOfBuildVector(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner23:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchNarrowBinop(*State.MIs[0], *State.MIs[1], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner24:{
APInt GIMatchData_matchinfo;
if(![&](){return Helper.matchCastOfInteger(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceInstWithConstant(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner25:{
SmallVector<Register, 4> GIMatchData_info;
if(![&](){return Helper.matchCombineInsertVecElts(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyCombineInsertVecElts(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner26:{
Register GIMatchData_matchinfo;
if(![&](){return Helper.matchExtractVecEltBuildVec(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyExtractVecEltBuildVec(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner27:{
SmallVector<std::pair<Register, MachineInstr*>> GIMatchData_matchinfo;
if(![&](){return Helper.matchExtractAllEltsFromBuildVector(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyExtractAllEltsFromBuildVector(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner28:{
PreferredTuple GIMatchData_matchinfo;
if(![&](){return Helper.matchCombineExtendingLoads(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyCombineExtendingLoads(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner29:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchCombineLoadWithAndMask(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner30:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchCombineExtractedVectorLoad(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner31:{
if(![&](){return Helper.matchAnyExplicitUseIsUndef(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithFConstant(*State.MIs[0], 0.0);
return true;
}
case GICXXCustomAction_GICombiner32:{
if(![&](){return Helper.matchAnyExplicitUseIsUndef(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithConstant(*State.MIs[0], 0);
return true;
}
case GICXXCustomAction_GICombiner33:{
if(![&](){return Helper.matchAnyExplicitUseIsUndef(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithConstant(*State.MIs[0], -1);
return true;
}
case GICXXCustomAction_GICombiner34:{
if(![&](){return Helper.matchOperandIsUndef(*State.MIs[0], 1);}()) {
return false;
}
Helper.replaceInstWithConstant(*State.MIs[0], 0);
return true;
}
case GICXXCustomAction_GICombiner35:{
if(![&](){return Helper.matchOperandIsUndef(*State.MIs[0], 2);}()) {
return false;
}
Helper.replaceInstWithUndef(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner36:{
if(![&](){return Helper.matchAnyExplicitUseIsUndef(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithUndef(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner37:{
if(![&](){return Helper.matchAllExplicitUsesAreUndef(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithUndef(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner38:{
if(![&](){return Helper.matchUndefShuffleVectorMask(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithUndef(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner39:{
if(![&](){return Helper.matchUndefStore(*State.MIs[0]);}()) {
return false;
}
Helper.eraseInst(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner40:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchCombineUnmergeUndef(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner41:{
if(![&](){return Helper.matchInsertExtractVecEltOutOfBounds(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithUndef(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner42:{
if(![&](){return Helper.matchSelectSameVal(*State.MIs[0]);}()) {
return false;
}
Helper.replaceSingleDefInstWithOperand(*State.MIs[0], 2);
return true;
}
case GICXXCustomAction_GICombiner43:{
if(![&](){return Helper.matchOperandIsZero(*State.MIs[0], 1);}()) {
return false;
}
Helper.replaceSingleDefInstWithOperand(*State.MIs[0], 1);
return true;
}
case GICXXCustomAction_GICombiner44:{
Register GIMatchData_info;
if(![&](){return Helper.matchCombineI2PToP2I(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyCombineI2PToP2I(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner45:{
Register GIMatchData_info;
if(![&](){GIMatchData_info = State.MIs[1]->getOperand(1).getReg(); return true;}()) {
return false;
}
Helper.applyCombineP2IToI2P(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner46:{
Register GIMatchData_matchinfo;
if(![&](){return Helper.matchCombineAnyExtTrunc(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner47:{
Register GIMatchData_matchinfo;
if(![&](){return Helper.matchBuildVectorIdentityFold(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner48:{
Register GIMatchData_matchinfo;
if(![&](){return Helper.matchTruncBuildVectorFold(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner49:{
Register GIMatchData_matchinfo;
if(![&](){return Helper.matchTruncLshrBuildVectorFold(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner50:{
if(![&](){return MRI.getType(State.MIs[1]->getOperand(1).getReg()) == MRI.getType(State.MIs[0]->getOperand(0).getReg());}()) {
return false;
}
Helper.replaceSingleDefInstWithReg(*State.MIs[0], State.MIs[1]->getOperand(1).getReg());
return true;
}
case GICXXCustomAction_GICombiner51:{
MachineInstr* GIMatchData_matchinfo;
if(![&](){return Helper.matchExtendThroughPhis(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyExtendThroughPhis(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner52:{
std::tuple<Register, Register> GIMatchData_info;
if(![&](){return Helper.matchSimplifyAddToSub(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applySimplifyAddToSub(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner53:{
InstructionStepsMatchInfo GIMatchData_info;
if(![&](){return Helper.matchHoistLogicOpWithSameOpcodeHands(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildInstructionSteps(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner54:{
if(![&](){return Helper.matchShiftsTooBig(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithUndef(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner55:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchReassocPtrAdd(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner56:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchReassocCommBinOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner57:{
PtrAddChain GIMatchData_matchinfo;
if(![&](){return Helper.matchPtrAddImmedChain(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyPtrAddImmedChain(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner58:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchCanonicalizeICmp(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner59:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchCanonicalizeFCmp(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner60:{
int64_t GIMatchData_matchinfo;
if(![&](){return Helper.matchICmpToTrueFalseKnownBits(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceInstWithConstant(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner61:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchICmpToLHSKnownBits(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner62:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchRedundantBinOpInEquality(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner63:{
std::tuple<Register, int64_t> GIMatchData_info;
if(![&](){return Helper.matchAshrShlToSextInreg(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyAshShlToSextInreg(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner64:{
std::tuple<Register, unsigned> GIMatchData_matchinfo;
if(![&](){return Helper.matchSextInRegOfLoad(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applySextInRegOfLoad(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner65:{
RegisterImmPair GIMatchData_matchinfo;
if(![&](){return Helper.matchCombineShlOfExtend(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyCombineShlOfExtend(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner66:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchNarrowBinopFeedingAnd(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner67:{
unsigned GIMatchData_matchinfo;
if(![&](){return Helper.matchConstantSelectCmp(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceSingleDefInstWithOperand(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner68:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchSelectIMinMax(State.MIs[0]->getOperand(0), GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner69:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchSelect(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner70:{
Register GIMatchData_matchinfo;
if(![&](){return Helper.matchRedundantAnd(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner71:{
if(![&](){return Helper.matchRedundantSExtInReg(*State.MIs[0]);}()) {
return false;
}
Helper.replaceSingleDefInstWithOperand(*State.MIs[0], 1);
return true;
}
case GICXXCustomAction_GICombiner72:{
Register GIMatchData_matchinfo;
if(![&](){return Helper.matchRedundantOr(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner73:{
if(![&](){return Helper.matchOperandIsKnownToBeAPowerOfTwo(*State.MIs[0], 2);}()) {
return false;
}
Helper.applySimplifyURemByPow2(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner74:{
Register GIMatchData_matchinfo;
if(![&](){return Helper.matchCombineZextTrunc(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner75:{
if(![&](){unsigned BitWidth = MRI.getType(State.MIs[0]->getOperand(1).getReg()).getScalarSizeInBits();
return Helper.getKnownBits()->maskedValueIsZero(State.MIs[0]->getOperand(1).getReg(),
APInt::getOneBitSet(BitWidth, State.MIs[0]->getOperand(2).getImm() - 1));}()) {
return false;
}
Helper.getBuilder().setInstrAndDebugLoc(*State.MIs[0]);
Helper.getBuilder().buildZExtInReg(State.MIs[0]->getOperand(0), State.MIs[0]->getOperand(1), State.MIs[0]->getOperand(2).getImm());
State.MIs[0]->eraseFromParent();
return true;
}
case GICXXCustomAction_GICombiner76:{
SmallVector<Register, 4> GIMatchData_info;
if(![&](){return Helper.matchNotCmp(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyNotCmp(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner77:{
MachineInstr * GIMatchData_matchinfo;
if(![&](){return Helper.matchOptBrCondByInvertingCond(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyOptBrCondByInvertingCond(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner78:{
SmallVector<Register, 8> GIMatchData_info;
if(![&](){return Helper.matchCombineUnmergeMergeToPlainValues(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyCombineUnmergeMergeToPlainValues(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner79:{
SmallVector<APInt, 8> GIMatchData_info;
if(![&](){return Helper.matchCombineUnmergeConstant(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyCombineUnmergeConstant(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner80:{
if(![&](){return Helper.matchCombineUnmergeWithDeadLanesToTrunc(*State.MIs[0]);}()) {
return false;
}
Helper.applyCombineUnmergeWithDeadLanesToTrunc(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner81:{
if(![&](){return Helper.matchCombineUnmergeZExtToZExt(*State.MIs[0]);}()) {
return false;
}
Helper.applyCombineUnmergeZExtToZExt(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner82:{
Register GIMatchData_matchinfo;
if(![&](){return Helper.matchCombineMergeUnmerge(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceSingleDefInstWithReg(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner83:{
std::pair<MachineInstr*, LLT> GIMatchData_matchinfo;
if(![&](){return Helper.matchCombineTruncOfShift(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyCombineTruncOfShift(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner84:{
Helper.applyCombineConstantFoldFpUnary(*State.MIs[0], State.MIs[1]->getOperand(1).getFPImm());
return true;
}
case GICXXCustomAction_GICombiner85:{
Helper.replaceInstWithFConstant(*State.MIs[0]->getOperand(0).getParent(), 0.0);
return true;
}
case GICXXCustomAction_GICombiner86:{
APInt GIMatchData_info;
if(![&](){return Helper.matchCombineConstPtrAddToI2P(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyCombineConstPtrAddToI2P(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner87:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchOverlappingAnd(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner88:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchMulOBy2(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner89:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchMulOBy0(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner90:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchAddEToAddO(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner91:{
unsigned GIMatchData_info;
if(![&](){return Helper.matchCombineFMinMaxNaN(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.replaceSingleDefInstWithOperand(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner92:{
if(![&](){return Helper.matchFPowIExpansion(*State.MIs[0], State.MIs[1]->getOperand(1).getCImm()->getSExtValue());}()) {
return false;
}
Helper.applyExpandFPowI(*State.MIs[0], State.MIs[1]->getOperand(1).getCImm()->getSExtValue());
return true;
}
case GICXXCustomAction_GICombiner93:{
std::pair<Register, Register> GIMatchData_matchinfo;
if(![&](){return Helper.matchXorOfAndWithSameReg(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyXorOfAndWithSameReg(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner94:{
if(![&](){return Helper.matchPtrAddZero(*State.MIs[0]);}()) {
return false;
}
Helper.applyPtrAddZero(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner95:{
RegisterImmPair GIMatchData_matchinfo;
if(![&](){return Helper.matchShiftImmedChain(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyShiftImmedChain(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner96:{
ShiftOfShiftedLogic GIMatchData_matchinfo;
if(![&](){return Helper.matchShiftOfShiftedLogic(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyShiftOfShiftedLogic(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner97:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchLoadOrCombine(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner98:{
MachineInstr * GIMatchData_matchinfo;
if(![&](){return Helper.matchCombineDivRem(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyCombineDivRem(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner99:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchOrShiftToFunnelShift(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner100:{
if(![&](){return Helper.matchFunnelShiftToRotate(*State.MIs[0]);}()) {
return false;
}
Helper.applyFunnelShiftToRotate(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner101:{
if(![&](){return Helper.matchConstantLargerBitWidth(*State.MIs[0], 3);}()) {
return false;
}
Helper.applyFunnelShiftConstantModulo(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner102:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchCommuteShift(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner103:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchBitfieldExtractFromSExtInReg(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner104:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchBitfieldExtractFromAnd(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner105:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchBitfieldExtractFromShr(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner106:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchBitfieldExtractFromShrAnd(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner107:{
APInt GIMatchData_matchinfo;
if(![&](){return Helper.matchConstantFoldBinOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceInstWithConstant(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner108:{
ConstantFP* GIMatchData_matchinfo;
if(![&](){return Helper.matchConstantFoldFPBinOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceInstWithFConstant(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner109:{
ConstantFP* GIMatchData_matchinfo;
if(![&](){return Helper.matchConstantFoldFMA(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceInstWithFConstant(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner110:{
APInt GIMatchData_matchinfo;
if(![&](){return Helper.matchConstantFoldCastOp(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.replaceInstWithConstant(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner111:{
if(![&](){return Helper.matchUDivByConst(*State.MIs[0]);}()) {
return false;
}
Helper.applyUDivByConst(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner112:{
if(![&](){return Helper.matchSDivByConst(*State.MIs[0]);}()) {
return false;
}
Helper.applySDivByConst(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner113:{
if(![&](){return Helper.matchDivByPow2(*State.MIs[0], true);}()) {
return false;
}
Helper.applySDivByPow2(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner114:{
if(![&](){return Helper.matchDivByPow2(*State.MIs[0], false);}()) {
return false;
}
Helper.applyUDivByPow2(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner115:{
if(![&](){return Helper.matchUMulHToLShr(*State.MIs[0]);}()) {
return false;
}
Helper.applyUMulHToLShr(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner116:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchRedundantNegOperands(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner117:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchAndOrDisjointMask(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFnNoErase(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner118:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchCombineFAddFMulToFMadOrFMA(*State.MIs[0],
GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner119:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchCombineFAddFpExtFMulToFMadOrFMA(*State.MIs[0],
GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner120:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchCombineFAddFMAFMulToFMadOrFMA(*State.MIs[0],
GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner121:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchCombineFAddFpExtFMulToFMadOrFMAAggressive(
*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner122:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchCombineFSubFMulToFMadOrFMA(*State.MIs[0],
GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner123:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchCombineFSubFNegFMulToFMadOrFMA(*State.MIs[0],
GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner124:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchCombineFSubFpExtFMulToFMadOrFMA(*State.MIs[0],
GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner125:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchCombineFSubFpExtFNegFMulToFMadOrFMA(
*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner126:{
unsigned GIMatchData_select_op_no;
if(![&](){return Helper.matchFoldBinOpIntoSelect(*State.MIs[0], GIMatchData_select_op_no);}()) {
return false;
}
Helper.applyFoldBinOpIntoSelect(*State.MIs[0], GIMatchData_select_op_no);
return true;
}
case GICXXCustomAction_GICombiner127:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchSubAddSameReg(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner128:{
std::function<void(MachineIRBuilder &)> GIMatchData_info;
if(![&](){return Helper.matchSimplifySelectToMinMax(*State.MIs[0], GIMatchData_info);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_info);
return true;
}
case GICXXCustomAction_GICombiner129:{
Register GIMatchData_matchinfo;
if(![&](){return Helper.matchFsubToFneg(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyFsubToFneg(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner130:{
if(![&](){return Helper.matchCommuteConstantToRHS(*State.MIs[0]);}()) {
return false;
}
Helper.applyCommuteBinOpOperands(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner131:{
if(![&](){return Helper.matchCommuteFPConstantToRHS(*State.MIs[0]);}()) {
return false;
}
Helper.applyCommuteBinOpOperands(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner132:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchAnd(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner133:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchOr(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner134:{
SmallVector<Register> GIMatchData_matchinfo;
if(![&](){return Helper.matchCombineConcatVectors(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyCombineConcatVectors(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner135:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchAddOverflow(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFn(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner136:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchSextOfTrunc(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner137:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchZextOfTrunc(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner138:{
std::function<void(MachineIRBuilder &)> GIMatchData_matchinfo;
if(![&](){return Helper.matchNonNegZext(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnMO(State.MIs[0]->getOperand(0), GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner139:{
SmallVector<Register> GIMatchData_matchinfo;
if(![&](){return Helper.matchCombineShuffleConcat(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyCombineShuffleConcat(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner140:{
Register GIMatchData_matchinfo;
if(![&](){return Helper.matchUseVectorTruncate(*State.MIs[0], GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyUseVectorTruncate(*State.MIs[0], GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner141:{
if(![&](){return matchFConstantToConstant(*State.MIs[0], MRI);}()) {
return false;
}
applyFConstantToConstant(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner142:{
Register GIMatchData_matchinfo;
if(![&](){return matchICmpRedundantTrunc(*State.MIs[0], MRI, Helper.getKnownBits(), GIMatchData_matchinfo);}()) {
return false;
}
applyICmpRedundantTrunc(*State.MIs[0], MRI, B, Observer, GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner143:{
std::pair<uint64_t, uint64_t> GIMatchData_matchinfo;
if(![&](){return matchFoldGlobalOffset(*State.MIs[0], MRI, GIMatchData_matchinfo);}()) {
return false;
}
applyFoldGlobalOffset(*State.MIs[0], MRI, B, Observer, GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner144:{
if(![&](){return Helper.matchShuffleToExtract(*State.MIs[0]);}()) {
return false;
}
Helper.applyShuffleToExtract(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner145:{
std::tuple<Register, Register, bool> GIMatchData_matchinfo;
if(![&](){return matchExtAddvToUdotAddv(*State.MIs[0], MRI, STI, GIMatchData_matchinfo);}()) {
return false;
}
applyExtAddvToUdotAddv(*State.MIs[0], MRI, B, Observer, STI, GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner146:{
std::pair<Register, bool> GIMatchData_matchinfo;
if(![&](){return matchExtUaddvToUaddlv(*State.MIs[0], MRI, GIMatchData_matchinfo);}()) {
return false;
}
applyExtUaddvToUaddlv(*State.MIs[0], MRI, B, Observer, GIMatchData_matchinfo);
return true;
}
case GICXXCustomAction_GICombiner147:{
if(![&](){return matchPushAddSubExt(*State.MIs[0], MRI, State.MIs[0]->getOperand(0).getReg(), State.MIs[1]->getOperand(1).getReg(), State.MIs[2]->getOperand(1).getReg());}()) {
return false;
}
applyPushAddSubExt(*State.MIs[0], MRI, B, State.MIs[1]->getOpcode() == TargetOpcode::G_SEXT, State.MIs[0]->getOperand(0).getReg(), State.MIs[1]->getOperand(1).getReg(), State.MIs[2]->getOperand(1).getReg());
return true;
}
}
llvm_unreachable("Unknown Apply Action");
}
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#define GIMT_Encode2 …
#define GIMT_Encode4 …
#define GIMT_Encode8 …
#else
#define GIMT_Encode2 …
#define GIMT_Encode4 …
#define GIMT_Encode8 …
#endif
const uint8_t *AArch64PreLegalizerCombinerImpl::getMatchTable() const {
constexpr static uint8_t MatchTable0[] = {
GIM_SwitchOpcode, 0, GIMT_Encode2(20), GIMT_Encode2(292), GIMT_Encode4(6942),
GIMT_Encode4(1098), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(1110),
GIMT_Encode4(1725),
GIMT_Encode4(2026),
GIMT_Encode4(2192),
GIMT_Encode4(2265),
GIMT_Encode4(2349),
GIMT_Encode4(2394), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(2461),
GIMT_Encode4(2742),
GIMT_Encode4(2987), GIMT_Encode4(0),
GIMT_Encode4(3088), GIMT_Encode4(0),
GIMT_Encode4(3100), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(3112), GIMT_Encode4(0),
GIMT_Encode4(3168),
GIMT_Encode4(3180),
GIMT_Encode4(3217),
GIMT_Encode4(3229),
GIMT_Encode4(3241),
GIMT_Encode4(3263),
GIMT_Encode4(3275),
GIMT_Encode4(3297), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(3361),
GIMT_Encode4(3373),
GIMT_Encode4(3385), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(3397), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(3409),
GIMT_Encode4(3516), GIMT_Encode4(0),
GIMT_Encode4(3864), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(3876),
GIMT_Encode4(3957),
GIMT_Encode4(4002),
GIMT_Encode4(4132),
GIMT_Encode4(4290),
GIMT_Encode4(4402),
GIMT_Encode4(4525),
GIMT_Encode4(4568),
GIMT_Encode4(4611),
GIMT_Encode4(4635),
GIMT_Encode4(4659),
GIMT_Encode4(4715), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(4727),
GIMT_Encode4(4822),
GIMT_Encode4(4845), GIMT_Encode4(0),
GIMT_Encode4(4857),
GIMT_Encode4(4869),
GIMT_Encode4(4892), GIMT_Encode4(0),
GIMT_Encode4(4904),
GIMT_Encode4(4916),
GIMT_Encode4(4950),
GIMT_Encode4(4984),
GIMT_Encode4(5007),
GIMT_Encode4(5019),
GIMT_Encode4(5031), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(5043),
GIMT_Encode4(5066),
GIMT_Encode4(5089),
GIMT_Encode4(5101),
GIMT_Encode4(5113),
GIMT_Encode4(5125), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(5137),
GIMT_Encode4(5249),
GIMT_Encode4(5338),
GIMT_Encode4(5426),
GIMT_Encode4(5449),
GIMT_Encode4(5472),
GIMT_Encode4(5506), GIMT_Encode4(0),
GIMT_Encode4(5518), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(5540), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(5562), GIMT_Encode4(0),
GIMT_Encode4(5613),
GIMT_Encode4(5656),
GIMT_Encode4(5668),
GIMT_Encode4(5680),
GIMT_Encode4(5707), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(5734), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(5813),
GIMT_Encode4(5843),
GIMT_Encode4(5877),
GIMT_Encode4(5911),
GIMT_Encode4(5923),
GIMT_Encode4(5935),
GIMT_Encode4(5969), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(6003), GIMT_Encode4(0),
GIMT_Encode4(6093),
GIMT_Encode4(6127),
GIMT_Encode4(6161),
GIMT_Encode4(6195),
GIMT_Encode4(6229), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(6241), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(6253),
GIMT_Encode4(6383),
GIMT_Encode4(6760), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(6805), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(6894), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(6916),
GIM_Try, GIMT_Encode4(1109),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule13Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner5),
GIM_Reject,
GIM_Try, GIMT_Encode4(1121),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule15Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner7),
GIM_Try, GIMT_Encode4(1132),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule75Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner36),
GIM_Try, GIMT_Encode4(1143),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule101Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner52),
GIM_Try, GIMT_Encode4(1154),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(1165),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(1176),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Try, GIMT_Encode4(1210),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule0Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_CheckConstantInt8, 1, 1, 0,
GIM_CheckIsSafeToFold, 1,
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_SUB),
GIR_RootToRootCopy, 0,
GIR_RootToRootCopy, 2,
GIR_Copy, 0, 1, 2,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(1247),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule12Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_RecordInsnIgnoreCopies, 2, 1, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_RecordInsnIgnoreCopies, 3, 0, 2,
GIM_CheckOpcode, 3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 3,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner4),
GIM_Try, GIMT_Encode4(1281),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule3Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_CheckIsSameOperandIgnoreCopies, 0, 2, 1, 2,
GIM_CheckCanReplaceReg, 0, 0, 1, 1,
GIM_CheckIsSafeToFold, 1,
GIR_ReplaceReg, 0, 0, 1, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(1315),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule92Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_CheckIsSameOperandIgnoreCopies, 0, 2, 1, 2,
GIM_CheckCanReplaceReg, 0, 0, 1, 1,
GIM_CheckIsSafeToFold, 1,
GIR_ReplaceReg, 0, 0, 1, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(1360),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule5Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_RecordInsnIgnoreCopies, 2, 0, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_CheckIsSameOperandIgnoreCopies, 2, 1, 1, 2,
GIM_CheckIsSafeToFold, 2,
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_SUB),
GIR_RootToRootCopy, 0,
GIR_Copy, 0, 1, 1,
GIR_Copy, 0, 2, 2,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(1405),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule4Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_RecordInsnIgnoreCopies, 2, 0, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_CheckIsSameOperandIgnoreCopies, 2, 2, 1, 1,
GIM_CheckIsSafeToFold, 2,
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_SUB),
GIR_RootToRootCopy, 0,
GIR_Copy, 0, 2, 1,
GIR_Copy, 0, 1, 2,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(1434),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule212Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SEXT),
GIM_RecordInsnIgnoreCopies, 2, 0, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_SEXT),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner147),
GIM_Try, GIMT_Encode4(1469),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule36Enabled),
GIM_MIFlags, 0, GIMT_Encode4(MachineInstr::NoSWrap),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_VSCALE),
GIM_RecordInsnIgnoreCopies, 2, 0, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_VSCALE),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner14),
GIM_Try, GIMT_Encode4(1498),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule210Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ZEXT),
GIM_RecordInsnIgnoreCopies, 2, 0, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_ZEXT),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner147),
GIM_Try, GIMT_Encode4(1532),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule1Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 2,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_CheckConstantInt8, 1, 1, 0,
GIM_CheckIsSafeToFold, 1,
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_SUB),
GIR_RootToRootCopy, 0,
GIR_RootToRootCopy, 1,
GIR_Copy, 0, 1, 2,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(1566),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule2Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 2,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_CheckIsSameOperandIgnoreCopies, 1, 2, 0, 1,
GIM_CheckCanReplaceReg, 0, 0, 1, 1,
GIM_CheckIsSafeToFold, 1,
GIR_ReplaceReg, 0, 0, 1, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(1600),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule92Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 2,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_CheckIsSameOperandIgnoreCopies, 1, 2, 0, 1,
GIM_CheckCanReplaceReg, 0, 0, 1, 1,
GIM_CheckIsSafeToFold, 1,
GIR_ReplaceReg, 0, 0, 1, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(1645),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule6Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 2,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_RecordInsnIgnoreCopies, 2, 1, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_ADD),
GIM_CheckIsSameOperandIgnoreCopies, 2, 1, 0, 1,
GIM_CheckIsSafeToFold, 2,
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_SUB),
GIR_RootToRootCopy, 0,
GIR_Copy, 0, 1, 1,
GIR_Copy, 0, 2, 2,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(1690),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule7Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 2,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_RecordInsnIgnoreCopies, 2, 1, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_ADD),
GIM_CheckIsSameOperandIgnoreCopies, 2, 2, 0, 1,
GIM_CheckIsSafeToFold, 2,
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_SUB),
GIR_RootToRootCopy, 0,
GIR_Copy, 0, 1, 1,
GIR_Copy, 0, 2, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(1713),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule82Enabled),
GIM_CheckConstantInt8, 0, 2, 0,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(1724),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule105Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner56),
GIM_Reject,
GIM_Try, GIMT_Encode4(1736),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule75Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner36),
GIM_Try, GIMT_Encode4(1747),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(1758),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(1769),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner127),
GIM_Try, GIMT_Encode4(1806),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule8Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ADD),
GIM_RecordInsnIgnoreCopies, 2, 1, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_RecordInsnIgnoreCopies, 3, 0, 2,
GIM_CheckOpcode, 3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 3,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner0),
GIM_Try, GIMT_Encode4(1843),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule11Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_RecordInsnIgnoreCopies, 2, 1, 1,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_RecordInsnIgnoreCopies, 3, 0, 2,
GIM_CheckOpcode, 3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 3,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner3),
GIM_Try, GIMT_Encode4(1880),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule10Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_RecordInsnIgnoreCopies, 2, 1, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_RecordInsnIgnoreCopies, 3, 0, 2,
GIM_CheckOpcode, 3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 3,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner2),
GIM_Try, GIMT_Encode4(1909),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule211Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SEXT),
GIM_RecordInsnIgnoreCopies, 2, 0, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_SEXT),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner147),
GIM_Try, GIMT_Encode4(1938),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule209Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ZEXT),
GIM_RecordInsnIgnoreCopies, 2, 0, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_ZEXT),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner147),
GIM_Try, GIMT_Encode4(1975),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule9Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_RecordInsnIgnoreCopies, 2, 0, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_ADD),
GIM_RecordInsnIgnoreCopies, 3, 2, 2,
GIM_CheckOpcode, 3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 3,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner1),
GIM_Try, GIMT_Encode4(2002),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule39Enabled),
GIM_MIFlags, 0, GIMT_Encode4(MachineInstr::NoSWrap),
GIM_RecordInsnIgnoreCopies, 1, 0, 2,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_VSCALE),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner17),
GIM_Try, GIMT_Encode4(2025),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule82Enabled),
GIM_CheckConstantInt8, 0, 2, 0,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(2037),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule70Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner32),
GIM_Try, GIMT_Encode4(2048),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(2059),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Try, GIMT_Encode4(2099),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule16Enabled),
GIM_RecordRegType, 0, 0, uint8_t(-1),
GIM_CheckConstantInt8, 0, 2, uint8_t(-1),
GIR_MakeTempReg, 0, uint8_t(-1),
GIR_BuildConstant, 0, GIMT_Encode8(0),
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_SUB),
GIR_RootToRootCopy, 0,
GIR_AddSimpleTempRegister, 0, 0,
GIR_RootToRootCopy, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(2134),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule37Enabled),
GIM_MIFlags, 0, GIMT_Encode4(MachineInstr::NoSWrap),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_VSCALE),
GIM_RecordInsnIgnoreCopies, 2, 0, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner15),
GIM_Try, GIMT_Encode4(2157),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule85Enabled),
GIM_CheckConstantInt8, 0, 2, 0,
GIM_CheckCanReplaceReg, 0, 0, 0, 2,
GIR_ReplaceReg, 0, 0, 0, 2,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(2180),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
GIM_CheckConstantInt8, 0, 2, 1,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(2191),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule14Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner6),
GIM_Reject,
GIM_Try, GIMT_Encode4(2203),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule84Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner43),
GIM_Try, GIMT_Encode4(2214),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule155Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner98),
GIM_Try, GIMT_Encode4(2225),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(2236),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule174Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner112),
GIM_Try, GIMT_Encode4(2247),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(2264),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule175Enabled),
GIM_MIFlagsNot, 0, GIMT_Encode4(MachineInstr::IsExact),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner113),
GIM_Reject,
GIM_Try, GIMT_Encode4(2276),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule72Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner34),
GIM_Try, GIMT_Encode4(2287),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule84Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner43),
GIM_Try, GIMT_Encode4(2298),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule155Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner98),
GIM_Try, GIMT_Encode4(2309),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(2320),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule173Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner111),
GIM_Try, GIMT_Encode4(2331),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(2348),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule176Enabled),
GIM_MIFlagsNot, 0, GIMT_Encode4(MachineInstr::IsExact),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner114),
GIM_Reject,
GIM_Try, GIMT_Encode4(2360),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule84Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner43),
GIM_Try, GIMT_Encode4(2371),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule155Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner98),
GIM_Try, GIMT_Encode4(2382),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(2393),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(2405),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule72Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner34),
GIM_Try, GIMT_Encode4(2416),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule84Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner43),
GIM_Try, GIMT_Encode4(2427),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule125Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner73),
GIM_Try, GIMT_Encode4(2438),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule155Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner98),
GIM_Try, GIMT_Encode4(2449),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(2460),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(2472),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule67Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner29),
GIM_Try, GIMT_Encode4(2483),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule70Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner32),
GIM_Try, GIMT_Encode4(2494),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule102Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner53),
GIM_Try, GIMT_Encode4(2505),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule117Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner66),
GIM_Try, GIMT_Encode4(2516),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule122Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner70),
GIM_Try, GIMT_Encode4(2527),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule144Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner87),
GIM_Try, GIMT_Encode4(2538),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(2549),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule179Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner117),
GIM_Try, GIMT_Encode4(2560),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(2571),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Try, GIMT_Encode4(2582),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner132),
GIM_Try, GIMT_Encode4(2680),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule111Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ICMP),
GIM_RecordRegType, 1, 2, uint8_t(-1),
GIM_CheckConstantInt8, 1, 3, 0,
GIM_RecordInsnIgnoreCopies, 2, 0, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_ICMP),
GIM_CheckIsSameOperandIgnoreCopies, 2, 1, 1, 1,
GIM_CheckConstantInt8, 2, 3, 0,
GIM_CheckCxxInsnPredicate, 0, GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner5),
GIM_CheckIsSafeToFold, 2,
GIR_MakeTempReg, 1, uint8_t(-1),
GIR_BuildConstant, 1, GIMT_Encode8(0),
GIR_MakeTempReg, 0, uint8_t(-1),
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_OR),
GIR_AddTempRegister, 0, 0, GIMT_Encode2(RegState::Define),
GIR_Copy, 0, 1, 2,
GIR_Copy, 0, 2, 2,
GIR_BuildMI, 1, GIMT_Encode2(TargetOpcode::G_ICMP),
GIR_Copy, 1, 0, 0,
GIR_Copy, 1, 1, 1,
GIR_AddSimpleTempRegister, 1, 0,
GIR_AddSimpleTempRegister, 1, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(2717),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule165Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_LSHR),
GIM_RecordInsnIgnoreCopies, 2, 1, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_RecordInsnIgnoreCopies, 3, 0, 2,
GIM_CheckOpcode, 3, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 3,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner104),
GIM_Try, GIMT_Encode4(2741),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
GIM_CheckIsSameOperandIgnoreCopies, 0, 2, 0, 1,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(2753),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule71Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner33),
GIM_Try, GIMT_Encode4(2764),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule102Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner53),
GIM_Try, GIMT_Encode4(2775),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule124Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner72),
GIM_Try, GIMT_Encode4(2786),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule154Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner97),
GIM_Try, GIMT_Encode4(2797),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule156Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner99),
GIM_Try, GIMT_Encode4(2808),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(2819),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(2830),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Try, GIMT_Encode4(2841),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule195Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner133),
GIM_Try, GIMT_Encode4(2939),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule112Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ICMP),
GIM_RecordRegType, 1, 2, uint8_t(-1),
GIM_CheckConstantInt8, 1, 3, 0,
GIM_RecordInsnIgnoreCopies, 2, 0, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_ICMP),
GIM_CheckIsSameOperandIgnoreCopies, 2, 1, 1, 1,
GIM_CheckConstantInt8, 2, 3, 0,
GIM_CheckCxxInsnPredicate, 0, GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner6),
GIM_CheckIsSafeToFold, 2,
GIR_MakeTempReg, 1, uint8_t(-1),
GIR_BuildConstant, 1, GIMT_Encode8(0),
GIR_MakeTempReg, 0, uint8_t(-1),
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_OR),
GIR_AddTempRegister, 0, 0, GIMT_Encode2(RegState::Define),
GIR_Copy, 0, 1, 2,
GIR_Copy, 0, 2, 2,
GIR_BuildMI, 1, GIMT_Encode2(TargetOpcode::G_ICMP),
GIR_Copy, 1, 0, 0,
GIR_Copy, 1, 1, 1,
GIR_AddSimpleTempRegister, 1, 0,
GIR_AddSimpleTempRegister, 1, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(2963),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
GIM_CheckIsSameOperandIgnoreCopies, 0, 2, 0, 1,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(2986),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule82Enabled),
GIM_CheckConstantInt8, 0, 2, 0,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(2998),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule75Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner36),
GIM_Try, GIMT_Encode4(3009),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule102Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner53),
GIM_Try, GIMT_Encode4(3020),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule128Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner76),
GIM_Try, GIMT_Encode4(3031),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule150Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner93),
GIM_Try, GIMT_Encode4(3042),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(3053),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(3064),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Try, GIMT_Encode4(3087),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule82Enabled),
GIM_CheckConstantInt8, 0, 2, 0,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(3099),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule100Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner51),
GIM_Reject,
GIM_Try, GIMT_Encode4(3111),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule205Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner143),
GIM_Reject,
GIM_Try, GIMT_Encode4(3123),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule79Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner40),
GIM_Try, GIMT_Encode4(3134),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule130Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner78),
GIM_Try, GIMT_Encode4(3145),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule131Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner79),
GIM_Try, GIMT_Encode4(3156),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule132Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner80),
GIM_Try, GIMT_Encode4(3167),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule133Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner81),
GIM_Reject,
GIM_Try, GIMT_Encode4(3179),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule134Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner82),
GIM_Reject,
GIM_Try, GIMT_Encode4(3191),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule65Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner27),
GIM_Try, GIMT_Encode4(3202),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner47),
GIM_Try, GIMT_Encode4(3216),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule202Enabled),
GIM_CheckNumOperandsGE, 0, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner140),
GIM_Reject,
GIM_Try, GIMT_Encode4(3228),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner47),
GIM_Reject,
GIM_Try, GIMT_Encode4(3240),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule196Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner134),
GIM_Reject,
GIM_Try, GIMT_Encode4(3262),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule87Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_INTTOPTR),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner45),
GIM_Reject,
GIM_Try, GIMT_Encode4(3274),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule86Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner44),
GIM_Reject,
GIM_Try, GIMT_Encode4(3296),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule96Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BITCAST),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner50),
GIM_Reject,
GIM_Try, GIMT_Encode4(3326),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule17Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_FREEZE),
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIM_CheckIsSafeToFold, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(3349),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule40Enabled),
GIM_CheckCxxInsnPredicate, 0, GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner1),
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(3360),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule41Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner18),
GIM_Reject,
GIM_Try, GIMT_Encode4(3372),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule66Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner28),
GIM_Reject,
GIM_Try, GIMT_Encode4(3384),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule66Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner28),
GIM_Reject,
GIM_Try, GIMT_Encode4(3396),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule66Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner28),
GIM_Reject,
GIM_Try, GIMT_Encode4(3408),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule78Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner39),
GIM_Reject,
GIM_Try, GIMT_Encode4(3420),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule88Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner46),
GIM_Try, GIMT_Encode4(3431),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule171Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner110),
GIM_Try, GIMT_Encode4(3452),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule46Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SELECT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner20),
GIM_Try, GIMT_Encode4(3473),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule52Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ANYEXT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner21),
GIM_Try, GIMT_Encode4(3494),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule54Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SEXT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner21),
GIM_Try, GIMT_Encode4(3515),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule53Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ZEXT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner21),
GIM_Reject,
GIM_Try, GIMT_Encode4(3527),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule75Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner36),
GIM_Try, GIMT_Encode4(3538),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule94Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner48),
GIM_Try, GIMT_Encode4(3549),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule95Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner49),
GIM_Try, GIMT_Encode4(3560),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule135Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner83),
GIM_Try, GIMT_Encode4(3581),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule47Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SELECT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner20),
GIM_Try, GIMT_Encode4(3610),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule56Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ADD),
GIM_RecordInsnIgnoreCopies, 2, 1, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner23),
GIM_Try, GIMT_Encode4(3639),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule59Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_AND),
GIM_RecordInsnIgnoreCopies, 2, 1, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner23),
GIM_Try, GIMT_Encode4(3668),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule58Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_MUL),
GIM_RecordInsnIgnoreCopies, 2, 1, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner23),
GIM_Try, GIMT_Encode4(3697),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule60Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_OR),
GIM_RecordInsnIgnoreCopies, 2, 1, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner23),
GIM_Try, GIMT_Encode4(3726),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule57Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SUB),
GIM_RecordInsnIgnoreCopies, 2, 1, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner23),
GIM_Try, GIMT_Encode4(3755),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule61Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_XOR),
GIM_RecordInsnIgnoreCopies, 2, 1, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner23),
GIM_Try, GIMT_Encode4(3776),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule44Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ANYEXT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner19),
GIM_Try, GIMT_Encode4(3800),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule55Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperandsGE, 1, 2,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner22),
GIM_Try, GIMT_Encode4(3821),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule43Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SEXT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner19),
GIM_Try, GIMT_Encode4(3842),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule42Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ZEXT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner19),
GIM_Try, GIMT_Encode4(3863),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule62Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner24),
GIM_Reject,
GIM_Try, GIMT_Encode4(3875),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule203Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner141),
GIM_Reject,
GIM_Try, GIMT_Encode4(3887),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule171Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner110),
GIM_Try, GIMT_Encode4(3908),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule51Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ANYEXT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner21),
GIM_Try, GIMT_Encode4(3929),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule50Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SEXT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner21),
GIM_Try, GIMT_Encode4(3956),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule198Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_TRUNC),
GIM_MIFlags, 1, GIMT_Encode4(MachineInstr::NoSWrap),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner136),
GIM_Reject,
GIM_Try, GIMT_Encode4(3968),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule115Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner64),
GIM_Try, GIMT_Encode4(3979),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule123Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner71),
GIM_Try, GIMT_Encode4(3990),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule164Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner103),
GIM_Try, GIMT_Encode4(4001),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule127Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner75),
GIM_Reject,
GIM_Try, GIMT_Encode4(4013),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule126Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner74),
GIM_Try, GIMT_Encode4(4024),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule171Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner110),
GIM_Try, GIMT_Encode4(4045),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule45Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SELECT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner20),
GIM_Try, GIMT_Encode4(4066),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule49Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ANYEXT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner21),
GIM_Try, GIMT_Encode4(4093),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule199Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_TRUNC),
GIM_MIFlags, 1, GIMT_Encode4(MachineInstr::NoUWrap),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner137),
GIM_Try, GIMT_Encode4(4114),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule48Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ZEXT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner21),
GIM_Try, GIMT_Encode4(4131),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule200Enabled),
GIM_MIFlags, 0, GIMT_Encode4(MachineInstr::NonNeg),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner138),
GIM_Reject,
GIM_Try, GIMT_Encode4(4143),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule72Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner34),
GIM_Try, GIMT_Encode4(4154),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule73Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner35),
GIM_Try, GIMT_Encode4(4165),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule103Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner54),
GIM_Try, GIMT_Encode4(4176),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule152Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner95),
GIM_Try, GIMT_Encode4(4187),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule153Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner96),
GIM_Try, GIMT_Encode4(4198),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule163Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(4209),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(4220),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(4255),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule38Enabled),
GIM_MIFlags, 0, GIMT_Encode4(MachineInstr::NoSWrap),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_VSCALE),
GIM_RecordInsnIgnoreCopies, 2, 0, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner16),
GIM_Try, GIMT_Encode4(4278),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule82Enabled),
GIM_CheckConstantInt8, 0, 2, 0,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(4289),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule116Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner65),
GIM_Reject,
GIM_Try, GIMT_Encode4(4301),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule73Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner35),
GIM_Try, GIMT_Encode4(4312),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule103Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner54),
GIM_Try, GIMT_Encode4(4323),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule152Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner95),
GIM_Try, GIMT_Encode4(4334),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule153Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner96),
GIM_Try, GIMT_Encode4(4345),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule166Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner105),
GIM_Try, GIMT_Encode4(4356),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule167Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner106),
GIM_Try, GIMT_Encode4(4367),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(4378),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(4401),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule82Enabled),
GIM_CheckConstantInt8, 0, 2, 0,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(4413),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule73Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner35),
GIM_Try, GIMT_Encode4(4424),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule103Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner54),
GIM_Try, GIMT_Encode4(4435),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule114Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner63),
GIM_Try, GIMT_Encode4(4446),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule152Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner95),
GIM_Try, GIMT_Encode4(4457),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule153Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner96),
GIM_Try, GIMT_Encode4(4468),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule166Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner105),
GIM_Try, GIMT_Encode4(4479),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule167Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner106),
GIM_Try, GIMT_Encode4(4490),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(4501),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(4524),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule82Enabled),
GIM_CheckConstantInt8, 0, 2, 0,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(4536),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule157Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner100),
GIM_Try, GIMT_Encode4(4547),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule160Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner101),
GIM_Try, GIMT_Encode4(4567),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule159Enabled),
GIM_CheckConstantInt8, 0, 3, 0,
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::COPY),
GIR_RootToRootCopy, 0,
GIR_RootToRootCopy, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(4579),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule157Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner100),
GIM_Try, GIMT_Encode4(4590),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule160Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner101),
GIM_Try, GIMT_Encode4(4610),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule158Enabled),
GIM_CheckConstantInt8, 0, 3, 0,
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::COPY),
GIR_RootToRootCopy, 0,
GIR_RootToRootCopy, 2,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(4634),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule82Enabled),
GIM_CheckConstantInt8, 0, 2, 0,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(4658),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule82Enabled),
GIM_CheckConstantInt8, 0, 2, 0,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(4670),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule109Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner60),
GIM_Try, GIMT_Encode4(4681),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule110Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner61),
GIM_Try, GIMT_Encode4(4692),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule113Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner62),
GIM_Try, GIMT_Encode4(4703),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule107Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner58),
GIM_Try, GIMT_Encode4(4714),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner142),
GIM_Reject,
GIM_Try, GIMT_Encode4(4726),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule108Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner59),
GIM_Reject,
GIM_Try, GIMT_Encode4(4738),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule81Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner42),
GIM_Try, GIMT_Encode4(4749),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule119Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner67),
GIM_Try, GIMT_Encode4(4760),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule121Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner69),
GIM_Try, GIMT_Encode4(4771),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule190Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner128),
GIM_Try, GIMT_Encode4(4792),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule120Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ICMP),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner68),
GIM_Try, GIMT_Encode4(4821),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule118Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
GIM_CheckCanReplaceReg, 0, 0, 0, 3,
GIM_CheckIsSafeToFold, 1,
GIR_ReplaceReg, 0, 0, 0, 3,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(4833),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Try, GIMT_Encode4(4844),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule197Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner135),
GIM_Reject,
GIM_Try, GIMT_Encode4(4856),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule147Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner90),
GIM_Reject,
GIM_Try, GIMT_Encode4(4868),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule147Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner90),
GIM_Reject,
GIM_Try, GIMT_Encode4(4880),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Try, GIMT_Encode4(4891),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule197Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner135),
GIM_Reject,
GIM_Try, GIMT_Encode4(4903),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule147Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner90),
GIM_Reject,
GIM_Try, GIMT_Encode4(4915),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule147Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner90),
GIM_Reject,
GIM_Try, GIMT_Encode4(4927),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule145Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner88),
GIM_Try, GIMT_Encode4(4938),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule146Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner89),
GIM_Try, GIMT_Encode4(4949),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(4961),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule145Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner88),
GIM_Try, GIMT_Encode4(4972),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule146Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner89),
GIM_Try, GIMT_Encode4(4983),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(4995),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule177Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner115),
GIM_Try, GIMT_Encode4(5006),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(5018),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(5030),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(5042),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(5054),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule152Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner95),
GIM_Try, GIMT_Encode4(5065),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule153Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner96),
GIM_Reject,
GIM_Try, GIMT_Encode4(5077),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule152Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner95),
GIM_Try, GIMT_Encode4(5088),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule153Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner96),
GIM_Reject,
GIM_Try, GIMT_Encode4(5100),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(5112),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(5124),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(5136),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(5148),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner108),
GIM_Try, GIMT_Encode4(5159),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule178Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner116),
GIM_Try, GIMT_Encode4(5170),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule180Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner118),
GIM_Try, GIMT_Encode4(5181),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule181Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner119),
GIM_Try, GIMT_Encode4(5192),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule182Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner120),
GIM_Try, GIMT_Encode4(5203),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule183Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(5214),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(5225),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner131),
GIM_Try, GIMT_Encode4(5248),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule98Enabled),
GIM_CheckCxxInsnPredicate, 0, GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner3),
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(5260),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner108),
GIM_Try, GIMT_Encode4(5271),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule178Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner116),
GIM_Try, GIMT_Encode4(5282),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule184Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner122),
GIM_Try, GIMT_Encode4(5293),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule185Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner123),
GIM_Try, GIMT_Encode4(5304),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule186Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner124),
GIM_Try, GIMT_Encode4(5315),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner125),
GIM_Try, GIMT_Encode4(5326),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(5337),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule191Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner129),
GIM_Reject,
GIM_Try, GIMT_Encode4(5349),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner108),
GIM_Try, GIMT_Encode4(5360),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule178Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner116),
GIM_Try, GIMT_Encode4(5371),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(5382),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner131),
GIM_Try, GIMT_Encode4(5405),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule91Enabled),
GIM_CheckCxxInsnPredicate, 0, GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner2),
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(5425),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule99Enabled),
GIM_CheckCxxInsnPredicate, 0, GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner4),
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_FNEG),
GIR_RootToRootCopy, 0,
GIR_RootToRootCopy, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(5437),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule170Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner109),
GIM_Try, GIMT_Encode4(5448),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule178Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner116),
GIM_Reject,
GIM_Try, GIMT_Encode4(5460),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule170Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner109),
GIM_Try, GIMT_Encode4(5471),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule178Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner116),
GIM_Reject,
GIM_Try, GIMT_Encode4(5483),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner108),
GIM_Try, GIMT_Encode4(5494),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule178Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner116),
GIM_Try, GIMT_Encode4(5505),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(5517),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(5539),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule149Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 2,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner92),
GIM_Reject,
GIM_Try, GIMT_Encode4(5561),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule139Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner84),
GIM_Reject,
GIM_Try, GIMT_Encode4(5583),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule136Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner84),
GIM_Try, GIMT_Encode4(5612),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule89Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_FNEG),
GIM_CheckCanReplaceReg, 0, 0, 1, 1,
GIM_CheckIsSafeToFold, 1,
GIR_ReplaceReg, 0, 0, 1, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(5634),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule140Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner84),
GIM_Try, GIMT_Encode4(5655),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule97Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_FPEXT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner50),
GIM_Reject,
GIM_Try, GIMT_Encode4(5667),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule75Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner36),
GIM_Reject,
GIM_Try, GIMT_Encode4(5679),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule75Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner36),
GIM_Reject,
GIM_Try, GIMT_Encode4(5691),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule69Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner31),
GIM_Try, GIMT_Encode4(5706),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule141Enabled),
GIM_CheckConstantInt8, 0, 1, 0,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner85),
GIM_Reject,
GIM_Try, GIMT_Encode4(5718),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule69Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner31),
GIM_Try, GIMT_Encode4(5733),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule142Enabled),
GIM_CheckConstantInt8, 0, 1, 0,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner85),
GIM_Reject,
GIM_Try, GIMT_Encode4(5763),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule17Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_FABS),
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIM_CheckIsSafeToFold, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(5784),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule137Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner84),
GIM_Try, GIMT_Encode4(5812),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule172Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_FNEG),
GIM_CheckIsSafeToFold, 1,
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_FABS),
GIR_RootToRootCopy, 0,
GIR_Copy, 0, 1, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(5842),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule17Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_FCANONICALIZE),
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIM_CheckIsSafeToFold, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(5854),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule148Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner91),
GIM_Try, GIMT_Encode4(5865),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(5876),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner131),
GIM_Reject,
GIM_Try, GIMT_Encode4(5888),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule148Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner91),
GIM_Try, GIMT_Encode4(5899),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(5910),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner131),
GIM_Reject,
GIM_Try, GIMT_Encode4(5922),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner131),
GIM_Reject,
GIM_Try, GIMT_Encode4(5934),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner131),
GIM_Reject,
GIM_Try, GIMT_Encode4(5946),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule148Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner91),
GIM_Try, GIMT_Encode4(5957),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(5968),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner131),
GIM_Reject,
GIM_Try, GIMT_Encode4(5980),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule148Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner91),
GIM_Try, GIMT_Encode4(5991),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(6002),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner131),
GIM_Reject,
GIM_Try, GIMT_Encode4(6014),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule104Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner55),
GIM_Try, GIMT_Encode4(6025),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule106Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner57),
GIM_Try, GIMT_Encode4(6036),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule143Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner86),
GIM_Try, GIMT_Encode4(6047),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule151Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner94),
GIM_Try, GIMT_Encode4(6058),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(6069),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(6092),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule82Enabled),
GIM_CheckConstantInt8, 0, 2, 0,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(6104),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(6115),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(6126),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(6138),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(6149),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(6160),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(6172),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(6183),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(6194),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(6206),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(6217),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(6228),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(6240),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule74Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner34),
GIM_Reject,
GIM_Try, GIMT_Encode4(6252),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule129Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner77),
GIM_Reject,
GIM_Try, GIMT_Encode4(6264),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule23Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner9),
GIM_Try, GIMT_Encode4(6275),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule63Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner25),
GIM_Try, GIMT_Encode4(6286),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule80Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner41),
GIM_Try, GIMT_Encode4(6325),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule35Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 2,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_EXTRACT_VECTOR_ELT),
GIM_CheckIsSameOperandIgnoreCopies, 1, 1, 0, 1,
GIM_CheckIsSameOperandIgnoreCopies, 0, 3, 1, 2,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIM_CheckIsSafeToFold, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(6358),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule21Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 2,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
GIM_CheckCxxInsnPredicate, 0, GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner0),
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIM_CheckIsSafeToFold, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(6382),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule20Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 3,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
GIM_CheckIsSafeToFold, 1,
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
GIR_RootToRootCopy, 0,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(6394),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule22Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner8),
GIM_Try, GIMT_Encode4(6405),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule64Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner26),
GIM_Try, GIMT_Encode4(6416),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule68Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner30),
GIM_Try, GIMT_Encode4(6427),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule80Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner41),
GIM_Try, GIMT_Encode4(6451),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule33Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
GIM_CheckNumOperands, 1, 9,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner12),
GIM_Try, GIMT_Encode4(6475),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule32Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
GIM_CheckNumOperands, 1, 8,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner12),
GIM_Try, GIMT_Encode4(6499),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule31Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
GIM_CheckNumOperands, 1, 7,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner12),
GIM_Try, GIMT_Encode4(6523),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule30Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
GIM_CheckNumOperands, 1, 6,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner12),
GIM_Try, GIMT_Encode4(6547),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule29Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
GIM_CheckNumOperands, 1, 5,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner12),
GIM_Try, GIMT_Encode4(6571),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule28Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
GIM_CheckNumOperands, 1, 4,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner12),
GIM_Try, GIMT_Encode4(6605),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule24Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_INSERT_VECTOR_ELT),
GIM_CheckIsSameOperandIgnoreCopies, 0, 2, 1, 3,
GIM_CheckCanReplaceReg, 0, 0, 1, 2,
GIM_CheckIsSafeToFold, 1,
GIR_ReplaceReg, 0, 0, 1, 2,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(6626),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule25Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_INSERT_VECTOR_ELT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner10),
GIM_Try, GIMT_Encode4(6655),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule34Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SHUFFLE_VECTOR),
GIM_RecordInsnIgnoreCopies, 2, 0, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner13),
GIM_Try, GIMT_Encode4(6679),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule27Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR_TRUNC),
GIM_CheckNumOperands, 1, 3,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner12),
GIM_Try, GIMT_Encode4(6711),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule26Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperandsGE, 1, 2,
GIM_RecordInsnIgnoreCopies, 2, 0, 2,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 2,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6735),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule18Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
GIM_CheckIsSafeToFold, 1,
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
GIR_RootToRootCopy, 0,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(6759),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule19Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 2,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
GIM_CheckIsSafeToFold, 1,
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_IMPLICIT_DEF),
GIR_RootToRootCopy, 0,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(6771),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule76Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner37),
GIM_Try, GIMT_Encode4(6782),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule77Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner38),
GIM_Try, GIMT_Encode4(6793),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule201Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner139),
GIM_Try, GIMT_Encode4(6804),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule206Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner144),
GIM_Reject,
GIM_Try, GIMT_Encode4(6849),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule162Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_LSHR),
GIM_RecordInsnIgnoreCopies, 2, 1, 1,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_BITREVERSE),
GIM_CheckCxxInsnPredicate, 0, GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner8),
GIM_CheckIsSafeToFold, 2,
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_SHL),
GIR_RootToRootCopy, 0,
GIR_Copy, 0, 2, 1,
GIR_Copy, 0, 1, 2,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(6893),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule161Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SHL),
GIM_RecordInsnIgnoreCopies, 2, 1, 1,
GIM_CheckOpcode, 2, GIMT_Encode2(TargetOpcode::G_BITREVERSE),
GIM_CheckCxxInsnPredicate, 0, GIMT_Encode2(GICXXPred_MI_Predicate_GICombiner7),
GIM_CheckIsSafeToFold, 2,
GIR_BuildRootMI, GIMT_Encode2(TargetOpcode::G_LSHR),
GIR_RootToRootCopy, 0,
GIR_Copy, 0, 2, 1,
GIR_Copy, 0, 1, 2,
GIR_EraseRootFromParent_Done,
GIM_Reject,
GIM_Try, GIMT_Encode4(6915),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule138Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner84),
GIM_Reject,
GIM_Try, GIMT_Encode4(6930),
GIM_CheckFeatures, GIMT_Encode2(GIFBS_HasDotProd),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule207Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner145),
GIM_Try, GIMT_Encode4(6941),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule208Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner146),
GIM_Reject,
GIM_Reject,
};
return MatchTable0;
}
#undef GIMT_Encode2
#undef GIMT_Encode4
#undef GIMT_Encode8
#endif
#ifdef GET_GICOMBINER_CONSTRUCTOR_INITS
AvailableModuleFeatures(computeAvailableModuleFeatures(&STI)),
AvailableFunctionFeatures()
#endif
#ifdef GET_GICOMBINER_CONSTRUCTOR_INITS
, State(0),
ExecInfo(TypeObjects, NumTypeObjects, FeatureBitsets, ComplexPredicateFns, CustomRenderers)
#endif