#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 197;
case 'u':
if (memcmp(RuleIdentifier.data()+2, "lo_by_", 6) != 0)
break;
switch (RuleIdentifier[8]) {
default: break;
case '0':
return 147;
case '2':
return 146;
}
break;
}
break;
case 'n':
if (memcmp(RuleIdentifier.data()+1, "neg_zext", 8) != 0)
break;
return 204;
}
break;
case 10:
switch (RuleIdentifier[0]) {
default: break;
case 'i':
if (memcmp(RuleIdentifier.data()+1, "2p_to_p2i", 9) != 0)
break;
return 93;
case 'm':
switch (RuleIdentifier[1]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+2, "tch_ands", 8) != 0)
break;
return 196;
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 92;
case 's':
if (memcmp(RuleIdentifier.data()+1, "ext_trunc", 9) != 0)
break;
return 202;
case 'z':
if (memcmp(RuleIdentifier.data()+1, "ext_trunc", 9) != 0)
break;
return 203;
}
break;
case 11:
switch (RuleIdentifier[0]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+1, "dd_sub_reg", 10) != 0)
break;
return 98;
case 'm':
if (memcmp(RuleIdentifier.data()+1, "atch_addos", 10) != 0)
break;
return 201;
case 's':
if (memcmp(RuleIdentifier.data()+1, "ub_add_reg", 10) != 0)
break;
return 190;
case 't':
if (memcmp(RuleIdentifier.data()+1, "runc_shift", 10) != 0)
break;
return 136;
case 'u':
if (memcmp(RuleIdentifier.data()+1, "nmerge_cst", 10) != 0)
break;
return 132;
}
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 148;
case 'f':
if (memcmp(RuleIdentifier.data()+1, "sub_to_fneg", 11) != 0)
break;
return 193;
case 'm':
if (memcmp(RuleIdentifier.data()+1, "ulh_to_lshr", 11) != 0)
break;
return 178;
case 'n':
if (memcmp(RuleIdentifier.data()+1, "ot_cmp_fold", 11) != 0)
break;
return 129;
case 'r':
if (memcmp(RuleIdentifier.data()+1, "edundant_or", 11) != 0)
break;
return 123;
case 's':
switch (RuleIdentifier[1]) {
default: break;
case 'd':
if (memcmp(RuleIdentifier.data()+2, "iv_by_pow2", 10) != 0)
break;
return 176;
case 'e':
if (memcmp(RuleIdentifier.data()+2, "xt_of_sext", 10) != 0)
break;
return 63;
}
break;
case 'u':
if (memcmp(RuleIdentifier.data()+1, "div_by_pow2", 11) != 0)
break;
return 177;
case 'z':
if (memcmp(RuleIdentifier.data()+1, "ext_of_zext", 11) != 0)
break;
return 61;
}
break;
case 13:
switch (RuleIdentifier[0]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+1, "dd_of_vscale", 12) != 0)
break;
return 49;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "ommute_shift", 12) != 0)
break;
return 164;
case 'l':
if (memcmp(RuleIdentifier.data()+1, "oad_and_mask", 12) != 0)
break;
return 73;
case 'm':
switch (RuleIdentifier[1]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+2, "tch_selects", 11) != 0)
break;
return 120;
case 'e':
if (memcmp(RuleIdentifier.data()+2, "rge_unmerge", 11) != 0)
break;
return 135;
case 'u':
if (memcmp(RuleIdentifier.data()+2, "l_of_vscale", 11) != 0)
break;
return 50;
}
break;
case 'r':
if (memcmp(RuleIdentifier.data()+1, "edundant_and", 12) != 0)
break;
return 121;
case 's':
switch (RuleIdentifier[1]) {
default: break;
case 'd':
if (memcmp(RuleIdentifier.data()+2, "iv_by_const", 11) != 0)
break;
return 175;
case 'h':
if (memcmp(RuleIdentifier.data()+2, "l_of_vscale", 11) != 0)
break;
return 51;
case 'u':
if (memcmp(RuleIdentifier.data()+2, "b_of_vscale", 11) != 0)
break;
return 52;
}
break;
case 'u':
switch (RuleIdentifier[1]) {
default: break;
case 'd':
if (memcmp(RuleIdentifier.data()+2, "iv_by_const", 11) != 0)
break;
return 174;
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 131;
case 'u':
if (memcmp(RuleIdentifier.data()+9, "ndef", 4) != 0)
break;
return 85;
}
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 67;
case 'z':
if (memcmp(RuleIdentifier.data()+11, "ext", 3) != 0)
break;
return 66;
}
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 89;
case 't':
if (memcmp(RuleIdentifier.data()+3, "reverse_shl", 11) != 0)
break;
return 162;
}
break;
case 'f':
switch (RuleIdentifier[1]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+2, "bs_fneg_fold", 12) != 0)
break;
return 173;
case 'n':
if (memcmp(RuleIdentifier.data()+2, "eg_fneg_fold", 12) != 0)
break;
return 95;
}
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 110;
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 58;
case 'x':
if (memcmp(RuleIdentifier.data()+3, "t_of_anyext", 11) != 0)
break;
return 64;
}
break;
case 'h':
if (memcmp(RuleIdentifier.data()+2, "ifts_too_big", 12) != 0)
break;
return 109;
}
break;
case 'z':
if (memcmp(RuleIdentifier.data()+1, "ext_of_anyext", 13) != 0)
break;
return 62;
}
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 163;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xtending_loads", 14) != 0)
break;
return 72;
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 155;
case 'o':
if (memcmp(RuleIdentifier.data()+1, "verlapping_and", 14) != 0)
break;
return 145;
case 's':
if (memcmp(RuleIdentifier.data()+1, "elect_same_val", 14) != 0)
break;
return 87;
case 'z':
if (memcmp(RuleIdentifier.data()+1, "ext_trunc_fold", 14) != 0)
break;
return 125;
}
break;
case 16:
switch (RuleIdentifier[0]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+1, "nyext_of_anyext", 15) != 0)
break;
return 65;
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 59;
case 't':
if (memcmp(RuleIdentifier.data()+8, "o_minmax", 8) != 0)
break;
return 191;
case 'u':
if (memcmp(RuleIdentifier.data()+8, "ndef_cmp", 8) != 0)
break;
return 117;
}
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 56;
case 'z':
if (memcmp(RuleIdentifier.data()+13, "ext", 3) != 0)
break;
return 55;
}
break;
case 'u':
if (memcmp(RuleIdentifier.data()+1, "ndef_to_fp_zero", 15) != 0)
break;
return 75;
}
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 94;
}
break;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "onstant_fold_fma", 16) != 0)
break;
return 171;
case 'd':
if (memcmp(RuleIdentifier.data()+1, "iv_rem_to_divrem", 16) != 0)
break;
return 156;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "rase_undef_store", 16) != 0)
break;
return 84;
case 'p':
if (memcmp(RuleIdentifier.data()+1, "tr_add_with_zero", 16) != 0)
break;
return 152;
case 's':
switch (RuleIdentifier[1]) {
default: break;
case 'e':
if (memcmp(RuleIdentifier.data()+2, "lect_to_iminmax", 15) != 0)
break;
return 119;
case 'h':
if (memcmp(RuleIdentifier.data()+2, "ift_immed_chain", 15) != 0)
break;
return 153;
}
break;
case 'u':
switch (RuleIdentifier[1]) {
default: break;
case 'n':
if (memcmp(RuleIdentifier.data()+2, "def_to_int_zero", 15) != 0)
break;
return 76;
case 'r':
if (memcmp(RuleIdentifier.data()+2, "em_pow2_to_mask", 15) != 0)
break;
return 124;
}
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 90;
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 149;
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 138;
case 'n':
if (memcmp(RuleIdentifier.data()+16, "eg", 2) != 0)
break;
return 137;
}
break;
}
break;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xpand_const_fpowi", 17) != 0)
break;
return 150;
case 'f':
switch (RuleIdentifier[1]) {
default: break;
case 'o':
if (memcmp(RuleIdentifier.data()+2, "ld_global_offset", 16) != 0)
break;
return 208;
case 'p':
if (memcmp(RuleIdentifier.data()+2, "trunc_fpext_fold", 16) != 0)
break;
return 103;
}
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 60;
case 'x':
if (memcmp(RuleIdentifier.data()+3, "t_inreg_of_load", 15) != 0)
break;
return 114;
}
break;
case 'h':
if (memcmp(RuleIdentifier.data()+2, "uffle_to_extract", 16) != 0)
break;
return 209;
}
break;
case 't':
if (memcmp(RuleIdentifier.data()+1, "runcate_of_anyext", 17) != 0)
break;
return 57;
}
break;
case 19:
switch (RuleIdentifier[0]) {
default: break;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "inop_right_to_zero", 18) != 0)
break;
return 91;
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 144;
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 169;
case 'f':
switch (RuleIdentifier[15]) {
default: break;
case 'l':
if (memcmp(RuleIdentifier.data()+16, "og2", 3) != 0)
break;
return 140;
case 's':
if (memcmp(RuleIdentifier.data()+16, "qrt", 3) != 0)
break;
return 139;
}
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 211;
case 'e':
if (memcmp(RuleIdentifier.data()+4, "nd_through_phis", 15) != 0)
break;
return 106;
}
break;
case 'p':
if (memcmp(RuleIdentifier.data()+1, "tr_add_immed_chain", 18) != 0)
break;
return 112;
case 'r':
switch (RuleIdentifier[1]) {
default: break;
case 'e':
if (memcmp(RuleIdentifier.data()+2, "assoc_comm_binops", 17) != 0)
break;
return 111;
case 'i':
if (memcmp(RuleIdentifier.data()+2, "ght_identity_zero", 17) != 0)
break;
return 88;
}
break;
case 's':
switch (RuleIdentifier[1]) {
default: break;
case 'e':
if (memcmp(RuleIdentifier.data()+2, "lect_constant_cmp", 17) != 0)
break;
return 118;
case 'i':
if (memcmp(RuleIdentifier.data()+2, "mplify_add_to_sub", 17) != 0)
break;
return 107;
}
break;
case 'u':
if (memcmp(RuleIdentifier.data()+1, "nary_undef_to_zero", 18) != 0)
break;
return 80;
}
break;
case 20:
switch (RuleIdentifier[0]) {
default: break;
case 'a':
if (memcmp(RuleIdentifier.data()+1, "nd_or_disjoint_mask", 19) != 0)
break;
return 180;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "itcast_bitcast_fold", 19) != 0)
break;
return 102;
case 'i':
if (memcmp(RuleIdentifier.data()+1, "cmp_redundant_trunc", 19) != 0)
break;
return 207;
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 115;
case 'n':
if (memcmp(RuleIdentifier.data()+5, "dant_sext_inreg", 15) != 0)
break;
return 122;
}
break;
case 'u':
if (memcmp(RuleIdentifier.data()+1, "nmerge_zext_to_zext", 19) != 0)
break;
return 134;
}
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 198;
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 172;
case 'f':
if (memcmp(RuleIdentifier.data()+15, "ptrunc", 6) != 0)
break;
return 141;
}
break;
}
break;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xt_addv_to_udot_addv", 20) != 0)
break;
return 210;
case 'f':
if (memcmp(RuleIdentifier.data()+1, "constant_to_constant", 20) != 0)
break;
return 206;
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 215;
case 'z':
if (memcmp(RuleIdentifier.data()+18, "ext", 3) != 0)
break;
return 213;
}
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 214;
case 'z':
if (memcmp(RuleIdentifier.data()+18, "ext", 3) != 0)
break;
return 212;
}
break;
}
break;
case 'r':
if (memcmp(RuleIdentifier.data()+1, "ight_identity_one_fp", 20) != 0)
break;
return 97;
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 77;
case 'm':
if (memcmp(RuleIdentifier.data()+3, "erge_dead_to_trunc", 18) != 0)
break;
return 133;
}
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 205;
case 'n':
if (memcmp(RuleIdentifier.data()+3, "stant_fold_fp_binop", 19) != 0)
break;
return 170;
}
break;
case 'f':
switch (RuleIdentifier[1]) {
default: break;
case 'o':
if (memcmp(RuleIdentifier.data()+2, "ld_binop_into_select", 20) != 0)
break;
return 189;
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 160;
case 'o':
if (memcmp(RuleIdentifier.data()+14, "vershift", 8) != 0)
break;
return 161;
case 't':
if (memcmp(RuleIdentifier.data()+14, "o_rotate", 8) != 0)
break;
return 158;
}
break;
}
break;
case 'i':
if (memcmp(RuleIdentifier.data()+1, "cmp_to_lhs_known_bits", 21) != 0)
break;
return 127;
case 'p':
if (memcmp(RuleIdentifier.data()+1, "ropagate_undef_any_op", 21) != 0)
break;
return 81;
case 'r':
switch (RuleIdentifier[1]) {
default: break;
case 'e':
if (memcmp(RuleIdentifier.data()+2, "dundant_neg_operands", 20) != 0)
break;
return 179;
case 'i':
if (memcmp(RuleIdentifier.data()+2, "ght_identity_one_int", 20) != 0)
break;
return 96;
}
break;
case 's':
if (memcmp(RuleIdentifier.data()+1, "hl_ashr_to_sext_inreg", 21) != 0)
break;
return 113;
case 't':
if (memcmp(RuleIdentifier.data()+1, "runc_buildvector_fold", 21) != 0)
break;
return 100;
}
break;
case 23:
switch (RuleIdentifier[0]) {
default: break;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "uildvector_of_truncate", 22) != 0)
break;
return 68;
case 'f':
if (memcmp(RuleIdentifier.data()+1, "unnel_shift_right_zero", 22) != 0)
break;
return 159;
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 142;
case 'u':
if (RuleIdentifier[22] != 'i')
break;
return 143;
}
break;
case 'p':
if (memcmp(RuleIdentifier.data()+1, "ropagate_undef_all_ops", 22) != 0)
break;
return 82;
}
break;
case 24:
switch (RuleIdentifier[0]) {
default: break;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "inop_left_undef_to_zero", 23) != 0)
break;
return 78;
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 116;
case 's':
if (memcmp(RuleIdentifier.data()+1, "ext_inreg_to_zext_inreg", 23) != 0)
break;
return 128;
case 'x':
if (memcmp(RuleIdentifier.data()+1, "or_of_and_with_same_reg", 23) != 0)
break;
return 151;
}
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 166;
case 's':
if (memcmp(RuleIdentifier.data()+23, "hr", 2) != 0)
break;
return 167;
}
break;
case 'u':
if (memcmp(RuleIdentifier.data()+2, "ildvector_identity_fold", 23) != 0)
break;
return 99;
}
break;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xtract_vec_elt_build_vec", 24) != 0)
break;
return 70;
case 'r':
if (memcmp(RuleIdentifier.data()+1, "ight_identity_neg_one_fp", 24) != 0)
break;
return 105;
}
break;
case 26:
switch (RuleIdentifier[0]) {
default: break;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "inop_right_undef_to_undef", 25) != 0)
break;
return 79;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "ommute_fp_constant_to_rhs", 25) != 0)
break;
return 195;
case 'f':
if (memcmp(RuleIdentifier.data()+1, "unnel_shift_from_or_shift", 25) != 0)
break;
return 157;
case 'r':
if (memcmp(RuleIdentifier.data()+1, "ight_identity_neg_zero_fp", 25) != 0)
break;
return 104;
}
break;
case 27:
switch (RuleIdentifier[0]) {
default: break;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "ommute_int_constant_to_rhs", 26) != 0)
break;
return 194;
case 'd':
if (memcmp(RuleIdentifier.data()+1, "ouble_icmp_zero_or_combine", 26) != 0)
break;
return 200;
case 'r':
if (memcmp(RuleIdentifier.data()+1, "edundant_binop_in_equality", 26) != 0)
break;
return 192;
case 't':
if (memcmp(RuleIdentifier.data()+1, "runc_lshr_buildvector_fold", 26) != 0)
break;
return 101;
}
break;
case 28:
switch (RuleIdentifier[0]) {
default: break;
case 'd':
if (memcmp(RuleIdentifier.data()+1, "ouble_icmp_zero_and_combine", 27) != 0)
break;
return 199;
case 'o':
if (memcmp(RuleIdentifier.data()+1, "pt_brcond_by_inverting_cond", 27) != 0)
break;
return 130;
case 'p':
if (memcmp(RuleIdentifier.data()+1, "ropagate_undef_shuffle_mask", 27) != 0)
break;
return 83;
case 's':
if (memcmp(RuleIdentifier.data()+1, "hift_of_shifted_logic_chain", 27) != 0)
break;
return 154;
}
break;
case 29:
switch (RuleIdentifier[0]) {
default: break;
case 'b':
if (memcmp(RuleIdentifier.data()+1, "itfield_extract_from_shr_and", 28) != 0)
break;
return 168;
case 'c':
if (memcmp(RuleIdentifier.data()+1, "ombine_extracted_vector_load", 28) != 0)
break;
return 74;
case 'i':
if (memcmp(RuleIdentifier.data()+1, "cmp_to_true_false_known_bits", 28) != 0)
break;
return 126;
}
break;
case 30:
if (memcmp(RuleIdentifier.data()+0, "freeze_of_non_undef_non_poison", 30) != 0)
break;
return 53;
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 165;
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 181;
case 's':
if (memcmp(RuleIdentifier.data()+10, "ub_fmul_to_fmad_or_fma", 22) != 0)
break;
return 185;
}
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 71;
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 183;
case 'i':
if (memcmp(RuleIdentifier.data()+9, "nsert_vec_elts_build_vector", 27) != 0)
break;
return 69;
}
break;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xtract_vector_element_build_vector", 34) != 0)
break;
switch (RuleIdentifier[35]) {
default: break;
case '2':
return 26;
case '3':
return 27;
case '4':
return 28;
case '5':
return 29;
case '7':
return 30;
case '8':
return 31;
case '9':
return 32;
}
break;
case 'i':
if (memcmp(RuleIdentifier.data()+1, "nsert_extract_vec_elt_out_of_bounds", 35) != 0)
break;
return 86;
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 186;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xtract_vector_element_", 22) != 0)
break;
switch (RuleIdentifier[23]) {
default: break;
case 'b':
if (memcmp(RuleIdentifier.data()+24, "uild_vector1", 12) != 0)
break;
switch (RuleIdentifier[36]) {
default: break;
case '0':
return 33;
case '1':
return 34;
case '2':
return 35;
case '3':
return 36;
case '4':
return 37;
case '5':
return 38;
case '6':
return 39;
}
break;
case 's':
if (memcmp(RuleIdentifier.data()+24, "huffle_vector", 13) != 0)
break;
return 47;
}
break;
case 'h':
if (memcmp(RuleIdentifier.data()+1, "oist_logic_op_with_same_opcode_hands", 36) != 0)
break;
return 108;
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 182;
case 's':
if (memcmp(RuleIdentifier.data()+10, "ub_fpext_fmul_to_fmad_or_fma", 28) != 0)
break;
return 187;
}
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 184;
case 'e':
if (memcmp(RuleIdentifier.data()+1, "xtract_vector_element_build_vector_trunc", 40) != 0)
break;
switch (RuleIdentifier[41]) {
default: break;
case '2':
return 40;
case '3':
return 41;
case '4':
return 42;
case '5':
return 43;
case '6':
return 44;
case '7':
return 45;
case '8':
return 46;
}
break;
}
break;
case 43:
if (memcmp(RuleIdentifier.data()+0, "combine_fsub_fpext_fneg_fmul_to_fmad_or_fma", 43) != 0)
break;
return 188;
case 44:
if (memcmp(RuleIdentifier.data()+0, "insert_vector_element_extract_vector_element", 44) != 0)
break;
return 48;
case 46:
if (memcmp(RuleIdentifier.data()+0, "push_freeze_to_prevent_poison_from_propagating", 46) != 0)
break;
return 54;
}
#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, 216}};
}
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 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_GICombiner6: {
return Helper.isLegalOrBeforeLegalizer({TargetOpcode::G_SHL,
{MRI.getType(State.MIs[2]->getOperand(1).getReg()),
MRI.getType(State.MIs[1]->getOperand(2).getReg())}});
}
case GICXXPred_MI_Predicate_GICombiner7: {
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_GICombiner8: {
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()));
}
}
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,
GICXXPred_Simple_IsRule213Enabled,
GICXXPred_Simple_IsRule214Enabled,
GICXXPred_Simple_IsRule215Enabled,
};
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,
};
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]->getOperand(0), GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnMO(State.MIs[0]->getOperand(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]->getOperand(0), GIMatchData_matchinfo);}()) {
return false;
}
Helper.applyBuildFnMO(State.MIs[0]->getOperand(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:{
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_GICombiner24:{
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_GICombiner25:{
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_GICombiner26:{
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_GICombiner27:{
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_GICombiner28:{
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_GICombiner29:{
if(![&](){return Helper.matchAnyExplicitUseIsUndef(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithFConstant(*State.MIs[0], 0.0);
return true;
}
case GICXXCustomAction_GICombiner30:{
if(![&](){return Helper.matchAnyExplicitUseIsUndef(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithConstant(*State.MIs[0], 0);
return true;
}
case GICXXCustomAction_GICombiner31:{
if(![&](){return Helper.matchAnyExplicitUseIsUndef(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithConstant(*State.MIs[0], -1);
return true;
}
case GICXXCustomAction_GICombiner32:{
if(![&](){return Helper.matchOperandIsUndef(*State.MIs[0], 1);}()) {
return false;
}
Helper.replaceInstWithConstant(*State.MIs[0], 0);
return true;
}
case GICXXCustomAction_GICombiner33:{
if(![&](){return Helper.matchOperandIsUndef(*State.MIs[0], 2);}()) {
return false;
}
Helper.replaceInstWithUndef(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner34:{
if(![&](){return Helper.matchAnyExplicitUseIsUndef(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithUndef(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner35:{
if(![&](){return Helper.matchAllExplicitUsesAreUndef(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithUndef(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner36:{
if(![&](){return Helper.matchUndefShuffleVectorMask(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithUndef(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner37:{
if(![&](){return Helper.matchUndefStore(*State.MIs[0]);}()) {
return false;
}
Helper.eraseInst(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner38:{
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_GICombiner39:{
if(![&](){return Helper.matchInsertExtractVecEltOutOfBounds(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithUndef(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner40:{
if(![&](){return Helper.matchSelectSameVal(*State.MIs[0]);}()) {
return false;
}
Helper.replaceSingleDefInstWithOperand(*State.MIs[0], 2);
return true;
}
case GICXXCustomAction_GICombiner41:{
if(![&](){return Helper.matchOperandIsZero(*State.MIs[0], 1);}()) {
return false;
}
Helper.replaceSingleDefInstWithOperand(*State.MIs[0], 1);
return true;
}
case GICXXCustomAction_GICombiner42:{
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_GICombiner43:{
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_GICombiner44:{
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_GICombiner45:{
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_GICombiner46:{
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_GICombiner47:{
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_GICombiner48:{
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_GICombiner49:{
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_GICombiner50:{
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_GICombiner51:{
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_GICombiner52:{
if(![&](){return Helper.matchShiftsTooBig(*State.MIs[0]);}()) {
return false;
}
Helper.replaceInstWithUndef(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner53:{
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_GICombiner54:{
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_GICombiner55:{
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_GICombiner56:{
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_GICombiner57:{
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_GICombiner58:{
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_GICombiner59:{
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_GICombiner60:{
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_GICombiner61:{
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_GICombiner62:{
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_GICombiner63:{
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_GICombiner64:{
if(![&](){return Helper.matchRedundantSExtInReg(*State.MIs[0]);}()) {
return false;
}
Helper.replaceSingleDefInstWithOperand(*State.MIs[0], 1);
return true;
}
case GICXXCustomAction_GICombiner65:{
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_GICombiner66:{
if(![&](){return Helper.matchOperandIsKnownToBeAPowerOfTwo(*State.MIs[0], 2);}()) {
return false;
}
Helper.applySimplifyURemByPow2(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner67:{
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_GICombiner68:{
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_GICombiner69:{
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_GICombiner70:{
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_GICombiner71:{
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_GICombiner72:{
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_GICombiner73:{
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_GICombiner74:{
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_GICombiner75:{
if(![&](){return Helper.matchCombineUnmergeWithDeadLanesToTrunc(*State.MIs[0]);}()) {
return false;
}
Helper.applyCombineUnmergeWithDeadLanesToTrunc(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner76:{
if(![&](){return Helper.matchCombineUnmergeZExtToZExt(*State.MIs[0]);}()) {
return false;
}
Helper.applyCombineUnmergeZExtToZExt(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner77:{
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_GICombiner78:{
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_GICombiner79:{
Helper.applyCombineConstantFoldFpUnary(*State.MIs[0], State.MIs[1]->getOperand(1).getFPImm());
return true;
}
case GICXXCustomAction_GICombiner80:{
Helper.replaceInstWithFConstant(*State.MIs[0]->getOperand(0).getParent(), 0.0);
return true;
}
case GICXXCustomAction_GICombiner81:{
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_GICombiner82:{
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_GICombiner83:{
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_GICombiner84:{
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_GICombiner85:{
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_GICombiner86:{
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_GICombiner87:{
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_GICombiner88:{
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_GICombiner89:{
if(![&](){return Helper.matchPtrAddZero(*State.MIs[0]);}()) {
return false;
}
Helper.applyPtrAddZero(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner90:{
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_GICombiner91:{
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_GICombiner92:{
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_GICombiner93:{
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_GICombiner94:{
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_GICombiner95:{
if(![&](){return Helper.matchFunnelShiftToRotate(*State.MIs[0]);}()) {
return false;
}
Helper.applyFunnelShiftToRotate(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner96:{
if(![&](){return Helper.matchConstantLargerBitWidth(*State.MIs[0], 3);}()) {
return false;
}
Helper.applyFunnelShiftConstantModulo(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner97:{
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_GICombiner98:{
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_GICombiner99:{
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_GICombiner100:{
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_GICombiner101:{
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_GICombiner102:{
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_GICombiner103:{
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_GICombiner104:{
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_GICombiner105:{
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_GICombiner106:{
if(![&](){return Helper.matchUDivByConst(*State.MIs[0]);}()) {
return false;
}
Helper.applyUDivByConst(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner107:{
if(![&](){return Helper.matchSDivByConst(*State.MIs[0]);}()) {
return false;
}
Helper.applySDivByConst(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner108:{
if(![&](){return Helper.matchDivByPow2(*State.MIs[0], true);}()) {
return false;
}
Helper.applySDivByPow2(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner109:{
if(![&](){return Helper.matchDivByPow2(*State.MIs[0], false);}()) {
return false;
}
Helper.applyUDivByPow2(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner110:{
if(![&](){return Helper.matchUMulHToLShr(*State.MIs[0]);}()) {
return false;
}
Helper.applyUMulHToLShr(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner111:{
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_GICombiner112:{
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_GICombiner113:{
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_GICombiner114:{
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_GICombiner115:{
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_GICombiner116:{
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_GICombiner117:{
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_GICombiner118:{
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_GICombiner119:{
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_GICombiner120:{
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_GICombiner121:{
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_GICombiner122:{
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_GICombiner123:{
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_GICombiner124:{
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_GICombiner125:{
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_GICombiner126:{
if(![&](){return Helper.matchCommuteConstantToRHS(*State.MIs[0]);}()) {
return false;
}
Helper.applyCommuteBinOpOperands(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner127:{
if(![&](){return Helper.matchCommuteFPConstantToRHS(*State.MIs[0]);}()) {
return false;
}
Helper.applyCommuteBinOpOperands(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner128:{
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_GICombiner129:{
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_GICombiner130:{
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_GICombiner131:{
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_GICombiner132:{
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_GICombiner133:{
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_GICombiner134:{
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_GICombiner135:{
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_GICombiner136:{
if(![&](){return matchFConstantToConstant(*State.MIs[0], MRI);}()) {
return false;
}
applyFConstantToConstant(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner137:{
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_GICombiner138:{
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_GICombiner139:{
if(![&](){return Helper.matchShuffleToExtract(*State.MIs[0]);}()) {
return false;
}
Helper.applyShuffleToExtract(*State.MIs[0]);
return true;
}
case GICXXCustomAction_GICombiner140:{
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_GICombiner141:{
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_GICombiner142:{
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(19), GIMT_Encode2(286), GIMT_Encode4(6986),
GIMT_Encode4(1078), 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(1090),
GIMT_Encode4(1705),
GIMT_Encode4(2006),
GIMT_Encode4(2172),
GIMT_Encode4(2245),
GIMT_Encode4(2329),
GIMT_Encode4(2374), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(2441),
GIMT_Encode4(2722),
GIMT_Encode4(2967), GIMT_Encode4(0),
GIMT_Encode4(3068), GIMT_Encode4(0),
GIMT_Encode4(3080), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(3092), GIMT_Encode4(0),
GIMT_Encode4(3148),
GIMT_Encode4(3160),
GIMT_Encode4(3183),
GIMT_Encode4(3195),
GIMT_Encode4(3207),
GIMT_Encode4(3229),
GIMT_Encode4(3241),
GIMT_Encode4(3263), 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(3327),
GIMT_Encode4(3339),
GIMT_Encode4(3351), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(3363), 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(3375),
GIMT_Encode4(3482), GIMT_Encode4(0),
GIMT_Encode4(3635), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(3647),
GIMT_Encode4(3728),
GIMT_Encode4(3773),
GIMT_Encode4(3903),
GIMT_Encode4(4061),
GIMT_Encode4(4173),
GIMT_Encode4(4296),
GIMT_Encode4(4339),
GIMT_Encode4(4382),
GIMT_Encode4(4406),
GIMT_Encode4(4430), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(4475),
GIMT_Encode4(4570),
GIMT_Encode4(4593), GIMT_Encode4(0),
GIMT_Encode4(4605),
GIMT_Encode4(4617),
GIMT_Encode4(4640), GIMT_Encode4(0),
GIMT_Encode4(4652),
GIMT_Encode4(4664),
GIMT_Encode4(4698),
GIMT_Encode4(4732),
GIMT_Encode4(4755),
GIMT_Encode4(4767),
GIMT_Encode4(4779), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(4791),
GIMT_Encode4(4814),
GIMT_Encode4(4837),
GIMT_Encode4(4849),
GIMT_Encode4(4861),
GIMT_Encode4(4873), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(4885),
GIMT_Encode4(4997),
GIMT_Encode4(5086),
GIMT_Encode4(5174),
GIMT_Encode4(5197),
GIMT_Encode4(5220),
GIMT_Encode4(5254), GIMT_Encode4(0),
GIMT_Encode4(5266), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(5288), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(5310), GIMT_Encode4(0),
GIMT_Encode4(5361),
GIMT_Encode4(5404),
GIMT_Encode4(5416),
GIMT_Encode4(5428),
GIMT_Encode4(5455),
GIMT_Encode4(5482), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(5561),
GIMT_Encode4(5591),
GIMT_Encode4(5625),
GIMT_Encode4(5659),
GIMT_Encode4(5671),
GIMT_Encode4(5683),
GIMT_Encode4(5717), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(5751), GIMT_Encode4(0),
GIMT_Encode4(5841),
GIMT_Encode4(5875),
GIMT_Encode4(5909),
GIMT_Encode4(5943),
GIMT_Encode4(5977), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(5989), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0), GIMT_Encode4(0),
GIMT_Encode4(6001),
GIMT_Encode4(6131),
GIMT_Encode4(6804), 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(6849), 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(6938), 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(6960),
GIM_Try, GIMT_Encode4(1089),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule13Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner5),
GIM_Reject,
GIM_Try, GIMT_Encode4(1101),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule15Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner7),
GIM_Try, GIMT_Encode4(1112),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule81Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner34),
GIM_Try, GIMT_Encode4(1123),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule107Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner50),
GIM_Try, GIMT_Encode4(1134),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(1145),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(1156),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(1190),
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(1227),
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(1261),
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(1295),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule98Enabled),
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(1340),
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(1385),
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(1414),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule215Enabled),
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_GICombiner142),
GIM_Try, GIMT_Encode4(1449),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule49Enabled),
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(1478),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule213Enabled),
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_GICombiner142),
GIM_Try, GIMT_Encode4(1512),
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(1546),
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(1580),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule98Enabled),
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(1625),
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(1670),
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(1693),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule88Enabled),
GIM_CheckConstantInt8, 0, 2, 0,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(1704),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule111Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner54),
GIM_Reject,
GIM_Try, GIMT_Encode4(1716),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule81Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner34),
GIM_Try, GIMT_Encode4(1727),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(1738),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(1749),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule190Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner122),
GIM_Try, GIMT_Encode4(1786),
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(1823),
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(1860),
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(1889),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule214Enabled),
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_GICombiner142),
GIM_Try, GIMT_Encode4(1918),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule212Enabled),
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_GICombiner142),
GIM_Try, GIMT_Encode4(1955),
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(1982),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule52Enabled),
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(2005),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule88Enabled),
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(2017),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule76Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner30),
GIM_Try, GIMT_Encode4(2028),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(2039),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(2079),
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(2114),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule50Enabled),
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(2137),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule91Enabled),
GIM_CheckConstantInt8, 0, 2, 0,
GIM_CheckCanReplaceReg, 0, 0, 0, 2,
GIR_ReplaceReg, 0, 0, 0, 2,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(2160),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule96Enabled),
GIM_CheckConstantInt8, 0, 2, 1,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(2171),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule14Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner6),
GIM_Reject,
GIM_Try, GIMT_Encode4(2183),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner41),
GIM_Try, GIMT_Encode4(2194),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule156Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner93),
GIM_Try, GIMT_Encode4(2205),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(2216),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule175Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner107),
GIM_Try, GIMT_Encode4(2227),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(2244),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule176Enabled),
GIM_MIFlagsNot, 0, GIMT_Encode4(MachineInstr::IsExact),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner108),
GIM_Reject,
GIM_Try, GIMT_Encode4(2256),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule78Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner32),
GIM_Try, GIMT_Encode4(2267),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner41),
GIM_Try, GIMT_Encode4(2278),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule156Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner93),
GIM_Try, GIMT_Encode4(2289),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(2300),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule174Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner106),
GIM_Try, GIMT_Encode4(2311),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(2328),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule177Enabled),
GIM_MIFlagsNot, 0, GIMT_Encode4(MachineInstr::IsExact),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner109),
GIM_Reject,
GIM_Try, GIMT_Encode4(2340),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner41),
GIM_Try, GIMT_Encode4(2351),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule156Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner93),
GIM_Try, GIMT_Encode4(2362),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(2373),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Reject,
GIM_Try, GIMT_Encode4(2385),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule78Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner32),
GIM_Try, GIMT_Encode4(2396),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule90Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner41),
GIM_Try, GIMT_Encode4(2407),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule124Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner66),
GIM_Try, GIMT_Encode4(2418),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule156Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner93),
GIM_Try, GIMT_Encode4(2429),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(2440),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Reject,
GIM_Try, GIMT_Encode4(2452),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule73Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner27),
GIM_Try, GIMT_Encode4(2463),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule76Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner30),
GIM_Try, GIMT_Encode4(2474),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule108Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner51),
GIM_Try, GIMT_Encode4(2485),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule116Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner59),
GIM_Try, GIMT_Encode4(2496),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule121Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner63),
GIM_Try, GIMT_Encode4(2507),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule145Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner82),
GIM_Try, GIMT_Encode4(2518),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(2529),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule180Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner112),
GIM_Try, GIMT_Encode4(2540),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(2551),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(2562),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule196Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner128),
GIM_Try, GIMT_Encode4(2660),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule199Enabled),
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_GICombiner7),
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(2697),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule166Enabled),
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_GICombiner99),
GIM_Try, GIMT_Encode4(2721),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule89Enabled),
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(2733),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule77Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner31),
GIM_Try, GIMT_Encode4(2744),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule108Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner51),
GIM_Try, GIMT_Encode4(2755),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule123Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner65),
GIM_Try, GIMT_Encode4(2766),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule155Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner92),
GIM_Try, GIMT_Encode4(2777),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule157Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner94),
GIM_Try, GIMT_Encode4(2788),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(2799),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(2810),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(2821),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule197Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner129),
GIM_Try, GIMT_Encode4(2919),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule200Enabled),
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_GICombiner8),
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(2943),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule89Enabled),
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(2966),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule88Enabled),
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(2978),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule81Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner34),
GIM_Try, GIMT_Encode4(2989),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule108Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner51),
GIM_Try, GIMT_Encode4(3000),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule129Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner71),
GIM_Try, GIMT_Encode4(3011),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule151Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner88),
GIM_Try, GIMT_Encode4(3022),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(3033),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(3044),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(3067),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule88Enabled),
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(3079),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule106Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner49),
GIM_Reject,
GIM_Try, GIMT_Encode4(3091),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule208Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner138),
GIM_Reject,
GIM_Try, GIMT_Encode4(3103),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule85Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner38),
GIM_Try, GIMT_Encode4(3114),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule131Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner73),
GIM_Try, GIMT_Encode4(3125),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule132Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner74),
GIM_Try, GIMT_Encode4(3136),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule133Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner75),
GIM_Try, GIMT_Encode4(3147),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule134Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner76),
GIM_Reject,
GIM_Try, GIMT_Encode4(3159),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule135Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner77),
GIM_Reject,
GIM_Try, GIMT_Encode4(3171),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule71Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner25),
GIM_Try, GIMT_Encode4(3182),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule99Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner45),
GIM_Reject,
GIM_Try, GIMT_Encode4(3194),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule99Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner45),
GIM_Reject,
GIM_Try, GIMT_Encode4(3206),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule198Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner130),
GIM_Reject,
GIM_Try, GIMT_Encode4(3228),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule93Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_INTTOPTR),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner43),
GIM_Reject,
GIM_Try, GIMT_Encode4(3240),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule92Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner42),
GIM_Reject,
GIM_Try, GIMT_Encode4(3262),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule102Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BITCAST),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner48),
GIM_Reject,
GIM_Try, GIMT_Encode4(3292),
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(3315),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule53Enabled),
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(3326),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule54Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner18),
GIM_Reject,
GIM_Try, GIMT_Encode4(3338),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule72Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner26),
GIM_Reject,
GIM_Try, GIMT_Encode4(3350),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule72Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner26),
GIM_Reject,
GIM_Try, GIMT_Encode4(3362),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule72Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner26),
GIM_Reject,
GIM_Try, GIMT_Encode4(3374),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule84Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner37),
GIM_Reject,
GIM_Try, GIMT_Encode4(3386),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule94Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner44),
GIM_Try, GIMT_Encode4(3397),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule172Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner105),
GIM_Try, GIMT_Encode4(3418),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule59Enabled),
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(3439),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule65Enabled),
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(3460),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule67Enabled),
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(3481),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule66Enabled),
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(3493),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule81Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner34),
GIM_Try, GIMT_Encode4(3504),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule100Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner46),
GIM_Try, GIMT_Encode4(3515),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule101Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner47),
GIM_Try, GIMT_Encode4(3526),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule136Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner78),
GIM_Try, GIMT_Encode4(3547),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule60Enabled),
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(3568),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule57Enabled),
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(3592),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule68Enabled),
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(3613),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule56Enabled),
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(3634),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule55Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ZEXT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner19),
GIM_Reject,
GIM_Try, GIMT_Encode4(3646),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule206Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner136),
GIM_Reject,
GIM_Try, GIMT_Encode4(3658),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule172Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner105),
GIM_Try, GIMT_Encode4(3679),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule64Enabled),
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(3700),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule63Enabled),
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(3727),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule202Enabled),
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_GICombiner132),
GIM_Reject,
GIM_Try, GIMT_Encode4(3739),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule114Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner57),
GIM_Try, GIMT_Encode4(3750),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule122Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner64),
GIM_Try, GIMT_Encode4(3761),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule165Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner98),
GIM_Try, GIMT_Encode4(3772),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule128Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner70),
GIM_Reject,
GIM_Try, GIMT_Encode4(3784),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule125Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner67),
GIM_Try, GIMT_Encode4(3795),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule172Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner105),
GIM_Try, GIMT_Encode4(3816),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule58Enabled),
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(3837),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule62Enabled),
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(3864),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule203Enabled),
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_GICombiner133),
GIM_Try, GIMT_Encode4(3885),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule61Enabled),
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(3902),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule204Enabled),
GIM_MIFlags, 0, GIMT_Encode4(MachineInstr::NonNeg),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner134),
GIM_Reject,
GIM_Try, GIMT_Encode4(3914),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule78Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner32),
GIM_Try, GIMT_Encode4(3925),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule79Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner33),
GIM_Try, GIMT_Encode4(3936),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule109Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner52),
GIM_Try, GIMT_Encode4(3947),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule153Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner90),
GIM_Try, GIMT_Encode4(3958),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule154Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner91),
GIM_Try, GIMT_Encode4(3969),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule164Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner97),
GIM_Try, GIMT_Encode4(3980),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(3991),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(4026),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule51Enabled),
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(4049),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule88Enabled),
GIM_CheckConstantInt8, 0, 2, 0,
GIM_CheckCanReplaceReg, 0, 0, 0, 1,
GIR_ReplaceReg, 0, 0, 0, 1,
GIR_EraseRootFromParent_Done,
GIM_Try, GIMT_Encode4(4060),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule115Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner58),
GIM_Reject,
GIM_Try, GIMT_Encode4(4072),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule79Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner33),
GIM_Try, GIMT_Encode4(4083),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule109Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner52),
GIM_Try, GIMT_Encode4(4094),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule153Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner90),
GIM_Try, GIMT_Encode4(4105),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule154Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner91),
GIM_Try, GIMT_Encode4(4116),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule167Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner100),
GIM_Try, GIMT_Encode4(4127),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner101),
GIM_Try, GIMT_Encode4(4138),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(4149),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(4172),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule88Enabled),
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(4184),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule79Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner33),
GIM_Try, GIMT_Encode4(4195),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule109Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner52),
GIM_Try, GIMT_Encode4(4206),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule113Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner56),
GIM_Try, GIMT_Encode4(4217),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule153Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner90),
GIM_Try, GIMT_Encode4(4228),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule154Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner91),
GIM_Try, GIMT_Encode4(4239),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule167Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner100),
GIM_Try, GIMT_Encode4(4250),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule168Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner101),
GIM_Try, GIMT_Encode4(4261),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(4272),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(4295),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule88Enabled),
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(4307),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule158Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner95),
GIM_Try, GIMT_Encode4(4318),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule161Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner96),
GIM_Try, GIMT_Encode4(4338),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule160Enabled),
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(4350),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule158Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner95),
GIM_Try, GIMT_Encode4(4361),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule161Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner96),
GIM_Try, GIMT_Encode4(4381),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule159Enabled),
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(4405),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule88Enabled),
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(4429),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule88Enabled),
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(4441),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule126Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner68),
GIM_Try, GIMT_Encode4(4452),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule127Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner69),
GIM_Try, GIMT_Encode4(4463),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule192Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner124),
GIM_Try, GIMT_Encode4(4474),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule207Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner137),
GIM_Reject,
GIM_Try, GIMT_Encode4(4486),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule87Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner40),
GIM_Try, GIMT_Encode4(4497),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule118Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner60),
GIM_Try, GIMT_Encode4(4508),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule120Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner62),
GIM_Try, GIMT_Encode4(4519),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule191Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner123),
GIM_Try, GIMT_Encode4(4540),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule119Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_ICMP),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner61),
GIM_Try, GIMT_Encode4(4569),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule117Enabled),
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(4581),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(4592),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule201Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner131),
GIM_Reject,
GIM_Try, GIMT_Encode4(4604),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule148Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner85),
GIM_Reject,
GIM_Try, GIMT_Encode4(4616),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule148Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner85),
GIM_Reject,
GIM_Try, GIMT_Encode4(4628),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Try, GIMT_Encode4(4639),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule201Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner131),
GIM_Reject,
GIM_Try, GIMT_Encode4(4651),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule148Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner85),
GIM_Reject,
GIM_Try, GIMT_Encode4(4663),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule148Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner85),
GIM_Reject,
GIM_Try, GIMT_Encode4(4675),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule146Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner83),
GIM_Try, GIMT_Encode4(4686),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule147Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner84),
GIM_Try, GIMT_Encode4(4697),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(4709),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule146Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner83),
GIM_Try, GIMT_Encode4(4720),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule147Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner84),
GIM_Try, GIMT_Encode4(4731),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(4743),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule178Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner110),
GIM_Try, GIMT_Encode4(4754),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(4766),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(4778),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(4790),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(4802),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule153Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner90),
GIM_Try, GIMT_Encode4(4813),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule154Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner91),
GIM_Reject,
GIM_Try, GIMT_Encode4(4825),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule153Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner90),
GIM_Try, GIMT_Encode4(4836),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule154Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner91),
GIM_Reject,
GIM_Try, GIMT_Encode4(4848),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(4860),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(4872),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(4884),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(4896),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule170Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner103),
GIM_Try, GIMT_Encode4(4907),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule179Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner111),
GIM_Try, GIMT_Encode4(4918),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule181Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner113),
GIM_Try, GIMT_Encode4(4929),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule182Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner114),
GIM_Try, GIMT_Encode4(4940),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule183Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner115),
GIM_Try, GIMT_Encode4(4951),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule184Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner116),
GIM_Try, GIMT_Encode4(4962),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(4973),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule195Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner127),
GIM_Try, GIMT_Encode4(4996),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule104Enabled),
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(5008),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule170Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner103),
GIM_Try, GIMT_Encode4(5019),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule179Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner111),
GIM_Try, GIMT_Encode4(5030),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule185Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner117),
GIM_Try, GIMT_Encode4(5041),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule186Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner118),
GIM_Try, GIMT_Encode4(5052),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule187Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner119),
GIM_Try, GIMT_Encode4(5063),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule188Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner120),
GIM_Try, GIMT_Encode4(5074),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(5085),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule193Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner125),
GIM_Reject,
GIM_Try, GIMT_Encode4(5097),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule170Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner103),
GIM_Try, GIMT_Encode4(5108),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule179Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner111),
GIM_Try, GIMT_Encode4(5119),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(5130),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule195Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner127),
GIM_Try, GIMT_Encode4(5153),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule97Enabled),
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(5173),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule105Enabled),
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(5185),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule171Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner104),
GIM_Try, GIMT_Encode4(5196),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule179Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner111),
GIM_Reject,
GIM_Try, GIMT_Encode4(5208),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule171Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner104),
GIM_Try, GIMT_Encode4(5219),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule179Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner111),
GIM_Reject,
GIM_Try, GIMT_Encode4(5231),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule170Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner103),
GIM_Try, GIMT_Encode4(5242),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule179Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner111),
GIM_Try, GIMT_Encode4(5253),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Reject,
GIM_Try, GIMT_Encode4(5265),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Reject,
GIM_Try, GIMT_Encode4(5287),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule150Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 2,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_CONSTANT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner87),
GIM_Reject,
GIM_Try, GIMT_Encode4(5309),
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_GICombiner79),
GIM_Reject,
GIM_Try, GIMT_Encode4(5331),
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_GICombiner79),
GIM_Try, GIMT_Encode4(5360),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule95Enabled),
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(5382),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule141Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_FCONSTANT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner79),
GIM_Try, GIMT_Encode4(5403),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule103Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_FPEXT),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner48),
GIM_Reject,
GIM_Try, GIMT_Encode4(5415),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule81Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner34),
GIM_Reject,
GIM_Try, GIMT_Encode4(5427),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule81Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner34),
GIM_Reject,
GIM_Try, GIMT_Encode4(5439),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule75Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner29),
GIM_Try, GIMT_Encode4(5454),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule142Enabled),
GIM_CheckConstantInt8, 0, 1, 0,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner80),
GIM_Reject,
GIM_Try, GIMT_Encode4(5466),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule75Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner29),
GIM_Try, GIMT_Encode4(5481),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule143Enabled),
GIM_CheckConstantInt8, 0, 1, 0,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner80),
GIM_Reject,
GIM_Try, GIMT_Encode4(5511),
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(5532),
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_GICombiner79),
GIM_Try, GIMT_Encode4(5560),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule173Enabled),
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(5590),
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(5602),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule149Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner86),
GIM_Try, GIMT_Encode4(5613),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(5624),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule195Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner127),
GIM_Reject,
GIM_Try, GIMT_Encode4(5636),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule149Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner86),
GIM_Try, GIMT_Encode4(5647),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(5658),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule195Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner127),
GIM_Reject,
GIM_Try, GIMT_Encode4(5670),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule195Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner127),
GIM_Reject,
GIM_Try, GIMT_Encode4(5682),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule195Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner127),
GIM_Reject,
GIM_Try, GIMT_Encode4(5694),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule149Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner86),
GIM_Try, GIMT_Encode4(5705),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(5716),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule195Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner127),
GIM_Reject,
GIM_Try, GIMT_Encode4(5728),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule149Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner86),
GIM_Try, GIMT_Encode4(5739),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(5750),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule195Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner127),
GIM_Reject,
GIM_Try, GIMT_Encode4(5762),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule110Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner53),
GIM_Try, GIMT_Encode4(5773),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule112Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner55),
GIM_Try, GIMT_Encode4(5784),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule144Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner81),
GIM_Try, GIMT_Encode4(5795),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule152Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner89),
GIM_Try, GIMT_Encode4(5806),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(5817),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(5840),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule88Enabled),
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(5852),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(5863),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(5874),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(5886),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(5897),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(5908),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(5920),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(5931),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(5942),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(5954),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule169Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner102),
GIM_Try, GIMT_Encode4(5965),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule189Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner121),
GIM_Try, GIMT_Encode4(5976),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule194Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner126),
GIM_Reject,
GIM_Try, GIMT_Encode4(5988),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule80Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner32),
GIM_Reject,
GIM_Try, GIMT_Encode4(6000),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule130Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner72),
GIM_Reject,
GIM_Try, GIMT_Encode4(6012),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule23Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner9),
GIM_Try, GIMT_Encode4(6023),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule69Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner23),
GIM_Try, GIMT_Encode4(6034),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule86Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner39),
GIM_Try, GIMT_Encode4(6073),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule48Enabled),
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(6106),
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(6130),
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(6142),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule22Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner8),
GIM_Try, GIMT_Encode4(6153),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule70Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner24),
GIM_Try, GIMT_Encode4(6164),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule74Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner28),
GIM_Try, GIMT_Encode4(6175),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule86Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner39),
GIM_Try, GIMT_Encode4(6199),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule39Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperands, 1, 17,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6223),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule38Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperands, 1, 16,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6247),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule37Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperands, 1, 15,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6271),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule36Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperands, 1, 14,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6295),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule35Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperands, 1, 13,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6319),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule34Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperands, 1, 12,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6343),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule33Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperands, 1, 11,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6367),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule32Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperands, 1, 10,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6391),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule31Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperands, 1, 9,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6415),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule46Enabled),
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(6439),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule30Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperands, 1, 8,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6463),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule45Enabled),
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(6487),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule44Enabled),
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(6511),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule29Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperands, 1, 6,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6535),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule43Enabled),
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(6559),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule28Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperands, 1, 5,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6583),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule42Enabled),
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(6607),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule27Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperands, 1, 4,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6631),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule41Enabled),
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(6665),
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(6686),
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(6707),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule47Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_SHUFFLE_VECTOR),
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner13),
GIM_Try, GIMT_Encode4(6731),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule26Enabled),
GIM_RecordInsnIgnoreCopies, 1, 0, 1,
GIM_CheckOpcode, 1, GIMT_Encode2(TargetOpcode::G_BUILD_VECTOR),
GIM_CheckNumOperands, 1, 3,
GIM_CheckIsSafeToFold, 1,
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner11),
GIM_Try, GIMT_Encode4(6755),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule40Enabled),
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(6779),
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(6803),
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(6815),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule82Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner35),
GIM_Try, GIMT_Encode4(6826),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule83Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner36),
GIM_Try, GIMT_Encode4(6837),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule205Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner135),
GIM_Try, GIMT_Encode4(6848),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule209Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner139),
GIM_Reject,
GIM_Try, GIMT_Encode4(6893),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule163Enabled),
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_GICombiner6),
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(6937),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule162Enabled),
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_GICombiner5),
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(6959),
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_GICombiner79),
GIM_Reject,
GIM_Try, GIMT_Encode4(6974),
GIM_CheckFeatures, GIMT_Encode2(GIFBS_HasDotProd),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule210Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner140),
GIM_Try, GIMT_Encode4(6985),
GIM_CheckSimplePredicate, GIMT_Encode2(GICXXPred_Simple_IsRule211Enabled),
GIR_DoneWithCustomAction, GIMT_Encode2(GICXXCustomAction_GICombiner141),
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