Lines Matching refs:BlockInfo

86 static std::string getBlockDescriptorName(const CGBlockInfo &BlockInfo,  in getBlockDescriptorName()  argument
89 Name += llvm::to_string(BlockInfo.BlockSize.getQuantity()) + "_"; in getBlockDescriptorName()
91 if (BlockInfo.NeedsCopyDispose) { in getBlockDescriptorName()
96 Name += llvm::to_string(BlockInfo.BlockAlign.getQuantity()) + "_"; in getBlockDescriptorName()
98 for (auto &Cap : BlockInfo.SortedCaptures) { in getBlockDescriptorName()
110 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
116 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
118 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
128 CGM.getContext().getObjCEncodingForBlock(BlockInfo.getBlockExpr()); in getBlockDescriptorName()
134 Name += "l" + CGM.getObjCRuntime().getRCBlockLayoutStr(CGM, BlockInfo); in getBlockDescriptorName()
541 if (CGF.BlockInfo && CI.isNested()) in getCaptureFieldType()
542 return CGF.BlockInfo->getCapture(VD).fieldType(); in getCaptureFieldType()
920 if (BlockInfo && CI.isNested()) { in EmitBlockLiteral()
923 BlockInfo->getCapture(variable); in EmitBlockLiteral()
1227 assert(BlockInfo && "evaluating block ref without block information?"); in GetAddrOfBlockDecl()
1228 const CGBlockInfo::Capture &capture = BlockInfo->getCapture(variable); in GetAddrOfBlockDecl()
1388 assert(BlockInfo && "not emitting prologue of block invocation function?!"); in setBlockContextParameter()
1398 *BlockInfo, D->getName(), argNum, in setBlockContextParameter()
1403 SourceLocation StartLoc = BlockInfo->getBlockExpr()->getBody()->getBeginLoc(); in setBlockContextParameter()
1419 assert(BlockInfo && "not in a block invocation function!"); in LoadBlockStruct()
1421 return Address(BlockPointer, BlockInfo->StructureType, BlockInfo->BlockAlign); in LoadBlockStruct()
1433 BlockInfo = &blockInfo; in GenerateBlockFunction()