repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
Internalize
/
globs.ll
blob
47a2828177dde49cb2d7e2d85a92a9a4d682f9e5
1
; RUN: opt < %s -passes=internalize -internalize-public-api-list 'bar?,_*,*_,[ab]' -S | FileCheck %s
2
3
; CHECK: @foo = internal global
4
@foo = global i32 0
5
6
; CHECK: @bar_ = global
7
@bar_ = global i32 0
8
9
; CHECK: @_foo = global
10
@_foo = global i32 0
11
12
; CHECK: @foo_ = global
13
@foo_ = global i32 0
14
15
; CHECK: @a = global
16
@a = global i32 0
17
18
; CHECK: @b = global
19
@b = global i32 0
20
21
; CHECK: @c = internal global
22
@c = global i32 0