nvic.c.075i.fnsummary 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. Analyzing function: NVIC_SetPriority/3
  2. ;; 1 loops found
  3. ;;
  4. ;; Loop 0
  5. ;; header 0, latch 1
  6. ;; depth 0, outer -1
  7. ;; nodes: 0 1 2
  8. ;; 2 succs { 1 }
  9. Analyzing function body size: NVIC_SetPriority
  10. IPA function summary for NVIC_SetPriority/3 inlinable
  11. global time: 4.000000
  12. self size: 5
  13. global size: 0
  14. min size: 0
  15. self stack: 0
  16. global stack: 0
  17. size:1.000000, time:1.000000
  18. size:3.000000, time:2.000000, executed if:(not inlined)
  19. size:1.000000, time:1.000000, nonconst if:(op1 changed)
  20. array index:(op0 changed)
  21. calls:
  22. Analyzing function: NVIC_DisableIRQ/2
  23. ;; 1 loops found
  24. ;;
  25. ;; Loop 0
  26. ;; header 0, latch 1
  27. ;; depth 0, outer -1
  28. ;; nodes: 0 1 2
  29. ;; 2 succs { 1 }
  30. Analyzing function body size: NVIC_DisableIRQ
  31. IPA function summary for NVIC_DisableIRQ/2 inlinable
  32. global time: 6.000000
  33. self size: 7
  34. global size: 0
  35. min size: 0
  36. self stack: 0
  37. global stack: 0
  38. size:1.000000, time:1.000000
  39. size:3.000000, time:2.000000, executed if:(not inlined)
  40. size:3.000000, time:3.000000, nonconst if:(op0 changed)
  41. array index:(op0 changed)
  42. calls:
  43. Analyzing function: NVIC_EnableIRQ/1
  44. ;; 1 loops found
  45. ;;
  46. ;; Loop 0
  47. ;; header 0, latch 1
  48. ;; depth 0, outer -1
  49. ;; nodes: 0 1 2
  50. ;; 2 succs { 1 }
  51. Analyzing function body size: NVIC_EnableIRQ
  52. IPA function summary for NVIC_EnableIRQ/1 inlinable
  53. global time: 6.000000
  54. self size: 7
  55. global size: 0
  56. min size: 0
  57. self stack: 0
  58. global stack: 0
  59. size:1.000000, time:1.000000
  60. size:3.000000, time:2.000000, executed if:(not inlined)
  61. size:3.000000, time:3.000000, nonconst if:(op0 changed)
  62. array index:(op0 changed)
  63. calls:
  64. Analyzing function: NVIC_SetPriorityGrouping/0
  65. ;; 1 loops found
  66. ;;
  67. ;; Loop 0
  68. ;; header 0, latch 1
  69. ;; depth 0, outer -1
  70. ;; nodes: 0 1 2
  71. ;; 2 succs { 1 }
  72. Analyzing function body size: NVIC_SetPriorityGrouping
  73. IPA function summary for NVIC_SetPriorityGrouping/0 inlinable
  74. global time: 6.000000
  75. self size: 7
  76. global size: 0
  77. min size: 0
  78. self stack: 0
  79. global stack: 0
  80. size:4.000000, time:4.000000
  81. size:3.000000, time:2.000000, executed if:(not inlined)
  82. calls:
  83. Symbol table:
  84. NVIC_SetPriority/3 (NVIC_SetPriority) @060f7620
  85. Type: function definition analyzed
  86. Visibility: externally_visible public
  87. References:
  88. Referring:
  89. Availability: available
  90. Function flags: count:1073741824 (estimated locally) body optimize_size
  91. Called by:
  92. Calls:
  93. NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @060f7d20
  94. Type: function definition analyzed
  95. Visibility: externally_visible public
  96. References:
  97. Referring:
  98. Availability: available
  99. Function flags: count:1073741824 (estimated locally) body optimize_size
  100. Called by:
  101. Calls:
  102. NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @060f7a80
  103. Type: function definition analyzed
  104. Visibility: externally_visible public
  105. References:
  106. Referring:
  107. Availability: available
  108. Function flags: count:1073741824 (estimated locally) body optimize_size
  109. Called by:
  110. Calls:
  111. NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @060f77e0
  112. Type: function definition analyzed
  113. Visibility: externally_visible public
  114. References:
  115. Referring:
  116. Availability: available
  117. Function flags: count:1073741824 (estimated locally) body optimize_size
  118. Called by:
  119. Calls:
  120. NVIC_SetPriority (uint8 IRQn, uint8 priority)
  121. {
  122. long unsigned int _1;
  123. long unsigned int _2;
  124. long unsigned int _3;
  125. unsigned char _4;
  126. <bb 2> [local count: 1073741824]:
  127. # DEBUG BEGIN_STMT
  128. # DEBUG shift => 4
  129. # DEBUG BEGIN_STMT
  130. _1 = (long unsigned int) priority_5(D);
  131. _2 = _1 << 4;
  132. _3 = (long unsigned int) IRQn_6(D);
  133. _4 = (unsigned char) _2;
  134. MEM[(struct S32_NVIC_Type *)3758153984B].IP[_3] ={v} _4;
  135. return;
  136. }
  137. NVIC_DisableIRQ (uint8 IRQn)
  138. {
  139. long unsigned int _1;
  140. unsigned char _2;
  141. unsigned char _3;
  142. long unsigned int _4;
  143. long unsigned int _5;
  144. <bb 2> [local count: 1073741824]:
  145. # DEBUG BEGIN_STMT
  146. _2 = IRQn_6(D) & 31;
  147. _1 = (long unsigned int) _2;
  148. _3 = IRQn_6(D) >> 5;
  149. _4 = (long unsigned int) _3;
  150. _5 = 1 << _1;
  151. MEM[(struct S32_NVIC_Type *)3758153984B].ICER[_4] ={v} _5;
  152. return;
  153. }
  154. NVIC_EnableIRQ (uint8 IRQn)
  155. {
  156. long unsigned int _1;
  157. unsigned char _2;
  158. unsigned char _3;
  159. long unsigned int _4;
  160. long unsigned int _5;
  161. <bb 2> [local count: 1073741824]:
  162. # DEBUG BEGIN_STMT
  163. _2 = IRQn_6(D) & 31;
  164. _1 = (long unsigned int) _2;
  165. _3 = IRQn_6(D) >> 5;
  166. _4 = (long unsigned int) _3;
  167. _5 = 1 << _1;
  168. MEM[(struct S32_NVIC_Type *)3758153984B].ISER[_4] ={v} _5;
  169. return;
  170. }
  171. NVIC_SetPriorityGrouping (uint32 PriorityGroup)
  172. {
  173. long unsigned int _1;
  174. long unsigned int _2;
  175. long unsigned int _3;
  176. <bb 2> [local count: 1073741824]:
  177. # DEBUG BEGIN_STMT
  178. _1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
  179. _2 = _1 & 4294965503;
  180. _3 = _2 | PriorityGroup_5(D);
  181. MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
  182. return;
  183. }