SHARE
TWEET

Untitled

a guest Mar 27th, 2019 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- |
  2.   ; ModuleID = './test.ll'
  3.   source_filename = "./test.ll"
  4.   target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
  5.  
  6.   ; Function Attrs: nounwind readnone speculatable
  7.   declare void @llvm.dbg.value(metadata, metadata, metadata) #0
  8.  
  9.   ; Stubs to appease the MIR parser
  10.   define i32 @test2(i32* %pin) {
  11.   entry:
  12.     ret i32 0
  13.   start.test2:
  14.     ret i32 0
  15.   }
  16.  
  17.   ; Function Attrs: nounwind
  18.   declare void @llvm.stackprotector(i8*, i8**) #1
  19.  
  20.   attributes #0 = { nounwind readnone speculatable }
  21.   attributes #1 = { nounwind }
  22.  
  23.   !llvm.module.flags = !{!0}
  24.   !llvm.dbg.cu = !{!1}
  25.  
  26.   !0 = !{i32 2, !"Debug Info Version", i32 3}
  27.   !1 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !2, producer: "beards", isOptimized: true, runtimeVersion: 4, emissionKind: FullDebug)
  28.   !2 = !DIFile(filename: "bees.cpp", directory: "")
  29.   !3 = !DILocalVariable(name: "bees", scope: !4)
  30.   !4 = distinct !DISubprogram(name: "nope", scope: !1, file: !2, line: 1, spFlags: DISPFlagDefinition, unit: !1)
  31.   !5 = !DILocation(line: 0, scope: !4)
  32.  
  33. ...
  34. ---
  35. name:            test2
  36. tracksRegLiveness: true
  37. body:             |
  38.   bb.0.entry:
  39.     successors: %bb.1(0x80000000)
  40.     liveins: $rdi
  41.  
  42.     %1:gr32 = COPY $rdi
  43.     %3:gr32 = MOV32r0 implicit-def dead $eflags
  44.  
  45.   bb.1.start.test2:
  46.     successors: %bb.1(0x7c000000)
  47.  
  48.     %0:gr32 = PHI %50, %bb.1.start.test2, %3, %bb.0.entry
  49.     %50:gr32 = XOR32rr %0, %1, implicit-def dead $eflags
  50.     DBG_VALUE %0, $noreg, !3, !DIExpression(), debug-location !5
  51.     JMP_1 %bb.1
  52.  
  53. ...
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top