Home
last modified time | relevance | path

Searched refs:GetExplicit (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtype.cpp41 const auto &lb{shapeSpec.lbound().GetExplicit()}; in IsDescriptor()
42 const auto &ub{shapeSpec.ubound().GetExplicit()}; in IsDescriptor()
98 if (auto n{ToInt64(pv.GetExplicit())}) {
122 if (auto length{charLengthParamValue_->GetExplicit()}) { in GetCharLength()
184 } else if (const auto &expr{charLengthParamValue_->GetExplicit()}) { in IsNonConstantLengthCharacter()
H A Dshape.cpp255 if (const auto &lbound{shapeSpec.lbound().GetExplicit()}) { in GetLowerBound()
266 } else if (const auto &ubound{shapeSpec.ubound().GetExplicit()}) { in GetLowerBound()
405 const auto &ubound{shapeSpec.ubound().GetExplicit()}; in GetNonNegativeExtent()
406 const auto &lbound{shapeSpec.lbound().GetExplicit()}; in GetNonNegativeExtent()
538 const auto &bound{details->shape()[dimension].ubound().GetExplicit()}; in GetRawUpperBound()
567 const auto &ubound{shapeSpec.ubound().GetExplicit()}; in GetExplicitUBOUND()
H A Dtools.cpp1320 type->characterTypeSpec().length().GetExplicit()}) { in IsAutomatic()
1327 if (const auto &value{pair.second.GetExplicit()}) { in IsAutomatic()
1338 if (const auto &lb{dim.lbound().GetExplicit()}) { in IsAutomatic()
1343 if (const auto &ub{dim.ubound().GetExplicit()}) { in IsAutomatic()
1493 } else if (const auto &expr{pair.second.GetExplicit()}) { in CountNonConstantLenParameters()
1508 if (semantics::MaybeIntExpr paramExpr1{param1.GetExplicit()}) { in AreTypeParamCompatible()
1512 if (semantics::MaybeIntExpr paramExpr2{param2->GetExplicit()}) { in AreTypeParamCompatible()
H A Dformatting.cpp488 } else if (const auto &length{charLengthParamValue_->GetExplicit()}) { in AsFortran()
534 value.GetExplicit()->AsFortran(ss); in DerivedTypeSpecAsFortran()
H A Dcharacteristics.cpp838 if (const auto &expr{param->GetExplicit()}) { in CanBeReturnedViaImplicitInterface()
849 if (const auto &expr{pair.second.GetExplicit()}) { in CanBeReturnedViaImplicitInterface()
H A Dfold-integer.cpp1095 const semantics::MaybeIntExpr &paramExpr{paramValue->GetExplicit()}; in FoldOperation()
1129 Expr<SomeInteger>{value->GetExplicit().value()})))}; in FoldOperation()
H A Dcheck-expression.cpp56 return param.isExplicit() && (*this)(param.GetExplicit()); in operator ()()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dtype.cpp121 if (const MaybeIntExpr & expr{paramValue->GetExplicit()}) { in EvaluateParameters()
333 if (MaybeIntExpr expr{paramValue->GetExplicit()}) { in Instantiate()
427 dim.lbound().SetExplicit(Fold(std::move(dim.lbound().GetExplicit()))); in InstantiateComponent()
430 dim.ubound().SetExplicit(Fold(std::move(dim.ubound().GetExplicit()))); in InstantiateComponent()
435 dim.lbound().SetExplicit(Fold(std::move(dim.lbound().GetExplicit()))); in InstantiateComponent()
438 dim.ubound().SetExplicit(Fold(std::move(dim.ubound().GetExplicit()))); in InstantiateComponent()
499 if (const auto &len{characterSpec.length().GetExplicit()}) { in FoldCharacterLength()
H A Dcompute-offsets.cpp269 return *ToInt64(shape[i].lbound().GetExplicit()); in ComputeOffset()
272 return *ToInt64(shape[i].ubound().GetExplicit()); in ComputeOffset()
H A Druntime-type-info.cpp85 return GetValue(x.GetExplicit(), parameters); in GetValue()
353 if (pv->GetExplicit()) { in GetSuffixIfTypeKindParameters()
354 if (auto instantiatedValue{evaluate::ToInt64(*pv->GetExplicit())}) { in GetSuffixIfTypeKindParameters()
478 if (pv->GetExplicit()) { in DescribeType()
480 evaluate::ToInt64(*pv->GetExplicit())}) { in DescribeType()
H A Dmod-file.cpp754 x.GetExplicit()->AsFortran(os); in PutBound()
1213 if (const MaybeSubscriptIntExpr & expr{bound.GetExplicit()}) { in DoBound()
1218 if (const auto &expr{paramValue.GetExplicit()}) { in DoParamValue()
H A Dcheck-allocate.cpp351 return evaluate::ToInt64(paramValue->GetExplicit()); in GetTypeParameterInt64Value()
H A Dresolve-names-utils.cpp383 auto &lbound{spec.lbound().GetExplicit().value()}; in AddToSet()
H A Dcheck-declarations.cpp41 void Check(const Bound &bound) { CheckSpecExpr(bound.GetExplicit()); } in Check()
182 CheckSpecExpr(value.GetExplicit()); in Check()
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DBoxAnalyzer.h137 if (auto low = p->lbound().GetExplicit()) in lboundAllOnes()
393 if (auto low = subs.lbound().GetExplicit()) { in analyze()
396 if (auto high = subs.ubound().GetExplicit()) { in analyze()
491 if (Fortran::semantics::MaybeIntExpr expr = lenParam.GetExplicit()) in charLenVariable()
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dtype.h70 MaybeSubscriptIntExpr &GetExplicit() { return expr_; } in GetExplicit() function
71 const MaybeSubscriptIntExpr &GetExplicit() const { return expr_; } in GetExplicit() function
104 const MaybeIntExpr &GetExplicit() const { return expr_; } in GetExplicit() function
/llvm-project-15.0.7/flang/lib/Lower/
H A DMangler.cpp181 paramValue->GetExplicit(); in mangleName()
184 Fortran::evaluate::ToInt64(paramValue->GetExplicit()); in mangleName()
H A DPFTBuilder.cpp1296 if (auto e = symTy->characterTypeSpec().length().GetExplicit()) in symbolIsGlobal()
1441 if (auto e = symTy->characterTypeSpec().length().GetExplicit()) in analyze()
1447 semantics::SomeExpr e{*bound.GetExplicit()}; in analyze()
1824 visitExpr(shapeSpec.lbound().GetExplicit().value()); in visitSymbol()
1825 visitExpr(shapeSpec.ubound().GetExplicit().value()); in visitSymbol()
1842 param.GetExplicit()) in visitSymbol()
H A DDumpEvaluateExpr.cpp138 show(x.GetExplicit()); in show()
H A DConvertVariable.cpp1130 if (auto low = spec->lbound().GetExplicit()) { in lowerExplicitLowerBounds()
1160 if (auto up = spec.value()->ubound().GetExplicit()) { in lowerExplicitExtents()
1370 assert(spec->lbound().GetExplicit() && in mapSymbolAttributes()
1372 if (auto high = spec->ubound().GetExplicit()) { in mapSymbolAttributes()
1408 if (auto low = spec->lbound().GetExplicit()) { in mapSymbolAttributes()
1417 if (auto low = spec->lbound().GetExplicit()) { in mapSymbolAttributes()
1425 if (auto high = spec->ubound().GetExplicit()) { in mapSymbolAttributes()
H A DConvertType.cpp278 if (auto lb = bounds.lbound().GetExplicit()) in componentHasNonDefaultLowerBounds()
H A DCallInterface.cpp238 const auto &ubound = shapeSpec.ubound().GetExplicit(); in getExtentExpr()
239 const auto &lbound = shapeSpec.lbound().GetExplicit(); in getExtentExpr()
H A DAllocatable.cpp438 if (Fortran::semantics::MaybeIntExpr intExpr = lenParam.GetExplicit()) { in lowerAllocateLengthParameters()
H A DConvertExpr.cpp1929 Fortran::semantics::MaybeSubscriptIntExpr sub = bound.GetExplicit(); in genval()
2332 type->characterTypeSpec().length().GetExplicit()) { in genStmtFunctionRef()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtraverse.h205 return visitor_(x.GetExplicit()); in operator()

12