/external/llvm-project/llvm/test/Other/ |
D | invariant.group.ll | 7 ; launder.invariant.group, that is prohibited if there is a memory clobber 15 ; CHECK: call i8* @llvm.launder.invariant.group.p0i8 16 %ptr2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr) 18 ; CHECK: call i8* @llvm.launder.invariant.group 19 %ptr3 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr) 38 ; CHECK: call i8* @llvm.launder.invariant.group.p0i8 39 %ptr2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr) 41 ; CHECK: call i8* @llvm.launder.invariant.group.p0i8 42 %ptr3 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr) 59 ; CHECK: call i8* @llvm.launder.invariant.group [all …]
|
/external/llvm-project/libcxx/test/std/language.support/support.dynamic/ptr.launder/ |
D | launder.pass.cpp | 24 static_assert(std::launder(&gi) == &gi, "" ); in main() 25 static_assert(std::launder(&gf) == &gf, "" ); in main() 29 static_assert(std::is_same<decltype(i), decltype(std::launder(i))>::value, ""); in main() 30 static_assert(std::is_same<decltype(f), decltype(std::launder(f))>::value, ""); in main() 32 assert(std::launder(i) == i); in main() 33 assert(std::launder(f) == f); in main()
|
D | launder.types.fail.cpp | 27 (void) std::launder(( void *) nullptr); in main() 28 (void) std::launder((const void *) nullptr); in main() 29 (void) std::launder(( volatile void *) nullptr); in main() 30 …(void) std::launder((const volatile void *) nullptr); // expected-error-re@new:* 4 {{static_asser… in main() 33 …(void) std::launder(foo); // expected-error-re@new:* 1 {{static_asser… in main()
|
D | launder.nodiscard.verify.cpp | 24 …std::launder(p); // expected-warning {{ignoring return value of function declared with 'nodiscard'… in main()
|
/external/libcxx/test/std/language.support/support.dynamic/ptr.launder/ |
D | launder.pass.cpp | 25 static_assert(std::launder(&gi) == &gi, "" ); in main() 26 static_assert(std::launder(&gf) == &gf, "" ); in main() 30 static_assert(std::is_same<decltype(i), decltype(std::launder(i))>::value, ""); in main() 31 static_assert(std::is_same<decltype(f), decltype(std::launder(f))>::value, ""); in main() 33 assert(std::launder(i) == i); in main() 34 assert(std::launder(f) == f); in main()
|
D | launder.types.fail.cpp | 28 (void) std::launder(( void *) nullptr); in main() 29 (void) std::launder((const void *) nullptr); in main() 30 (void) std::launder(( volatile void *) nullptr); in main() 31 …(void) std::launder((const volatile void *) nullptr); // expected-error-re@new:* 4 {{static_asser… in main() 34 …(void) std::launder(foo); // expected-error-re@new:* 1 {{static_asser… in main()
|
D | launder.nodiscard.fail.cpp | 26 …std::launder(p); // expected-error {{ignoring return value of function declared with 'nodiscard' … in main()
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | invariant.group.ll | 7 %b2 = call i8* @llvm.launder.invariant.group.p0i8(i8* null) 13 ; CHECK-NEXT: call i8* @llvm.launder.invariant.group.p0i8(i8* null) 14 %b2 = call i8* @llvm.launder.invariant.group.p0i8(i8* null) 20 ; CHECK: %b2 = call i8 addrspace(42)* @llvm.launder.invariant.group.p42i8(i8 addrspace(42)* null) 22 %b2 = call i8 addrspace(42)* @llvm.launder.invariant.group.p42i8(i8 addrspace(42)* null) 29 %b2 = call i8* @llvm.launder.invariant.group.p0i8(i8* undef) 36 %b2 = call i8 addrspace(42)* @llvm.launder.invariant.group.p42i8(i8 addrspace(42)* undef) 78 ; CHECK: call i8* @llvm.launder.invariant.group.p0i8(i8* %a) 79 ; CHECK-NOT: llvm.launder.invariant.group 80 %a2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %a) [all …]
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | bugprone-unused-return-value.cpp | 60 T *launder(T *); 85 std::launder(&F); in warning() 195 auto LaunderRetval = std::launder(&FNoWarning); in noWarning() 214 std::launder(&FNoWarning)->f(); in noWarning() 215 delete std::launder(&FNoWarning); in noWarning() 217 if (std::launder(&FNoWarning)) in noWarning() 219 for (; std::launder(&FNoWarning);) in noWarning() 221 while (std::launder(&FNoWarning)) in noWarning() 225 while (std::launder(&FNoWarning)); in noWarning()
|
D | bugprone-unused-return-value-custom.cpp | 10 T *launder(T *); 104 std::launder(&I); in noWarning()
|
/external/llvm-project/llvm/test/Transforms/DeadStoreElimination/MSSA/ |
D | launder.invariant.group.ll | 7 ; CHECK: %ptr2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr) 8 %ptr2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr) 18 ; CHECK: %ptr2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr) 19 %ptr2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr) 22 %ptr3 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr2) 23 %ptr4 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr3) 54 %ptr3 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr2) 56 %ptr5 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr3) 64 declare i8* @llvm.launder.invariant.group.p0i8(i8*)
|
/external/llvm-project/llvm/test/Transforms/DeadStoreElimination/MemDepAnalysis/ |
D | launder.invariant.group.ll | 7 ; CHECK: %ptr2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr) 8 %ptr2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr) 18 ; CHECK: %ptr2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr) 19 %ptr2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr) 22 %ptr3 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr2) 23 %ptr4 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr3) 54 %ptr3 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr2) 56 %ptr5 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr3) 64 declare i8* @llvm.launder.invariant.group.p0i8(i8*)
|
/external/llvm-project/llvm/test/Bitcode/ |
D | upgrade-invariant-group-barrier.ll | 4 ; it was renamed to launder.invariant.group 7 ; CHECK: %p2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %p1) 8 ; CHECK: %p3 = call i8* @llvm.launder.invariant.group.p0i8(i8* %p1) 9 ; CHECK: %p4 = call i16* @llvm.launder.invariant.group.p0i16(i16* %p16) 17 ; CHECK: declare i8* @llvm.launder.invariant.group.p0i8(i8*) 19 ; CHECK: declare i16* @llvm.launder.invariant.group.p0i16(i16*)
|
/external/llvm-project/llvm/test/Transforms/Inline/ |
D | launder.invariant.group.ll | 7 ; This test checks if value returned from the launder is considered aliasing 8 ; with its argument. Due to bug caused by handling launder in capture tracking 14 %3 = call i8* @llvm.launder.invariant.group.p0i8(i8* %2) 44 %a1 = call i8* @llvm.launder.invariant.group.p0i8(i8* %p) 45 %a2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %a1) 46 %a3 = call i8* @llvm.launder.invariant.group.p0i8(i8* %a2) 47 %a4 = call i8* @llvm.launder.invariant.group.p0i8(i8* %a3) 58 declare i8* @llvm.launder.invariant.group.p0i8(i8*)
|
/external/llvm-project/llvm/test/Analysis/MemorySSA/ |
D | invariant-groups.ll | 5 ; launder.invariant.group intrinsics entirely. We'll need to pay attention to 21 ; CHECK-NEXT: %a8 = call i8* @llvm.launder.invariant.group.p0i8(i8* %1) 22 %a8 = call i8* @llvm.launder.invariant.group.p0i8(i8* %1) 40 ; CHECK-NEXT: %a8 = call i8* @llvm.launder.invariant.group.p0i8(i8* %1) 41 %a8 = call i8* @llvm.launder.invariant.group.p0i8(i8* %1) 59 ; CHECK-NEXT: %a8 = call i8* @llvm.launder.invariant.group.p0i8(i8* %1) 60 %a8 = call i8* @llvm.launder.invariant.group.p0i8(i8* %1) 90 ; CHECK-NEXT: %a8 = call i8* @llvm.launder.invariant.group.p0i8(i8* %1) 91 %a8 = call i8* @llvm.launder.invariant.group.p0i8(i8* %1) 149 ; CHECK-NEXT: %after = call i8* @llvm.launder.invariant.group.p0i8(i8* %p) [all …]
|
/external/llvm-project/llvm/test/Analysis/BasicAA/ |
D | invariant_group.ll | 29 ; CHECK-DAG: NoModRef: Ptr: %struct.A* %a <-> %a.laundered = call i8* @llvm.launder.invariant.group… 30 ; CHECK-DAG: NoModRef: Ptr: i8* %a.bitcast <-> %a.laundered = call i8* @llvm.launder.invariant.grou… 31 ; CHECK-DAG: NoModRef: Ptr: i8* %n <-> %a.laundered = call i8* @llvm.launder.invariant.group.p0i8(i… 32 ; CHECK-DAG: NoModRef: Ptr: i8* %a.laundered <-> %a.laundered = call i8* @llvm.launder.invariant.gr… 33 ; CHECK-DAG: NoModRef: Ptr: i8* %n.laundered <-> %a.laundered = call i8* @llvm.launder.invariant.gr… 40 %a.laundered = call i8* @llvm.launder.invariant.group.p0i8(i8* nonnull %a.bitcast) 48 declare i8* @llvm.launder.invariant.group.p0i8(i8*)
|
/external/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/ |
D | unknown-intrinsic.ll | 3 declare i8* @llvm.launder.invariant.group(i8*) 6 ; CHECK: bl llvm.launder.invariant.group 7 %q = call i8* @llvm.launder.invariant.group(i8* %p)
|
/external/llvm-project/llvm/test/Analysis/ValueTracking/ |
D | invariant.group.ll | 5 ; CHECK: %[[p:.*]] = call i8* @llvm.launder.invariant.group.p0i8(i8* nonnull %0) 10 %p = call i8* @llvm.launder.invariant.group.p0i8(i8* %0) 11 %p2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %p) 31 declare i8* @llvm.launder.invariant.group.p0i8(i8*)
|
D | deref-bitcast-of-gep.ll | 87 ; CHECK: %l = call i8* @llvm.launder.invariant.group.p0i8(i8* %p) 95 %l = call i8* @llvm.launder.invariant.group.p0i8(i8* %p) 105 declare i8* @llvm.launder.invariant.group.p0i8(i8*)
|
/external/llvm-project/llvm/test/Transforms/GlobalOpt/ |
D | invariant.group.ll | 36 %barr = call i8* @llvm.launder.invariant.group(i8* %0) 44 ; We can't step through launder.invariant.group here, because that would change 57 %barr = call i8* @llvm.launder.invariant.group(i8* %0) 77 declare i8* @llvm.launder.invariant.group(i8*)
|
/external/llvm-project/llvm/test/Transforms/CodeGenPrepare/X86/ |
D | invariant.group.ll | 9 ; CHECK-NOT: @llvm.launder.invariant.group.p0i8( 12 %ptr = call i8* @llvm.launder.invariant.group.p0i8(i8* @tmp) 38 declare i8* @llvm.launder.invariant.group.p0i8(i8*)
|
/external/llvm-project/llvm/test/Instrumentation/MemorySanitizer/ |
D | msan_llvm_launder_invariant.ll | 1 ; Make sure MSan handles llvm.launder.invariant.group correctly. 21 %3 = call i8* @llvm.launder.invariant.group.p0i8(i8* %2) 32 declare i8* @llvm.launder.invariant.group.p0i8(i8*)
|
/external/llvm-project/llvm/test/CodeGen/Generic/ |
D | intrinsics.ll | 42 declare i8* @llvm.launder.invariant.group(i8*) 44 define i8* @launder(i8* %p) { 45 %q = call i8* @llvm.launder.invariant.group(i8* %p)
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | promote-alloca-invariant-markers.ll | 6 declare i8 addrspace(5)* @llvm.launder.invariant.group.p5i8(i8 addrspace(5)*) #1 20 %tmp5 = call i8 addrspace(5)* @llvm.launder.invariant.group.p5i8(i8 addrspace(5)* %tmp1) #1
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | bugprone-unused-return-value.rst | 14 …``::std::async;::std::launder;::std::remove;::std::remove_if;::std::unique;::std::unique_ptr::rele… 18 - ``std::launder()``. Not using the return value usually means that the
|