Lines Matching refs:BlockInfo
107 static std::string getBlockDescriptorName(const CGBlockInfo &BlockInfo, in getBlockDescriptorName() argument
110 Name += llvm::to_string(BlockInfo.BlockSize.getQuantity()) + "_"; in getBlockDescriptorName()
112 if (BlockInfo.NeedsCopyDispose) { in getBlockDescriptorName()
117 Name += llvm::to_string(BlockInfo.BlockAlign.getQuantity()) + "_"; in getBlockDescriptorName()
119 for (auto &Cap : BlockInfo.SortedCaptures) { in getBlockDescriptorName()
131 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
137 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
139 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
146 CGM.getContext().getObjCEncodingForBlock(BlockInfo.getBlockExpr()); in getBlockDescriptorName()
151 Name += "l" + CGM.getObjCRuntime().getRCBlockLayoutStr(CGM, BlockInfo); in getBlockDescriptorName()
559 if (CGF.BlockInfo && CI.isNested()) in getCaptureFieldType()
560 return CGF.BlockInfo->getCapture(VD).fieldType(); in getCaptureFieldType()
939 if (BlockInfo && CI.isNested()) { in EmitBlockLiteral()
942 BlockInfo->getCapture(variable); in EmitBlockLiteral()
1252 assert(BlockInfo && "evaluating block ref without block information?"); in GetAddrOfBlockDecl()
1253 const CGBlockInfo::Capture &capture = BlockInfo->getCapture(variable); in GetAddrOfBlockDecl()
1412 assert(BlockInfo && "not emitting prologue of block invocation function?!"); in setBlockContextParameter()
1422 *BlockInfo, D->getName(), argNum, in setBlockContextParameter()
1427 SourceLocation StartLoc = BlockInfo->getBlockExpr()->getBody()->getBeginLoc(); in setBlockContextParameter()
1434 BlockInfo->StructureType->getPointerTo( in setBlockContextParameter()
1442 assert(BlockInfo && "not in a block invocation function!"); in LoadBlockStruct()
1444 return Address(BlockPointer, BlockInfo->StructureType, BlockInfo->BlockAlign); in LoadBlockStruct()
1456 BlockInfo = &blockInfo; in GenerateBlockFunction()