nvic.c.076i.inline 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. IPA function summary for NVIC_SetPriority/3 inlinable
  2. global time: 4.000000
  3. self size: 5
  4. global size: 5
  5. min size: 0
  6. self stack: 0
  7. global stack: 0
  8. size:1.000000, time:1.000000
  9. size:3.000000, time:2.000000, executed if:(not inlined)
  10. size:1.000000, time:1.000000, nonconst if:(op1 changed)
  11. array index:(op0 changed)
  12. calls:
  13. IPA function summary for NVIC_DisableIRQ/2 inlinable
  14. global time: 6.000000
  15. self size: 7
  16. global size: 7
  17. min size: 0
  18. self stack: 0
  19. global stack: 0
  20. size:1.000000, time:1.000000
  21. size:3.000000, time:2.000000, executed if:(not inlined)
  22. size:3.000000, time:3.000000, nonconst if:(op0 changed)
  23. array index:(op0 changed)
  24. calls:
  25. IPA function summary for NVIC_EnableIRQ/1 inlinable
  26. global time: 6.000000
  27. self size: 7
  28. global size: 7
  29. min size: 0
  30. self stack: 0
  31. global stack: 0
  32. size:1.000000, time:1.000000
  33. size:3.000000, time:2.000000, executed if:(not inlined)
  34. size:3.000000, time:3.000000, nonconst if:(op0 changed)
  35. array index:(op0 changed)
  36. calls:
  37. IPA function summary for NVIC_SetPriorityGrouping/0 inlinable
  38. global time: 6.000000
  39. self size: 7
  40. global size: 7
  41. min size: 0
  42. self stack: 0
  43. global stack: 0
  44. size:4.000000, time:4.000000
  45. size:3.000000, time:2.000000, executed if:(not inlined)
  46. calls:
  47. Flattening functions:
  48. Overall time estimate: 22.000000 weighted by profile: 0.000000
  49. Deciding on inlining of small functions. Starting with size 0.
  50. Enqueueing calls in NVIC_SetPriority/3.
  51. Enqueueing calls in NVIC_DisableIRQ/2.
  52. Enqueueing calls in NVIC_EnableIRQ/1.
  53. Enqueueing calls in NVIC_SetPriorityGrouping/0.
  54. Reclaiming functions:
  55. Reclaiming variables:
  56. Clearing address taken flags:
  57. Deciding on functions to be inlined into all callers and removing useless speculations:
  58. Overall time estimate: 22.000000 weighted by profile: 0.000000
  59. Why inlining failed?
  60. IPA function summary for NVIC_SetPriority/3 inlinable
  61. global time: 4.000000
  62. self size: 5
  63. global size: 5
  64. min size: 0
  65. self stack: 0
  66. global stack: 0
  67. size:1.000000, time:1.000000
  68. size:3.000000, time:2.000000, executed if:(not inlined)
  69. size:1.000000, time:1.000000, nonconst if:(op1 changed)
  70. array index:(op0 changed)
  71. calls:
  72. IPA function summary for NVIC_DisableIRQ/2 inlinable
  73. global time: 6.000000
  74. self size: 7
  75. global size: 7
  76. min size: 0
  77. self stack: 0
  78. global stack: 0
  79. size:1.000000, time:1.000000
  80. size:3.000000, time:2.000000, executed if:(not inlined)
  81. size:3.000000, time:3.000000, nonconst if:(op0 changed)
  82. array index:(op0 changed)
  83. calls:
  84. IPA function summary for NVIC_EnableIRQ/1 inlinable
  85. global time: 6.000000
  86. self size: 7
  87. global size: 7
  88. min size: 0
  89. self stack: 0
  90. global stack: 0
  91. size:1.000000, time:1.000000
  92. size:3.000000, time:2.000000, executed if:(not inlined)
  93. size:3.000000, time:3.000000, nonconst if:(op0 changed)
  94. array index:(op0 changed)
  95. calls:
  96. IPA function summary for NVIC_SetPriorityGrouping/0 inlinable
  97. global time: 6.000000
  98. self size: 7
  99. global size: 7
  100. min size: 0
  101. self stack: 0
  102. global stack: 0
  103. size:4.000000, time:4.000000
  104. size:3.000000, time:2.000000, executed if:(not inlined)
  105. calls:
  106. Symbol table:
  107. NVIC_SetPriority/3 (NVIC_SetPriority) @060f7620
  108. Type: function definition analyzed
  109. Visibility: externally_visible public
  110. References:
  111. Referring:
  112. Availability: available
  113. Function flags: count:1073741824 (estimated locally) body optimize_size
  114. Called by:
  115. Calls:
  116. NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @060f7d20
  117. Type: function definition analyzed
  118. Visibility: externally_visible public
  119. References:
  120. Referring:
  121. Availability: available
  122. Function flags: count:1073741824 (estimated locally) body optimize_size
  123. Called by:
  124. Calls:
  125. NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @060f7a80
  126. Type: function definition analyzed
  127. Visibility: externally_visible public
  128. References:
  129. Referring:
  130. Availability: available
  131. Function flags: count:1073741824 (estimated locally) body optimize_size
  132. Called by:
  133. Calls:
  134. NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @060f77e0
  135. Type: function definition analyzed
  136. Visibility: externally_visible public
  137. References:
  138. Referring:
  139. Availability: available
  140. Function flags: count:1073741824 (estimated locally) body optimize_size
  141. Called by:
  142. Calls:
  143. ;; Function NVIC_SetPriorityGrouping (NVIC_SetPriorityGrouping, funcdef_no=0, decl_uid=6181, cgraph_uid=1, symbol_order=0)
  144. NVIC_SetPriorityGrouping (uint32 PriorityGroup)
  145. {
  146. long unsigned int _1;
  147. long unsigned int _2;
  148. long unsigned int _3;
  149. <bb 2> [local count: 1073741824]:
  150. # DEBUG BEGIN_STMT
  151. _1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
  152. _2 = _1 & 4294965503;
  153. _3 = _2 | PriorityGroup_5(D);
  154. MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
  155. return;
  156. }
  157. ;; Function NVIC_EnableIRQ (NVIC_EnableIRQ, funcdef_no=1, decl_uid=6183, cgraph_uid=2, symbol_order=1)
  158. NVIC_EnableIRQ (uint8 IRQn)
  159. {
  160. long unsigned int _1;
  161. unsigned char _2;
  162. unsigned char _3;
  163. long unsigned int _4;
  164. long unsigned int _5;
  165. <bb 2> [local count: 1073741824]:
  166. # DEBUG BEGIN_STMT
  167. _2 = IRQn_6(D) & 31;
  168. _1 = (long unsigned int) _2;
  169. _3 = IRQn_6(D) >> 5;
  170. _4 = (long unsigned int) _3;
  171. _5 = 1 << _1;
  172. MEM[(struct S32_NVIC_Type *)3758153984B].ISER[_4] ={v} _5;
  173. return;
  174. }
  175. ;; Function NVIC_DisableIRQ (NVIC_DisableIRQ, funcdef_no=2, decl_uid=6185, cgraph_uid=3, symbol_order=2)
  176. NVIC_DisableIRQ (uint8 IRQn)
  177. {
  178. long unsigned int _1;
  179. unsigned char _2;
  180. unsigned char _3;
  181. long unsigned int _4;
  182. long unsigned int _5;
  183. <bb 2> [local count: 1073741824]:
  184. # DEBUG BEGIN_STMT
  185. _2 = IRQn_6(D) & 31;
  186. _1 = (long unsigned int) _2;
  187. _3 = IRQn_6(D) >> 5;
  188. _4 = (long unsigned int) _3;
  189. _5 = 1 << _1;
  190. MEM[(struct S32_NVIC_Type *)3758153984B].ICER[_4] ={v} _5;
  191. return;
  192. }
  193. ;; Function NVIC_SetPriority (NVIC_SetPriority, funcdef_no=3, decl_uid=6188, cgraph_uid=4, symbol_order=3)
  194. NVIC_SetPriority (uint8 IRQn, uint8 priority)
  195. {
  196. long unsigned int _1;
  197. long unsigned int _2;
  198. long unsigned int _3;
  199. unsigned char _4;
  200. <bb 2> [local count: 1073741824]:
  201. # DEBUG BEGIN_STMT
  202. # DEBUG shift => 4
  203. # DEBUG BEGIN_STMT
  204. _1 = (long unsigned int) priority_5(D);
  205. _2 = _1 << 4;
  206. _3 = (long unsigned int) IRQn_6(D);
  207. _4 = (unsigned char) _2;
  208. MEM[(struct S32_NVIC_Type *)3758153984B].IP[_3] ={v} _4;
  209. return;
  210. }