Home
last modified time | relevance | path

Searched refs:lbound (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/lldb/tools/intel-features/intel-mpx/
H A Dcli-wrapper-mpxtable.cpp60 static void PrintBTEntry(lldb::addr_t lbound, lldb::addr_t ubound, in PrintBTEntry() argument
66 if ((lbound == one_cmpl64 || one_cmpl32) && ubound == 0) { in PrintBTEntry()
69 result.Printf(" lbound = 0x%" PRIu64 ",", lbound); in PrintBTEntry()
177 lldb::addr_t lbound; in GetBTEntry() local
184 lbound = data.GetAddress(error, size * 0); in GetBTEntry()
200 PrintBTEntry(lbound, ubound, value, meta, result); in GetBTEntry()
215 static bool SetBTEntry(uint64_t bndcfgu, uint64_t ptr, lldb::addr_t lbound, in SetBTEntry() argument
232 std::vector<uint8_t> lbound_v = uIntToU8(lbound, size); in SetBTEntry()
385 uint64_t lbound = std::strtoul(arg[1], &endptr, 16); in DoExecute() local
399 return SetBTEntry(bndcfgu, ptr, lbound, ubound, target, arch, result, in DoExecute()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dshape.cpp254 if (shapeSpec.lbound().isExplicit()) { in GetLowerBound()
255 if (const auto &lbound{shapeSpec.lbound().GetExplicit()}) { in GetLowerBound() local
258 auto lbValue{ToInt64(*lbound)}; in GetLowerBound()
262 ok = IsScopeInvariantExpr(*lbound); in GetLowerBound()
273 ExtentExpr{*ubound} - ExtentExpr{*lbound} + in GetLowerBound()
295 return ok ? *lbound : Result{}; in GetLowerBound()
297 return *lbound; in GetLowerBound()
406 const auto &lbound{shapeSpec.lbound().GetExplicit()}; in GetNonNegativeExtent() local
408 std::optional<ConstantSubscript> lval{ToInt64(lbound)}; in GetNonNegativeExtent()
415 } else if (lbound && ubound && IsScopeInvariantExpr(*lbound) && in GetNonNegativeExtent()
[all …]
H A Dtype.cpp41 const auto &lb{shapeSpec.lbound().GetExplicit()}; in IsDescriptor()
H A Dtools.cpp1338 if (const auto &lb{dim.lbound().GetExplicit()}) { in IsAutomatic()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcompute-offsets.cpp268 auto lbound{[&](std::size_t i) { in ComputeOffset() local
269 return *ToInt64(shape[i].lbound().GetExplicit()); in ComputeOffset()
275 offset += object.subscripts[i] - lbound(i); in ComputeOffset()
280 offset *= ubound(i) - lbound(i) + 1; in ComputeOffset()
H A Dtype.cpp426 if (dim.lbound().isExplicit()) { in InstantiateComponent()
427 dim.lbound().SetExplicit(Fold(std::move(dim.lbound().GetExplicit()))); in InstantiateComponent()
434 if (dim.lbound().isExplicit()) { in InstantiateComponent()
435 dim.lbound().SetExplicit(Fold(std::move(dim.lbound().GetExplicit()))); in InstantiateComponent()
H A Dmod-file.cpp628 if (x.lbound().isStar()) { in PutShapeSpec()
632 if (!x.lbound().isColon()) { in PutShapeSpec()
633 PutBound(os, x.lbound()); in PutShapeSpec()
1156 DoBound(spec.lbound()); in DoSymbol()
1160 DoBound(spec.lbound()); in DoSymbol()
H A Dresolve-names-utils.cpp383 auto &lbound{spec.lbound().GetExplicit().value()}; in AddToSet() local
384 subscripts.push_back(evaluate::ToInt64(lbound).value()); in AddToSet()
H A Dcheck-declarations.cpp43 Check(spec.lbound()); in Check()
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dtype.h214 Bound &lbound() { return lb_; } in lbound() function
215 const Bound &lbound() const { return lb_; } in lbound() function
419 return x.lbound().isColon() && x.ubound().isColon(); in CanBeDeferredShape()
432 return Rank() == 1 && front().lbound().isStar(); in IsAssumedRank()
/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()
/llvm-project-15.0.7/flang/lib/Lower/
H A DCallInterface.cpp239 const auto &lbound = shapeSpec.lbound().GetExplicit(); in getExtentExpr() local
240 assert(lbound && ubound && "shape must be explicit"); in getExtentExpr()
241 return Fortran::common::Clone(*ubound) - Fortran::common::Clone(*lbound) + in getExtentExpr()
H A DConvertVariable.cpp1130 if (auto low = spec->lbound().GetExplicit()) { in lowerExplicitLowerBounds()
1370 assert(spec->lbound().GetExplicit() && in mapSymbolAttributes()
1399 if (spec->lbound().isColon() || spec->ubound().isColon()) { in mapSymbolAttributes()
1408 if (auto low = spec->lbound().GetExplicit()) { in mapSymbolAttributes()
1417 if (auto low = spec->lbound().GetExplicit()) { in mapSymbolAttributes()
H A DConvertType.cpp278 if (auto lb = bounds.lbound().GetExplicit()) in componentHasNonDefaultLowerBounds()
H A DPFTBuilder.cpp1454 doExplicit(subs.lbound()); in analyze()
1459 doExplicit(subs.lbound()); in analyze()
1824 visitExpr(shapeSpec.lbound().GetExplicit().value()); in visitSymbol()
H A DIntrinsicCall.cpp4066 mlir::Value lbound = fir::getBase(genLbound(resultType, args)); in genUbound() local
4069 mlir::Value ubound = builder.create<mlir::arith::SubIOp>(loc, lbound, one); in genUbound()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DMutableBox.cpp297 for (auto [lbound, lboundVar] : in updateMutableProperties()
299 castAndStore(lbound, lboundVar); in updateMutableProperties()