File: constant-islands-cfg.mir

package info (click to toggle)
llvm-toolchain-6.0 1%3A6.0.1-10
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 598,080 kB
  • sloc: cpp: 3,046,253; ansic: 595,057; asm: 271,965; python: 128,926; objc: 106,554; sh: 21,906; lisp: 10,191; pascal: 6,094; ml: 5,544; perl: 5,265; makefile: 2,227; cs: 2,027; xml: 686; php: 212; csh: 117
file content (64 lines) | stat: -rw-r--r-- 1,606 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# RUN: llc -mtriple=thumbv6m-apple-ios -run-pass=arm-cp-islands %s -o - | FileCheck %s
--- |
  ; Function Attrs: minsize nounwind optsize uwtable
  define arm_aapcscc double @test_split_cfg(double %a, double %b) local_unnamed_addr #0 {
    ret double undef
  }
...
---
name:            test_split_cfg
alignment:       1
exposesReturnsTwice: false
legalized:       false
regBankSelected: false
selected:        false
tracksRegLiveness: true
registers:
liveins:
  - { reg: '%r0', virtual-reg: '' }
frameInfo:
  isFrameAddressTaken: false
  isReturnAddressTaken: false
  hasStackMap:     false
  hasPatchPoint:   false
  stackSize:       48
  offsetAdjustment: 0
  maxAlignment:    4
  adjustsStack:    true
  hasCalls:        true
  stackProtector:  ''
  maxCallFrameSize: 0
  hasOpaqueSPAdjustment: false
  hasVAStart:      false
  hasMustTailInVarArgFunc: false
  savePoint:       ''
  restorePoint:    ''
fixedStack:
# CHECK-LABEL: name: test_split_cfg
# CHECK: bb.0:
# CHECK:     successors: %[[LONG_BR_BB:bb.[0-9]+]](0x{{[0-9a-f]+}}), %[[DEST1:bb.[0-9]+]](0x{{[0-9a-f]+}}){{$}}
# CHECK:     tBcc %[[LONG_BR_BB]], 0, %cpsr
# CHECK:     tB %[[DEST1]]
# CHECK: [[LONG_BR_BB]]:
# CHECK:     successors: %[[DEST2:bb.[0-9]+]](0x{{[0-9a-f]+}}){{$}}
# CHECK:     tB %[[DEST2]]
# CHECK: [[DEST1]]:
# CHECK: [[DEST2]]:

body:             |
  bb.0:
    liveins: %r0
    tCMPi8 killed %r0, 0, 14, %noreg, implicit-def %cpsr
    tBcc %bb.2, 1, killed %cpsr
    tB %bb.3, 14, %noreg

  bb.1:
    dead %r0 = SPACE 256, undef %r0

  bb.2:
    tPOP_RET 14, %noreg, def %pc

  bb.3:
    tPOP_RET 14, %noreg, def %pc

...