File: complex_execution_context.ll

package info (click to toggle)
swiftlang 6.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,519,992 kB
  • sloc: cpp: 9,107,863; ansic: 2,040,022; asm: 1,135,751; python: 296,500; objc: 82,456; f90: 60,502; lisp: 34,951; pascal: 19,946; sh: 18,133; perl: 7,482; ml: 4,937; javascript: 4,117; makefile: 3,840; awk: 3,535; xml: 914; fortran: 619; cs: 573; ruby: 573
file content (43 lines) | stat: -rw-r--r-- 1,633 bytes parent folder | download | duplicates (5)
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
; RUN: opt %loadPolly -pass-remarks-analysis="polly-scops" -polly-print-scops \
; RUN:     -polly-invariant-load-hoisting=true \
; RUN:     -disable-output < %s 2>&1 | FileCheck %s
;
; CHECK: Low complexity assumption:
;
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

@board = external global [421 x i8], align 16

; Function Attrs: nounwind uwtable
define fastcc void @ping_recurse(ptr nocapture %mx, ptr nocapture %mr, i32 %color) unnamed_addr {
entry:
  br label %land.lhs.true38.1

if.end58:                                         ; preds = %land.lhs.true38.2, %if.end54.1
  ret void

land.lhs.true38.1:                                ; preds = %entry
  %0 = load i32, ptr %mr, align 4
  %cmp41.1 = icmp eq i32 %0, 0
  br i1 %cmp41.1, label %land.lhs.true43.1, label %if.end54.1

land.lhs.true43.1:                                ; preds = %land.lhs.true38.1
  %1 = load i32, ptr %mx, align 4
  %cmp46.1 = icmp eq i32 %1, 1
  %cmp51.1 = icmp eq i32 0, %color
  %or.cond.1 = or i1 %cmp51.1, %cmp46.1
  br i1 %or.cond.1, label %if.then53.1, label %if.end54.1

if.then53.1:                                      ; preds = %land.lhs.true43.1
  tail call fastcc void @ping_recurse(ptr nonnull %mx, ptr nonnull %mr, i32 %color)
  br label %if.end54.1

if.end54.1:                                       ; preds = %if.then53.1, %land.lhs.true43.1, %land.lhs.true38.1
  %2 = load i8, ptr @board, align 1
  %cmp36.2 = icmp eq i8 %2, 3
  br i1 %cmp36.2, label %if.end58, label %land.lhs.true38.2

land.lhs.true38.2:                                ; preds = %if.end54.1
  %3 = load i32, ptr %mr, align 4
  br label %if.end58
}