Home
last modified time | relevance | path

Searched refs:ArrayBoxValue (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/
H A DBoxValue.h30 class ArrayBoxValue; variable
38 llvm::raw_ostream &operator<<(llvm::raw_ostream &, const ArrayBoxValue &);
132 class ArrayBoxValue : public AbstractBox, public AbstractArrayBox {
134 ArrayBoxValue(mlir::Value addr, llvm::ArrayRef<mlir::Value> extents,
138 ArrayBoxValue clone(mlir::Value newBase) const { in clone()
143 const ArrayBoxValue &);
455 std::variant<UnboxedValue, CharBoxValue, ArrayBoxValue, CharArrayBoxValue,
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DBoxValue.cpp74 [](const fir::ArrayBoxValue &) { return true; }, in isArray() argument
88 const fir::ArrayBoxValue &box) { in operator <<()
241 [](const fir::ArrayBoxValue &box) -> bool { in isAssumedSize()
H A DFIRBuilder.cpp388 [&](const fir::ArrayBoxValue &box) { return genShape(loc, box); }, in createShape()
437 [&](const fir::ArrayBoxValue &box) { in createSlice()
470 [&](const fir::ArrayBoxValue &box) -> mlir::Value { in createBox()
577 [&](const fir::ArrayBoxValue &x) -> mlir::Value { in readExtent()
610 [&](const fir::ArrayBoxValue &x) -> mlir::Value { in readLowerBound()
656 [&](const fir::ArrayBoxValue &x) -> llvm::SmallVector<mlir::Value> { in getExtents()
691 return fir::ArrayBoxValue(addr, fir::factory::readExtents(builder, loc, box), in readBoxValue()
700 [&](const fir::ArrayBoxValue &array) -> llvm::SmallVector<mlir::Value> { in getNonDefaultLowerBounds()
936 return fir::ArrayBoxValue{component, extents}; in componentToExtendedValue()
H A DMutableBox.cpp338 loc, fir::ArrayBoxValue{nullAddr, extents, /*lbounds=*/llvm::None}); in createUnallocatedBox()
421 return fir::ArrayBoxValue{addr, extents, lbounds}; in genMutableBoxRead()
478 [&](const fir::ArrayBoxValue &arr) { in associateMutableBox()
577 [&](const fir::ArrayBoxValue &arr) { in associateMutableBoxWithRemap()
742 return fir::ArrayBoxValue{newAddr, extents}; in genReallocIfNeeded()
/llvm-project-15.0.7/flang/lib/Lower/
H A DSymbolMap.cpp24 [&](const fir::ArrayBoxValue &v) { makeSym(sym, v, force); }, in addSymbol()
H A DIntrinsicCall.cpp155 [&](const fir::ArrayBoxValue &box) -> fir::ExtendedValue { in genFuncDim()
398 [&](const fir::ArrayBoxValue &box) -> fir::ExtendedValue { in genExtremumloc()
1605 return fir::ArrayBoxValue{base, extents}; in toExtendedValue()
2053 [&](const fir::ArrayBoxValue &box) -> fir::ExtendedValue { in readAndAddCleanUp()
2218 [&](const fir::ArrayBoxValue &box) -> fir::ExtendedValue { in genAll()
2288 [&](const fir::ArrayBoxValue &box) -> fir::ExtendedValue { in genAny()
2505 [&](const fir::ArrayBoxValue &box) -> fir::ExtendedValue { in genCount()
3925 [](const fir::ArrayBoxValue &arr) { return arr.getLBounds().empty(); }, in hasDefaultLowerBound()
3993 [&](const fir::ArrayBoxValue &x) -> fir::ExtendedValue { in createBoxForLBOUND()
3994 return fir::ArrayBoxValue{x.getAddr(), shape, x.getLBounds()}; in createBoxForLBOUND()
[all …]
H A DConvertExpr.cpp270 return fir::ArrayBoxValue(newBase, extents, origins); in __anon67dfc8450102()
1083 [&](const fir::ArrayBoxValue &) { in genval() argument
1692 return fir::ArrayBoxValue{array, extents, lbounds}; in genArrayLit()
1723 return fir::ArrayBoxValue{array, extents, lbounds}; in genArrayLit()
2040 [&](const fir::ArrayBoxValue &arr) -> ExtValue { in genOffsetAndCoordinateOp()
2377 return fir::ArrayBoxValue(base, extents); in toExtendedValue()
2431 return fir::ArrayBoxValue{temp, extents}; in genArrayTempFromMold()
2569 [&](const fir::ArrayBoxValue &) { in genCallOpAndResult() argument
3507 return fir::ArrayBoxValue(val, extents); in convertToArrayBoxValue()
5525 return genarr(fir::ArrayBoxValue{addr, extents}); in genarr()
[all …]
H A DBridge.cpp461 return fir::ArrayBoxValue{allocate(extents, {}), extents}; in createHostAssociateVarClone()
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DSymbolMap.h59 using FullDim = fir::ArrayBoxValue;
/llvm-project-15.0.7/flang/unittests/Optimizer/Builder/
H A DFIRBuilderTest.cpp415 fir::ArrayBoxValue aab(array, extents, {}); in TEST_F()
487 arrays.emplace_back(fir::ArrayBoxValue(ptrValArray, extents)); in TEST_F()