Home
last modified time | relevance | path

Searched refs:forwarding (Results 1 – 25 of 133) sorted by relevance

123456

/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dforwarding-reference-overload.rst1 .. title:: clang-tidy - bugprone-forwarding-reference-overload
3 bugprone-forwarding-reference-overload
6 The check looks for perfect forwarding constructors that can hide copy or move
8 forwarding reference parameter will be a better match than the const reference
9 parameter of the copy constructor, so the perfect forwarding constructor will be
20 // C1: perfect forwarding ctor
24 // C2: perfect forwarding ctor with parameter default value
28 // C3: perfect forwarding ctor guarded with enable_if
32 // C4: variadic perfect forwarding ctor guarded with enable_if
43 disabled (deleted or private), because there is nothing the perfect forwarding
H A Dmove-forwarding-reference.rst1 .. title:: clang-tidy - bugprone-move-forwarding-reference
3 bugprone-move-forwarding-reference
6 Warns if ``std::move`` is called on a forwarding reference, for example:
20 (A forwarding reference is an rvalue reference of a type that is a deduced
/llvm-project-15.0.7/compiler-rt/test/BlocksRuntime/
H A Dbyrefsanity.c40 struct byref_id *forwarding; member
64 if (ref->forwarding != ref) { in sanity()
65 printf("forwarding pointer should be %p but is %p\n", ref, ref->forwarding); in sanity()
/llvm-project-15.0.7/llvm/test/Analysis/AliasSet/
H A Dsaturation.ll24 ; SAT: AliasSet[{{.*}}, 2] may alias, Mod forwarding to 0x[[FWD:[0-9a-f]*]]
25 ; SAT: AliasSet[{{.*}}, 1] must alias, Mod forwarding to 0x[[FWD]]
41 ; SAT: AliasSet[{{.*}}, 1] must alias, Mod forwarding to 0x[[FWD:[0-9a-f]*]]
42 ; SAT: AliasSet[{{.*}}, 1] must alias, Mod forwarding to 0x[[FWD]]
43 ; SAT: AliasSet[{{.*}}, 2] may alias, Mod forwarding to 0x[[FWD]]
/llvm-project-15.0.7/llvm/test/Verifier/
H A Damdgpu-cc.ll11 ; CHECK: Calling convention does not support varargs or perfect forwarding!
29 ; CHECK: Calling convention does not support varargs or perfect forwarding!
35 ; CHECK: Calling convention does not support varargs or perfect forwarding!
41 ; CHECK: Calling convention does not support varargs or perfect forwarding!
47 ; CHECK: Calling convention does not support varargs or perfect forwarding!
59 ; CHECK: Calling convention does not support varargs or perfect forwarding!
/llvm-project-15.0.7/compiler-rt/lib/BlocksRuntime/
H A Druntime.c374 if (src->forwarding->flags & BLOCK_IS_GC) { in _Block_byref_assign_copy()
377 else if ((src->forwarding->flags & BLOCK_REFCOUNT_MASK) == 0) { in _Block_byref_assign_copy()
384 copy->forwarding = copy; // patch heap copy to point to itself (skip write-barrier) in _Block_byref_assign_copy()
385 src->forwarding = copy; // patch stack to point to heap copy in _Block_byref_assign_copy()
406 else if ((src->forwarding->flags & BLOCK_NEEDS_FREE) == BLOCK_NEEDS_FREE) { in _Block_byref_assign_copy()
407 latching_incr_int(&src->forwarding->flags); in _Block_byref_assign_copy()
410 _Block_assign(src->forwarding, (void **)destp); in _Block_byref_assign_copy()
419 shared_struct = shared_struct->forwarding; in _Block_byref_release()
691 cp += sprintf(cp, " forwarding: %p\n", (void *)src->forwarding); in _Block_byref_dump()
H A DBlock_private.h82 struct Block_byref *forwarding; member
93 struct Block_byref *forwarding; member
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dcopyprop.mir2 # Tests for MachineCopyPropagation copy forwarding.
4 # Simple forwarding.
42 # Don't violate opcode constraints when forwarding.
54 # Test cross-class COPY forwarding.
/llvm-project-15.0.7/llvm/test/Transforms/ObjCARC/
H A Dretain-block-side-effects.ll9 …= load %struct.__block_byref_repeater*, %struct.__block_byref_repeater** %byref.forwarding, align 8
23 …%byref.forwarding = getelementptr inbounds %struct.__block_byref_repeater, %struct.__block_byref_r…
32 …%tmp18 = load %struct.__block_byref_repeater*, %struct.__block_byref_repeater** %byref.forwarding,…
H A Descape.ll22 …%byref.forwarding = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_by…
23 …ref_weakLogNTimes* %weakLogNTimes, %struct.__block_byref_weakLogNTimes** %byref.forwarding, align 8
50 …ruct.__block_byref_weakLogNTimes*, %struct.__block_byref_weakLogNTimes** %byref.forwarding, align 8
77 …%byref.forwarding = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_by…
78 …ref_weakLogNTimes* %weakLogNTimes, %struct.__block_byref_weakLogNTimes** %byref.forwarding, align 8
105 …ruct.__block_byref_weakLogNTimes*, %struct.__block_byref_weakLogNTimes** %byref.forwarding, align 8
/llvm-project-15.0.7/llvm/test/DebugInfo/Generic/
H A Dblock-asan.ll29 …%byref.forwarding = getelementptr inbounds %struct.__block_byref_x, %struct.__block_byref_x* %x, i…
30 store %struct.__block_byref_x* %x, %struct.__block_byref_x** %byref.forwarding, !dbg !24
35 …%forwarding = getelementptr inbounds %struct.__block_byref_x, %struct.__block_byref_x* %x, i32 0, …
36 %0 = load %struct.__block_byref_x*, %struct.__block_byref_x** %forwarding, !dbg !25
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dstatepoint-forward.ll5 ; They're carefully written to only outlaw forwarding of references.
6 ; Depending on the collector, forwarding non-reference fields or
40 ;; Same as above, but forwarding from a store
86 ;; Same as above, but forwarding from a store
/llvm-project-15.0.7/clang/docs/
H A DBlock-ABI-Apple.rst365 struct Block_byref *forwarding;
382 struct _block_byref_foo *forwarding;
413 structures ``forwarding`` pointer. For example:
426 struct _block_byref_i *forwarding;
432 i.forwarding->captured_i = 11;
450 struct _block_byref_voidBlock *forwarding;
499 struct _block_byref_voidBlock *forwarding;
518 _block->forwarding->captured_i = 10;
613 objc_read_weak(&block->byref_i->forwarding->i)
656 struct _block_byref_obj *forwarding;
[all …]
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/Target/
H A DBUILD.gn11 # These are defined in subdirectories, and the forwarding names match
12 # the names of the forwarding targets in CMake. They all (indirectly,
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dint_sideeffect.ll5 ; Store-to-load forwarding across a @llvm.sideeffect.
H A Dload-no-aliasing.ll4 ; Check that load to load forwarding works with non aliasing store inbetween.
/llvm-project-15.0.7/llvm/test/Transforms/NewGVN/
H A Drle.ll3 ; memset -> i16 forwarding.
19 ; memset -> float forwarding.
H A Dfence-xfail.ll76 ; Another example of why forwarding across an acquire fence is problematic
79 ; forwarding the store to p would be invalid. A reasonable implementation
H A Dint_sideeffect.ll5 ; Store-to-load forwarding across a @llvm.sideeffect.
/llvm-project-15.0.7/llvm/test/Transforms/GVN/PRE/
H A Drle.ll55 ;; i32 -> f32 forwarding.
70 ;; i32* -> float forwarding.
86 ;; float -> i32* forwarding.
102 ;; i32 -> f32 load forwarding.
127 ;; i32 -> i8 forwarding
148 ;; i64 -> float forwarding
171 ;; i64 -> i8* (32-bit) forwarding
194 ; memset -> i16 forwarding.
210 ; memset -> float forwarding.
267 ; memset -> float forwarding.
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/MemCpyOpt/
H A Dload-store-to-memcpy.ll9 ; Ensure load-store forwarding of an aggregate is interpreted as
23 ; Ensure load-store forwarding of an aggregate is interpreted as
/llvm-project-15.0.7/llvm/test/Transforms/GVN/
H A Dfence.ll75 ; Another example of why forwarding across an acquire fence is problematic
78 ; forwarding the store to p would be invalid. A reasonable implementation
/llvm-project-15.0.7/llvm/test/tools/llvm-mca/AArch64/Cortex/IPC/
H A DA55-8-ldr.s13 # 2) Cortex-A55 manual mentions that there is a forwarding path from
/llvm-project-15.0.7/llvm/test/Transforms/EarlyCSE/
H A Dint_sideeffect.ll5 ; Store-to-load forwarding across a @llvm.sideeffect.
/llvm-project-15.0.7/openmp/docs/remarks/
H A DOMP190.rst16 was removed as a consequence of "state forwarding". This will trigger for

123456