Lines Matching refs:BlockInfo
115 const CGBlockInfo &BlockInfo, const LangOptions &LangOpts,
123 static std::string getBlockDescriptorName(const CGBlockInfo &BlockInfo, in getBlockDescriptorName() argument
126 Name += llvm::to_string(BlockInfo.BlockSize.getQuantity()) + "_"; in getBlockDescriptorName()
128 if (BlockInfo.needsCopyDisposeHelpers()) { in getBlockDescriptorName()
133 Name += llvm::to_string(BlockInfo.BlockAlign.getQuantity()) + "_"; in getBlockDescriptorName()
136 findBlockCapturedManagedEntities(BlockInfo, CGM.getContext().getLangOpts(), in getBlockDescriptorName()
148 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
154 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
156 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
163 CGM.getContext().getObjCEncodingForBlock(BlockInfo.getBlockExpr()); in getBlockDescriptorName()
168 Name += "l" + CGM.getObjCRuntime().getRCBlockLayoutStr(CGM, BlockInfo); in getBlockDescriptorName()
508 if (CGF.BlockInfo && CI.isNested()) in getCaptureFieldType()
509 return CGF.BlockInfo->getCapture(VD).fieldType(); in getCaptureFieldType()
1065 if (BlockInfo && CI.isNested()) { in EmitBlockLiteral()
1068 BlockInfo->getCapture(variable); in EmitBlockLiteral()
1329 assert(BlockInfo && "evaluating block ref without block information?"); in GetAddrOfBlockDecl()
1330 const CGBlockInfo::Capture &capture = BlockInfo->getCapture(variable); in GetAddrOfBlockDecl()
1487 assert(BlockInfo && "not emitting prologue of block invocation function?!"); in setBlockContextParameter()
1498 *BlockInfo, D->getName(), argNum, in setBlockContextParameter()
1503 SourceLocation StartLoc = BlockInfo->getBlockExpr()->getBody()->getBeginLoc(); in setBlockContextParameter()
1510 BlockInfo->StructureType->getPointerTo( in setBlockContextParameter()
1518 assert(BlockInfo && "not in a block invocation function!"); in LoadBlockStruct()
1520 return Address(BlockPointer, BlockInfo->BlockAlign); in LoadBlockStruct()
1535 BlockInfo = &blockInfo; in GenerateBlockFunction()
1762 const CGBlockInfo &BlockInfo, const LangOptions &LangOpts, in findBlockCapturedManagedEntities() argument
1764 for (const auto &CI : BlockInfo.getBlockDecl()->captures()) { in findBlockCapturedManagedEntities()
1766 const CGBlockInfo::Capture &Capture = BlockInfo.getCapture(Variable); in findBlockCapturedManagedEntities()