Lines Matching refs:BlockInfo

114     const CGBlockInfo &BlockInfo, const LangOptions &LangOpts,
122 static std::string getBlockDescriptorName(const CGBlockInfo &BlockInfo, in getBlockDescriptorName() argument
125 Name += llvm::to_string(BlockInfo.BlockSize.getQuantity()) + "_"; in getBlockDescriptorName()
127 if (BlockInfo.needsCopyDisposeHelpers()) { in getBlockDescriptorName()
132 Name += llvm::to_string(BlockInfo.BlockAlign.getQuantity()) + "_"; in getBlockDescriptorName()
135 findBlockCapturedManagedEntities(BlockInfo, CGM.getContext().getLangOpts(), in getBlockDescriptorName()
147 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
153 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
155 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
162 CGM.getContext().getObjCEncodingForBlock(BlockInfo.getBlockExpr()); in getBlockDescriptorName()
167 Name += "l" + CGM.getObjCRuntime().getRCBlockLayoutStr(CGM, BlockInfo); in getBlockDescriptorName()
509 if (CGF.BlockInfo && CI.isNested()) in getCaptureFieldType()
510 return CGF.BlockInfo->getCapture(VD).fieldType(); in getCaptureFieldType()
932 if (BlockInfo && CI.isNested()) { in EmitBlockLiteral()
935 BlockInfo->getCapture(variable); in EmitBlockLiteral()
1246 assert(BlockInfo && "evaluating block ref without block information?"); in GetAddrOfBlockDecl()
1247 const CGBlockInfo::Capture &capture = BlockInfo->getCapture(variable); in GetAddrOfBlockDecl()
1406 assert(BlockInfo && "not emitting prologue of block invocation function?!"); in setBlockContextParameter()
1416 *BlockInfo, D->getName(), argNum, in setBlockContextParameter()
1421 SourceLocation StartLoc = BlockInfo->getBlockExpr()->getBody()->getBeginLoc(); in setBlockContextParameter()
1428 BlockInfo->StructureType->getPointerTo( in setBlockContextParameter()
1436 assert(BlockInfo && "not in a block invocation function!"); in LoadBlockStruct()
1438 return Address(BlockPointer, BlockInfo->BlockAlign); in LoadBlockStruct()
1453 BlockInfo = &blockInfo; in GenerateBlockFunction()
1678 const CGBlockInfo &BlockInfo, const LangOptions &LangOpts, in findBlockCapturedManagedEntities() argument
1680 for (const auto &CI : BlockInfo.getBlockDecl()->captures()) { in findBlockCapturedManagedEntities()
1682 const CGBlockInfo::Capture &Capture = BlockInfo.getCapture(Variable); in findBlockCapturedManagedEntities()