Searched refs:BLOCK_FIELD_IS_WEAK (Results 1 - 12 of 12) sorted by path

/freebsd-11-stable/contrib/gcc/
H A Dc-common.h1048 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy helpers */
1047 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy helpers */ enumerator in enum:__anon1177
H A Dc-decl.c3499 _Block_object_assign (&_dest->object, _src->object, BLOCK_FIELD_IS_OBJECT[|BLOCK_FIELD_IS_WEAK]) // objects
3500 _Block_object_assign(&_dest->object, _src->object, BLOCK_FIELD_IS_BLOCK[|BLOCK_FIELD_IS_WEAK]) // blocks
3564 _Block_object_dispose(_src->object, BLOCK_FIELD_IS_OBJECT[|BLOCK_FIELD_IS_WEAK]) // object
3565 _Block_object_dispose(_src->object, BLOCK_FIELD_IS_BLOCK[|BLOCK_FIELD_IS_WEAK]) // block
3728 initlist = tree_cons (fields, fold_convert (ptr_type_node, ((flag & BLOCK_FIELD_IS_WEAK) != 0) ? integer_one_node
3846 flag = BLOCK_FIELD_IS_WEAK;
3864 COPYABLE_WEAK_BLOCK (decl) = ((flag & BLOCK_FIELD_IS_WEAK) != 0);
H A Dc-parser.c9062 _Block_object_assign(&_dest->myImportedBlock, _src->myImportedBlock, BLOCK_FIELD_IS_BYREF [|BLOCK_FIELD_IS_WEAK])
9077 /* _Block_object_assign(&_dest->myImportedClosure, _src->myImportedClosure, BLOCK_FIELD_IS_BYREF [|BLOCK_FIELD_IS_WEAK]) */
9079 flag |= BLOCK_FIELD_IS_WEAK;
9138 _Block_object_dispose(_src->myImportedClosure, BLOCK_FIELD_IS_BYREF[|BLOCK_FIELD_IS_WEAK])
9152 flag |= BLOCK_FIELD_IS_WEAK;
9153 /* _Block_object_dispose(_src->myImportedClosure, BLOCK_FIELD_IS_BYREF[|BLOCK_FIELD_IS_WEAK]) */
/freebsd-11-stable/contrib/gcc/cp/
H A Ddecl.c5209 _Block_object_assign (&_dest->object, _src->object, BLOCK_FIELD_IS_OBJECT[|BLOCK_FIELD_IS_WEAK]) // objects
5210 _Block_object_assign(&_dest->object, _src->object, BLOCK_FIELD_IS_BLOCK[|BLOCK_FIELD_IS_WEAK]) // blocks
5276 _Block_object_dispose(_src->object, BLOCK_FIELD_IS_OBJECT[|BLOCK_FIELD_IS_WEAK]) // objects
5277 _Block_object_dispose(_src->object, BLOCK_FIELD_IS_BLOCK[|BLOCK_FIELD_IS_WEAK]) // blocks
5475 initlist = tree_cons (fields, fold_convert (ptr_type_node, ((flag & BLOCK_FIELD_IS_WEAK) != 0) ? integer_one_node
H A Dparser.c19541 _Block_object_assign(&_dest->myImportedBlock, _src->myImportedBlock, BLOCK_FIELD_IS_BYREF [|BLOCK_FIELD_IS_WEAK])
19556 /* _Block_object_assign(&_dest->myImportedClosure, _src->myImportedClosure, BLOCK_FIELD_IS_BYREF [|BLOCK_FIELD_IS_WEAK]) */
19558 flag |= BLOCK_FIELD_IS_WEAK;
19643 _Block_object_dispose(_src->myImportedClosure, BLOCK_FIELD_IS_BYREF[|BLOCK_FIELD_IS_WEAK])
19657 flag |= BLOCK_FIELD_IS_WEAK;
19658 /* _Block_object_dispose(_src->myImportedClosure, BLOCK_FIELD_IS_BYREF[|BLOCK_FIELD_IS_WEAK]) */
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1700 Flags |= BLOCK_FIELD_IS_WEAK;
1854 if (F & BLOCK_FIELD_IS_WEAK)
2146 Flags |= BLOCK_FIELD_IS_WEAK;
2688 flags |= BLOCK_FIELD_IS_WEAK;
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 DCGDecl.cpp2020 Flags |= BLOCK_FIELD_IS_WEAK;
/freebsd-11-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:__anon522::RewriteModernObjC::__anon523
4945 /// [|BLOCK_FIELD_IS_WEAK]) // object
4948 /// [|BLOCK_FIELD_IS_WEAK]) // block
4954 /// [|BLOCK_FIELD_IS_WEAK]) // object
4957 /// [|BLOCK_FIELD_IS_WEAK]) // block
5063 flag |= BLOCK_FIELD_IS_WEAK;
5069 // 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:__anon525::RewriteObjC::__anon526
4101 /// [|BLOCK_FIELD_IS_WEAK]) // object
4104 /// [|BLOCK_FIELD_IS_WEAK]) // block
4110 /// [|BLOCK_FIELD_IS_WEAK]) // object
4113 /// [|BLOCK_FIELD_IS_WEAK]) // block
4221 flag |= BLOCK_FIELD_IS_WEAK;
4228 // FIXME. Handle __weak variable (BLOCK_FIELD_IS_WEAK) as well.
/freebsd-11-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:__anon1105
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) {

Completed in 531 milliseconds