Home
last modified time | relevance | path

Searched defs:extent (Results 1 – 25 of 63) sorted by relevance

123

/llvm-project/flang/unittests/Runtime/
H A DListInputTest.cpp45 SubscriptValue extent[]{numInputBuffers}; in TEST() local
80 SubscriptValue extent[]{numBuffers}; in TEST() local
117 SubscriptValue extent[]{numBuffers}; in TEST() local
141 SubscriptValue extent[]{numBuffers}; in TEST() local
164 SubscriptValue extent[]{numBuffers}; in TEST_P() local
[all...]
H A DRandom.cpp22 SubscriptValue extent[1]{n}; in TEST() local
52 SubscriptValue extent[1]{1}; in TEST() local
H A DMiscIntrinsic.cpp40 SubscriptValue extent[1]{1}; in TEST() local
60 SubscriptValue extent[1]{1}; in TEST() local
H A DTemporaryStack.cpp54 const SubscriptValue extent[rank]{42, 24}; in TEST() local
94 SubscriptValue extent[CFI_MAX_RANK]; in TEST() local
176 const SubscriptValue extent[rank]{42, 24}; in TEST() local
205 SubscriptValue extent[CFI_MAX_RANK]; in TEST() local
H A DNumericalFormatTest.cpp115 static const SubscriptValue extent[]{numLines}; in TEST() local
228 static const SubscriptValue extent[]{subscriptExtent}; in TEST() local
/llvm-project/flang/runtime/
H A Ddescriptor.cpp33 Establish(TypeCode t,std::size_t elementBytes,void * p,int rank,const SubscriptValue * extent,ISO::CFI_attribute_t attribute,bool addendum) Establish() argument
76 Establish(TypeCategory c,int kind,void * p,int rank,const SubscriptValue * extent,ISO::CFI_attribute_t attribute,bool addendum) Establish() argument
83 Establish(int characterKind,std::size_t characters,void * p,int rank,const SubscriptValue * extent,ISO::CFI_attribute_t attribute,bool addendum) Establish() argument
90 Establish(const typeInfo::DerivedType & dt,void * p,int rank,const SubscriptValue * extent,ISO::CFI_attribute_t attribute) Establish() argument
101 Create(TypeCode t,std::size_t elementBytes,void * p,int rank,const SubscriptValue * extent,ISO::CFI_attribute_t attribute,bool addendum,const typeInfo::DerivedType * dt) Create() argument
119 Create(TypeCategory c,int kind,void * p,int rank,const SubscriptValue * extent,ISO::CFI_attribute_t attribute) Create() argument
126 Create(int characterKind,SubscriptValue characters,void * p,int rank,const SubscriptValue * extent,ISO::CFI_attribute_t attribute) Create() argument
134 Create(const typeInfo::DerivedType & dt,void * p,int rank,const SubscriptValue * extent,ISO::CFI_attribute_t attribute) Create() argument
[all...]
H A Dtransformational.cpp122 const Descriptor &source, int rank, const SubscriptValue extent[], in AllocateResult() argument
145 SubscriptValue extent[maxRank]; in AllocateBesselResult() local
467 SubscriptValue extent[maxRank]; RTDEF() local
506 SubscriptValue extent{sourceDim.Extent()}; RTDEF() local
524 SubscriptValue extent[maxRank]; RTDEF() local
605 SubscriptValue extent{source.GetDimension(0).Extent()}; RTDEF() local
655 SubscriptValue extent{trues}; RTDEF() local
726 auto extent{GetInt64Safe( RTDEF() local
829 SubscriptValue extent[maxRank]; RTDEF() local
856 SubscriptValue extent[2]{ RTDEF() local
878 SubscriptValue extent[maxRank]; RTDEF() local
[all...]
H A DISO_Fortran_binding.cpp73 CFI_index_t extent{ub >= lb ? ub - lb + 1 : 0}; in CFI_allocate() local
149 CFI_index_t extent[CFI_MAX_RANK]; in CFI_section() local
289 CFI_index_t extent{source->dim[j].extent}; in CFI_setpointer() local
/llvm-project/libcxx/include/__type_traits/
H A Dextent.h25 struct _LIBCPP_NO_SPECIALIZATIONS _LIBCPP_TEMPLATE_VIS extent : integral_constant<size_t, __array_extent(_Tp, _Dim)> {}; struct
/llvm-project/flang/lib/Evaluate/
H A Dshape.cpp50 Scalar<ExtentType> extent{arrayConstant.values().at(j)}; ConstantShape() local
121 for (const auto &extent : shape.values()) { AsConstantExtents() local
138 for (const auto &extent : shape) { AsShape() local
199 ExtentExpr extent{1}; GetSize() local
275 auto extent{ToInt64(Fold(*context_, GetLowerBound() local
486 if (auto &extent{shape->at(dimension)}; GetAssociatedExtent() local
529 if (auto extent{GetNonNegativeExtent(shapeSpec, invariantOnly)}) { GetExtent() local
587 ComputeUpperBound(ExtentExpr && lower,MaybeExtentExpr && extent) ComputeUpperBound() argument
600 ComputeUpperBound(FoldingContext & context,ExtentExpr && lower,MaybeExtentExpr && extent) ComputeUpperBound() argument
627 } else if (auto extent{GetAssociatedExtent(symbol, dimension)}) { GetRawUpperBound() local
644 if (auto extent{GetNonNegativeExtent(shapeSpec, invariantOnly)}) { GetExplicitUBOUND() local
684 ExtentExpr extent{DescriptorInquiry{ GetUBOUND() local
688 } else if (auto extent{GetAssociatedExtent(symbol, dimension)}) { GetUBOUND() local
760 auto &extent{(*exprShape)[dimension]}; operator ()() local
1067 ExtentExpr extent{Fold(*context_, operator ()() local
[all...]
H A Dfold-designator.cpp71 ConstantSubscript extent{extents->at(dim)}; in FoldDesignator() local
233 auto extent{(*extents)[dim]}; OffsetToArrayRef() local
H A Dconstant.cpp75 auto extent{shape_[dim++]}; in SubscriptsToOffset() local
136 for (ConstantSubscript extent : shape) { in HasNegativeExtent() local
/llvm-project/flang/unittests/Optimizer/Builder/Runtime/
H A DRaggedTest.cpp19 mlir::Value extent = firBuilder->createIntegerConstant(loc, i32Ty, 1); in TEST_F() local
/llvm-project/clang/test/CodeGenObjCXX/
H A Dproperty-objects.mm25 - (CGRect)extent; method
57 - (struct CGRect)extent {return bounds;} method
/llvm-project/compiler-rt/lib/orc/
H A Dadt.h40 static constexpr std::size_t extent = Extent; variable
/llvm-project/mlir/lib/Conversion/ShapeToStandard/
H A DShapeToStandard.cpp195 for (auto extent : op.getShape()) { in matchAndRewrite() local
433 Value extent = b.create<tensor::ExtractOp>(loc, adaptor.getShape(), iv); in matchAndRewrite() local
584 Value extent = rewriter.create<tensor::DimOp>(loc, tensor, i); in matchAndRewrite() local
587 Value extent = rewriter.create<arith::ConstantIndexOp>( in matchAndRewrite() local
609 Value extent = b.create<tensor::DimOp>(loc, tensor, dim); in matchAndRewrite() local
/llvm-project/flang/lib/Lower/
H A DConvertArrayConstructor.cpp120 fir::SequenceType declaredType, mlir::Value extent, in InlinedTempStrategyImpl() argument
194 fir::SequenceType declaredType, mlir::Value extent, in AsElementalStrategy() argument
305 RuntimeTempStrategy(mlir::Location loc,fir::FirOpBuilder & builder,Fortran::lower::StatementContext & stmtCtx,Fortran::lower::SymMap & symMap,fir::SequenceType declaredType,std::optional<mlir::Value> extent,llvm::ArrayRef<mlir::Value> lengths,bool missingLengthParameters) RuntimeTempStrategy() argument
672 mlir::Value extent; selectArrayCtorLoweringStrategy() local
[all...]
H A DMangler.cpp278 for (Fortran::evaluate::ConstantSubscript extent : shape) mangleArrayLiteral() local
/llvm-project/flang/include/flang/Evaluate/
H A Dfold-designator.h178 ConstantSubscript extent; member
/llvm-project/flang/lib/Optimizer/Builder/
H A DHLFIRTools.cpp47 int64_t extent = exprShape[i]; getExplicitExtentsFromShape() local
408 genUBound(mlir::Location loc,fir::FirOpBuilder & builder,mlir::Value lb,mlir::Value extent,mlir::Value one) genUBound() argument
432 mlir::Value extent = fir::factory::readExtent(builder, loc, exv, dim); genBounds() local
452 for (auto extent : llvm::enumerate(extents)) { genBounds() local
570 for (auto &extent : extents) getIndexExtents() local
775 for (auto extent : llvm::enumerate(shapeOp.getExtents())) getArrayExprType() local
867 for (auto extent : llvm::reverse(extents)) { genLoopNest() local
[all...]
H A DCharacter.cpp136 for (auto extent : arrayType.getShape()) { in toExtendedValue() local
232 for (auto extent : box.getExtents()) in toScalarCharacter() local
270 auto extent = fir::SequenceType::getUnknownExtent(); in createElementAddr() local
/llvm-project/libcxx/include/__mdspan/
H A Dmdspan.h96 _LIBCPP_HIDE_FROM_ABI constexpr index_type extent(rank_type __r) const noexcept { extent() function
/llvm-project/flang/include/flang/Runtime/
H A Ddescriptor.h79 SetExtent(SubscriptValue extent) SetExtent() argument
[all...]
/llvm-project/flang/lib/Optimizer/HLFIR/IR/
H A DHLFIRDialect.cpp201 for (std::int64_t extent : expr.getShape()) { in genExprShape() local
/llvm-project/flang/include/flang/
H A DISO_Fortran_binding.h118 CFI_index_t extent; /* == -1 for assumed size */ global() member

123