Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function void Print::printFloat(double, uint8) Trees ::
- param 0 : Print* const this
- param 1 : double number modified
- param 2 : uint8 digits modified
- Jump functions of caller void Print::printFloat(double, uint8):
- callsite void Print::printFloat(double, uint8) -> void Print::print(int, int) ::
- param 0: PASS THROUGH: 0
- param 1: UNKNOWN
- param 2: CONST: 10
- callsite void Print::printFloat(double, uint8) -> void Print::print(const char*) ::
- param 0: PASS THROUGH: 0
- param 1: CONST: &"."[0]
- callsite void Print::printFloat(double, uint8) -> void Print::print(long long int, int) ::
- param 0: PASS THROUGH: 0
- param 1: UNKNOWN
- param 2: CONST: 10
- callsite void Print::printFloat(double, uint8) -> void Print::print(char) ::
- param 0: PASS THROUGH: 0
- param 1: CONST: 45
- callsite void Print::printFloat(double, uint8) -> void Print::print(const char*) ::
- param 0: PASS THROUGH: 0
- param 1: CONST: &"<large double>"[0]
- callsite void Print::printFloat(double, uint8) -> void Print::print(char) ::
- param 0: PASS THROUGH: 0
- param 1: CONST: 45
- function void Print::printNumber(long long unsigned int, uint8) Trees ::
- param 0 : Print* const this
- param 1 : long long unsigned int n modified
- param 2 : uint8 base
- Jump functions of caller void Print::printNumber(long long unsigned int, uint8):
- callsite void Print::printNumber(long long unsigned int, uint8) -> void Print::print(char) ::
- param 0: PASS THROUGH: 0
- param 1: UNKNOWN
- callsite void Print::printNumber(long long unsigned int, uint8) -> void Print::print(char) ::
- param 0: PASS THROUGH: 0
- param 1: CONST: 48
- function void Print::println(double, int) Trees ::
- param 0 : Print* const this
- param 1 : double n
- param 2 : int digits
- Jump functions of caller void Print::println(double, int):
- callsite void Print::println(double, int) -> void Print::println() ::
- param 0: PASS THROUGH: 0
- callsite void Print::println(double, int) -> void Print::print(double, int) ::
- param 0: PASS THROUGH: 0
- param 1: PASS THROUGH: 1
- param 2: PASS THROUGH: 2
- function void Print::println(long long unsigned int, int) Trees ::
- param 0 : Print* const this
- param 1 : long long unsigned int n
- param 2 : int base
- Jump functions of caller void Print::println(long long unsigned int, int):
- callsite void Print::println(long long unsigned int, int) -> void Print::println() ::
- param 0: PASS THROUGH: 0
- callsite void Print::println(long long unsigned int, int) -> void Print::print(long long unsigned int, int) ::
- param 0: PASS THROUGH: 0
- param 1: PASS THROUGH: 1
- param 2: PASS THROUGH: 2
- function void Print::println(long long int, int) Trees ::
- param 0 : Print* const this
- param 1 : long long int n
- param 2 : int base
- Jump functions of caller void Print::println(long long int, int):
- callsite void Print::println(long long int, int) -> void Print::println() ::
- param 0: PASS THROUGH: 0
- callsite void Print::println(long long int, int) -> void Print::print(long long int, int) ::
- param 0: PASS THROUGH: 0
- param 1: PASS THROUGH: 1
- param 2: PASS THROUGH: 2
- function void Print::println(long unsigned int, int) Trees ::
- param 0 : Print* const this
- param 1 : long unsigned int n
- param 2 : int base
- Jump functions of caller void Print::println(long unsigned int, int):
- callsite void Print::println(long unsigned int, int) -> void Print::println() ::
- param 0: PASS THROUGH: 0
- callsite void Print::println(long unsigned int, int) -> void Print::print(long long unsigned int, int) ::
- param 0: PASS THROUGH: 0
- param 1: UNKNOWN
- param 2: PASS THROUGH: 2
- function void Print::println(long int, int) Trees ::
- param 0 : Print* const this
- param 1 : long int n
- param 2 : int base
- Jump functions of caller void Print::println(long int, int):
- callsite void Print::println(long int, int) -> void Print::println() ::
- param 0: PASS THROUGH: 0
- callsite void Print::println(long int, int) -> void Print::print(long long int, int) ::
- param 0: PASS THROUGH: 0
- param 1: UNKNOWN
- param 2: PASS THROUGH: 2
- function void Print::println(unsigned int, int) Trees ::
- param 0 : Print* const this
- param 1 : unsigned int n
- param 2 : int base
- Jump functions of caller void Print::println(unsigned int, int):
- callsite void Print::println(unsigned int, int) -> void Print::println() ::
- param 0: PASS THROUGH: 0
- callsite void Print::println(unsigned int, int) -> void Print::print(unsigned int, int) ::
- param 0: PASS THROUGH: 0
- param 1: PASS THROUGH: 1
- param 2: PASS THROUGH: 2
- function void Print::println(int, int) Trees ::
- param 0 : Print* const this
- param 1 : int n
- param 2 : int base
- Jump functions of caller void Print::println(int, int):
- callsite void Print::println(int, int) -> void Print::println() ::
- param 0: PASS THROUGH: 0
- callsite void Print::println(int, int) -> void Print::print(int, int) ::
- param 0: PASS THROUGH: 0
- param 1: PASS THROUGH: 1
- param 2: PASS THROUGH: 2
- function void Print::println(uint8, int) Trees ::
- param 0 : Print* const this
- param 1 : uint8 b
- param 2 : int base
- Jump functions of caller void Print::println(uint8, int):
- callsite void Print::println(uint8, int) -> void Print::println() ::
- param 0: PASS THROUGH: 0
- callsite void Print::println(uint8, int) -> void Print::print(uint8, int) ::
- param 0: PASS THROUGH: 0
- param 1: PASS THROUGH: 1
- param 2: PASS THROUGH: 2
- function void Print::println(const char*) Trees ::
- param 0 : Print* const this
- param 1 : const char* c
- Jump functions of caller void Print::println(const char*):
- callsite void Print::println(const char*) -> void Print::println() ::
- param 0: PASS THROUGH: 0
- callsite void Print::println(const char*) -> void Print::print(const char*) ::
- param 0: PASS THROUGH: 0
- param 1: PASS THROUGH: 1
- function void Print::println(char) Trees ::
- param 0 : Print* const this
- param 1 : char c
- Jump functions of caller void Print::println(char):
- callsite void Print::println(char) -> void Print::println() ::
- param 0: PASS THROUGH: 0
- callsite void Print::println(char) -> void Print::print(char) ::
- param 0: PASS THROUGH: 0
- param 1: PASS THROUGH: 1
- function void Print::println() Trees ::
- param 0 : Print* const this
- Jump functions of caller void Print::println():
- callsite void Print::println() -> void Print::print(char) ::
- param 0: PASS THROUGH: 0
- param 1: CONST: 10
- callsite void Print::println() -> void Print::print(char) ::
- param 0: PASS THROUGH: 0
- param 1: CONST: 13
- function void Print::print(double, int) Trees ::
- param 0 : Print* const this
- param 1 : double n
- param 2 : int digits
- Jump functions of caller void Print::print(double, int):
- callsite void Print::print(double, int) -> void Print::printFloat(double, uint8) ::
- param 0: PASS THROUGH: 0
- param 1: PASS THROUGH: 1
- param 2: UNKNOWN
- function void Print::print(long long unsigned int, int) Trees ::
- param 0 : Print* const this
- param 1 : long long unsigned int n
- param 2 : int base
- Jump functions of caller void Print::print(long long unsigned int, int):
- callsite void Print::print(long long unsigned int, int) -> void Print::printNumber(long long unsigned int, uint8) ::
- param 0: PASS THROUGH: 0
- param 1: PASS THROUGH: 1
- param 2: UNKNOWN
- function void Print::print(long long int, int) Trees ::
- param 0 : Print* const this
- param 1 : long long int n modified
- param 2 : int base
- Jump functions of caller void Print::print(long long int, int):
- callsite void Print::print(long long int, int) -> void Print::printNumber(long long unsigned int, uint8) ::
- param 0: PASS THROUGH: 0
- param 1: UNKNOWN
- param 2: UNKNOWN
- callsite void Print::print(long long int, int) -> void Print::print(char) ::
- param 0: PASS THROUGH: 0
- param 1: CONST: 45
- function void Print::print(long unsigned int, int) Trees ::
- param 0 : Print* const this
- param 1 : long unsigned int n
- param 2 : int base
- Jump functions of caller void Print::print(long unsigned int, int):
- callsite void Print::print(long unsigned int, int) -> void Print::print(long long unsigned int, int) ::
- param 0: PASS THROUGH: 0
- param 1: UNKNOWN
- param 2: PASS THROUGH: 2
- function void Print::print(long int, int) Trees ::
- param 0 : Print* const this
- param 1 : long int n
- param 2 : int base
- Jump functions of caller void Print::print(long int, int):
- callsite void Print::print(long int, int) -> void Print::print(long long int, int) ::
- param 0: PASS THROUGH: 0
- param 1: UNKNOWN
- param 2: PASS THROUGH: 2
- function void Print::print(unsigned int, int) Trees ::
- param 0 : Print* const this
- param 1 : unsigned int n
- param 2 : int base
- Jump functions of caller void Print::print(unsigned int, int):
- callsite void Print::print(unsigned int, int) -> void Print::print(long long unsigned int, int) ::
- param 0: PASS THROUGH: 0
- param 1: UNKNOWN
- param 2: PASS THROUGH: 2
- function void Print::print(int, int) Trees ::
- param 0 : Print* const this
- param 1 : int n
- param 2 : int base
- Jump functions of caller void Print::print(int, int):
- callsite void Print::print(int, int) -> void Print::print(long long int, int) ::
- param 0: PASS THROUGH: 0
- param 1: UNKNOWN
- param 2: PASS THROUGH: 2
- function void Print::print(const char*) Trees ::
- param 0 : Print* const this
- param 1 : const char* str
- Jump functions of caller void Print::print(const char*):
- function void Print::print(char) Trees ::
- param 0 : Print* const this
- param 1 : char c
- Jump functions of caller void Print::print(char):
- function void Print::print(uint8, int) Trees ::
- param 0 : Print* const this
- param 1 : uint8 b
- param 2 : int base
- Jump functions of caller void Print::print(uint8, int):
- callsite void Print::print(uint8, int) -> void Print::print(long long unsigned int, int) ::
- param 0: PASS THROUGH: 0
- param 1: UNKNOWN
- param 2: PASS THROUGH: 2
- function virtual void Print::write(const void*, uint32) Trees ::
- param 0 : Print* const this
- param 1 : const void* buffer
- param 2 : uint32 size modified
- Jump functions of caller virtual void Print::write(const void*, uint32):
- function virtual void Print::write(const char*) Trees ::
- param 0 : Print* const this
- param 1 : const char* str modified
- Jump functions of caller virtual void Print::write(const char*):
- Deciding on inlining. Starting with 767 insns.
- Inlining always_inline functions:
- Deciding on smaller functions:
- Considering inline candidate void Print::printFloat(double, uint8).
- Inlining failed: --param max-inline-insns-auto limit reached
- Considering inline candidate void Print::printNumber(long long unsigned int, uint8).
- Inlining failed: --param max-inline-insns-auto limit reached
- Considering inline candidate void Print::println().
- Inlining failed: --param max-inline-insns-auto limit reached
- Considering inline candidate void Print::print(double, int).
- Inlining failed: --param max-inline-insns-auto limit reached
- Considering inline candidate void Print::print(long long unsigned int, int).
- Inlining failed: --param max-inline-insns-auto limit reached
- Considering inline candidate void Print::print(long long int, int).
- Inlining failed: --param max-inline-insns-auto limit reached
- Considering inline candidate void Print::print(unsigned int, int).
- Inlining failed: --param max-inline-insns-auto limit reached
- Considering inline candidate void Print::print(int, int).
- Inlining failed: --param max-inline-insns-auto limit reached
- Considering inline candidate void Print::print(const char*).
- Inlining failed: --param max-inline-insns-auto limit reached
- Considering inline candidate void Print::print(char).
- Inlining failed: --param max-inline-insns-auto limit reached
- Considering inline candidate void Print::print(uint8, int).
- Inlining failed: --param max-inline-insns-auto limit reached
- Deciding on functions called once:
- Inlined 0 calls, eliminated 0 functions, 767 insns turned to 767 insns.
- void Print::printFloat(double, uint8) (struct Print * const this, double number, uint8 digits)
- {
- int to_print;
- uint8 i;
- double remainder;
- long long int int_part;
- double rounding;
- double D.2676;
- bool retval.5;
- double D.2668;
- bool D.2666;
- bool D.2656;
- bool D.2650;
- bool iftmp.4;
- <bb 2>:
- D.2650_8 = number_7(D) > 0.0;
- if (D.2650_8 != 0)
- goto <bb 3>;
- else
- goto <bb 4>;
- <bb 3>:
- iftmp.4_9 = number_7(D) >= 9.1e+18;
- goto <bb 5>;
- <bb 4>:
- iftmp.4_10 = number_7(D) <= -9.1e+18;
- <bb 5>:
- # iftmp.4_6 = PHI <iftmp.4_9(3), iftmp.4_10(4)>
- if (iftmp.4_6 != 0)
- goto <bb 6>;
- else
- goto <bb 9>;
- <bb 6>:
- D.2656_11 = number_7(D) < 0.0;
- if (D.2656_11 != 0)
- goto <bb 7>;
- else
- goto <bb 8>;
- <bb 7>:
- print (this_12(D), 45);
- <bb 8>:
- print (this_12(D), &"<large double>"[0]);
- goto <bb 18>;
- <bb 9>:
- D.2656_13 = number_7(D) < 0.0;
- if (D.2656_13 != 0)
- goto <bb 10>;
- else
- goto <bb 11>;
- <bb 10>:
- print (this_12(D), 45);
- number_14 = -number_7(D);
- <bb 11>:
- # number_1 = PHI <number_7(D)(9), number_14(10)>
- goto <bb 13>;
- <bb 12>:
- rounding_19 = rounding_3 / 1.0e+1;
- i_20 = i_4 + 1;
- <bb 13>:
- # rounding_3 = PHI <5.0e-1(11), rounding_19(12)>
- # i_4 = PHI <0(11), i_20(12)>
- if (i_4 < digits_17(D))
- goto <bb 12>;
- else
- goto <bb 14>;
- <bb 14>:
- number_21 = number_1 + rounding_3;
- int_part_22 = (long long int) number_21;
- D.2668_23 = (double) int_part_22;
- remainder_24 = number_21 - D.2668_23;
- print (this_12(D), int_part_22, 10);
- if (digits_17(D) != 0)
- goto <bb 15>;
- else
- goto <bb 17>;
- <bb 15>:
- print (this_12(D), &"."[0]);
- <bb 17>:
- # digits_15 = PHI <digits_17(D)(15), digits_17(D)(14)>
- # remainder_16 = PHI <remainder_24(15), remainder_24(14)>
- goto <bb 19>;
- <bb 16>:
- remainder_27 = remainder_5 * 1.0e+1;
- to_print_28 = (int) remainder_27;
- print (this_12(D), to_print_28, 10);
- D.2676_29 = (double) to_print_28;
- remainder_30 = remainder_27 - D.2676_29;
- <bb 19>:
- # digits_2 = PHI <digits_15(17), digits_26(16)>
- # remainder_5 = PHI <remainder_16(17), remainder_30(16)>
- digits_26 = digits_2 + 255;
- if (digits_2 != 0)
- goto <bb 16>;
- else
- goto <bb 18>;
- <bb 18>:
- return;
- }
- void Print::printNumber(long long unsigned int, uint8) (struct Print * const this, long long unsigned int n, uint8 base)
- {
- long unsigned int i;
- unsigned char buf[64];
- unsigned char D.2635;
- long unsigned int D.2634;
- char iftmp.3;
- bool D.2631;
- unsigned char D.2627;
- long long unsigned int D.2626;
- long long unsigned int D.2625;
- bool D.2623;
- <bb 2>:
- if (n_6(D) == 0)
- goto <bb 3>;
- else
- goto <bb 5>;
- <bb 5>:
- # n_5 = PHI <n_6(D)(2)>
- # i_17 = PHI <0(2)>
- goto <bb 13>;
- <bb 3>:
- print (this_7(D), 48);
- goto <bb 11>;
- <bb 4>:
- D.2625_11 = (long long unsigned int) base_10(D);
- D.2626_12 = n_1 % D.2625_11;
- D.2627_13 = (unsigned char) D.2626_12;
- buf[i_2] ={v} D.2627_13;
- i_14 = i_2 + 1;
- D.2625_15 = (long long unsigned int) base_10(D);
- n_16 = n_1 / D.2625_15;
- <bb 13>:
- # n_1 = PHI <n_5(5), n_16(4)>
- # i_2 = PHI <i_17(5), i_14(4)>
- if (n_1 != 0)
- goto <bb 4>;
- else
- goto <bb 10>;
- <bb 10>:
- # i_9 = PHI <i_2(13)>
- goto <bb 12>;
- <bb 6>:
- D.2634_18 = i_3 + 4294967295;
- D.2635_19 = buf[D.2634_18];
- if (D.2635_19 <= 9)
- goto <bb 7>;
- else
- goto <bb 8>;
- <bb 7>:
- D.2634_20 = i_3 + 4294967295;
- D.2635_21 = buf[D.2634_20];
- iftmp.3_22 = D.2635_21 + 48;
- goto <bb 9>;
- <bb 8>:
- D.2634_23 = i_3 + 4294967295;
- D.2635_24 = buf[D.2634_23];
- iftmp.3_25 = D.2635_24 + 55;
- <bb 9>:
- # iftmp.3_4 = PHI <iftmp.3_22(7), iftmp.3_25(8)>
- print (this_7(D), iftmp.3_4);
- i_26 = i_3 + 4294967295;
- <bb 12>:
- # i_3 = PHI <i_9(10), i_26(9)>
- if (i_3 != 0)
- goto <bb 6>;
- else
- goto <bb 11>;
- <bb 11>:
- return;
- }
- void Print::println(double, int) (struct Print * const this, double n, int digits)
- {
- <bb 2>:
- print (this_1(D), n_2(D), digits_3(D));
- println (this_1(D));
- return;
- }
- void Print::println(long long unsigned int, int) (struct Print * const this, long long unsigned int n, int base)
- {
- <bb 2>:
- print (this_1(D), n_2(D), base_3(D));
- println (this_1(D));
- return;
- }
- void Print::println(long long int, int) (struct Print * const this, long long int n, int base)
- {
- <bb 2>:
- print (this_1(D), n_2(D), base_3(D));
- println (this_1(D));
- return;
- }
- void Print::println(long unsigned int, int) (struct Print * const this, long unsigned int n, int base)
- {
- long long unsigned int D.2595;
- <bb 2>:
- D.2595_2 = (long long unsigned int) n_1(D);
- print (this_3(D), D.2595_2, base_4(D));
- println (this_3(D));
- return;
- }
- void Print::println(long int, int) (struct Print * const this, long int n, int base)
- {
- long long int D.2589;
- <bb 2>:
- D.2589_2 = (long long int) n_1(D);
- print (this_3(D), D.2589_2, base_4(D));
- println (this_3(D));
- return;
- }
- void Print::println(unsigned int, int) (struct Print * const this, unsigned int n, int base)
- {
- <bb 2>:
- print (this_1(D), n_2(D), base_3(D));
- println (this_1(D));
- return;
- }
- void Print::println(int, int) (struct Print * const this, int n, int base)
- {
- <bb 2>:
- print (this_1(D), n_2(D), base_3(D));
- println (this_1(D));
- return;
- }
- void Print::println(uint8, int) (struct Print * const this, uint8 b, int base)
- {
- <bb 2>:
- print (this_1(D), b_2(D), base_3(D));
- println (this_1(D));
- return;
- }
- void Print::println(const char*) (struct Print * const this, const char * c)
- {
- <bb 2>:
- print (this_1(D), c_2(D));
- println (this_1(D));
- return;
- }
- void Print::println(char) (struct Print * const this, char c)
- {
- <bb 2>:
- print (this_1(D), c_2(D));
- println (this_1(D));
- return;
- }
- void Print::println() (struct Print * const this)
- {
- <bb 2>:
- print (this_1(D), 13);
- print (this_1(D), 10);
- return;
- }
- void Print::print(double, int) (struct Print * const this, double n, int digits)
- {
- uint8 D.2557;
- <bb 2>:
- D.2557_2 = (uint8) digits_1(D);
- printFloat (this_3(D), n_4(D), D.2557_2);
- return;
- }
- void Print::print(long long unsigned int, int) (struct Print * const this, long long unsigned int n, int base)
- {
- uint8 D.2551;
- uint8 D.2549;
- int (*__vtbl_ptr_type) (void) D.2548;
- int (*__vtbl_ptr_type) (void) * D.2547;
- <bb 2>:
- if (base_1(D) == 0)
- goto <bb 3>;
- else
- goto <bb 4>;
- <bb 3>:
- D.2547_3 = this_2(D)->_vptr.Print;
- D.2548_4 = *D.2547_3;
- D.2549_6 = (uint8) n_5(D);
- OBJ_TYPE_REF(D.2548_4;this_2(D)->0) (this_2(D), D.2549_6);
- goto <bb 5>;
- <bb 4>:
- D.2551_7 = (uint8) base_1(D);
- printNumber (this_2(D), n_5(D), D.2551_7);
- <bb 5>:
- return;
- }
- void Print::print(long long int, int) (struct Print * const this, long long int n, int base)
- {
- uint8 D.2539;
- long long unsigned int n.1;
- uint8 D.2534;
- int (*__vtbl_ptr_type) (void) D.2533;
- int (*__vtbl_ptr_type) (void) * D.2532;
- <bb 2>:
- if (base_2(D) == 0)
- goto <bb 3>;
- else
- goto <bb 4>;
- <bb 3>:
- D.2532_4 = this_3(D)->_vptr.Print;
- D.2533_5 = *D.2532_4;
- D.2534_7 = (uint8) n_6(D);
- OBJ_TYPE_REF(D.2533_5;this_3(D)->0) (this_3(D), D.2534_7);
- goto <bb 7>;
- <bb 4>:
- if (n_6(D) < 0)
- goto <bb 5>;
- else
- goto <bb 6>;
- <bb 5>:
- print (this_3(D), 45);
- n_8 = -n_6(D);
- <bb 6>:
- # n_1 = PHI <n_6(D)(4), n_8(5)>
- n.1_9 = (long long unsigned int) n_1;
- D.2539_10 = (uint8) base_2(D);
- printNumber (this_3(D), n.1_9, D.2539_10);
- <bb 7>:
- return;
- }
- void Print::print(long unsigned int, int) (struct Print * const this, long unsigned int n, int base)
- {
- long long unsigned int D.2524;
- <bb 2>:
- D.2524_2 = (long long unsigned int) n_1(D);
- print (this_3(D), D.2524_2, base_4(D));
- return;
- }
- void Print::print(long int, int) (struct Print * const this, long int n, int base)
- {
- long long int D.2518;
- <bb 2>:
- D.2518_2 = (long long int) n_1(D);
- print (this_3(D), D.2518_2, base_4(D));
- return;
- }
- void Print::print(unsigned int, int) (struct Print * const this, unsigned int n, int base)
- {
- long long unsigned int D.2512;
- <bb 2>:
- D.2512_2 = (long long unsigned int) n_1(D);
- print (this_3(D), D.2512_2, base_4(D));
- return;
- }
- void Print::print(int, int) (struct Print * const this, int n, int base)
- {
- long long int D.2506;
- <bb 2>:
- D.2506_2 = (long long int) n_1(D);
- print (this_3(D), D.2506_2, base_4(D));
- return;
- }
- void Print::print(const char*) (struct Print * const this, const char * str)
- {
- int (*__vtbl_ptr_type) (void) D.2500;
- int (*__vtbl_ptr_type) (void) * D.2499;
- int (*__vtbl_ptr_type) (void) * D.2498;
- <bb 2>:
- D.2498_2 = this_1(D)->_vptr.Print;
- D.2499_3 = D.2498_2 + 4;
- D.2500_4 = *D.2499_3;
- OBJ_TYPE_REF(D.2500_4;this_1(D)->1) (this_1(D), str_5(D));
- return;
- }
- void Print::print(char) (struct Print * const this, char c)
- {
- int (*__vtbl_ptr_type) (void) D.2493;
- int (*__vtbl_ptr_type) (void) * D.2492;
- <bb 2>:
- D.2492_2 = this_1(D)->_vptr.Print;
- D.2493_3 = *D.2492_2;
- OBJ_TYPE_REF(D.2493_3;this_1(D)->0) (this_1(D), c_4(D));
- return;
- }
- void Print::print(uint8, int) (struct Print * const this, uint8 b, int base)
- {
- uint64 D.2487;
- <bb 2>:
- D.2487_2 = (uint64) b_1(D);
- print (this_3(D), D.2487_2, base_4(D));
- return;
- }
- virtual void Print::write(const void*, uint32) (struct Print * const this, const void * buffer, uint32 size)
- {
- uint8 * ch;
- unsigned char D.2481;
- int (*__vtbl_ptr_type) (void) D.2480;
- int (*__vtbl_ptr_type) (void) * D.2479;
- bool retval.0;
- <bb 2>:
- ch_4 = (uint8 *) buffer_3(D);
- goto <bb 4>;
- <bb 3>:
- D.2479_9 = this_8(D)->_vptr.Print;
- D.2480_10 = *D.2479_9;
- D.2481_11 = *ch_2;
- ch_12 = ch_2 + 1;
- OBJ_TYPE_REF(D.2480_10;this_8(D)->0) (this_8(D), D.2481_11);
- <bb 4>:
- # size_1 = PHI <size_5(D)(2), size_7(3)>
- # ch_2 = PHI <ch_4(2), ch_12(3)>
- size_7 = size_1 + 4294967295;
- if (size_1 != 0)
- goto <bb 3>;
- else
- goto <bb 5>;
- <bb 5>:
- return;
- }
- virtual void Print::write(const char*) (struct Print * const this, const char * str)
- {
- const char D.2468;
- int (*__vtbl_ptr_type) (void) D.2467;
- int (*__vtbl_ptr_type) (void) * D.2466;
- bool D.2465;
- const char D.2464;
- <bb 2>:
- goto <bb 4>;
- <bb 3>:
- D.2466_6 = this_5(D)->_vptr.Print;
- D.2467_7 = *D.2466_6;
- D.2468_8 = *str_1;
- str_9 = str_1 + 1;
- OBJ_TYPE_REF(D.2467_7;this_5(D)->0) (this_5(D), D.2468_8);
- <bb 4>:
- # str_1 = PHI <str_2(D)(2), str_9(3)>
- D.2464_3 = *str_1;
- if (D.2464_3 != 0)
- goto <bb 3>;
- else
- goto <bb 5>;
- <bb 5>:
- return;
- }
- Reclaiming functions:callgraph:
- void __cxa_pure_virtual()/26(-1): availability:not_available needed
- called by:
- calls:
- void Print::printFloat(double, uint8)/25(25): availability:available 127 insns needed body externally_visible finalized inlinable
- called by: void Print::print(double, int)/12 (1.00 per call)
- calls: void Print::print(int, int)/6 (5.05 per call) (nested in 1 loops) void Print::print(const char*)/5 (0.14 per call) void Print::print(long long int, int)/10 (0.50 per call) void Print::print(char)/4 (0.14 per call) void Print::print(const char*)/5 (0.50 per call) void Print::print(char)/4 (0.20 per call)
- void Print::printNumber(long long unsigned int, uint8)/24(24): availability:available 64 insns 64 bytes stack usage needed body externally_visible finalized inlinable
- called by: void Print::print(long long int, int)/10 (0.79 per call) void Print::print(long long unsigned int, int)/11 (0.61 per call)
- calls: void Print::print(char)/4 (50.75 per call) (nested in 1 loops) void Print::print(char)/4 (0.21 per call)
- void Print::println(double, int)/23(23): availability:available 29 insns needed body externally_visible finalized inlinable
- called by:
- calls: void Print::println()/13 (1.00 per call) void Print::print(double, int)/12 (1.00 per call)
- void Print::println(long long unsigned int, int)/22(22): availability:available 29 insns needed body externally_visible finalized inlinable
- called by:
- calls: void Print::println()/13 (1.00 per call) void Print::print(long long unsigned int, int)/11 (1.00 per call)
- void Print::println(long long int, int)/21(21): availability:available 29 insns needed body externally_visible finalized inlinable
- called by:
- calls: void Print::println()/13 (1.00 per call) void Print::print(long long int, int)/10 (1.00 per call)
- void Print::println(long unsigned int, int)/20(20): availability:available 29 insns needed body externally_visible finalized inlinable
- called by:
- calls: void Print::println()/13 (1.00 per call) void Print::print(long long unsigned int, int)/11 (1.00 per call)
- void Print::println(long int, int)/19(19): availability:available 29 insns needed body externally_visible finalized inlinable
- called by:
- calls: void Print::println()/13 (1.00 per call) void Print::print(long long int, int)/10 (1.00 per call)
- void Print::println(unsigned int, int)/18(18): availability:available 28 insns needed body externally_visible finalized inlinable
- called by:
- calls: void Print::println()/13 (1.00 per call) void Print::print(unsigned int, int)/7 (1.00 per call)
- void Print::println(int, int)/17(17): availability:available 28 insns needed body externally_visible finalized inlinable
- called by:
- calls: void Print::println()/13 (1.00 per call) void Print::print(int, int)/6 (1.00 per call)
- void Print::println(uint8, int)/16(16): availability:available 28 insns needed body externally_visible finalized inlinable
- called by:
- calls: void Print::println()/13 (1.00 per call) void Print::print(uint8, int)/3 (1.00 per call)
- void Print::println(const char*)/15(15): availability:available 27 insns needed body externally_visible finalized inlinable
- called by:
- calls: void Print::println()/13 (1.00 per call) void Print::print(const char*)/5 (1.00 per call)
- void Print::println(char)/14(14): availability:available 27 insns needed body externally_visible finalized inlinable
- called by:
- calls: void Print::println()/13 (1.00 per call) void Print::print(char)/4 (1.00 per call)
- void Print::println()/13(13): availability:available 28 insns needed body externally_visible finalized inlinable
- called by: void Print::println(double, int)/23 (1.00 per call) void Print::println(int, int)/17 (1.00 per call) void Print::println(long int, int)/19 (1.00 per call) void Print::println(long long int, int)/21 (1.00 per call) void Print::println(uint8, int)/16 (1.00 per call) void Print::println(unsigned int, int)/18 (1.00 per call) void Print::println(long unsigned int, int)/20 (1.00 per call) void Print::println(long long unsigned int, int)/22 (1.00 per call) void Print::println(const char*)/15 (1.00 per call) void Print::println(char)/14 (1.00 per call)
- calls: void Print::print(char)/4 (1.00 per call) void Print::print(char)/4 (1.00 per call)
- void Print::print(double, int)/12(12): availability:available 16 insns needed body externally_visible finalized inlinable
- called by: void Print::println(double, int)/23 (1.00 per call)
- calls: void Print::printFloat(double, uint8)/25 (1.00 per call)
- void Print::print(long long unsigned int, int)/11(11): availability:available 36 insns needed body externally_visible finalized inlinable
- called by: void Print::print(uint8, int)/3 (1.00 per call) void Print::print(unsigned int, int)/7 (1.00 per call) void Print::print(long unsigned int, int)/9 (1.00 per call) void Print::println(long unsigned int, int)/20 (1.00 per call) void Print::println(long long unsigned int, int)/22 (1.00 per call)
- calls: void Print::printNumber(long long unsigned int, uint8)/24 (0.61 per call)
- void Print::print(long long int, int)/10(10): availability:available 53 insns needed body externally_visible finalized inlinable
- called by: void Print::printFloat(double, uint8)/25 (0.50 per call) void Print::print(int, int)/6 (1.00 per call) void Print::print(long int, int)/8 (1.00 per call) void Print::println(long int, int)/19 (1.00 per call) void Print::println(long long int, int)/21 (1.00 per call)
- calls: void Print::printNumber(long long unsigned int, uint8)/24 (0.79 per call) void Print::print(char)/4 (0.10 per call)
- void Print::print(long unsigned int, int)/9(9): availability:available 16 insns needed body externally_visible finalized inlinable
- called by:
- calls: void Print::print(long long unsigned int, int)/11 (1.00 per call)
- void Print::print(long int, int)/8(8): availability:available 16 insns needed body externally_visible finalized inlinable
- called by:
- calls: void Print::print(long long int, int)/10 (1.00 per call)
- void Print::print(unsigned int, int)/7(7): availability:available 16 insns needed body externally_visible finalized inlinable
- called by: void Print::println(unsigned int, int)/18 (1.00 per call)
- calls: void Print::print(long long unsigned int, int)/11 (1.00 per call)
- void Print::print(int, int)/6(6): availability:available 16 insns needed body externally_visible finalized inlinable
- called by: void Print::printFloat(double, uint8)/25 (5.05 per call) void Print::println(int, int)/17 (1.00 per call)
- calls: void Print::print(long long int, int)/10 (1.00 per call)
- void Print::print(const char*)/5(5): availability:available 19 insns needed body externally_visible finalized inlinable
- called by: void Print::printFloat(double, uint8)/25 (0.14 per call) void Print::printFloat(double, uint8)/25 (0.50 per call) void Print::println(const char*)/15 (1.00 per call)
- calls:
- void Print::print(char)/4(4): availability:available 18 insns needed body externally_visible finalized inlinable
- called by: void Print::printFloat(double, uint8)/25 (0.14 per call) void Print::printFloat(double, uint8)/25 (0.20 per call) void Print::print(long long int, int)/10 (0.10 per call) void Print::printNumber(long long unsigned int, uint8)/24 (50.75 per call) void Print::printNumber(long long unsigned int, uint8)/24 (0.21 per call) void Print::println(char)/14 (1.00 per call) void Print::println()/13 (1.00 per call) void Print::println()/13 (1.00 per call)
- calls:
- void Print::print(uint8, int)/3(3): availability:available 16 insns needed body externally_visible finalized inlinable
- called by: void Print::println(uint8, int)/16 (1.00 per call)
- calls: void Print::print(long long unsigned int, int)/11 (1.00 per call)
- virtual void Print::write(const void*, uint32)/2(2): availability:available 22 insns needed body externally_visible finalized inlinable
- called by:
- calls:
- virtual void Print::write(const char*)/1(1): availability:available 21 insns needed body externally_visible finalized inlinable
- called by:
- calls:
- ;; Function virtual void Print::write(const char*) (_ZN5Print5writeEPKc)
- virtual void Print::write(const char*) (struct Print * const this, const char * str)
- {
- const char D.2468;
- int (*__vtbl_ptr_type) (void) D.2467;
- int (*__vtbl_ptr_type) (void) * D.2466;
- bool D.2465;
- const char D.2464;
- # BLOCK 2 freq:900
- # PRED: ENTRY [100.0%] (fallthru,exec)
- goto <bb 4>;
- # SUCC: 4 [100.0%] (fallthru,exec)
- # BLOCK 3 freq:9100
- # PRED: 4 [91.0%] (true,exec)
- D.2466_6 = this_5(D)->_vptr.Print;
- D.2467_7 = *D.2466_6;
- D.2468_8 = *str_1;
- str_9 = str_1 + 1;
- OBJ_TYPE_REF(D.2467_7;this_5(D)->0) (this_5(D), D.2468_8);
- # SUCC: 4 [100.0%] (fallthru,dfs_back,exec)
- # BLOCK 4 freq:10000
- # PRED: 2 [100.0%] (fallthru,exec) 3 [100.0%] (fallthru,dfs_back,exec)
- # str_1 = PHI <str_2(D)(2), str_9(3)>
- D.2464_3 = *str_1;
- if (D.2464_3 != 0)
- goto <bb 3>;
- else
- goto <bb 5>;
- # SUCC: 3 [91.0%] (true,exec) 5 [9.0%] (false,exec)
- # BLOCK 5 freq:900
- # PRED: 4 [9.0%] (false,exec)
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function virtual void Print::write(const void*, uint32) (_ZN5Print5writeEPKvj)
- virtual void Print::write(const void*, uint32) (struct Print * const this, const void * buffer, uint32 size)
- {
- uint8 * ch;
- unsigned char D.2481;
- int (*__vtbl_ptr_type) (void) D.2480;
- int (*__vtbl_ptr_type) (void) * D.2479;
- bool retval.0;
- # BLOCK 2 freq:900
- # PRED: ENTRY [100.0%] (fallthru,exec)
- ch_4 = (uint8 *) buffer_3(D);
- goto <bb 4>;
- # SUCC: 4 [100.0%] (fallthru,exec)
- # BLOCK 3 freq:9100
- # PRED: 4 [91.0%] (true,exec)
- D.2479_9 = this_8(D)->_vptr.Print;
- D.2480_10 = *D.2479_9;
- D.2481_11 = *ch_2;
- ch_12 = ch_2 + 1;
- OBJ_TYPE_REF(D.2480_10;this_8(D)->0) (this_8(D), D.2481_11);
- # SUCC: 4 [100.0%] (fallthru,dfs_back,exec)
- # BLOCK 4 freq:10000
- # PRED: 2 [100.0%] (fallthru,exec) 3 [100.0%] (fallthru,dfs_back,exec)
- # size_1 = PHI <size_5(D)(2), size_7(3)>
- # ch_2 = PHI <ch_4(2), ch_12(3)>
- size_7 = size_1 + 4294967295;
- if (size_1 != 0)
- goto <bb 3>;
- else
- goto <bb 5>;
- # SUCC: 3 [91.0%] (true,exec) 5 [9.0%] (false,exec)
- # BLOCK 5 freq:900
- # PRED: 4 [9.0%] (false,exec)
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::print(char) (_ZN5Print5printEc)
- void Print::print(char) (struct Print * const this, char c)
- {
- int (*__vtbl_ptr_type) (void) D.2493;
- int (*__vtbl_ptr_type) (void) * D.2492;
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- D.2492_2 = this_1(D)->_vptr.Print;
- D.2493_3 = *D.2492_2;
- OBJ_TYPE_REF(D.2493_3;this_1(D)->0) (this_1(D), c_4(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::print(const char*) (_ZN5Print5printEPKc)
- void Print::print(const char*) (struct Print * const this, const char * str)
- {
- int (*__vtbl_ptr_type) (void) D.2500;
- int (*__vtbl_ptr_type) (void) * D.2499;
- int (*__vtbl_ptr_type) (void) * D.2498;
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- D.2498_2 = this_1(D)->_vptr.Print;
- D.2499_3 = D.2498_2 + 4;
- D.2500_4 = *D.2499_3;
- OBJ_TYPE_REF(D.2500_4;this_1(D)->1) (this_1(D), str_5(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::println() (_ZN5Print7printlnEv)
- void Print::println() (struct Print * const this)
- {
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- print (this_1(D), 13);
- print (this_1(D), 10);
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::println(char) (_ZN5Print7printlnEc)
- void Print::println(char) (struct Print * const this, char c)
- {
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- print (this_1(D), c_2(D));
- println (this_1(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::println(const char*) (_ZN5Print7printlnEPKc)
- void Print::println(const char*) (struct Print * const this, const char * c)
- {
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- print (this_1(D), c_2(D));
- println (this_1(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::printNumber(long long unsigned int, uint8) (_ZN5Print11printNumberEyh)
- void Print::printNumber(long long unsigned int, uint8) (struct Print * const this, long long unsigned int n, uint8 base)
- {
- long unsigned int i;
- unsigned char buf[64];
- unsigned char D.2635;
- long unsigned int D.2634;
- char iftmp.3;
- bool D.2631;
- unsigned char D.2627;
- long long unsigned int D.2626;
- long long unsigned int D.2625;
- bool D.2623;
- # BLOCK 2 freq:194
- # PRED: ENTRY [100.0%] (fallthru,exec)
- if (n_6(D) == 0)
- goto <bb 3>;
- else
- goto <bb 5>;
- # SUCC: 3 [20.7%] (true,exec) 5 [79.3%] (false,exec)
- # BLOCK 5 freq:154
- # PRED: 2 [79.3%] (false,exec)
- # n_5 = PHI <n_6(D)(2)>
- # i_17 = PHI <0(2)>
- goto <bb 13>;
- # SUCC: 13 [100.0%] (fallthru)
- # BLOCK 3 freq:40
- # PRED: 2 [20.7%] (true,exec)
- print (this_7(D), 48);
- goto <bb 11>;
- # SUCC: 11 [100.0%] (fallthru,exec)
- # BLOCK 4 freq:9846
- # PRED: 13 [98.5%] (true,exec)
- D.2625_11 = (long long unsigned int) base_10(D);
- D.2626_12 = n_1 % D.2625_11;
- D.2627_13 = (unsigned char) D.2626_12;
- buf[i_2] ={v} D.2627_13;
- i_14 = i_2 + 1;
- D.2625_15 = (long long unsigned int) base_10(D);
- n_16 = n_1 / D.2625_15;
- # SUCC: 13 [100.0%] (fallthru,dfs_back,exec)
- # BLOCK 13 freq:10000
- # PRED: 5 [100.0%] (fallthru) 4 [100.0%] (fallthru,dfs_back,exec)
- # n_1 = PHI <n_5(5), n_16(4)>
- # i_2 = PHI <i_17(5), i_14(4)>
- if (n_1 != 0)
- goto <bb 4>;
- else
- goto <bb 10>;
- # SUCC: 4 [98.5%] (true,exec) 10 [1.5%] (false,exec)
- # BLOCK 10 freq:154
- # PRED: 13 [1.5%] (false,exec)
- # i_9 = PHI <i_2(13)>
- goto <bb 12>;
- # SUCC: 12 [100.0%] (fallthru)
- # BLOCK 6 freq:9846
- # PRED: 12 [98.5%] (true,exec)
- D.2634_18 = i_3 + 4294967295;
- D.2635_19 = buf[D.2634_18];
- if (D.2635_19 <= 9)
- goto <bb 7>;
- else
- goto <bb 8>;
- # SUCC: 7 [50.0%] (true,exec) 8 [50.0%] (false,exec)
- # BLOCK 7 freq:4923
- # PRED: 6 [50.0%] (true,exec)
- D.2634_20 = i_3 + 4294967295;
- D.2635_21 = buf[D.2634_20];
- iftmp.3_22 = D.2635_21 + 48;
- goto <bb 9>;
- # SUCC: 9 [100.0%] (fallthru,exec)
- # BLOCK 8 freq:4923
- # PRED: 6 [50.0%] (false,exec)
- D.2634_23 = i_3 + 4294967295;
- D.2635_24 = buf[D.2634_23];
- iftmp.3_25 = D.2635_24 + 55;
- # SUCC: 9 [100.0%] (fallthru,exec)
- # BLOCK 9 freq:9846
- # PRED: 7 [100.0%] (fallthru,exec) 8 [100.0%] (fallthru,exec)
- # iftmp.3_4 = PHI <iftmp.3_22(7), iftmp.3_25(8)>
- print (this_7(D), iftmp.3_4);
- i_26 = i_3 + 4294967295;
- # SUCC: 12 [100.0%] (fallthru,dfs_back,exec)
- # BLOCK 12 freq:10000
- # PRED: 10 [100.0%] (fallthru) 9 [100.0%] (fallthru,dfs_back,exec)
- # i_3 = PHI <i_9(10), i_26(9)>
- if (i_3 != 0)
- goto <bb 6>;
- else
- goto <bb 11>;
- # SUCC: 6 [98.5%] (true,exec) 11 [1.5%] (false,exec)
- # BLOCK 11 freq:194
- # PRED: 3 [100.0%] (fallthru,exec) 12 [1.5%] (false,exec)
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::print(long long unsigned int, int) (_ZN5Print5printEyi)
- void Print::print(long long unsigned int, int) (struct Print * const this, long long unsigned int n, int base)
- {
- uint8 D.2551;
- uint8 D.2549;
- int (*__vtbl_ptr_type) (void) D.2548;
- int (*__vtbl_ptr_type) (void) * D.2547;
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- if (base_1(D) == 0)
- goto <bb 3>;
- else
- goto <bb 4>;
- # SUCC: 3 [39.0%] (true,exec) 4 [61.0%] (false,exec)
- # BLOCK 3 freq:3900
- # PRED: 2 [39.0%] (true,exec)
- D.2547_3 = this_2(D)->_vptr.Print;
- D.2548_4 = *D.2547_3;
- D.2549_6 = (uint8) n_5(D);
- OBJ_TYPE_REF(D.2548_4;this_2(D)->0) (this_2(D), D.2549_6);
- goto <bb 5>;
- # SUCC: 5 [100.0%] (fallthru,exec)
- # BLOCK 4 freq:6100
- # PRED: 2 [61.0%] (false,exec)
- D.2551_7 = (uint8) base_1(D);
- printNumber (this_2(D), n_5(D), D.2551_7);
- # SUCC: 5 [100.0%] (fallthru,exec)
- # BLOCK 5 freq:10000
- # PRED: 3 [100.0%] (fallthru,exec) 4 [100.0%] (fallthru,exec)
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::println(long long unsigned int, int) (_ZN5Print7printlnEyi)
- void Print::println(long long unsigned int, int) (struct Print * const this, long long unsigned int n, int base)
- {
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- print (this_1(D), n_2(D), base_3(D));
- println (this_1(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::println(long unsigned int, int) (_ZN5Print7printlnEmi)
- void Print::println(long unsigned int, int) (struct Print * const this, long unsigned int n, int base)
- {
- long long unsigned int D.2595;
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- D.2595_2 = (long long unsigned int) n_1(D);
- print (this_3(D), D.2595_2, base_4(D));
- println (this_3(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::print(long unsigned int, int) (_ZN5Print5printEmi)
- void Print::print(long unsigned int, int) (struct Print * const this, long unsigned int n, int base)
- {
- long long unsigned int D.2524;
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- D.2524_2 = (long long unsigned int) n_1(D);
- print (this_3(D), D.2524_2, base_4(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::print(unsigned int, int) (_ZN5Print5printEji)
- void Print::print(unsigned int, int) (struct Print * const this, unsigned int n, int base)
- {
- long long unsigned int D.2512;
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- D.2512_2 = (long long unsigned int) n_1(D);
- print (this_3(D), D.2512_2, base_4(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::println(unsigned int, int) (_ZN5Print7printlnEji)
- void Print::println(unsigned int, int) (struct Print * const this, unsigned int n, int base)
- {
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- print (this_1(D), n_2(D), base_3(D));
- println (this_1(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::print(uint8, int) (_ZN5Print5printEhi)
- void Print::print(uint8, int) (struct Print * const this, uint8 b, int base)
- {
- uint64 D.2487;
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- D.2487_2 = (uint64) b_1(D);
- print (this_3(D), D.2487_2, base_4(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::println(uint8, int) (_ZN5Print7printlnEhi)
- void Print::println(uint8, int) (struct Print * const this, uint8 b, int base)
- {
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- print (this_1(D), b_2(D), base_3(D));
- println (this_1(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::print(long long int, int) (_ZN5Print5printExi)
- void Print::print(long long int, int) (struct Print * const this, long long int n, int base)
- {
- uint8 D.2539;
- long long unsigned int n.1;
- uint8 D.2534;
- int (*__vtbl_ptr_type) (void) D.2533;
- int (*__vtbl_ptr_type) (void) * D.2532;
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- if (base_2(D) == 0)
- goto <bb 3>;
- else
- goto <bb 4>;
- # SUCC: 3 [20.7%] (true,exec) 4 [79.3%] (false,exec)
- # BLOCK 3 freq:2071
- # PRED: 2 [20.7%] (true,exec)
- D.2532_4 = this_3(D)->_vptr.Print;
- D.2533_5 = *D.2532_4;
- D.2534_7 = (uint8) n_6(D);
- OBJ_TYPE_REF(D.2533_5;this_3(D)->0) (this_3(D), D.2534_7);
- goto <bb 7>;
- # SUCC: 7 [100.0%] (fallthru,exec)
- # BLOCK 4 freq:7929
- # PRED: 2 [79.3%] (false,exec)
- if (n_6(D) < 0)
- goto <bb 5>;
- else
- goto <bb 6>;
- # SUCC: 5 [13.1%] (true,exec) 6 [86.9%] (false,exec)
- # BLOCK 5 freq:1040
- # PRED: 4 [13.1%] (true,exec)
- print (this_3(D), 45);
- n_8 = -n_6(D);
- # SUCC: 6 [100.0%] (fallthru,exec)
- # BLOCK 6 freq:7929
- # PRED: 4 [86.9%] (false,exec) 5 [100.0%] (fallthru,exec)
- # n_1 = PHI <n_6(D)(4), n_8(5)>
- n.1_9 = (long long unsigned int) n_1;
- D.2539_10 = (uint8) base_2(D);
- printNumber (this_3(D), n.1_9, D.2539_10);
- # SUCC: 7 [100.0%] (fallthru,exec)
- # BLOCK 7 freq:10000
- # PRED: 3 [100.0%] (fallthru,exec) 6 [100.0%] (fallthru,exec)
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::println(long long int, int) (_ZN5Print7printlnExi)
- void Print::println(long long int, int) (struct Print * const this, long long int n, int base)
- {
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- print (this_1(D), n_2(D), base_3(D));
- println (this_1(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::println(long int, int) (_ZN5Print7printlnEli)
- void Print::println(long int, int) (struct Print * const this, long int n, int base)
- {
- long long int D.2589;
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- D.2589_2 = (long long int) n_1(D);
- print (this_3(D), D.2589_2, base_4(D));
- println (this_3(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::print(long int, int) (_ZN5Print5printEli)
- void Print::print(long int, int) (struct Print * const this, long int n, int base)
- {
- long long int D.2518;
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- D.2518_2 = (long long int) n_1(D);
- print (this_3(D), D.2518_2, base_4(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::print(int, int) (_ZN5Print5printEii)
- void Print::print(int, int) (struct Print * const this, int n, int base)
- {
- long long int D.2506;
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- D.2506_2 = (long long int) n_1(D);
- print (this_3(D), D.2506_2, base_4(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::println(int, int) (_ZN5Print7printlnEii)
- void Print::println(int, int) (struct Print * const this, int n, int base)
- {
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- print (this_1(D), n_2(D), base_3(D));
- println (this_1(D));
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::printFloat(double, uint8) (_ZN5Print10printFloatEdh)
- void Print::printFloat(double, uint8) (struct Print * const this, double number, uint8 digits)
- {
- int to_print;
- uint8 i;
- double remainder;
- long long int int_part;
- double rounding;
- double D.2676;
- bool retval.5;
- double D.2668;
- bool D.2666;
- bool D.2656;
- bool D.2650;
- bool iftmp.4;
- # BLOCK 2 freq:1800
- # PRED: ENTRY [100.0%] (fallthru,exec)
- D.2650_8 = number_7(D) > 0.0;
- if (D.2650_8 != 0)
- goto <bb 3>;
- else
- goto <bb 4>;
- # SUCC: 3 [50.0%] (true,exec) 4 [50.0%] (false,exec)
- # BLOCK 3 freq:900
- # PRED: 2 [50.0%] (true,exec)
- iftmp.4_9 = number_7(D) >= 9.1e+18;
- goto <bb 5>;
- # SUCC: 5 [100.0%] (fallthru,exec)
- # BLOCK 4 freq:900
- # PRED: 2 [50.0%] (false,exec)
- iftmp.4_10 = number_7(D) <= -9.1e+18;
- # SUCC: 5 [100.0%] (fallthru,exec)
- # BLOCK 5 freq:1800
- # PRED: 3 [100.0%] (fallthru,exec) 4 [100.0%] (fallthru,exec)
- # iftmp.4_6 = PHI <iftmp.4_9(3), iftmp.4_10(4)>
- if (iftmp.4_6 != 0)
- goto <bb 6>;
- else
- goto <bb 9>;
- # SUCC: 6 [50.0%] (true,exec) 9 [50.0%] (false,exec)
- # BLOCK 6 freq:900
- # PRED: 5 [50.0%] (true,exec)
- D.2656_11 = number_7(D) < 0.0;
- if (D.2656_11 != 0)
- goto <bb 7>;
- else
- goto <bb 8>;
- # SUCC: 7 [39.0%] (true,exec) 8 [61.0%] (false,exec)
- # BLOCK 7 freq:351
- # PRED: 6 [39.0%] (true,exec)
- print (this_12(D), 45);
- # SUCC: 8 [100.0%] (fallthru,exec)
- # BLOCK 8 freq:900
- # PRED: 6 [61.0%] (false,exec) 7 [100.0%] (fallthru,exec)
- print (this_12(D), &"<large double>"[0]);
- goto <bb 18>;
- # SUCC: 18 [100.0%] (fallthru,exec)
- # BLOCK 9 freq:900
- # PRED: 5 [50.0%] (false,exec)
- D.2656_13 = number_7(D) < 0.0;
- if (D.2656_13 != 0)
- goto <bb 10>;
- else
- goto <bb 11>;
- # SUCC: 10 [29.0%] (true,exec) 11 [71.0%] (false,exec)
- # BLOCK 10 freq:261
- # PRED: 9 [29.0%] (true,exec)
- print (this_12(D), 45);
- number_14 = -number_7(D);
- # SUCC: 11 [100.0%] (fallthru,exec)
- # BLOCK 11 freq:900
- # PRED: 9 [71.0%] (false,exec) 10 [100.0%] (fallthru,exec)
- # number_1 = PHI <number_7(D)(9), number_14(10)>
- goto <bb 13>;
- # SUCC: 13 [100.0%] (fallthru,exec)
- # BLOCK 12 freq:9100
- # PRED: 13 [91.0%] (true,exec)
- rounding_19 = rounding_3 / 1.0e+1;
- i_20 = i_4 + 1;
- # SUCC: 13 [100.0%] (fallthru,dfs_back,exec)
- # BLOCK 13 freq:10000
- # PRED: 11 [100.0%] (fallthru,exec) 12 [100.0%] (fallthru,dfs_back,exec)
- # rounding_3 = PHI <5.0e-1(11), rounding_19(12)>
- # i_4 = PHI <0(11), i_20(12)>
- if (i_4 < digits_17(D))
- goto <bb 12>;
- else
- goto <bb 14>;
- # SUCC: 12 [91.0%] (true,exec) 14 [9.0%] (false,exec)
- # BLOCK 14 freq:900
- # PRED: 13 [9.0%] (false,exec)
- number_21 = number_1 + rounding_3;
- int_part_22 = (long long int) number_21;
- D.2668_23 = (double) int_part_22;
- remainder_24 = number_21 - D.2668_23;
- print (this_12(D), int_part_22, 10);
- if (digits_17(D) != 0)
- goto <bb 15>;
- else
- goto <bb 17>;
- # SUCC: 15 [29.0%] (true,exec) 17 [71.0%] (false,exec)
- # BLOCK 15 freq:261
- # PRED: 14 [29.0%] (true,exec)
- print (this_12(D), &"."[0]);
- # SUCC: 17 [100.0%] (fallthru,exec)
- # BLOCK 17 freq:900
- # PRED: 15 [100.0%] (fallthru,exec) 14 [71.0%] (false,exec)
- # digits_15 = PHI <digits_17(D)(15), digits_17(D)(14)>
- # remainder_16 = PHI <remainder_24(15), remainder_24(14)>
- goto <bb 19>;
- # SUCC: 19 [100.0%] (fallthru)
- # BLOCK 16 freq:9100
- # PRED: 19 [91.0%] (true,exec)
- remainder_27 = remainder_5 * 1.0e+1;
- to_print_28 = (int) remainder_27;
- print (this_12(D), to_print_28, 10);
- D.2676_29 = (double) to_print_28;
- remainder_30 = remainder_27 - D.2676_29;
- # SUCC: 19 [100.0%] (fallthru,dfs_back,exec)
- # BLOCK 19 freq:10000
- # PRED: 17 [100.0%] (fallthru) 16 [100.0%] (fallthru,dfs_back,exec)
- # digits_2 = PHI <digits_15(17), digits_26(16)>
- # remainder_5 = PHI <remainder_16(17), remainder_30(16)>
- digits_26 = digits_2 + 255;
- if (digits_2 != 0)
- goto <bb 16>;
- else
- goto <bb 18>;
- # SUCC: 16 [91.0%] (true,exec) 18 [9.0%] (false,exec)
- # BLOCK 18 freq:1800
- # PRED: 8 [100.0%] (fallthru,exec) 19 [9.0%] (false,exec)
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::print(double, int) (_ZN5Print5printEdi)
- void Print::print(double, int) (struct Print * const this, double n, int digits)
- {
- uint8 D.2557;
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- D.2557_2 = (uint8) digits_1(D);
- printFloat (this_3(D), n_4(D), D.2557_2);
- return;
- # SUCC: EXIT [100.0%]
- }
- ;; Function void Print::println(double, int) (_ZN5Print7printlnEdi)
- void Print::println(double, int) (struct Print * const this, double n, int digits)
- {
- # BLOCK 2 freq:10000
- # PRED: ENTRY [100.0%] (fallthru,exec)
- print (this_1(D), n_2(D), digits_3(D));
- println (this_1(D));
- return;
- # SUCC: EXIT [100.0%]
- }
Add Comment
Please, Sign In to add comment