Home
last modified time | relevance | path

Searched refs:NUW (Results 1 – 25 of 59) sorted by relevance

123

/external/llvm/test/Transforms/ObjCARC/
Dtail-call-invariant-enforcement.ll13 ; CHECK: define i8* @test0(i8* %x) [[NUW:#[0-9]+]] {
14 ; CHECK: %tmp0 = call i8* @objc_autorelease(i8* %x) [[NUW]]
15 ; CHECK: %tmp1 = call i8* @objc_autorelease(i8* %x) [[NUW]]
27 ; CHECK: define i8* @test1(i8* %x) [[NUW]] {
28 ; CHECK: %tmp0 = tail call i8* @objc_autoreleaseReturnValue(i8* %x) [[NUW]]
29 ; CHECK: %tmp1 = tail call i8* @objc_autoreleaseReturnValue(i8* %x) [[NUW]]
40 ; CHECK: define i8* @test2(i8* %x) [[NUW]] {
41 ; CHECK: %tmp0 = tail call i8* @objc_retain(i8* %x) [[NUW]]
42 ; CHECK: %tmp1 = tail call i8* @objc_retain(i8* %x) [[NUW]]
52 ; CHECK: define i8* @test3(i8* %x) [[NUW]] {
[all …]
Dsplit-backedge.ll7 ; CHECK: call i8* @objc_retain(i8* %call) [[NUW:#[0-9]+]]
8 ; CHECK: call i8* @objc_retain(i8* %call) [[NUW]]
9 ; CHECK: call i8* @objc_retain(i8* %cond) [[NUW]]
10 ; CHECK: call void @objc_release(i8* %call) [[NUW]]
11 ; CHECK: call void @objc_release(i8* %call) [[NUW]]
12 ; CHECK: call void @objc_release(i8* %cond) [[NUW]]
50 ; CHECK: attributes [[NUW]] = { nounwind }
Dexpand.ll15 ; CHECK: define void @test_retain(i8* %x) [[NUW:#[0-9]+]] {
26 ; CHECK: define void @test_retainAutoreleasedReturnValue(i8* %x) [[NUW]] {
37 ; CHECK: define void @test_retainAutorelease(i8* %x) [[NUW]] {
48 ; CHECK: define void @test_retainAutoreleaseReturnValue(i8* %x) [[NUW]] {
59 ; CHECK: define void @test_autorelease(i8* %x) [[NUW]] {
70 ; CHECK: define void @test_autoreleaseReturnValue(i8* %x) [[NUW]] {
85 ; CHECK: define void @test_retainBlock(i8* %x) [[NUW]] {
Dcontract.ll38 ; CHECK: tail call i8* @objc_retainAutorelease(i8* %x) [[NUW:#[0-9]+]]
51 ; CHECK: tail call i8* @objc_retainAutoreleaseReturnValue(i8* %x) [[NUW]]
63 ; CHECK: tail call i8* @objc_retainAutorelease(i8* %x) [[NUW]]
79 ; CHECK-NEXT: @objc_retainAutorelease(i8* %x) [[NUW]]
96 ; CHECK: tail call i8* @objc_retain(i8* %p) [[NUW]]
98 ; CHECK: call i8* @objc_autorelease(i8* %0) [[NUW]]
123 ; CHECK: call i8* @objc_retainAutoreleasedReturnValue(i8* %p) [[NUW]]
124 ; CHECK: %t = tail call i8* @objc_autoreleaseReturnValue(i8* %1) [[NUW]]
193 ; CHECK-NEXT: tail call i8* @objc_retainAutoreleasedReturnValue(i8* %y) [[NUW]]
205 ; CHECK-NEXT: tail call i8* @objc_retain(i8* %y) [[NUW]]
[all …]
Dcontract-storestrong.ll13 ; CHECK-NEXT: tail call void @objc_storeStrong(i8** @x, i8* %p) [[NUW:#[0-9]+]]
29 ; CHECK-NEXT: %0 = tail call i8* @objc_retain(i8* %p) [[NUW]]
32 ; CHECK-NEXT: tail call void @objc_release(i8* %tmp) [[NUW]]
48 ; CHECK-NEXT: %0 = tail call i8* @objc_retain(i8* %p) [[NUW]]
51 ; CHECK-NEXT: tail call void @objc_release(i8* %tmp) [[NUW]]
68 ; CHECK-NEXT: %x0 = tail call i8* @objc_retain(i8* %newValue) [[NUW]]
72 ; CHECK-NEXT: tail call void @objc_release(i8* %x1) [[NUW]], !clang.imprecise_release !0
89 ; CHECK-NEXT: %x0 = tail call i8* @objc_retain(i8* %newValue) [[NUW]]
93 ; CHECK-NEXT: tail call void @objc_release(i8* %x1) [[NUW]], !clang.imprecise_release !0
110 ; CHECK: tail call void @objc_storeStrong(i8** @x, i8* %newValue) [[NUW]]
[all …]
Dcfg-hazards.ll92 ; CHECK-NEXT: tail call i8* @objc_retain(i8* %a) [[NUW:#[0-9]+]]
118 ; CHECK-NEXT: tail call i8* @objc_retain(i8* %a) [[NUW]]
148 ; CHECK-NEXT: tail call i8* @objc_retain(i8* %a) [[NUW]]
182 ; CHECK-NEXT: tail call i8* @objc_retain(i8* %a) [[NUW]]
215 ; CHECK-NEXT: tail call i8* @objc_retain(i8* %a) [[NUW]]
248 ; CHECK-NEXT: tail call i8* @objc_retain(i8* %a) [[NUW]]
368 ; CHECK-NEXT: %outer = tail call i8* @objc_retain(i8* %a) [[NUW]]
369 ; CHECK-NEXT: %inner = tail call i8* @objc_retain(i8* %a) [[NUW]]
373 ; CHECK-NEXT: call void @objc_release(i8* %a) [[NUW]]
374 ; CHECK-NEXT: call void @objc_release(i8* %a) [[NUW]], !clang.imprecise_release !0
[all …]
Dinvoke.ll15 ; CHECK: call void @objc_release(i8* %zipFile) [[NUW:#[0-9]+]], !clang.imprecise_release !0
18 ; CHECK: call void @objc_release(i8* %zipFile) [[NUW]], !clang.imprecise_release !0
43 ; CHECK: call void @objc_release(i8* %zipFile) [[NUW]], !clang.imprecise_release !0
47 ; CHECK: call void @objc_release(i8* %zipFile) [[NUW]], !clang.imprecise_release !0
113 ; CHECK-NEXT: call void @objc_release(i8* %p) [[NUW]]
146 ; CHECK-NEXT: call void @objc_release(i8* %p) [[NUW]]
149 ; CHECK-NEXT: call void @objc_release(i8* %p) [[NUW]]
222 ; CHECK: attributes [[NUW]] = { nounwind }
Dcontract-marker.ll7 ; CHECK-NEXT: %0 = tail call i8* @objc_retainAutoreleasedReturnValue(i8* %tcall) [[NUW:#[0-9]+]]
23 ; CHECK-NEXT: %0 = tail call i8* @objc_unsafeClaimAutoreleasedReturnValue(i8* %tcall) [[NUW:#[0-9]+…
45 ; CHECK: attributes [[NUW]] = { nounwind }
Drv.ll32 ; CHECK-NEXT: %0 = tail call i8* @objc_retainAutoreleasedReturnValue(i8* %x) [[NUW:#[0-9]+]]
151 ; CHECK: tail call i8* @objc_retain(i8* %p) [[NUW]]
152 ; CHECK: call i8* @objc_autorelease(i8* %p) [[NUW]]
207 ; CHECK-NEXT: tail call i8* @objc_retain(i8* %p) [[NUW]]
219 ; CHECK-NEXT: tail call i8* @objc_retainAutoreleasedReturnValue(i8* %y) [[NUW]]
276 ; CHECK: call i8* @objc_autorelease(i8* %p) [[NUW]]
294 ; CHECK: attributes [[NUW]] = { nounwind }
Dapelim.ll41 ; CHECK: %0 = call i8* @objc_autoreleasePoolPush() [[NUW:#[0-9]+]]
42 ; CHECK: call void @objc_autoreleasePoolPop(i8* %0) [[NUW]]
/external/clang/test/CodeGenObjCXX/
Darc-exceptions.mm20 // CHECK-NEXT: [[T3:%.*]] = call i8* @objc_retain(i8* [[T2]]) [[NUW:#[0-9]+]]
24 // CHECK-NEXT: call void @objc_storeStrong(i8** [[T0]], i8* null) [[NUW]]
25 // CHECK-NEXT: call void @objc_end_catch() [[NUW]]
41 // CHECK-NEXT: call i8* @objc_initWeak(i8** [[T2]], i8* [[T3]]) [[NUW]]
43 // CHECK-NEXT: call void @objc_destroyWeak(i8** [[T0]]) [[NUW]]
44 // CHECK-NEXT: call void @objc_end_catch() [[NUW]]
59 // CHECK-NEXT: [[T3:%.*]] = call i8* @objc_retain(i8* [[T2]]) [[NUW]]
63 // CHECK-NEXT: call void @objc_storeStrong(i8** [[T0]], i8* null) [[NUW]]
64 // CHECK-NEXT: call void @__cxa_end_catch() [[NUW]]
80 // CHECK-NEXT: call i8* @objc_initWeak(i8** [[T2]], i8* [[T3]]) [[NUW]]
[all …]
Dlambda-expressions.mm28 // MRC: define void @_Z2f2v() [[NUW:#[0-9]+]] {
34 // ARC: define void @_Z2f2v() [[NUW:#[0-9]+]] {
92 // ARC: attributes [[NUW]] = { nounwind{{.*}} }
93 // MRC: attributes [[NUW]] = { nounwind{{.*}} }
/external/clang/test/CodeGenObjC/
Darc-exceptions.m20 // CHECK-NEXT: [[T3:%.*]] = call i8* @objc_retain(i8* [[T2]]) [[NUW:#[0-9]+]]
24 // CHECK-NEXT: call void @objc_storeStrong(i8** [[T0]], i8* null) [[NUW]]
25 // CHECK-NEXT: call void @objc_end_catch() [[NUW]]
41 // CHECK-NEXT: call i8* @objc_initWeak(i8** [[T2]], i8* [[T3]]) [[NUW]]
43 // CHECK-NEXT: call void @objc_destroyWeak(i8** [[T0]]) [[NUW]]
44 // CHECK-NEXT: call void @objc_end_catch() [[NUW]]
46 // CHECK: attributes [[NUW]] = { nounwind }
Dns_consume_null_check.m28 // CHECK: call void @objc_release(i8* [[FIVE]]) [[NUW:#[0-9]+]]
47 // CHECK-NEXT: call i8* @objc_initWeak(i8** [[WEAKOBJ]], i8* [[T0]]) [[NUW]]
68 // CHECK: call void @objc_release(i8* [[ARG_RETAINED]]) [[NUW]]
78 // CHECK-NEXT: call void @objc_destroyWeak(i8** [[WEAKOBJ]]) [[NUW]]
79 // CHECK-NEXT: call void @objc_storeStrong(i8** [[OBJ]], i8* null) [[NUW]]
83 // CHECK: call void @objc_destroyWeak(i8** [[WEAKOBJ]]) [[NUW]]
85 // CHECK: attributes [[NUW]] = { nounwind }
Ddebug-info-block-line.m65 // CHECK: call void @objc_storeStrong(i8** [[ZERO:%.*]], i8* [[ONE:%.*]]) [[NUW:#[0-9]+]]
66 // CHECK: call void @objc_storeStrong(i8** [[TWO:%.*]], i8* [[THREE:%.*]]) [[NUW]]
72 // CHECK: call void @objc_storeStrong(i8** [[VAL1:%.*]], i8* null) [[NUW]]
74 // CHECK-NEXT: call void @objc_storeStrong(i8** [[VAL2:%.*]], i8* null) [[NUW]]
76 // CHECK: attributes [[NUW]] = { nounwind }
Darc-block-copy-escape.m12 …// CHECK: call {{.*}}i8* @objc_retainBlock(i8* {{%.*}}) [[NUW:#[0-9]+]], !clang.arc.copy_on_es…
19 // CHECK: call {{.*}}i8* @objc_retainBlock(i8* {{%.*}}) [[NUW]]
24 // CHECK: attributes [[NUW]] = { nounwind }
Dobjc-arc-container-subscripting.m15 // CHECK: [[SIX:%.*]] = call i8* @objc_retainAutoreleasedReturnValue(i8* [[call]]) [[NUW:#[0-9]+]]
18 // CHECK: [[EIGHT:%.*]] = tail call i8* @objc_autoreleaseReturnValue(i8* [[SIX]]) [[NUW]]
21 // CHECK: attributes [[NUW]] = { nounwind }
Darc-unoptimized-byref-var.m11 // CHECK-UNOPT-NEXT: call void @objc_storeStrong(i8** [[X]], i8* [[SIX]]) [[NUW:#[0-9]+]]
12 // CHECK-UNOPT-NEXT: call void @objc_storeStrong(i8** [[X2]], i8* null) [[NUW]]
16 // CHECK: attributes [[NUW]] = { nounwind }
Darc-precise-lifetime.m17 // CHECK-NEXT: call void @objc_release(i8* [[T1]]) [[NUW:#[0-9]+]]
21 // CHECK-NEXT: call void @objc_release(i8* [[T1]]) [[NUW:#[0-9]+]]
63 // CHECK-NEXT: call void @objc_release(i8* [[T1]]) [[NUW]], !clang.imprecise_release
97 // CHECK-NEXT: call void @objc_release(i8* [[T1]]) [[NUW]], !clang.imprecise_release
128 // CHECK-NEXT: call void @objc_release(i8* [[T1]]) [[NUW]]
159 // CHECK-NEXT: call void @objc_release(i8* [[T1]]) [[NUW]]
193 // CHECK-NEXT: call void @objc_release(i8* [[T1]]) [[NUW]], !clang.imprecise_release
226 // CHECK-NEXT: call void @objc_release(i8* [[T1]]) [[NUW]], !clang.imprecise_release
304 // CHECK-NEXT: [[T1:%.*]] = call i8* @objc_retain(i8* [[T0]]) [[NUW]]
315 // CHECK-NEXT: call void @objc_release(i8* [[T4]]) [[NUW]]
[all …]
Dgc.m12 // CHECK-NEXT: call void asm sideeffect "", "r"(i8* [[T0]]) [[NUW:#[0-9]+]]
16 // CHECK: attributes [[NUW]] = { nounwind }
/external/llvm/test/Transforms/DeadArgElim/
D2007-12-20-ParamAttrs.ll7 ; CHECK: define internal void @foo(i8 signext %y) [[NUW:#[0-9]+]]
15 ; CHECK: call void @foo(i8 signext 1) [[NUW]]
20 ; CHECK: attributes [[NUW]] = { nounwind }
/external/llvm/test/Transforms/ArgumentPromotion/
D2008-02-01-ReturnAttrs.ll14 ; CHECK: %tmp1 = call i32 @deref(i32 %x_addr.val) [[NUW:#[0-9]+]]
19 ; CHECK: attributes [[NUW]] = { nounwind }
/external/llvm/test/Transforms/IPConstantProp/
Duser-with-multiple-uses.ll9 ; CHECK-NEXT: %call2 = tail call i32 @wwrite(i64 0) [[NUW:#[0-9]+]]
34 ; CHECK: attributes [[NUW]] = { nounwind }
/external/llvm/test/Transforms/SimplifyCFG/
Dswitch-on-const-select.ll38 ; CHECK-NEXT: tail call void @bees.a() [[NUW:#[0-9]+]]
64 ; CHECK-NEXT: tail call void @bees.b() [[NUW]]
89 ; CHECK-NEXT: tail call void @bees.a() [[NUW]]
140 ; CHECK: attributes [[NUW]] = { nounwind }
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp185 AssumptionCache *AC, DominatorTree *DT, bool &NSW, bool &NUW) { in GetLinearExpression() argument
233 SExtBits, DL, Depth + 1, AC, DT, NSW, NUW); in GetLinearExpression()
238 SExtBits, DL, Depth + 1, AC, DT, NSW, NUW); in GetLinearExpression()
243 SExtBits, DL, Depth + 1, AC, DT, NSW, NUW); in GetLinearExpression()
249 SExtBits, DL, Depth + 1, AC, DT, NSW, NUW); in GetLinearExpression()
254 NSW = NUW = false; in GetLinearExpression()
259 NUW &= BOp->hasNoUnsignedWrap(); in GetLinearExpression()
276 Depth + 1, AC, DT, NSW, NUW); in GetLinearExpression()
303 if (!NUW) { in GetLinearExpression()
447 bool NSW = true, NUW = true; in DecomposeGEPExpression() local
[all …]

123