Searched refs:BLOCK_FIELD_IS_WEAK (Results 1 - 7 of 7) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/BlocksRuntime/
H A DBlock_private.h106 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy helpers */ enumerator in enum:__anon2457
H A Druntime.c380 bool isWeak = ((flags & (BLOCK_FIELD_IS_BYREF|BLOCK_FIELD_IS_WEAK)) == (BLOCK_FIELD_IS_BYREF|BLOCK_FIELD_IS_WEAK));
540 If the __block variable is marked weak the compiler also or's in BLOCK_FIELD_IS_WEAK (16).
546 So the __block copy/dispose helpers will generate flag values of 3 or 7 for objects and Blocks respectively, with BLOCK_FIELD_IS_WEAK (16) or'ed as appropriate and always 128 or'd in, for the following set of possibilities:
563 if ((flags & BLOCK_FIELD_IS_WEAK) == BLOCK_FIELD_IS_WEAK) {
604 else if ((flags & (BLOCK_FIELD_IS_WEAK|BLOCK_FIELD_IS_BLOCK|BLOCK_BYREF_CALLER)) == BLOCK_FIELD_IS_OBJECT) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.h101 BLOCK_FIELD_IS_WEAK = 0x10, /* declared __weak, only used in byref copy enumerator in enum:clang::CodeGen::BlockFieldFlag_t
H A DCGBlocks.cpp1625 Flags |= BLOCK_FIELD_IS_WEAK;
1779 if (F & BLOCK_FIELD_IS_WEAK)
2073 Flags |= BLOCK_FIELD_IS_WEAK;
2617 flags |= BLOCK_FIELD_IS_WEAK;
H A DCGDecl.cpp2036 Flags |= BLOCK_FIELD_IS_WEAK;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp48 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy enumerator in enum:__anon1907::RewriteModernObjC::__anon1908
4947 /// [|BLOCK_FIELD_IS_WEAK]) // object
4950 /// [|BLOCK_FIELD_IS_WEAK]) // block
4956 /// [|BLOCK_FIELD_IS_WEAK]) // object
4959 /// [|BLOCK_FIELD_IS_WEAK]) // block
5065 flag |= BLOCK_FIELD_IS_WEAK;
5071 // FIXME. Handle __weak variable (BLOCK_FIELD_IS_WEAK) as well.
H A DRewriteObjC.cpp46 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy enumerator in enum:__anon1910::RewriteObjC::__anon1911
4103 /// [|BLOCK_FIELD_IS_WEAK]) // object
4106 /// [|BLOCK_FIELD_IS_WEAK]) // block
4112 /// [|BLOCK_FIELD_IS_WEAK]) // object
4115 /// [|BLOCK_FIELD_IS_WEAK]) // block
4223 flag |= BLOCK_FIELD_IS_WEAK;
4230 // FIXME. Handle __weak variable (BLOCK_FIELD_IS_WEAK) as well.

Completed in 147 milliseconds