Searched refs:BLOCK_BYREF_CALLER (Results 1 - 6 of 6) sorted by relevance

/external/compiler-rt/lib/BlocksRuntime/
H A DBlock_private.h107 BLOCK_BYREF_CALLER = 128 /* called from __block (byref) copy/dispose support routines. */ enumerator in enum:__anon19572
H A Druntime.c544 When a __block variable is either a C++ object, an Objective-C object, or another Block then the compiler also generates copy/dispose helper functions. Similarly to the Block copy helper, the "__block" copy helper (formerly and still a.k.a. "byref" copy helper) will do a C++ copy constructor (not a const one though!) and the dispose helper will do the destructor. And similarly the helpers will call into the same two support functions with the same values for objects and Blocks with the additional BLOCK_BYREF_CALLER (128) bit of information supplied.
562 if ((flags & BLOCK_BYREF_CALLER) == BLOCK_BYREF_CALLER) {
599 else if ((flags & (BLOCK_FIELD_IS_BLOCK|BLOCK_BYREF_CALLER)) == BLOCK_FIELD_IS_BLOCK) {
604 else if ((flags & (BLOCK_FIELD_IS_WEAK|BLOCK_FIELD_IS_BLOCK|BLOCK_BYREF_CALLER)) == BLOCK_FIELD_IS_OBJECT) {
/external/clang/lib/CodeGen/
H A DCGBlocks.h108 BLOCK_BYREF_CALLER = 128, /* called from __block (byref) copy/dispose enumerator in enum:clang::CodeGen::BlockFieldFlag_t
H A DCGBlocks.cpp1591 unsigned flags = (Flags | BLOCK_BYREF_CALLER).getBitMask();
1604 CGF.BuildBlockRelease(value, Flags | BLOCK_BYREF_CALLER);
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp48 BLOCK_BYREF_CALLER = 128, /* called from __block (byref) copy/dispose enumerator in enum:__anon17972::RewriteModernObjC::__anon17973
5081 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_OBJECT
5084 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_BLOCK
5090 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_OBJECT
5093 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_BLOCK
5204 flag = BLOCK_BYREF_CALLER;
H A DRewriteObjC.cpp47 BLOCK_BYREF_CALLER = 128, /* called from __block (byref) copy/dispose enumerator in enum:__anon17975::RewriteObjC::__anon17976
4148 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_OBJECT
4151 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_BLOCK
4157 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_OBJECT
4160 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_BLOCK
4274 flag = BLOCK_BYREF_CALLER;

Completed in 529 milliseconds