Lines Matching refs:BlockInfo

85 static std::string getBlockDescriptorName(const CGBlockInfo &BlockInfo,  in getBlockDescriptorName()  argument
88 Name += llvm::to_string(BlockInfo.BlockSize.getQuantity()) + "_"; in getBlockDescriptorName()
90 if (BlockInfo.NeedsCopyDispose) { in getBlockDescriptorName()
95 Name += llvm::to_string(BlockInfo.BlockAlign.getQuantity()) + "_"; in getBlockDescriptorName()
97 for (auto &Cap : BlockInfo.SortedCaptures) { in getBlockDescriptorName()
109 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
115 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
117 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
124 CGM.getContext().getObjCEncodingForBlock(BlockInfo.getBlockExpr()); in getBlockDescriptorName()
129 Name += "l" + CGM.getObjCRuntime().getRCBlockLayoutStr(CGM, BlockInfo); in getBlockDescriptorName()
532 if (CGF.BlockInfo && CI.isNested()) in getCaptureFieldType()
533 return CGF.BlockInfo->getCapture(VD).fieldType(); in getCaptureFieldType()
910 if (BlockInfo && CI.isNested()) { in EmitBlockLiteral()
913 BlockInfo->getCapture(variable); in EmitBlockLiteral()
1217 assert(BlockInfo && "evaluating block ref without block information?"); in GetAddrOfBlockDecl()
1218 const CGBlockInfo::Capture &capture = BlockInfo->getCapture(variable); in GetAddrOfBlockDecl()
1376 assert(BlockInfo && "not emitting prologue of block invocation function?!"); in setBlockContextParameter()
1386 *BlockInfo, D->getName(), argNum, in setBlockContextParameter()
1391 SourceLocation StartLoc = BlockInfo->getBlockExpr()->getBody()->getBeginLoc(); in setBlockContextParameter()
1407 assert(BlockInfo && "not in a block invocation function!"); in LoadBlockStruct()
1409 return Address(BlockPointer, BlockInfo->StructureType, BlockInfo->BlockAlign); in LoadBlockStruct()
1421 BlockInfo = &blockInfo; in GenerateBlockFunction()