Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2012
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Console output redirected to file:/home/rkennke/out.txt]
  2. Shark optimization level set to: None
  3. 322 1 b java.lang.Integer::rotateLeft (9 bytes)
  4. 330 2 b java.lang.String::indexOf (70 bytes)
  5. 349 3 % b java.lang.String::lastIndexOf @ 21 (52 bytes)
  6. 362 4 b java.lang.String::lastIndexOf (52 bytes)
  7. 378 5 b java.lang.String::charAt (29 bytes)
  8. 389 6 b java.lang.String::hashCode (55 bytes)
  9. 408 7 % b sun.nio.cs.US_ASCII$Encoder::encode @ 14 (107 bytes)
  10. 443 8 b java.io.UnixFileSystem::normalize (75 bytes)
  11. 462 9 b sun.nio.cs.US_ASCII$Encoder::encode (107 bytes)
  12. 495 10 b sun.misc.Hashing::murmur3_32 (188 bytes)
  13. 537 11 b java.lang.Object::<init> (1 bytes)
  14. 551 12 n java.lang.Float::floatToRawIntBits (native) (static)
  15. 552 13 % b Test6796786::main @ 4 (53 bytes)
  16.  
  17. define internal i32 @"Test6796786::main"([120 x i8]* %method, i8* %osr_buf, i64 %base_pc, [1552 x i8]* %thread) {
  18. %1 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  19. %zero_stack = bitcast i8* %1 to [32 x i8]*
  20. %2 = getelementptr inbounds [32 x i8]* %zero_stack, i32 0, i32 16
  21. %stack_pointer_addr = bitcast i8* %2 to i64*
  22. %3 = load i64* %stack_pointer_addr
  23. %4 = sub i64 %3, 96
  24. %5 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  25. %zero_stack1 = bitcast i8* %5 to [32 x i8]*
  26. %6 = getelementptr inbounds [32 x i8]* %zero_stack1, i32 0, i32 0
  27. %7 = bitcast i8* %6 to i64*
  28. %stack_base = load i64* %7
  29. %8 = icmp ult i64 %4, %stack_base
  30. br i1 %8, label %stack_overflow, label %zero_stack_ok
  31.  
  32. zero_stack_ok: ; preds = %0
  33. %9 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 328
  34. %10 = bitcast i8* %9 to i64*
  35. %abi_size = load i64* %10
  36. %11 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 320
  37. %12 = bitcast i8* %11 to i64*
  38. %abi_base = load i64* %12
  39. %13 = sub i64 %abi_base, %abi_size
  40. %14 = call i8* @llvm.frameaddress(i32 0)
  41. %abi_sp = ptrtoint i8* %14 to i64
  42. %15 = sub i64 %abi_sp, %13
  43. %16 = icmp ult i64 %15, 36864
  44. br i1 %16, label %stack_overflow, label %abi_stack_ok
  45.  
  46. stack_overflow: ; preds = %zero_stack_ok, %0
  47. call void inttoptr (i64 140737328288884 to void ([1552 x i8]*)*)([1552 x i8]* %thread)
  48. ret i32 0
  49.  
  50. abi_stack_ok: ; preds = %zero_stack_ok
  51. %17 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  52. %zero_stack2 = bitcast i8* %17 to [32 x i8]*
  53. %18 = getelementptr inbounds [32 x i8]* %zero_stack2, i32 0, i32 16
  54. %stack_pointer_addr3 = bitcast i8* %18 to i64*
  55. store i64 %4, i64* %stack_pointer_addr3
  56. %frame = inttoptr i64 %4 to [13 x i64]*
  57. %19 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 5
  58. %20 = bitcast i64* %19 to [120 x i8]**
  59. store [120 x i8]* %method, [120 x i8]** %20
  60. %21 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 6
  61. store i64 %4, i64* %21
  62. %22 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 8
  63. store i64 3, i64* %22
  64. %23 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 9
  65. %24 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1512
  66. %frame_pointer_addr = bitcast i8* %24 to i64*
  67. %25 = load i64* %frame_pointer_addr
  68. store i64 %25, i64* %23
  69. %26 = ptrtoint i64* %23 to i64
  70. %27 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1512
  71. %frame_pointer_addr4 = bitcast i8* %27 to i64*
  72. store i64 %26, i64* %frame_pointer_addr4
  73. %28 = bitcast i8* %osr_buf to [3 x i64]*
  74. %29 = getelementptr inbounds [3 x i64]* %28, i32 0, i32 2
  75. %30 = bitcast i64* %29 to [16 x i8]**
  76. %31 = load [16 x i8]** %30
  77. %32 = getelementptr inbounds [3 x i64]* %28, i32 0, i32 1
  78. %33 = bitcast i64* %32 to i32*
  79. %34 = load i32* %33
  80. %35 = getelementptr inbounds [3 x i64]* %28, i32 0, i32 0
  81. %36 = bitcast i64* %35 to i32*
  82. %37 = load i32* %36
  83. call void inttoptr (i64 140737327994766 to void (i8*)*)(i8* %osr_buf)
  84. br label %bci_4
  85.  
  86. bci_4: ; preds = %safepointed64, %abi_stack_ok
  87. %method5 = phi [120 x i8]* [ %method, %abi_stack_ok ], [ %method87, %safepointed64 ]
  88. %local_0_ = phi [16 x i8]* [ %31, %abi_stack_ok ], [ %local_0_88, %safepointed64 ]
  89. %local_1_ = phi i32 [ %34, %abi_stack_ok ], [ %local_1_89, %safepointed64 ]
  90. %local_2_ = phi i32 [ %37, %abi_stack_ok ], [ %local_2_90, %safepointed64 ]
  91. %38 = icmp sge i32 %local_2_, 100000
  92. br i1 %38, label %bci_38, label %bci_10
  93.  
  94. bci_38: ; preds = %bci_4
  95. %39 = icmp eq i32 %local_1_, 100000
  96. br i1 %39, label %bci_52, label %bci_44
  97.  
  98. bci_52: ; preds = %bci_38
  99. %state = load i32* inttoptr (i64 140737351685632 to i32*)
  100. %40 = icmp eq i32 %state, 1
  101. br i1 %40, label %do_safepoint, label %safepointed
  102.  
  103. do_safepoint: ; preds = %bci_52
  104. %41 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 4
  105. %42 = ptrtoint i64* %41 to i64
  106. %43 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  107. %zero_stack6 = bitcast i8* %43 to [32 x i8]*
  108. %44 = getelementptr inbounds [32 x i8]* %zero_stack6, i32 0, i32 16
  109. %stack_pointer_addr7 = bitcast i8* %44 to i64*
  110. store i64 %42, i64* %stack_pointer_addr7
  111. %45 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 5
  112. %46 = bitcast i64* %45 to [120 x i8]**
  113. store [120 x i8]* %method5, [120 x i8]** %46
  114. %47 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 7
  115. %48 = add i64 %base_pc, 32
  116. store i64 %48, i64* %47
  117. %49 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 12
  118. %50 = bitcast i64* %49 to [16 x i8]**
  119. store [16 x i8]* %local_0_, [16 x i8]** %50
  120. %51 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 504
  121. %last_Java_sp_addr = bitcast i8* %51 to i64*
  122. %52 = load i64* %last_Java_sp_addr
  123. %53 = icmp eq i64 %52, 0
  124. br i1 %53, label %assert_ok, label %assert_failed
  125.  
  126. safepointed: ; preds = %no_exception, %bci_52
  127. %method19 = phi [120 x i8]* [ %72, %no_exception ], [ %method5, %bci_52 ]
  128. %local_0_20 = phi [16 x i8]* [ %75, %no_exception ], [ %local_0_, %bci_52 ]
  129. %local_1_21 = phi i32 [ %local_1_, %no_exception ], [ %local_1_, %bci_52 ]
  130. %local_2_22 = phi i32 [ %local_2_, %no_exception ], [ %local_2_, %bci_52 ]
  131. %54 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1512
  132. %frame_pointer_addr23 = bitcast i8* %54 to i64*
  133. %55 = load i64* %frame_pointer_addr23
  134. %56 = add i64 %55, 32
  135. %57 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  136. %zero_stack24 = bitcast i8* %57 to [32 x i8]*
  137. %58 = getelementptr inbounds [32 x i8]* %zero_stack24, i32 0, i32 16
  138. %stack_pointer_addr25 = bitcast i8* %58 to i64*
  139. store i64 %56, i64* %stack_pointer_addr25
  140. %59 = inttoptr i64 %55 to i64*
  141. %60 = load i64* %59
  142. %61 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1512
  143. %frame_pointer_addr26 = bitcast i8* %61 to i64*
  144. store i64 %60, i64* %frame_pointer_addr26
  145. ret i32 0
  146.  
  147. assert_failed: ; preds = %do_safepoint
  148. call void inttoptr (i64 140737324511554 to void (i8*, i32)*)(i8* inttoptr (i64 140737340570920 to i8*), i32 261)
  149. unreachable
  150.  
  151. assert_ok: ; preds = %do_safepoint
  152. %62 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 520
  153. %last_Java_fp_addr = bitcast i8* %62 to i64*
  154. %63 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1512
  155. %frame_pointer_addr8 = bitcast i8* %63 to i64*
  156. %64 = load i64* %frame_pointer_addr8
  157. store i64 %64, i64* %last_Java_fp_addr
  158. %65 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 504
  159. %last_Java_sp_addr9 = bitcast i8* %65 to i64*
  160. %66 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  161. %zero_stack10 = bitcast i8* %66 to [32 x i8]*
  162. %67 = getelementptr inbounds [32 x i8]* %zero_stack10, i32 0, i32 16
  163. %stack_pointer_addr11 = bitcast i8* %67 to i64*
  164. %68 = load i64* %stack_pointer_addr11
  165. store i64 %68, i64* %last_Java_sp_addr9
  166. call void inttoptr (i64 140737327929798 to void ([1552 x i8]*)*)([1552 x i8]* %thread)
  167. %69 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 504
  168. %last_Java_sp_addr12 = bitcast i8* %69 to i64*
  169. store i64 0, i64* %last_Java_sp_addr12
  170. %70 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 5
  171. %71 = bitcast i64* %70 to [120 x i8]**
  172. %72 = load [120 x i8]** %71
  173. %73 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 12
  174. %74 = bitcast i64* %73 to [16 x i8]**
  175. %75 = load [16 x i8]** %74
  176. %76 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 8
  177. %pending_exception_addr = bitcast i8* %76 to [16 x i8]**
  178. %pending_exception = load [16 x i8]** %pending_exception_addr
  179. %77 = icmp eq [16 x i8]* %pending_exception, null
  180. br i1 %77, label %no_exception, label %exception
  181.  
  182. exception: ; preds = %assert_ok
  183. %78 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 8
  184. %pending_exception_addr13 = bitcast i8* %78 to [16 x i8]**
  185. store [16 x i8]* null, [16 x i8]** %pending_exception_addr13
  186. %79 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 8
  187. %pending_exception_addr14 = bitcast i8* %79 to [16 x i8]**
  188. store [16 x i8]* %pending_exception, [16 x i8]** %pending_exception_addr14
  189. %80 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1512
  190. %frame_pointer_addr15 = bitcast i8* %80 to i64*
  191. %81 = load i64* %frame_pointer_addr15
  192. %82 = add i64 %81, 32
  193. %83 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  194. %zero_stack16 = bitcast i8* %83 to [32 x i8]*
  195. %84 = getelementptr inbounds [32 x i8]* %zero_stack16, i32 0, i32 16
  196. %stack_pointer_addr17 = bitcast i8* %84 to i64*
  197. store i64 %82, i64* %stack_pointer_addr17
  198. %85 = inttoptr i64 %81 to i64*
  199. %86 = load i64* %85
  200. %87 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1512
  201. %frame_pointer_addr18 = bitcast i8* %87 to i64*
  202. store i64 %86, i64* %frame_pointer_addr18
  203. ret i32 0
  204.  
  205. no_exception: ; preds = %assert_ok
  206. br label %safepointed
  207.  
  208. bci_44: ; preds = %bci_38
  209. %88 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 4
  210. %89 = ptrtoint i64* %88 to i64
  211. %90 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  212. %zero_stack27 = bitcast i8* %90 to [32 x i8]*
  213. %91 = getelementptr inbounds [32 x i8]* %zero_stack27, i32 0, i32 16
  214. %stack_pointer_addr28 = bitcast i8* %91 to i64*
  215. store i64 %89, i64* %stack_pointer_addr28
  216. %92 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 5
  217. %93 = bitcast i64* %92 to [120 x i8]**
  218. store [120 x i8]* %method5, [120 x i8]** %93
  219. %94 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 7
  220. %95 = add i64 %base_pc, 33
  221. store i64 %95, i64* %94
  222. %96 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 12
  223. %97 = bitcast i64* %96 to [16 x i8]**
  224. store [16 x i8]* %local_0_, [16 x i8]** %97
  225. %98 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 11
  226. %99 = bitcast i64* %98 to i32*
  227. store i32 %local_1_, i32* %99
  228. %100 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 10
  229. %101 = bitcast i64* %100 to i32*
  230. store i32 %local_2_, i32* %101
  231. %102 = call i32 inttoptr (i64 140737328159652 to i32 ([1552 x i8]*, i32)*)([1552 x i8]* %thread, i32 7)
  232. ret i32 %102
  233.  
  234. bci_10: ; preds = %bci_4
  235. %103 = add i64 %base_pc, 40
  236. %104 = inttoptr i64 %103 to [16 x i8]**
  237. %105 = load [16 x i8]** %104
  238. %106 = getelementptr inbounds [16 x i8]* %105, i32 0, i32 200
  239. %addr = bitcast i8* %106 to float*
  240. %107 = load atomic volatile float* %addr seq_cst, align 8
  241. %108 = add i64 %base_pc, 48
  242. %109 = inttoptr i64 %108 to [16 x i8]**
  243. %110 = load [16 x i8]** %109
  244. %111 = getelementptr inbounds [16 x i8]* %110, i32 0, i32 204
  245. %addr29 = bitcast i8* %111 to float*
  246. %112 = load atomic volatile float* %addr29 seq_cst, align 8
  247. %113 = fsub float %107, %112
  248. %114 = fsub float -0.000000e+00, %113
  249. %115 = add i64 %base_pc, 56
  250. %116 = inttoptr i64 %115 to [120 x i8]**
  251. %117 = load [120 x i8]** %116
  252. %118 = getelementptr inbounds [120 x i8]* %117, i32 0, i32 112
  253. %119 = bitcast i8* %118 to i64*
  254. %base_pc30 = load i64* %119
  255. %120 = add i64 %base_pc30, 0
  256. %121 = inttoptr i64 %120 to i32 ([120 x i8]*, i64, [1552 x i8]*)**
  257. %entry_point = load i32 ([120 x i8]*, i64, [1552 x i8]*)** %121
  258. %122 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 3
  259. %123 = ptrtoint i64* %122 to i64
  260. %124 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  261. %zero_stack31 = bitcast i8* %124 to [32 x i8]*
  262. %125 = getelementptr inbounds [32 x i8]* %zero_stack31, i32 0, i32 16
  263. %stack_pointer_addr32 = bitcast i8* %125 to i64*
  264. store i64 %123, i64* %stack_pointer_addr32
  265. %126 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 3
  266. %127 = bitcast i64* %126 to float*
  267. store float %114, float* %127
  268. %128 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 5
  269. %129 = bitcast i64* %128 to [120 x i8]**
  270. store [120 x i8]* %method5, [120 x i8]** %129
  271. %130 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 7
  272. %131 = add i64 %base_pc, 64
  273. store i64 %131, i64* %130
  274. %132 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 12
  275. %133 = bitcast i64* %132 to [16 x i8]**
  276. store [16 x i8]* %local_0_, [16 x i8]** %133
  277. %134 = call i32 %entry_point([120 x i8]* %117, i64 %base_pc30, [1552 x i8]* %thread)
  278. %135 = icmp ne i32 %134, 0
  279. br i1 %135, label %reexecute, label %call_completed
  280.  
  281. reexecute: ; preds = %bci_10
  282. %136 = sub i32 %134, 1
  283. call void inttoptr (i64 140737324496358 to void (i32, [1552 x i8]*)*)(i32 %136, [1552 x i8]* %thread)
  284. br label %call_completed
  285.  
  286. call_completed: ; preds = %reexecute, %bci_10
  287. %137 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 3
  288. %138 = bitcast i64* %137 to i32*
  289. %139 = load i32* %138
  290. %140 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 5
  291. %141 = bitcast i64* %140 to [120 x i8]**
  292. %142 = load [120 x i8]** %141
  293. %143 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 12
  294. %144 = bitcast i64* %143 to [16 x i8]**
  295. %145 = load [16 x i8]** %144
  296. %146 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 8
  297. %pending_exception_addr35 = bitcast i8* %146 to [16 x i8]**
  298. %pending_exception36 = load [16 x i8]** %pending_exception_addr35
  299. %147 = icmp eq [16 x i8]* %pending_exception36, null
  300. br i1 %147, label %no_exception34, label %exception33
  301.  
  302. exception33: ; preds = %call_completed
  303. %148 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 8
  304. %pending_exception_addr37 = bitcast i8* %148 to [16 x i8]**
  305. store [16 x i8]* null, [16 x i8]** %pending_exception_addr37
  306. %149 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 8
  307. %pending_exception_addr38 = bitcast i8* %149 to [16 x i8]**
  308. store [16 x i8]* %pending_exception36, [16 x i8]** %pending_exception_addr38
  309. %150 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1512
  310. %frame_pointer_addr39 = bitcast i8* %150 to i64*
  311. %151 = load i64* %frame_pointer_addr39
  312. %152 = add i64 %151, 32
  313. %153 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  314. %zero_stack40 = bitcast i8* %153 to [32 x i8]*
  315. %154 = getelementptr inbounds [32 x i8]* %zero_stack40, i32 0, i32 16
  316. %stack_pointer_addr41 = bitcast i8* %154 to i64*
  317. store i64 %152, i64* %stack_pointer_addr41
  318. %155 = inttoptr i64 %151 to i64*
  319. %156 = load i64* %155
  320. %157 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1512
  321. %frame_pointer_addr42 = bitcast i8* %157 to i64*
  322. store i64 %156, i64* %frame_pointer_addr42
  323. ret i32 0
  324.  
  325. no_exception34: ; preds = %call_completed
  326. %158 = add i64 %base_pc, 72
  327. %159 = inttoptr i64 %158 to [120 x i8]**
  328. %160 = load [120 x i8]** %159
  329. %161 = getelementptr inbounds [120 x i8]* %160, i32 0, i32 112
  330. %162 = bitcast i8* %161 to i64*
  331. %base_pc43 = load i64* %162
  332. %163 = add i64 %base_pc43, 0
  333. %164 = inttoptr i64 %163 to i32 ([120 x i8]*, i64, [1552 x i8]*)**
  334. %entry_point44 = load i32 ([120 x i8]*, i64, [1552 x i8]*)** %164
  335. %165 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 2
  336. %166 = ptrtoint i64* %165 to i64
  337. %167 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  338. %zero_stack45 = bitcast i8* %167 to [32 x i8]*
  339. %168 = getelementptr inbounds [32 x i8]* %zero_stack45, i32 0, i32 16
  340. %stack_pointer_addr46 = bitcast i8* %168 to i64*
  341. store i64 %166, i64* %stack_pointer_addr46
  342. %169 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 2
  343. %170 = bitcast i64* %169 to float*
  344. store float -0.000000e+00, float* %170
  345. %171 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 5
  346. %172 = bitcast i64* %171 to [120 x i8]**
  347. store [120 x i8]* %142, [120 x i8]** %172
  348. %173 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 7
  349. %174 = add i64 %base_pc, 80
  350. store i64 %174, i64* %173
  351. %175 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 12
  352. %176 = bitcast i64* %175 to [16 x i8]**
  353. store [16 x i8]* %145, [16 x i8]** %176
  354. %177 = call i32 %entry_point44([120 x i8]* %160, i64 %base_pc43, [1552 x i8]* %thread)
  355. %178 = icmp ne i32 %177, 0
  356. br i1 %178, label %reexecute47, label %call_completed48
  357.  
  358. reexecute47: ; preds = %no_exception34
  359. %179 = sub i32 %177, 1
  360. call void inttoptr (i64 140737324496358 to void (i32, [1552 x i8]*)*)(i32 %179, [1552 x i8]* %thread)
  361. br label %call_completed48
  362.  
  363. call_completed48: ; preds = %reexecute47, %no_exception34
  364. %180 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 2
  365. %181 = bitcast i64* %180 to i32*
  366. %182 = load i32* %181
  367. %183 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 5
  368. %184 = bitcast i64* %183 to [120 x i8]**
  369. %185 = load [120 x i8]** %184
  370. %186 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 12
  371. %187 = bitcast i64* %186 to [16 x i8]**
  372. %188 = load [16 x i8]** %187
  373. %189 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 8
  374. %pending_exception_addr51 = bitcast i8* %189 to [16 x i8]**
  375. %pending_exception52 = load [16 x i8]** %pending_exception_addr51
  376. %190 = icmp eq [16 x i8]* %pending_exception52, null
  377. br i1 %190, label %no_exception50, label %exception49
  378.  
  379. exception49: ; preds = %call_completed48
  380. %191 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 8
  381. %pending_exception_addr53 = bitcast i8* %191 to [16 x i8]**
  382. store [16 x i8]* null, [16 x i8]** %pending_exception_addr53
  383. %192 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 8
  384. %pending_exception_addr54 = bitcast i8* %192 to [16 x i8]**
  385. store [16 x i8]* %pending_exception52, [16 x i8]** %pending_exception_addr54
  386. %193 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1512
  387. %frame_pointer_addr55 = bitcast i8* %193 to i64*
  388. %194 = load i64* %frame_pointer_addr55
  389. %195 = add i64 %194, 32
  390. %196 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  391. %zero_stack56 = bitcast i8* %196 to [32 x i8]*
  392. %197 = getelementptr inbounds [32 x i8]* %zero_stack56, i32 0, i32 16
  393. %stack_pointer_addr57 = bitcast i8* %197 to i64*
  394. store i64 %195, i64* %stack_pointer_addr57
  395. %198 = inttoptr i64 %194 to i64*
  396. %199 = load i64* %198
  397. %200 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1512
  398. %frame_pointer_addr58 = bitcast i8* %200 to i64*
  399. store i64 %199, i64* %frame_pointer_addr58
  400. ret i32 0
  401.  
  402. no_exception50: ; preds = %call_completed48
  403. %201 = icmp ne i32 %139, %182
  404. br i1 %201, label %bci_32, label %bci_29
  405.  
  406. bci_32: ; preds = %bci_29, %no_exception50
  407. %method59 = phi [120 x i8]* [ %185, %no_exception50 ], [ %185, %bci_29 ]
  408. %local_0_60 = phi [16 x i8]* [ %188, %no_exception50 ], [ %188, %bci_29 ]
  409. %local_1_61 = phi i32 [ %local_1_, %no_exception50 ], [ %243, %bci_29 ]
  410. %local_2_62 = phi i32 [ %local_2_, %no_exception50 ], [ %local_2_, %bci_29 ]
  411. %202 = add i32 1, %local_2_62
  412. %state65 = load i32* inttoptr (i64 140737351685632 to i32*)
  413. %203 = icmp eq i32 %state65, 1
  414. br i1 %203, label %do_safepoint63, label %safepointed64
  415.  
  416. do_safepoint63: ; preds = %bci_32
  417. %204 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 4
  418. %205 = ptrtoint i64* %204 to i64
  419. %206 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  420. %zero_stack66 = bitcast i8* %206 to [32 x i8]*
  421. %207 = getelementptr inbounds [32 x i8]* %zero_stack66, i32 0, i32 16
  422. %stack_pointer_addr67 = bitcast i8* %207 to i64*
  423. store i64 %205, i64* %stack_pointer_addr67
  424. %208 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 5
  425. %209 = bitcast i64* %208 to [120 x i8]**
  426. store [120 x i8]* %method59, [120 x i8]** %209
  427. %210 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 7
  428. %211 = add i64 %base_pc, 81
  429. store i64 %211, i64* %210
  430. %212 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 12
  431. %213 = bitcast i64* %212 to [16 x i8]**
  432. store [16 x i8]* %local_0_60, [16 x i8]** %213
  433. %214 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 504
  434. %last_Java_sp_addr70 = bitcast i8* %214 to i64*
  435. %215 = load i64* %last_Java_sp_addr70
  436. %216 = icmp eq i64 %215, 0
  437. br i1 %216, label %assert_ok69, label %assert_failed68
  438.  
  439. safepointed64: ; preds = %no_exception78, %bci_32
  440. %method87 = phi [120 x i8]* [ %227, %no_exception78 ], [ %method59, %bci_32 ]
  441. %local_0_88 = phi [16 x i8]* [ %230, %no_exception78 ], [ %local_0_60, %bci_32 ]
  442. %local_1_89 = phi i32 [ %local_1_61, %no_exception78 ], [ %local_1_61, %bci_32 ]
  443. %local_2_90 = phi i32 [ %202, %no_exception78 ], [ %202, %bci_32 ]
  444. br label %bci_4
  445.  
  446. assert_failed68: ; preds = %do_safepoint63
  447. call void inttoptr (i64 140737324511554 to void (i8*, i32)*)(i8* inttoptr (i64 140737340570920 to i8*), i32 261)
  448. unreachable
  449.  
  450. assert_ok69: ; preds = %do_safepoint63
  451. %217 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 520
  452. %last_Java_fp_addr71 = bitcast i8* %217 to i64*
  453. %218 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1512
  454. %frame_pointer_addr72 = bitcast i8* %218 to i64*
  455. %219 = load i64* %frame_pointer_addr72
  456. store i64 %219, i64* %last_Java_fp_addr71
  457. %220 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 504
  458. %last_Java_sp_addr73 = bitcast i8* %220 to i64*
  459. %221 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  460. %zero_stack74 = bitcast i8* %221 to [32 x i8]*
  461. %222 = getelementptr inbounds [32 x i8]* %zero_stack74, i32 0, i32 16
  462. %stack_pointer_addr75 = bitcast i8* %222 to i64*
  463. %223 = load i64* %stack_pointer_addr75
  464. store i64 %223, i64* %last_Java_sp_addr73
  465. call void inttoptr (i64 140737327929798 to void ([1552 x i8]*)*)([1552 x i8]* %thread)
  466. %224 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 504
  467. %last_Java_sp_addr76 = bitcast i8* %224 to i64*
  468. store i64 0, i64* %last_Java_sp_addr76
  469. %225 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 5
  470. %226 = bitcast i64* %225 to [120 x i8]**
  471. %227 = load [120 x i8]** %226
  472. %228 = getelementptr inbounds [13 x i64]* %frame, i32 0, i32 12
  473. %229 = bitcast i64* %228 to [16 x i8]**
  474. %230 = load [16 x i8]** %229
  475. %231 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 8
  476. %pending_exception_addr79 = bitcast i8* %231 to [16 x i8]**
  477. %pending_exception80 = load [16 x i8]** %pending_exception_addr79
  478. %232 = icmp eq [16 x i8]* %pending_exception80, null
  479. br i1 %232, label %no_exception78, label %exception77
  480.  
  481. exception77: ; preds = %assert_ok69
  482. %233 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 8
  483. %pending_exception_addr81 = bitcast i8* %233 to [16 x i8]**
  484. store [16 x i8]* null, [16 x i8]** %pending_exception_addr81
  485. %234 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 8
  486. %pending_exception_addr82 = bitcast i8* %234 to [16 x i8]**
  487. store [16 x i8]* %pending_exception80, [16 x i8]** %pending_exception_addr82
  488. %235 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1512
  489. %frame_pointer_addr83 = bitcast i8* %235 to i64*
  490. %236 = load i64* %frame_pointer_addr83
  491. %237 = add i64 %236, 32
  492. %238 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1480
  493. %zero_stack84 = bitcast i8* %238 to [32 x i8]*
  494. %239 = getelementptr inbounds [32 x i8]* %zero_stack84, i32 0, i32 16
  495. %stack_pointer_addr85 = bitcast i8* %239 to i64*
  496. store i64 %237, i64* %stack_pointer_addr85
  497. %240 = inttoptr i64 %236 to i64*
  498. %241 = load i64* %240
  499. %242 = getelementptr inbounds [1552 x i8]* %thread, i32 0, i32 1512
  500. %frame_pointer_addr86 = bitcast i8* %242 to i64*
  501. store i64 %241, i64* %frame_pointer_addr86
  502. ret i32 0
  503.  
  504. no_exception78: ; preds = %assert_ok69
  505. br label %safepointed64
  506.  
  507. bci_29: ; preds = %no_exception50
  508. %243 = add i32 1, %local_1_
  509. br label %bci_32
  510. }
  511.  
  512. LLVM ERROR: Cannot select: 0x7ffff01295d0: f32,ch = AtomicLoad 0x7fffcc071b10:1, 0x7fffcc041e70<Volatile LD4[%addr29](align=8)> [ORD=48] [ID=18]
  513. 0x7fffcc041e70: i64 = add 0x7fffcc071b10, 0x7ffff012a2e0 [ORD=46] [ID=17]
  514. 0x7fffcc071b10: i64,ch = load 0x7ffff0129de0:1, 0x7fffcc042270, 0x7ffff01298d0<LD8[%109]> [ORD=45] [ID=15]
  515. 0x7fffcc042270: i64 = add 0x7fffcc041d70, 0x7ffff012a0e0 [ORD=43] [ID=10]
  516. 0x7fffcc041d70: i64,ch = CopyFromReg 0x7ffff00f26f0, 0x7ffff012a1e0 [ORD=37] [ID=9]
  517. 0x7ffff012a1e0: i64 = Register %vreg41 [ORD=37] [ID=1]
  518. 0x7ffff012a0e0: i64 = Constant<48> [ORD=43] [ID=6]
  519. 0x7ffff01298d0: i64 = undef [ORD=39] [ID=3]
  520. 0x7ffff012a2e0: i64 = Constant<204> [ORD=46] [ID=7]
  521. In function: Test6796786::main
Advertisement
RAW Paste Data Copied
Advertisement