1 ; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py
2 ; RUN: opt -disable-output "-passes=print<scalar-evolution>" < %s 2>&1 | FileCheck %s
4 declare i64 @llvm.annotation.i64(i64, ptr, ptr, i32)
5 declare ptr @llvm.ptr.annotation.p0(ptr, ptr, ptr, i32, ptr)
7 define i64 @annotation(i64 %x) {
8 ; CHECK-LABEL: 'annotation'
9 ; CHECK-NEXT: Classifying expressions for: @annotation
10 ; CHECK-NEXT: %1 = tail call i64 @llvm.annotation.i64.p0(i64 %x, ptr null, ptr null, i32 0)
11 ; CHECK-NEXT: --> %x U: full-set S: full-set
12 ; CHECK-NEXT: Determining loop execution counts for: @annotation
14 %1 = tail call i64 @llvm.annotation.i64(i64 %x, ptr null, ptr null, i32 0)
18 define ptr @ptr_annotation(ptr %x) {
19 ; CHECK-LABEL: 'ptr_annotation'
20 ; CHECK-NEXT: Classifying expressions for: @ptr_annotation
21 ; CHECK-NEXT: %1 = call ptr @llvm.ptr.annotation.p0.p0(ptr %x, ptr null, ptr null, i32 0, ptr null)
22 ; CHECK-NEXT: --> %x U: full-set S: full-set
23 ; CHECK-NEXT: Determining loop execution counts for: @ptr_annotation
25 %1 = call ptr @llvm.ptr.annotation.p0(ptr %x, ptr null, ptr null, i32 0, ptr null)