Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DMutableBox.cpp29 mlir::ValueRange extents, in createNewFirBox()
149 llvm::SmallVector<mlir::Value> extents; in readShape() local
162 llvm::SmallVectorImpl<mlir::Value> &extents, in read()
247 llvm::SmallVector<mlir::Value> extents; in syncMutablePropertiesFromIRBox() local
260 llvm::SmallVector<mlir::Value> extents; in syncIRBoxFromMutableProperties() local
278 mlir::ValueRange extents, in updateMutableProperties()
401 llvm::SmallVector<mlir::Value> extents; in genMutableBoxRead() local
538 llvm::SmallVector<mlir::Value> extents; in associateMutableBoxWithRemap() local
684 mlir::ValueRange extents, in genInlinedAllocation()
725 mlir::SmallVector<mlir::Value> extents; in genReallocIfNeeded() local
[all …]
H A DBoxValue.cpp229 auto extents = fir::factory::getExtents(loc, builder, exv); in getExtentAtDimension() local
H A DFIRBuilder.cpp413 llvm::ArrayRef<mlir::Value> extents) -> mlir::Value { in createSlice()
444 auto extents = fir::factory::readExtents(*this, loc, box); in createSlice() local
862 llvm::SmallVector<mlir::Value> extents; in createExtents() local
911 llvm::SmallVector<mlir::Value> extents; in componentToExtendedValue() local
H A DCharacter.cpp126 llvm::SmallVector<mlir::Value> extents; in toExtendedValue() local
/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/
H A DArray.h20 inline bool isAssumedSize(const llvm::SmallVectorImpl<mlir::Value> &extents) { in isAssumedSize()
H A DBoxValue.h106 AbstractArrayBox(llvm::ArrayRef<mlir::Value> extents, in AbstractArrayBox()
194 llvm::ArrayRef<mlir::Value> extents) in AbstractIrBox()
321 llvm::SmallVector<mlir::Value, 2> extents; variable
/llvm-project-15.0.7/flang/unittests/Runtime/
H A DRagged.cpp17 int64_t *extents = new int64_t[2]; in TEST() local
/llvm-project-15.0.7/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
208 auto extents{AsConstantExtents(context, shape)}; in OffsetToArrayRef() local
363 auto extents{GetConstantExtents(context, expr)}; in From() local
H A Dinitial-image.cpp74 const ConstantSubscripts &extents, const InitialImage &image, in AsConstantHelper()
190 const DynamicType &type, const ConstantSubscripts &extents, in AsConstant()
H A Dfold-integer.cpp145 } else if (auto extents{ in LBOUND() local
210 if (auto extents{AsExtentArrayExpr(ubounds)}) { in UBOUND() local
1047 } else if (auto extents{common::AllElementsPresent(std::move(*shape))}) { in FoldIntrinsicFunction() local
H A Dfold.cpp243 std::optional<ConstantSubscripts> extents; in FoldTransfer() local
H A Dcheck-expression.cpp430 } else if (auto extents{AsConstantExtents(context, symTS->shape())}) { in NonPointerInitializationExpr() local
/llvm-project-15.0.7/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
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/Runtime/
H A DRagged.cpp20 mlir::ValueRange extents) { in genRaggedArrayAllocate()
/llvm-project-15.0.7/flang/unittests/Optimizer/Builder/
H A DFIRBuilderTest.cpp359 llvm::SmallVector<mlir::Value> extents = {c10, c100}; in TEST_F() local
371 llvm::SmallVector<mlir::Value> extents = {c10, c100}; in TEST_F() local
386 llvm::SmallVector<mlir::Value> extents = {c10, c100}; in TEST_F() local
411 llvm::SmallVector<mlir::Value> extents = {c10, c100}; in TEST_F() local
484 llvm::SmallVector<mlir::Value> extents( in TEST_F() local
/llvm-project-15.0.7/flang/lib/Optimizer/Transforms/
H A DAffinePromotion.cpp352 auto extents = shape.getExtents(); in populateIndexArgs() local
365 auto extents = shape.getPairs(); in populateIndexArgs() local
376 auto extents = slice.getTriples(); in populateIndexArgs() local
H A DArrayValueCopy.cpp947 llvm::SmallVector<mlir::Value> extents; in genArrayCopy() local
1016 llvm::ArrayRef<mlir::Value> extents) { in findNonconstantExtents()
1038 ArrayLoadOp load, llvm::ArrayRef<mlir::Value> extents, in allocateArrayTemp()
1102 llvm::SmallVector<mlir::Value> extents; in referenceToClone() local
1150 llvm::SmallVector<mlir::Value> extents; in materializeAssignment() local
/llvm-project-15.0.7/mlir/lib/Dialect/
H A DTraits.cpp18 SmallVector<SmallVector<int64_t, 6>, 2> extents; in staticallyKnownBroadcastable() local
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertVariable.cpp1394 const auto &bounds, mlir::Value box) { in mapSymbolAttributes()
1556 llvm::SmallVector<mlir::Value> extents; in mapSymbolAttributes() local
1607 llvm::SmallVector<mlir::Value> extents; in mapSymbolAttributes() local
1657 llvm::SmallVector<mlir::Value> extents; in mapSymbolAttributes() local
1729 llvm::SmallVector<mlir::Value> extents; in mapSymbolAttributes() local
1795 llvm::SmallVector<mlir::Value> extents; in mapSymbolAttributes() local
1869 llvm::SmallVector<mlir::Value> extents; in mapSymbolAttributes() local
H A DConvertExpr.cpp276 auto extents = fir::factory::getExtents(shapeVal); local
291 auto extents = fir::factory::getExtents(loc, builder, exv); local
1616 llvm::SmallVector<mlir::Value> extents; in genArrayLit() local
1707 llvm::SmallVector<mlir::Value> extents; in genArrayLit() local
2411 llvm::SmallVector<mlir::Value> extents = in genArrayTempFromMold() local
2494 llvm::SmallVector<mlir::Value> extents; in genCallOpAndResult() local
4445 llvm::SmallVector<mlir::Value> extents; in prepareRaggedArrays() local
4554 llvm::SmallVector<mlir::Value> extents; in genMasks() local
5517 llvm::SmallVector<mlir::Value> extents; in genarr() local
6579 llvm::SmallVector<mlir::Value> extents = { in genArrayCtorInitializer() local
[all …]
H A DAllocatable.cpp335 llvm::SmallVector<mlir::Value> extents; in genInlinedAllocation() local
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtools.h1034 explicit ScalarConstantExpander(ConstantSubscripts &&extents) in ScalarConstantExpander()
1037 ConstantSubscripts &&extents, std::optional<ConstantSubscripts> &&lbounds) in ScalarConstantExpander()
1040 ConstantSubscripts &&extents, ConstantSubscripts &&lbounds) in ScalarConstantExpander()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Ddata-to-inits.cpp504 if (auto extents{evaluate::GetConstantExtents(foldingContext, symbol)}) { in PopulateWithComponentDefaults() local
542 if (auto extents{evaluate::GetConstantExtents( in PopulateWithComponentDefaults() local
880 if (auto extents{evaluate::GetConstantExtents(context, symbol)}) { in ConstructInitializer() local
/llvm-project-15.0.7/flang/runtime/
H A DISO_Fortran_binding.cpp241 CFI_rank_t rank, const CFI_index_t extents[]) { in CFI_establish()
/llvm-project-15.0.7/mlir/lib/Dialect/Shape/IR/
H A DShape.cpp976 SmallVector<SmallVector<int64_t, 6>, 6> extents; in fold() local
990 SmallVector<SmallVector<int64_t, 6>, 6> extents; in fold() local
1151 SmallVector<int64_t, 6> extents; in fold() local

12