| 1 | static const int64_t __constant_xi64 = 1; |
| 2 | class Model { |
| 3 | public: |
| 4 | int64_t *fieldName0; |
| 5 | int64_t *fieldName1; |
| 6 | int64_t *fieldName2; |
| 7 | int64_t *fieldName3; |
| 8 | int64_t *fieldName4; |
| 9 | int64_t *fieldName5; |
| 10 | int64_t *fieldName6; |
| 11 | int64_t *fieldName7; |
| 12 | int64_t *fieldName8; |
| 13 | int64_t *fieldName9; |
| 14 | int64_t *fieldName10; |
| 15 | int64_t *fieldName11; |
| 16 | int64_t *fieldName12; |
| 17 | int64_t *fieldName13; |
| 18 | int64_t *fieldName14; |
| 19 | int64_t *fieldName15; |
| 20 | int64_t *fieldName16; |
| 21 | int64_t *fieldName17; |
| 22 | int64_t *fieldName18; |
| 23 | int64_t *fieldName19; |
| 24 | int64_t *fieldName20; |
| 25 | int64_t *fieldName21; |
| 26 | int64_t *fieldName22; |
| 27 | int64_t *fieldName23; |
| 28 | int64_t *fieldName24; |
| 29 | int64_t *fieldName25; |
| 30 | int64_t *fieldName26; |
| 31 | int32_t *fieldName27; |
| 32 | int64_t *fieldName28; |
| 33 | int64_t *fieldName29; |
| 34 | int64_t *fieldName30; |
| 35 | int64_t *fieldName31; |
| 36 | int64_t *fieldName32; |
| 37 | int64_t *fieldName33; |
| 38 | int64_t *fieldName34; |
| 39 | int64_t *fieldName35; |
| 40 | int64_t *fieldName36; |
| 41 | float *fieldName37; |
| 42 | int64_t *fieldName38; |
| 43 | float *fieldName39; |
| 44 | const std::map<std::string, char *> reflectionMap = { |
| 45 | {"callsite_cost" , reinterpret_cast<char *>(&fieldName0)}, |
| 46 | {"is_multiple_blocks" , reinterpret_cast<char *>(&fieldName1)}, |
| 47 | {"caller_conditionally_executed_blocks" , |
| 48 | reinterpret_cast<char *>(&fieldName2)}, |
| 49 | {"cold_cc_penalty" , reinterpret_cast<char *>(&fieldName3)}, |
| 50 | {"callee_conditionally_executed_blocks" , |
| 51 | reinterpret_cast<char *>(&fieldName4)}, |
| 52 | {"callee_users" , reinterpret_cast<char *>(&fieldName5)}, |
| 53 | {"callee_basic_block_count" , reinterpret_cast<char *>(&fieldName6)}, |
| 54 | {"nr_ctant_params" , reinterpret_cast<char *>(&fieldName7)}, |
| 55 | {"load_relative_intrinsic" , reinterpret_cast<char *>(&fieldName8)}, |
| 56 | {"jump_table_penalty" , reinterpret_cast<char *>(&fieldName9)}, |
| 57 | {"unsimplified_common_instructions" , |
| 58 | reinterpret_cast<char *>(&fieldName10)}, |
| 59 | {"indirect_call_penalty" , reinterpret_cast<char *>(&fieldName11)}, |
| 60 | {"load_elimination" , reinterpret_cast<char *>(&fieldName12)}, |
| 61 | {"is_caller_avail_external" , reinterpret_cast<char *>(&fieldName13)}, |
| 62 | {"call_penalty" , reinterpret_cast<char *>(&fieldName14)}, |
| 63 | {"cost_estimate" , reinterpret_cast<char *>(&fieldName15)}, |
| 64 | {"case_cluster_penalty" , reinterpret_cast<char *>(&fieldName16)}, |
| 65 | {"node_count" , reinterpret_cast<char *>(&fieldName17)}, |
| 66 | {"call_argument_setup" , reinterpret_cast<char *>(&fieldName18)}, |
| 67 | {"sroa_savings" , reinterpret_cast<char *>(&fieldName19)}, |
| 68 | {"lowered_call_arg_setup" , reinterpret_cast<char *>(&fieldName20)}, |
| 69 | {"threshold" , reinterpret_cast<char *>(&fieldName21)}, |
| 70 | {"dead_blocks" , reinterpret_cast<char *>(&fieldName22)}, |
| 71 | {"constant_args" , reinterpret_cast<char *>(&fieldName23)}, |
| 72 | {"sroa_losses" , reinterpret_cast<char *>(&fieldName24)}, |
| 73 | {"simplified_instructions" , reinterpret_cast<char *>(&fieldName25)}, |
| 74 | {"num_loops" , reinterpret_cast<char *>(&fieldName26)}, |
| 75 | {"step_type" , reinterpret_cast<char *>(&fieldName27)}, |
| 76 | {"edge_count" , reinterpret_cast<char *>(&fieldName28)}, |
| 77 | {"is_callee_avail_external" , reinterpret_cast<char *>(&fieldName29)}, |
| 78 | {"nested_inlines" , reinterpret_cast<char *>(&fieldName30)}, |
| 79 | {"caller_basic_block_count" , reinterpret_cast<char *>(&fieldName31)}, |
| 80 | {"last_call_to_static_bonus" , reinterpret_cast<char *>(&fieldName32)}, |
| 81 | {"nested_inline_cost_estimate" , reinterpret_cast<char *>(&fieldName33)}, |
| 82 | {"callsite_height" , reinterpret_cast<char *>(&fieldName34)}, |
| 83 | {"constant_offset_ptr_args" , reinterpret_cast<char *>(&fieldName35)}, |
| 84 | {"switch_penalty" , reinterpret_cast<char *>(&fieldName36)}, |
| 85 | {"discount" , reinterpret_cast<char *>(&fieldName37)}, |
| 86 | {"caller_users" , reinterpret_cast<char *>(&fieldName38)}, |
| 87 | {"reward" , reinterpret_cast<char *>(&fieldName39)}}; |
| 88 | char *getBufferForName(std::string v1) { |
| 89 | char *v2 = reflectionMap.at(k: v1); |
| 90 | return v2; |
| 91 | } |
| 92 | int64_t operator()() { |
| 93 | int64_t v1 = 1; |
| 94 | return v1; |
| 95 | } |
| 96 | }; |
| 97 | |