Home
last modified time | relevance | path

Searched refs:blockInfo (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBlocks.cpp797 if (!blockInfo.CanBeGlobal) in EmitBlockLiteral()
798 blockInfo.LocalAddress = CreateTempAlloca(blockInfo.StructureType, in EmitBlockLiteral()
817 CurGD, blockInfo, LocalDeclMap, isLambdaConv, blockInfo.CanBeGlobal); in EmitBlockLiteral()
821 if (blockInfo.CanBeGlobal) in EmitBlockLiteral()
852 if (blockInfo.UsesStret) in EmitBlockLiteral()
854 if (blockInfo.NoEscape) in EmitBlockLiteral()
1043 if (!blockInfo.NoEscape && !blockInfo.NeedsCopyDispose) in EmitBlockLiteral()
1339 if (blockInfo.UsesStret) in buildGlobalBlock()
1456 BlockInfo = &blockInfo; in GenerateBlockFunction()
1902 blockInfo.SortedCaptures, blockInfo.BlockAlign, in GenerateCopyHelperFunction()
[all …]
H A DCGObjCRuntime.h317 const CodeGen::CGBlockInfo &blockInfo) = 0;
319 const CodeGen::CGBlockInfo &blockInfo) = 0;
321 const CGBlockInfo &blockInfo) { in getRCBlockLayoutStr() argument
H A DCGObjCMac.cpp2315 void visitBlock(const CGBlockInfo &blockInfo);
2345 builder.visitBlock(blockInfo); in BuildGCBlockLayout()
2360 void IvarLayoutBuilder::visitBlock(const CGBlockInfo &blockInfo) { in visitBlock() argument
2365 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in visitBlock()
2889 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in fillRunSkipBlockVars()
2893 CGM.getDataLayout().getStructLayout(blockInfo.StructureType); in fillRunSkipBlockVars()
2897 if (blockInfo.BlockHeaderForcedGapSize != CharUnits::Zero()) in fillRunSkipBlockVars()
2899 blockInfo.BlockHeaderForcedGapOffset, in fillRunSkipBlockVars()
2900 blockInfo.BlockHeaderForcedGapSize); in fillRunSkipBlockVars()
2933 fillRunSkipBlockVars(CGM, blockInfo); in BuildRCBlockLayout()
[all …]
H A DCGDebugInfo.h487 const CGBlockInfo &blockInfo, llvm::Instruction *InsertPoint = nullptr);
H A DCGDebugInfo.cpp4731 const CGBlockInfo &blockInfo, llvm::Instruction *InsertPoint) { in EmitDeclareOfBlockDeclRefVariable() argument
4764 target.getStructLayout(blockInfo.StructureType) in EmitDeclareOfBlockDeclRefVariable()
4765 ->getElementOffset(blockInfo.getCapture(VD).getIndex())); in EmitDeclareOfBlockDeclRefVariable()
H A DCGObjCGNU.cpp658 const CGBlockInfo &blockInfo) override { in BuildGCBlockLayout() argument
662 const CGBlockInfo &blockInfo) override { in BuildRCBlockLayout() argument
H A DCodeGenFunction.h2141 llvm::Constant *GenerateCopyHelperFunction(const CGBlockInfo &blockInfo);
2142 llvm::Constant *GenerateDestroyHelperFunction(const CGBlockInfo &blockInfo);
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcompute-offsets.cpp97 SizeAndAlignment &blockInfo{iter->second}; in Compute() local
98 blockInfo.size = std::max(blockInfo.size, minBlockSize); in Compute()
99 blockInfo.alignment = std::max(blockInfo.alignment, symInfo.alignment); in Compute()
103 for (auto &[symbol, blockInfo] : equivalenceBlock_) { in Compute()
106 DoEquivalenceBlockBase(*symbol, blockInfo); in Compute()
107 offset_ = std::max(offset_, symbol->offset() + blockInfo.size); in Compute()
195 SizeAndAlignment &blockInfo{eqIter->second}; in DoCommonBlock() local
198 minAlignment = std::max(minAlignment, blockInfo.alignment); in DoCommonBlock()
207 Symbol &symbol, SizeAndAlignment &blockInfo) { in DoEquivalenceBlockBase() argument
208 if (symbol.size() > blockInfo.size) { in DoEquivalenceBlockBase()
[all …]
H A Dsemantics.cpp243 for (const auto &[_, blockInfo] : commonBlocks_) { in GetCommonBlocks()
245 std::make_pair(blockInfo.initialization ? *blockInfo.initialization in GetCommonBlocks()
246 : blockInfo.biggestSize, in GetCommonBlocks()
247 blockInfo.biggestSize->size())); in GetCommonBlocks()
/llvm-project-15.0.7/mlir/lib/Analysis/
H A DLiveness.cpp202 const LivenessBlockInfo *blockInfo = getLiveness(block); in resolveLiveness() local
205 Operation *start = blockInfo->getStartOperation(value); in resolveLiveness()
206 Operation *end = blockInfo->getEndOperation(value, start); in resolveLiveness()
243 const LivenessBlockInfo *blockInfo = getLiveness(block); in isDeadAfter() local
246 if (blockInfo->isLiveOut(value)) in isDeadAfter()
249 Operation *endOperation = blockInfo->getEndOperation(value, operation); in isDeadAfter()
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DDialectConversion.cpp647 ConvertedBlockInfo &blockInfo = info.second; in applyRewrites() local
648 Block *origBlock = blockInfo.origBlock; in applyRewrites()
652 Optional<ConvertedArgInfo> &argInfo = blockInfo.argInfo[i]; in applyRewrites()
680 ConvertedBlockInfo &blockInfo = info.second; in materializeLiveConversions() local
681 Block *origBlock = blockInfo.origBlock; in materializeLiveConversions()
701 if (blockInfo.converter) { in materializeLiveConversions()
702 newArg = blockInfo.converter->materializeSourceConversion( in materializeLiveConversions()