1 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm < %s | FileCheck %s
19 // CHECK: call i32 @isalnum(i32 noundef {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
21 // CHECK: call i32 @isalpha(i32 noundef {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
23 // CHECK: call i32 @isblank(i32 noundef {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
25 // CHECK: call i32 @iscntrl(i32 noundef {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
27 // CHECK: call i32 @isdigit(i32 noundef {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
29 // CHECK: call i32 @isgraph(i32 noundef {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
31 // CHECK: call i32 @islower(i32 noundef {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
33 // CHECK: call i32 @isprint(i32 noundef {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
35 // CHECK: call i32 @ispunct(i32 noundef {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
37 // CHECK: call i32 @isspace(i32 noundef {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
39 // CHECK: call i32 @isupper(i32 noundef {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
41 // CHECK: call i32 @isxdigit(i32 noundef {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
43 // CHECK: call i32 @tolower(i32 noundef {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
45 // CHECK: call i32 @toupper(i32 noundef {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
49 // CHECK: declare i32 @isalnum(i32 noundef) [[NUW_RO:#[0-9]+]]
50 // CHECK: declare i32 @isalpha(i32 noundef) [[NUW_RO:#[0-9]+]]
51 // CHECK: declare i32 @isblank(i32 noundef) [[NUW_RO:#[0-9]+]]
52 // CHECK: declare i32 @iscntrl(i32 noundef) [[NUW_RO:#[0-9]+]]
53 // CHECK: declare i32 @isdigit(i32 noundef) [[NUW_RO:#[0-9]+]]
54 // CHECK: declare i32 @isgraph(i32 noundef) [[NUW_RO:#[0-9]+]]
55 // CHECK: declare i32 @islower(i32 noundef) [[NUW_RO:#[0-9]+]]
56 // CHECK: declare i32 @isprint(i32 noundef) [[NUW_RO:#[0-9]+]]
57 // CHECK: declare i32 @ispunct(i32 noundef) [[NUW_RO:#[0-9]+]]
58 // CHECK: declare i32 @isspace(i32 noundef) [[NUW_RO:#[0-9]+]]
59 // CHECK: declare i32 @isupper(i32 noundef) [[NUW_RO:#[0-9]+]]
60 // CHECK: declare i32 @isxdigit(i32 noundef) [[NUW_RO:#[0-9]+]]
61 // CHECK: declare i32 @tolower(i32 noundef) [[NUW_RO:#[0-9]+]]
62 // CHECK: declare i32 @toupper(i32 noundef) [[NUW_RO:#[0-9]+]]
64 // CHECK: attributes [[NUW_RO]] = { nounwind willreturn memory(read){{.*}} }
65 // CHECK: attributes [[NUW_RO_CALL]] = { nounwind willreturn memory(read) }