Home
last modified time | relevance | path

Searched defs:extents (Results 1 – 25 of 55) sorted by relevance

123

/llvm-project/flang/lib/Optimizer/Builder/
H A DMutableBox.cpp29 mlir::ValueRange lbounds, mlir::ValueRange extents, in createNewFirBox() argument
154 llvm::SmallVector<mlir::Value> extents; in readShape() local
167 read(llvm::SmallVectorImpl<mlir::Value> & lbounds,llvm::SmallVectorImpl<mlir::Value> & extents,llvm::SmallVectorImpl<mlir::Value> & lengths) read() argument
210 updateMutableBox(mlir::Value addr,mlir::ValueRange lbounds,mlir::ValueRange extents,mlir::ValueRange lengths,mlir::Value tdesc={}) updateMutableBox() argument
255 llvm::SmallVector<mlir::Value> extents; syncMutablePropertiesFromIRBox() local
268 llvm::SmallVector<mlir::Value> extents; syncIRBoxFromMutableProperties() local
278 updateIRBox(mlir::Value addr,mlir::ValueRange lbounds,mlir::ValueRange extents,mlir::ValueRange lengths,mlir::Value tdesc={}) updateIRBox() argument
287 updateMutableProperties(mlir::Value addr,mlir::ValueRange lbounds,mlir::ValueRange extents,mlir::ValueRange lengths) updateMutableProperties() argument
356 llvm::SmallVector<mlir::Value> extents(seqTy.getDimension(), zero); createUnallocatedBox() local
429 llvm::SmallVector<mlir::Value> extents; genMutableBoxRead() local
556 auto extents = fir::factory::getExtents(loc, builder, source); associateMutableBox() local
595 llvm::SmallVector<mlir::Value> extents; associateMutableBoxWithRemap() local
736 allocateAndInitNewStorage(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,mlir::ValueRange extents,mlir::ValueRange lenParams,llvm::StringRef allocName) allocateAndInitNewStorage() argument
757 genInlinedAllocation(fir::FirOpBuilder & builder,mlir::Location loc,const fir::MutableBoxValue & box,mlir::ValueRange lbounds,mlir::ValueRange extents,mlir::ValueRange lenParams,llvm::StringRef allocName,bool mustBeHeap) genInlinedAllocation() argument
801 mlir::SmallVector<mlir::Value> extents; genReallocIfNeeded() local
862 auto extents = genReallocIfNeeded() local
933 auto extents = fir::factory::getExtents(loc, builder, realloc.newValue); finalizeRealloc() local
[all...]
H A DHLFIRTools.cpp446 "shape must contain extents"); in genBounds() local
101 genLboundsAndExtentsFromBox(mlir::Location loc,fir::FirOpBuilder & builder,hlfir::Entity boxEntity,llvm::SmallVectorImpl<mlir::Value> & lbounds,llvm::SmallVectorImpl<mlir::Value> * extents) genLboundsAndExtentsFromBox() argument
512 llvm::SmallVector<mlir::Value> extents; getVariableExtents() local
567 llvm::SmallVector<mlir::Value> extents = getIndexExtents() local
579 auto extents = hlfir::getExplicitExtentsFromShape(shape, builder); genExtent() local
858 genLoopNest(mlir::Location loc,fir::FirOpBuilder & builder,mlir::ValueRange extents,bool isUnordered) genLoopNest() argument
924 llvm::SmallVector<mlir::Value> extents; translateVariableToExtendedValue() local
1133 auto extents = hlfir::getIndexExtents(loc, builder, shape); createTempFromMold() local
1174 auto extents = hlfir::getIndexExtents(loc, builder, shape); createStackTempFromMold() local
[all...]
/llvm-project/flang/runtime/
H A DISO_Fortran_util.h44 const CFI_index_t extents[], bool external) { in VerifyEstablishParameters() argument
82 std::size_t elem_len, CFI_rank_t rank, const CFI_index_t extents[]) { in EstablishDescriptor() argument
H A Dderived.cpp93 GetComponentExtents(extents, comp, instance); in Initialize() local
262 SubscriptValue extents[maxRank]; Finalize() local
324 SubscriptValue extents[maxRank]; Destroy() local
[all...]
H A Dcopy.cpp51 SubscriptValue extents[maxRank]; CopyElement() local
/llvm-project/flang/unittests/Runtime/
H A DRagged.cpp17 int64_t *extents = reinterpret_cast<int64_t *>(malloc(2 * sizeof(int64_t))); in TEST() local
H A DPointer.cpp94 const SubscriptValue extents[1]{0}; in TEST() local
H A DAllocatable.cpp104 const SubscriptValue extents[1]{0}; in TEST() local
/llvm-project/flang/lib/Evaluate/
H A Dfold-designator.cpp30 if (auto extents{GetConstantExtents(context_, symbol)}) { in DEFINE_DEFAULT_CONSTRUCTORS_AND_ASSIGNMENTS() local
51 if (auto extents{GetConstantExtents(context_, array)}) { in FoldDesignator() local
219 auto extents{AsConstantExtents(context, shape)}; in OffsetToArrayRef() local
380 auto extents{GetConstantExtents(context, expr)}; From() local
[all...]
H A Dinitial-image.cpp78 std::optional<std::int64_t> charLength, const ConstantSubscripts &extents, in AsConstantHelper()
206 const ConstantSubscripts &extents, bool padWithZero, in AsConstant()
/llvm-project/flang/unittests/Optimizer/
H A DFortranVariableTest.cpp99 llvm::SmallVector<mlir::Value> extents{ TEST_F() local
130 llvm::SmallVector<mlir::Value> extents{ TEST_F() local
[all...]
/llvm-project/flang/unittests/Evaluate/
H A DISO-Fortran-binding.cpp84 CFI_rank_t rank, const CFI_index_t extents[]) { in check_CFI_establish()
159 CFI_index_t extents[CFI_MAX_RANK]; in run_CFI_establish_tests() local
232 CFI_index_t extents[CFI_MAX_RANK]; in run_CFI_address_tests() local
608 CFI_index_t extents[rank]; in run_CFI_setpointer_tests() local
649 CFI_index_t extents[rank] = {4, 4}; in run_CFI_is_contiguous_tests() local
/llvm-project/flang/include/flang/Optimizer/Builder/
H A DBoxValue.h128 AbstractArrayBox(llvm::ArrayRef<mlir::Value> extents, in AbstractArrayBox() argument
217 AbstractIrBox(mlir::Value addr,llvm::ArrayRef<mlir::Value> lbounds,llvm::ArrayRef<mlir::Value> extents) AbstractIrBox() argument
347 llvm::SmallVector<mlir::Value, 2> extents; global() variable
[all...]
/llvm-project/libcxx/include/__mdspan/
H A Dlayout_right.h137 _LIBCPP_HIDE_FROM_ABI constexpr const extents_type& extents() const noexcept { return __extents_; } extents() function
[all...]
H A Dlayout_left.h138 _LIBCPP_HIDE_FROM_ABI constexpr const extents_type& extents() const noexcept { return __extents_; } extents() function
[all...]
H A Dlayout_stride.h255 _LIBCPP_HIDE_FROM_ABI constexpr const extents_type& extents() const noexcept { return __extents_; } extents() function
[all...]
H A Dmdspan.h241 _LIBCPP_HIDE_FROM_ABI constexpr const extents_type& extents() const noexcept { return __map_.extents(); }; extents() function
[all...]
/llvm-project/libcxx/test/std/containers/views/mdspan/
H A DCustomTestLayouts.h117 constexpr const extents_type& extents() const noexcept { return extents_; } extents() function
272 constexpr const extents_type& extents() const noexcept { return extents_; } extents() function
[all...]
/llvm-project/flang/unittests/Optimizer/Builder/
H A DHLFIRToolsTest.cpp79 llvm::SmallVector<mlir::Value> extents{ TEST_F() local
132 llvm::SmallVector<mlir::Value> extents{ TEST_F() local
H A DFIRBuilderTest.cpp361 llvm::SmallVector<mlir::Value> extents = {c10, c100}; TEST_F() local
373 llvm::SmallVector<mlir::Value> extents = {c10, c100}; TEST_F() local
388 llvm::SmallVector<mlir::Value> extents = {c10, c100}; TEST_F() local
413 llvm::SmallVector<mlir::Value> extents = {c10, c100}; TEST_F() local
486 llvm::SmallVector<mlir::Value> extents( TEST_F() local
[all...]
/llvm-project/flang/lib/Optimizer/Builder/Runtime/
H A DRagged.cpp20 mlir::ValueRange extents) { in genRaggedArrayAllocate()
/llvm-project/flang/lib/Optimizer/HLFIR/Transforms/
H A DOptimizedBufferization.cpp477 auto extents = hlfir::getIndexExtents(loc, builder, elemental.getShape()); matchAndRewrite() local
553 llvm::SmallVector<mlir::Value> extents = matchAndRewrite() local
648 llvm::SmallVector<mlir::Value> extents = matchAndRewrite() local
669 auto extents = hlfir::getIndexExtents(loc, builder, shape); generateReductionLoop() local
[all...]
/llvm-project/flang/lib/Optimizer/Transforms/
H A DAffinePromotion.cpp357 auto extents = shape.getExtents(); in populateIndexArgs() local
370 auto extents = shape.getPairs(); in populateIndexArgs() local
381 auto extents = slice.getTriples(); in populateIndexArgs() local
H A DArrayValueCopy.cpp832 static bool isAssumedSize(llvm::SmallVectorImpl<mlir::Value> &extents) { in isAssumedSize()
1000 llvm::SmallVector<mlir::Value> extents; in genArrayCopy() local
1067 llvm::ArrayRef<mlir::Value> extents) { in findNonconstantExtents()
1089 ArrayLoadOp load, llvm::ArrayRef<mlir::Value> extents, in allocateArrayTemp()
1151 llvm::SmallVector<mlir::Value> extents; in referenceToClone() local
1199 llvm::SmallVector<mlir::Value> extents; in materializeAssignment() local
/llvm-project/mlir/lib/Dialect/
H A DTraits.cpp19 SmallVector<SmallVector<int64_t, 6>, 2> extents; in staticallyKnownBroadcastable() local

123