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:__anon3274
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.cpp1644 unsigned flags = (Flags | BLOCK_BYREF_CALLER).getBitMask();
1657 CGF.BuildBlockRelease(value, Flags | BLOCK_BYREF_CALLER);
/external/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp49 BLOCK_BYREF_CALLER = 128, /* called from __block (byref) copy/dispose enumerator in enum:__anon1403::RewriteObjC::__anon1404
4115 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_OBJECT
4118 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_BLOCK
4124 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_OBJECT
4127 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_BLOCK
4241 flag = BLOCK_BYREF_CALLER;
H A DRewriteModernObjC.cpp50 BLOCK_BYREF_CALLER = 128, /* called from __block (byref) copy/dispose enumerator in enum:__anon1400::RewriteModernObjC::__anon1401
5029 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_OBJECT
5032 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_BLOCK
5038 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_OBJECT
5041 /// BLOCK_BYREF_CALLER | BLOCK_FIELD_IS_BLOCK
5152 flag = BLOCK_BYREF_CALLER;

Completed in 396 milliseconds