Home
last modified time | relevance | path

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

/external/llvm-project/flang/lib/Semantics/
Dcompute-offsets.cpp161 void ComputeOffsetsHelper::DoCommonBlock(Symbol &commonBlock) { in DoCommonBlock() argument
162 auto &details{commonBlock.get<CommonBlockDetails>()}; in DoCommonBlock()
185 commonBlock.name().empty() ? symbol.name() : commonBlock.name()}; in DoCommonBlock()
187 if (baseBlock == &commonBlock) { in DoCommonBlock()
190 symbol.name(), base.name(), commonBlock.name()); in DoCommonBlock()
194 symbol.name(), commonBlock.name(), base.name(), in DoCommonBlock()
200 symbol.name(), commonBlock.name(), base.name()); in DoCommonBlock()
202 base.get<ObjectEntityDetails>().set_commonBlock(commonBlock); in DoCommonBlock()
207 commonBlock.set_size(std::max(minSize, offset_)); in DoCommonBlock()
Ddata-to-inits.cpp397 const auto *commonBlock{FindCommonBlockContaining(symbol)}; in CombineSomeEquivalencedInits() local
411 FindCommonBlockContaining(other) == commonBlock && in CombineSomeEquivalencedInits()
465 if (commonBlock) { in CombineSomeEquivalencedInits()
466 details.set_commonBlock(*commonBlock); in CombineSomeEquivalencedInits()
Dresolve-names-utils.cpp528 const Symbol *commonBlock{details->commonBlock()}; in InCommonWithBind() local
529 return commonBlock && commonBlock->attrs().test(Attr::BIND_C); in InCommonWithBind()
Dcheck-declarations.cpp1537 const Symbol &commonBlock{DEREF(FindCommonBlockContaining(iter->symbol))}; in CheckEquivalenceSet() local
1541 if (details->commonBlock()) { in CheckEquivalenceSet()
1542 if (details->commonBlock() != &commonBlock) { // 8.10.3 paragraph 1 in CheckEquivalenceSet()
1547 .Attach(details->commonBlock()->name(), in CheckEquivalenceSet()
1550 .Attach(commonBlock.name(), in CheckEquivalenceSet()
1559 details->set_commonBlock(commonBlock); in CheckEquivalenceSet()
Dmod-file.cpp902 if (const Symbol * commonBlock{details.commonBlock()}) { in DoSymbol() local
903 DoSymbol(*commonBlock); in DoSymbol()
Dtools.cpp1376 return details && details->commonBlock(); in InCommonBlock()
Dresolve-names.cpp6061 Symbol &commonBlock{MakeCommonBlockSymbol(name)}; in CreateCommonBlockSymbols() local
6065 details->set_commonBlock(commonBlock); in CreateCommonBlockSymbols()
6066 commonBlock.get<CommonBlockDetails>().add_object(obj); in CreateCommonBlockSymbols()
/external/llvm-project/mlir/lib/Analysis/
DAffineAnalysis.cpp639 Block *commonBlock = forOp.getBody(); in getCommonBlock() local
643 commonBlock = srcAncestorBlocks[i]; in getCommonBlock()
645 return commonBlock; in getCommonBlock()
658 auto *commonBlock = in srcAppearsBeforeDstInAncestralBlock() local
662 auto *srcInst = commonBlock->findAncestorOpInBlock(*srcAccess.opInst); in srcAppearsBeforeDstInAncestralBlock()
664 auto *dstInst = commonBlock->findAncestorOpInBlock(*dstAccess.opInst); in srcAppearsBeforeDstInAncestralBlock()
/external/llvm-project/flang/include/flang/Semantics/
Dsymbol.h176 const Symbol *commonBlock() const { return commonBlock_; } in commonBlock() function
177 void set_commonBlock(const Symbol &commonBlock) { in set_commonBlock() argument
178 commonBlock_ = &commonBlock; in set_commonBlock()
/external/llvm-project/flang/lib/Evaluate/
Dcheck-expression.cpp416 if (object->commonBlock()) { in operator ()()
Dtools.cpp1010 return details ? details->commonBlock() : nullptr; in FindCommonBlockContaining()