Home
last modified time | relevance | path

Searched refs:example (Results 1 – 25 of 1213) sorted by relevance

12345678910>>...49

/llvm-project-15.0.7/llvm/test/Transforms/RewriteStatepointsForGC/
H A Dstrip-invalid-attributes.ll10 …ne i8 addrspace(1)* @deref_arg(i8 addrspace(1)* dereferenceable(16) %arg) gc "statepoint-example" {
34 define i8 addrspace(1)* @noalias_arg(i8 addrspace(1)* noalias %arg) gc "statepoint-example" {
40 define noalias i8 addrspace(1)* @noalias_ret(i8 addrspace(1)* %arg) gc "statepoint-example" {
46 define i8 addrspace(1)* @nofree(i8 addrspace(1)* nofree %arg) nofree gc "statepoint-example" {
47 ; CHECK: define i8 addrspace(1)* @nofree(i8 addrspace(1)* %arg) gc "statepoint-example" {
52 define i8 addrspace(1)* @nosync(i8 addrspace(1)* %arg) nosync gc "statepoint-example" {
53 ; CHECK: define i8 addrspace(1)* @nosync(i8 addrspace(1)* %arg) gc "statepoint-example" {
59 ; CHECK: define i8 addrspace(1)* @readnone(i8 addrspace(1)* %arg) gc "statepoint-example" {
65 ; CHECK: define i8 addrspace(1)* @readonly(i8 addrspace(1)* %arg) gc "statepoint-example" {
71 ; CHECK: define i8 addrspace(1)* @writeonly(i8 addrspace(1)* %arg) gc "statepoint-example" {
[all …]
H A Dderef-pointers.ll18 … i8 addrspace(1)* @test_deref_arg(i8 addrspace(1)* dereferenceable(4) %a) gc "statepoint-example" {
24 …* @test_deref_or_null_arg(i8 addrspace(1)* dereferenceable_or_null(4) %a) gc "statepoint-example" {
30 define i8 addrspace(1)* @test_noalias_arg(i8 addrspace(1)* noalias %a) gc "statepoint-example" {
36 define i8 addrspace(1)* @test_deref_retval() gc "statepoint-example" {
45 define i8 addrspace(1)* @test_deref_or_null_retval() gc "statepoint-example" {
54 define i8 addrspace(1)* @test_noalias_retval() gc "statepoint-example" {
63 define i8 @test_md(i8 addrspace(1)* %ptr) gc "statepoint-example" {
73 define i8 @test_md_new(i8 addrspace(1)* %ptr) gc "statepoint-example" {
82 define i8 addrspace(1)* @test_decl_only_attribute(i8 addrspace(1)* %ptr) gc "statepoint-example" {
92 define i8 addrspace(1)* @test_decl_only_noalias(i8 addrspace(1)* %ptr) gc "statepoint-example" {
[all …]
H A Dunordered-atomic-memcpy.ll11 …src, i64 %src_offset, i8 addrspace(1)* %dest, i64 %dest_offset, i32 %len) gc "statepoint-example" {
13 … i8 addrspace(1)* [[DEST:%.*]], i64 [[DEST_OFFSET:%.*]], i32 [[LEN:%.*]]) gc "statepoint-example" {
36 …src, i64 %src_offset, i8 addrspace(1)* %dest, i64 %dest_offset, i32 %len) gc "statepoint-example" {
50 …src, i64 %src_offset, i8 addrspace(1)* %dest, i64 %dest_offset, i32 %len) gc "statepoint-example" {
64 …src, i64 %src_offset, i8 addrspace(1)* %dest, i64 %dest_offset, i32 %len) gc "statepoint-example" {
78 …src, i64 %src_offset, i8 addrspace(1)* %dest, i64 %dest_offset, i32 %len) gc "statepoint-example" {
92 …src, i64 %src_offset, i8 addrspace(1)* %dest, i64 %dest_offset, i32 %len) gc "statepoint-example" {
106 …src, i64 %src_offset, i8 addrspace(1)* %dest, i64 %dest_offset, i32 %len) gc "statepoint-example" {
131 …src, i64 %src_offset, i8 addrspace(1)* %dest, i64 %dest_offset, i32 %len) gc "statepoint-example" {
145 …src, i64 %src_offset, i8 addrspace(1)* %dest, i64 %dest_offset, i32 %len) gc "statepoint-example" {
[all …]
H A Dconstants.ll11 define i8 @test() gc "statepoint-example" {
22 define i8 @test2(i8 addrspace(1)* %p) gc "statepoint-example" {
46 define i8 @test3(i1 %always_true) gc "statepoint-example" {
75 ;; NOTE: This particular example can be jump-threaded, but in general,
92 define i8 addrspace(1)* @test5(i1 %always_true) gc "statepoint-example" {
102 define i8 addrspace(1)* @test6(i64 %arg) gc "statepoint-example" {
113 define i8 addrspace(1)* @test7(i64 %arg) gc "statepoint-example" {
124 define i8 @test8(i8 addrspace(1)* %p) gc "statepoint-example" {
159 define i8 @test9(i8 addrspace(1)* %p) gc "statepoint-example" {
193 define i8 @test10(i8 addrspace(1)* %p) gc "statepoint-example" {
[all …]
/llvm-project-15.0.7/clang/test/Frontend/
H A Dplugin-attribute.cpp7 void fn1a() __attribute__((example)) {} in fn1a()
8 [[example]] void fn1b() {} in fn1b()
9 [[plugin::example]] void fn1c() {} in fn1c()
10 void fn2() __attribute__((example("somestring", 1, 2.0))) {} in fn2()
17 int var1 __attribute__((example("otherstring"))) = 1; // expected-warning {{'example' attribute onl…
19 …void __attribute__((example)) fn3(); // expected-error {{'example' attribute only allowed at file …
21 void fn4() __attribute__((example(123))) { } // expected-error {{first argument to the 'example' at… in fn4()
22 void fn5() __attribute__((example("a","b", 3, 4.0))) { } // expected-error {{'example' attribute on… in fn5()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.ops/
H A Dfind0.pass.cpp33 M example; in main() local
34 assert(example.find(C2Int{5}) == example.end()); in main()
38 M example; in main() local
39 assert(example.find(C2Int{5}) == example.end()); in main()
H A Dupper_bound0.pass.cpp33 M example; in main() local
34 assert(example.upper_bound(C2Int{5}) == example.end()); in main()
38 M example; in main() local
39 assert(example.upper_bound(C2Int{5}) == example.end()); in main()
H A Dlower_bound0.pass.cpp33 M example; in main() local
34 assert(example.lower_bound(C2Int{5}) == example.end()); in main()
38 M example; in main() local
39 assert(example.lower_bound(C2Int{5}) == example.end()); in main()
H A Dequal_range0.pass.cpp34 M example; in main() local
35 P result = example.equal_range(C2Int{5}); in main()
41 M example; in main() local
42 P result = example.equal_range(C2Int{5}); in main()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/multimap.ops/
H A Dlower_bound0.pass.cpp33 M example; in main() local
34 assert(example.lower_bound(C2Int{5}) == example.end()); in main()
38 M example; in main() local
39 assert(example.lower_bound(C2Int{5}) == example.end()); in main()
H A Dfind0.pass.cpp33 M example; in main() local
34 assert(example.find(C2Int{5}) == example.end()); in main()
38 M example; in main() local
39 assert(example.find(C2Int{5}) == example.end()); in main()
H A Dupper_bound0.pass.cpp33 M example; in main() local
34 assert(example.upper_bound(C2Int{5}) == example.end()); in main()
38 M example; in main() local
39 assert(example.upper_bound(C2Int{5}) == example.end()); in main()
H A Dequal_range0.pass.cpp34 M example; in main() local
35 P result = example.equal_range(C2Int{5}); in main()
41 M example; in main() local
42 P result = example.equal_range(C2Int{5}); in main()
/llvm-project-15.0.7/lldb/test/API/python_api/sbstructureddata/
H A DTestStructuredDataAPI.py24 example = lldb.SBStructuredData()
28 error = example.SetFromJSON(s)
33 self.invalid_struct_test(example)
37 error = example.GetDescription(s)
43 dict_struct = example.GetValueForKey("key_dict")
46 self.dictionary_struct_test(example)
63 def invalid_struct_test(self, example): argument
65 invalid_struct = example.GetValueForKey("invalid_key")
73 def dictionary_struct_test(self, example): argument
76 dict_struct = example.GetValueForKey("key_dict")
/llvm-project-15.0.7/
H A D.mailmap5 # For example, if you commit as `random.person@example.com` but sometimes use
9 # Rañdom Person <random.person@example.com>
11 # If you commit as both `random.person@example.com` and `ranp@example.com` and
14 # <random.person@example.com> <ranp@example.com>
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dptr-arg-dbg-value.ll12 ; CHECK: .loc 1 5 0 ; example.cpp:5:0
21 ; CHECK-NEXT: .loc 1 7 13 prologue_end ; example.cpp:7:13
23 ; CHECK-NEXT: .loc 1 8 5 ; example.cpp:8:5
43 ; CHECK-NEXT: .loc 1 10 0 ; example.cpp:10:0
51 ; CHECK-NEXT: .loc 1 12 13 prologue_end ; example.cpp:12:13
54 ; CHECK-NEXT: .loc 1 13 5 ; example.cpp:13:5
70 ; CHECK-NEXT: .loc 1 15 0 ; example.cpp:15:0
78 ; CHECK-NEXT: .loc 1 17 13 prologue_end ; example.cpp:17:13
81 ; CHECK-NEXT: .loc 1 18 5 ; example.cpp:18:5
101 !1 = !DIFile(filename: "example.cpp", directory: "temp")
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dmove-forwarding-reference.rst6 Warns if ``std::move`` is called on a forwarding reference, for example:
23 In this example, the suggested fix would be
32 Code like the example above is sometimes written with the expectation that
35 ``foo()``. However, this is not true. Consider this example:
52 If ``foo()`` is called on an lvalue (as in the example above), then ``T`` is
53 deduced to be an lvalue reference. In the example, ``T`` is deduced to be
H A Dunchecked-optional-access.rst23 code in the local scope (for example, a function body) ensures that the
53 branches of the code. For example:
69 For example:
82 The check is unaware of invariants of uncommon APIs. For example:
98 optional has a value. For example:
120 example:
136 have a value. For example:
153 a value. For example:
167 paths that lead to an access. For example:
187 to access the value. For example:
[all …]
H A Dmisplaced-operator-in-strlen-in-alloc.rst16 `C` example code:
26 to its argument. In the example above the fix would be
33 `C++` example code:
44 example above the fix would be
/llvm-project-15.0.7/llvm/test/tools/llvm-nm/X86/
H A DposixArchiveMachO.test3 # CHECK: libExample.a.macho-x86_64[example.o]: EH_frame0 s 30 0
4 # CHECK: libExample.a.macho-x86_64[example.o]: _f T 0 0
5 # CHECK: libExample.a.macho-x86_64[example.o]: _f.eh S 48 0
/llvm-project-15.0.7/clang/include/clang/Basic/
H A Darm_neon_incl.td52 // example: (op "+", $p0, $p1) -> "__p0 + __p1".
60 // example: (call "vget_high", $p0) -> "vgetq_high_s16(__p0)"
67 // example: (call_mangled "vfma_lane", $p0, $p1) -> "vfma_lane(__p0, __p1)"
80 // - $X - Take the type of parameter/variable X. For example:
84 // for example: (cast "uint32x4_t", $p0).
92 // example: (cast "R", "U", $p0) -> "(uint32x4_t)__p0" (assuming the return
119 // example: [(save_temp $var, (call "foo", $p0)),
126 // example: (call (name_replace "_high_", "_"), $p0) (to call the non-high
132 // example: (literal "int32_t", "0")
156 // example: (rotl mask0, 3) -> [3, 4, 5, 6, 0, 1, 2]
[all …]
/llvm-project-15.0.7/polly/lib/External/isl/doc/
H A Dmanual.tex41 \newaliascnt{example}{theorem}
42 \newtheorem{example}[example]{Example} theorem
45 \aliascntresetthe{example}
49 \numberwithin{example}{section}
/llvm-project-15.0.7/llvm/test/CodeGen/Generic/
H A Doverloaded-intrinsic-name.ll6 ; arguments. Meant to serve as an example-document on how the user
15 define i32 addrspace(1)* @test_iAny(i32 addrspace(1)* %v) gc "statepoint-example" {
22 define float addrspace(1)* @test_fAny(float addrspace(1)* %v) gc "statepoint-example" {
29 define [3 x i32] addrspace(1)* @test_aAny([3 x i32] addrspace(1)* %v) gc "statepoint-example" {
36 define <3 x i32> addrspace(1)* @test_vAny(<3 x i32> addrspace(1)* %v) gc "statepoint-example" {
45 …ne %struct.test addrspace(1)* @test_struct(%struct.test addrspace(1)* %v) gc "statepoint-example" {
52 … } addrspace(1)* @test_literal_struct({i64, i64, {i64}} addrspace(1)* %v) gc "statepoint-example" {
60 define %i32 addrspace(1)* @test_i32_struct(%i32 addrspace(1)* %v) gc "statepoint-example" {
68 define %i32 addrspace(1)* @test_broken_names(%i32 addrspace(1)* %v) gc "statepoint-example" {
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dstatepoint-gctransition-call-lowering.ll15 define i1 @test_i1_return() gc "statepoint-example" {
29 define i32 @test_i32_return() gc "statepoint-example" {
41 define ptr @test_i32ptr_return() gc "statepoint-example" {
53 define float @test_float_return() gc "statepoint-example" {
65 define i1 @test_relocate(ptr addrspace(1) %a) gc "statepoint-example" {
81 define void @test_void_vararg() gc "statepoint-example" {
92 define i32 @test_transition_args() gc "statepoint-example" {
105 define i32 @test_transition_args_2() gc "statepoint-example" {
/llvm-project-15.0.7/llvm/test/SafepointIRVerifier/
H A Dconstant-bases.ll3 define i8 addrspace(1)* @test1(i64 %arg) gc "statepoint-example" {
10 define i8 addrspace(1)* @test2(i64 %arg) gc "statepoint-example" {
18 define i8 addrspace(1)* @test3(i64 %arg) gc "statepoint-example" {
27 define i8 addrspace(1)* @test4(i64 %arg, i1 %cond) gc "statepoint-example" {
43 define i8 addrspace(1)* @test5(i64 %arg, i1 %cond) gc "statepoint-example" {
53 define i8 addrspace(1)* @test6(i64 %arg, i1 %cond, i8 addrspace(1)* %base) gc "statepoint-example" {

12345678910>>...49