Home
last modified time | relevance | path

Searched refs:pointers (Results 1 – 25 of 965) sorted by relevance

12345678910>>...39

/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Dpersonality.mm1 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exception…
5 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exception…
9 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exception…
13 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exception…
18 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exception…
19 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exception…
23 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exception…
41 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-windows-gnu -fexceptions -fobjc-excepti…
45 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-windows-gnu -fexceptions -fobjc-excepti…
49 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-windows-gnu -fexceptions -fobjc-excepti…
[all …]
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dpersonality.m1 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exception…
2 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exception…
3 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exception…
4 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exception…
6 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exception…
7 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exception…
10 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exception…
27 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-windows-gnu -fexceptions -fobjc-excepti…
28 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-windows-gnu -fexceptions -fobjc-excepti…
29 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-unknown-windows-gnu -fexceptions -fobjc-excepti…
[all …]
H A Davailability-cf-link-guard.m1 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-macosx10.11 -emit-llvm -o - %s | FileCh…
2 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-macosx10.11 -emit-llvm -o - -D USE_BUIL…
3 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-macosx10.11 -emit-llvm -o - -D DEF_CF %…
4 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-macosx10.12 -emit-llvm -o - %s | FileCh…
5 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-unknown-linux -emit-llvm -o - %s | FileCheck …
6 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-macos10.15 -DCHECK_OS="macos 10.15.1" -…
7 // RUN: %clang_cc1 -no-opaque-pointers -triple arm64-apple-ios13.0 -DCHECK_OS="ios 14" -emit-llvm -…
8 // RUN: %clang_cc1 -no-opaque-pointers -triple arm64-apple-tvos13.0 -DCHECK_OS="tvos 14" -emit-llvm…
9 // RUN: %clang_cc1 -no-opaque-pointers -triple arm64-apple-watchos6.0 -DCHECK_OS="watchos 7" -emit-…
10 // RUN: %clang_cc1 -no-opaque-pointers -triple arm64-apple-ios12.0 -DCHECK_OS="ios 13" -emit-llvm -…
[all …]
H A Dnon-runtime-protocol.m1 // RUN: not %clang_cc1 -no-opaque-pointers -emit-llvm -fobjc-arc -triple x86_64-apple-darwin10 %s -…
4 // RUN: %clang_cc1 -no-opaque-pointers -emit-llvm -fobjc-arc -triple x86_64-apple-darwin10 %s -DRED…
6 // RUN: %clang_cc1 -no-opaque-pointers -emit-llvm -fobjc-arc -triple x86_64-apple-darwin10 %s -DRED…
9 // RUN: %clang_cc1 -no-opaque-pointers -emit-llvm -fobjc-arc -triple x86_64-apple-darwin10 %s -DBAS…
11 // RUN: %clang_cc1 -no-opaque-pointers -emit-llvm -fobjc-arc -triple x86_64-apple-darwin10 %s -DINH…
14 // RUN: %clang_cc1 -no-opaque-pointers -emit-llvm -triple x86_64-apple-darwin -fobjc-runtime=macosx…
16 // RUN: %clang_cc1 -no-opaque-pointers -emit-llvm -triple x86_64-apple-darwin -fobjc-runtime=macosx…
19 // RUN: %clang_cc1 -no-opaque-pointers -emit-llvm -triple x86_64-linux-gnu -fobjc-runtime=gnustep %…
21 // RUN: %clang_cc1 -no-opaque-pointers -emit-llvm -triple x86_64-linux-gnu -fobjc-runtime=gnustep %…
24 // RUN: %clang_cc1 -no-opaque-pointers -emit-llvm -triple x86_64-linux-gnu -fobjc-runtime=gnustep-2…
[all …]
H A DNSFastEnumeration.m1 // RUN: %clang_cc1 -no-opaque-pointers -triple i686-apple-ios10.3 -fobjc-runtime=ios-6.0 -Os -emit-…
2 // RUN: %clang_cc1 -no-opaque-pointers -triple i686--windows-msvc -fobjc-runtime=ios-6.0 -Os -emit-…
3 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-ios10.3 -fobjc-runtime=ios-6.0 -Os -emi…
4 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64--windows-msvc -fobjc-runtime=ios-6.0 -Os -emi…
H A Dstret-lifetime.m1 // RUN: %clang_cc1 -no-opaque-pointers -triple arm64-apple-darwin -S -emit-llvm -o - -O2 -disabl…
2 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-darwin10 -S -emit-llvm -o - -O2 -disabl…
3 // RUN: %clang_cc1 -no-opaque-pointers -triple arm64-apple-darwin -fobjc-arc -S -emit-llvm -o - …
4 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-darwin10 -fobjc-arc -S -emit-llvm -o - …
/llvm-project-15.0.7/llvm/docs/
H A DOpaquePointers.rst11 types, there is a desire to remove pointee types from pointers.
46 LLVM IR pointers can be cast back and forth between pointers with different
93 bitcast pointers, losing address space information.
108 In opaque pointers mode (the default), all pointers are opaque. The opaque
117 opaque pointers.
162 opaque pointers, ``Type::isOpaquePointerTy()`` and
177 meaningless once all pointers are opaque.
183 with typed an opaque pointers:
261 ``-opaque-pointers=0``.
265 * Migrate Clang/LLVM tests to use opaque pointers.
[all …]
/llvm-project-15.0.7/compiler-rt/test/scudo/
H A Dinterface.cpp50 std::vector<void *> pointers; in main() local
55 pointers.push_back(p); in main()
69 while (!pointers.empty()) { in main()
70 free(pointers.back()); in main()
71 pointers.pop_back(); in main()
76 std::vector<void *> pointers; in main() local
81 pointers.push_back(p); in main()
/llvm-project-15.0.7/clang/test/SemaHLSL/
H A Dprohibit_pointer.hlsl3 // expected-error@+1 {{pointers are unsupported in HLSL}}
5 void* bark(int); // expected-error {{pointers are unsupported in HLSL}}
6 void meow(int*); // expected-error {{pointers are unsupported in HLSL}}
11 } *bad; // expected-error {{pointers are unsupported in HLSL}}
13 // expected-error@+1 {{pointers are unsupported in HLSL}}
21 // expected-error@+1 {{pointers are unsupported in HLSL}}
26 int *Y = &X; // expected-error {{pointers are unsupported in HLSL}}
39 int roar(Foo *F) { // expected-error {{pointers are unsupported in HLSL}}
52 // not-expected-error@+1 {{pointers are unsupported in HLSL}}
55 // not-expected-error@+1 {{pointers are unsupported in HLSL}}
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Posix/
H A Dinvalid-pointer-pairs-threads.cpp14 char *pointers[2]; variable
21 pointers[id] = &local; in thread_main()
41 unsigned r = pointers[0] - pointers[1]; in main()
48 unsigned r = parent_pointer - pointers[0]; in main()
/llvm-project-15.0.7/libcxx/test/support/
H A Dpointer_comparison_test_helper.h32 int* pointers[] = {&local.a, &local.b, nullptr, &local.a + 1}; in do_pointer_comparison_test() local
33 for (int* lhs : pointers) { in do_pointer_comparison_test()
34 for (int* rhs : pointers) { in do_pointer_comparison_test()
48 int* pointers[] = {&local.a, &local.b, nullptr, &local.a + 1}; in do_pointer_comparison_test() local
49 for (int* lhs : pointers) { in do_pointer_comparison_test()
50 for (int* rhs : pointers) { in do_pointer_comparison_test()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/objc/
H A Dnsinvocation-argument-lifetime.m42 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
45 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
48 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
51 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
56 …@LINE-1]]:30: warning: NSInvocation '-getReturnValue:' should only pass pointers to objects with o…
62 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
84 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
86 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
93 …@LINE-1]]:30: warning: NSInvocation '-getReturnValue:' should only pass pointers to objects with o…
101 …-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with o…
/llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/CPU/
H A Dsparse_storage.mlir100 // pointers(1)
108 %7 = sparse_tensor.pointers %1, %c1 : tensor<10x8xf64, #CSR> to memref<?xindex>
121 // pointers(0)
123 // pointers(1)
133 %13 = sparse_tensor.pointers %2, %c0 : tensor<10x8xf64, #DCSR> to memref<?xindex>
152 // pointers(1)
160 %23 = sparse_tensor.pointers %3, %c1 : tensor<10x8xf64, #CSC> to memref<?xindex>
173 // pointers(0)
175 // pointers(1)
204 // pointers(0)
[all …]
/llvm-project-15.0.7/llvm/test/Bitcode/
H A Dopaque-ptr.ll1 ; RUN: llvm-as --opaque-pointers < %s | not llvm-dis --opaque-pointers=0 2>&1 | FileCheck %s
3 ; CHECK: error: Opaque pointers are only supported in -opaque-pointers mode
/llvm-project-15.0.7/llvm/test/Analysis/BasicAA/
H A Ddereferenceable.ll9 ; CHECK: Function: global_and_deref_arg_1: 2 pointers, 0 call sites
19 ; CHECK: Function: global_and_deref_arg_2: 2 pointers, 0 call sites
29 ; CHECK: Function: byval_and_deref_arg_1: 2 pointers, 0 call sites
39 ; CHECK: Function: byval_and_deref_arg_2: 2 pointers, 0 call sites
53 ; CHECK: Function: local_and_deref_ret_1: 2 pointers, 2 call sites
66 ; CHECK: Function: local_and_deref_ret_2: 2 pointers, 2 call sites
82 ; CHECK: Function: global_and_deref_arg_non_deref_1: 2 pointers, 0 call sites
92 ; CHECK: Function: global_and_deref_arg_non_deref_2: 2 pointers, 0 call sites
103 ; CHECK: Function: byval_and_deref_arg_non_deref_1: 2 pointers, 0 call sites
113 ; CHECK: Function: byval_and_deref_arg_non_deref_2: 2 pointers, 0 call sites
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Language/ObjC/
H A DCFBasicHash.cpp64 m_exe_ctx_ref.GetProcessSP()->ReadMemory(ptr_offset, m_ht->pointers, size, in UpdateFor()
101 return m_ht_32->pointers[m_ht_32->bits.keys_offset]; in GetKeyPointer()
103 return m_ht_64->pointers[m_ht_64->bits.keys_offset]; in GetKeyPointer()
111 return m_ht_32->pointers[0]; in GetValuePointer()
113 return m_ht_64->pointers[0]; in GetValuePointer()
/llvm-project-15.0.7/clang/test/utils/update_cc_test_checks/Inputs/
H A Dexec-all-runlines.c.expected5 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-unknown-linux-gnu -fopenmp %s.copy.c -emit-ll…
6 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-unknown-linux-gnu -fopenmp -fopenmp-host-ir-f…
7 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-unknown-linux-gnu -emit-pch %s -o %t
8 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-unknown-linux-gnu -include-pch %t %s.copy.c -…
9 // RUN: %clang_cc1 -no-opaque-pointers -triple powerpc64le-unknown-linux-gnu -emit-pch %s -o %t
10 // RUN: %clang_cc1 -no-opaque-pointers -triple powerpc64le-unknown-linux-gnu -include-pch %t %s.cop…
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Daddress-spaces.cl1 // RUN: %clang_cc1 -no-opaque-pointers %s -O0 -ffake-address-space-map -emit-llvm -o - | FileCheck …
2 // RUN: %clang_cc1 -no-opaque-pointers %s -O0 -cl-std=CL3.0 -cl-ext=-all -ffake-address-space-map -…
3 // RUN: %clang_cc1 -no-opaque-pointers %s -O0 -cl-std=clc++2021 -cl-ext=-all -ffake-address-space-m…
4 // RUN: %clang_cc1 -no-opaque-pointers %s -O0 -DCL20 -cl-std=CL2.0 -ffake-address-space-map -emit-l…
5 // RUN: %clang_cc1 -no-opaque-pointers %s -O0 -triple amdgcn-amd-amdhsa -emit-llvm -o - | FileCheck…
6 // RUN: %clang_cc1 -no-opaque-pointers %s -O0 -triple amdgcn-amd-amdhsa -cl-std=CL3.0 -emit-llvm -o…
7 // RUN: %clang_cc1 -no-opaque-pointers %s -O0 -triple amdgcn-amd-amdhsa -DCL20 -cl-std=CL2.0 -emit-…
8 // RUN: %clang_cc1 -no-opaque-pointers %s -O0 -triple amdgcn-mesa-mesa3d -emit-llvm -o - | FileChec…
9 // RUN: %clang_cc1 -no-opaque-pointers %s -O0 -triple amdgcn-mesa-mesa3d -cl-std=CL3.0 -emit-llvm -…
10 // RUN: %clang_cc1 -no-opaque-pointers %s -O0 -triple r600-- -emit-llvm -o - | FileCheck --check-pr…
[all …]
H A Dprintf.cl1 // RUN: %clang_cc1 -no-opaque-pointers -no-enable-noundef-analysis -cl-std=CL1.2 -cl-ext=-+cl_khr_f…
2 // RUN: %clang_cc1 -no-opaque-pointers -no-enable-noundef-analysis -cl-std=CL1.2 -cl-ext=-cl_khr_fp…
3 // RUN: %clang_cc1 -no-opaque-pointers -no-enable-noundef-analysis -cl-std=CL3.0 -cl-ext=+__opencl_…
4 // RUN: %clang_cc1 -no-opaque-pointers -no-enable-noundef-analysis -cl-std=CL3.0 -cl-ext=-__opencl_…
5 // RUN: %clang_cc1 -no-opaque-pointers -no-enable-noundef-analysis -cl-std=clc++2021 -cl-ext=+__ope…
6 // RUN: %clang_cc1 -no-opaque-pointers -no-enable-noundef-analysis -cl-std=clc++2021 -cl-ext=-__ope…
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcompound-literals.c20 int **pointers = (int *[]){&integers[0], NULL}; in bar()
21 clang_analyzer_eval(pointers[0] == NULL); // expected-warning{{FALSE}} in bar()
22 clang_analyzer_eval(pointers[1] == NULL); // expected-warning{{TRUE}} in bar()
/llvm-project-15.0.7/clang/docs/
H A DConstantInterpreter.rst85 the union of all pointers which can be cast to void.
140 even when there are live pointers to them. Pointers are only valid as
232 target pointers with a zero offset.
280 ``&a.c[0].a``. In the interpreter, all these pointers must be
299 The ``Base`` offset of all pointers points to the start of a field or
305 Array elements are identified by the ``Offset`` field of pointers,
317 Extern pointers can be derived, pointing into symbols which are not
320 the ``LValuePath`` of an APValue. Extern pointers can be converted
321 to block pointers if the underlying variable is defined after the
342 case, null pointers are target pointers with all offsets set to 0.
[all …]
/llvm-project-15.0.7/llvm/test/LTO/X86/
H A Dmix-opaque-typed.ll1 ; RUN: llvm-as -opaque-pointers=0 %s -o %t-typed.bc
2 ; RUN: llvm-as -opaque-pointers=1 %S/Inputs/opaque-pointers.ll -o %t-opaque.bc
4 ; RUN: -lto-opaque-pointers \
/llvm-project-15.0.7/clang/test/Modules/
H A Dcodegen-opt.test4 RUN: %clang_cc1 -no-opaque-pointers -triple=x86_64-linux-gnu -fmodules-codegen -x c++ -fmodules -em…
5 RUN: %clang_cc1 -no-opaque-pointers -triple=x86_64-linux-gnu -fmodules-codegen -x c++ -fmodules -em…
7 RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-linux-gnu -emit-llvm -o - %t/foo.pcm | FileCheck…
8 RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-linux-gnu -emit-llvm -o - %t/bar.pcm -fmodule-fi…
9 RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-linux-gnu -emit-llvm -o - -fmodules -fmodule-fil…
11 RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-linux-gnu -emit-llvm -o - -O2 -disable-llvm-pass…
12 RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-linux-gnu -emit-llvm -o - -O2 -disable-llvm-pass…
13 RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-linux-gnu -emit-llvm -o - -O2 -disable-llvm-pass…
/llvm-project-15.0.7/clang/test/Index/
H A Dpipe-size.cl1 // RUN: %clang_cc1 -no-opaque-pointers -x cl -O0 -cl-std=CL2.0 -emit-llvm -triple x86_64-unknown-li…
2 // RUN: %clang_cc1 -no-opaque-pointers -x cl -O0 -cl-std=CL2.0 -emit-llvm -triple spir-unknown-unkn…
3 // RUN: %clang_cc1 -no-opaque-pointers -x cl -O0 -cl-std=CL2.0 -emit-llvm -triple spir64-unknown-un…
4 // RUN: %clang_cc1 -no-opaque-pointers -x cl -O0 -cl-std=CL2.0 -emit-llvm -triple amdgcn-amd-amdhsa…
/llvm-project-15.0.7/llvm/test/Other/
H A Dforce-opaque-ptrs.ll2 ; RUN: llvm-as --opaque-pointers < %s | llvm-dis --opaque-pointers | FileCheck %s
3 ; RUN: llvm-as < %s | llvm-dis --opaque-pointers | FileCheck %s
4 ; RUN: llvm-as --opaque-pointers < %s | llvm-dis | FileCheck %s
5 ; RUN: opt --opaque-pointers < %s -S | FileCheck %s
6 ; RUN: verify-uselistorder --opaque-pointers < %s

12345678910>>...39