Home
last modified time | relevance | path

Searched refs:BoxValue (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/
H A DBoxValue.h31 class BoxValue; variable
42 llvm::raw_ostream &operator<<(llvm::raw_ostream &, const BoxValue &);
266 class BoxValue : public AbstractIrBox {
268 BoxValue(mlir::Value addr) : AbstractIrBox{addr} { assert(verify()); } in BoxValue() function
269 BoxValue(mlir::Value addr, llvm::ArrayRef<mlir::Value> lbounds,
280 BoxValue clone(mlir::Value newBox) const { in clone()
284 friend llvm::raw_ostream &operator<<(llvm::raw_ostream &, const BoxValue &);
456 ProcBoxValue, BoxValue, MutableBoxValue>;
522 [](const fir::BoxValue &box) { return box.getBaseTy(); }, in getBaseTypeOf()
H A DFIRBuilder.h30 class BoxValue; variable
428 const fir::BoxValue &box);
436 const fir::BoxValue &box);
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DBoxValue.cpp30 [](const fir::BoxValue &) -> mlir::Value { in getLen() argument
59 [&](const fir::BoxValue &) -> RT { in getTypeParams() argument
76 [](const fir::BoxValue &box) { return box.hasRank(); }, in isArray()
124 const fir::BoxValue &box) { in operator <<()
206 bool fir::BoxValue::verify() const { in verify()
H A DCMakeLists.txt4 BoxValue.cpp
H A DFIRBuilder.cpp390 [&](const fir::BoxValue &box) -> mlir::Value { in createShape()
443 [&](const fir::BoxValue &box) { in createSlice()
554 [&](const fir::BoxValue &x) -> mlir::Value { in readCharLen()
583 [&](const fir::BoxValue &x) -> mlir::Value { in readExtent()
616 [&](const fir::BoxValue &x) -> mlir::Value { in readLowerBound()
634 const fir::BoxValue &box) { in readExtents()
662 [&](const fir::BoxValue &x) -> llvm::SmallVector<mlir::Value> { in getExtents()
707 [&](const fir::BoxValue &box) -> llvm::SmallVector<mlir::Value> { in getNonDefaultLowerBounds()
728 [&](const fir::BoxValue &box) -> llvm::SmallVector<mlir::Value> { in getNonDeferredLenParams()
786 [&](const fir::BoxValue &box) { return handleBoxed(box); }, in getTypeParams()
[all …]
H A DMutableBox.cpp406 return fir::BoxValue{reader.getIrBox(), lbounds, in genMutableBoxRead()
488 [&](const fir::BoxValue &arr) { in associateMutableBox()
585 [&](const fir::BoxValue &arr) { in associateMutableBoxWithRemap()
/llvm-project-15.0.7/flang/lib/Lower/
H A DHostAssociations.cpp276 fir::BoxValue boxLoad = in getFromTuple()
336 if (args.hostValue.getBoxOf<fir::BoxValue>() && in instantiateHostTuple()
389 fir::BoxValue boxValue(box, lbounds, /*explicitParams=*/llvm::None); in getFromTuple()
409 fir::BoxValue boxValue(box, lbounds, /*explicitParams=*/llvm::None); in getFromTuple()
H A DSymbolMap.cpp26 [&](const fir::BoxValue &v) { makeSym(sym, v, force); }, in addSymbol()
H A DIntrinsicCall.cpp189 fir::BoxValue arryTmp = builder.createBox(loc, args[0]); in genProdOrSum()
261 fir::BoxValue arryTmp = builder.createBox(loc, args[0]); in genExtremumVal()
323 unsigned rank = fir::BoxValue(array).rank(); in genExtremumloc()
2058 [&](const fir::BoxValue &box) -> fir::ExtendedValue { in readAndAddCleanUp()
2190 fir::BoxValue maskArry = builder.createBox(loc, args[0]); in genAll()
2260 fir::BoxValue maskArry = builder.createBox(loc, args[0]); in genAny()
2462 fir::BoxValue mask = builder.createBox(loc, args[0]); in genCount()
3637 assert(fir::BoxValue(shape).rank() == 1); in genReshape()
4113 fir::BoxValue sourceTmp = source; in genSpread()
4163 fir::BoxValue moldTmp = mold; in genTransfer()
[all …]
H A DConvertExpr.cpp133 BoxValue, // refers to a box value containing `v` enumerator
464 if (exv.getBoxOf<fir::BoxValue>()) in genOptionalBox()
481 return fir::BoxValue(boxOrAbsent); in genOptionalBox()
1091 [&](const fir::BoxValue &toBox) { in genval()
1955 if (!array.getBoxOf<fir::BoxValue>()) in genCoordinateOp()
2056 [&](const fir::BoxValue &arr) -> ExtValue { in genOffsetAndCoordinateOp()
2183 return fir::BoxValue( in lowerIntrinsicArgumentAsBox()
2739 [&](const fir::BoxValue &x) -> ExtValue { in genTempExtAddr()
2782 if (const auto *box = exv.getBoxOf<fir::BoxValue>()) in readIfBoxValue()
3787 PushSemantics(ConstituentSemantics::BoxValue); in lowerBoxedArrayExpr()
[all …]
H A DIO.cpp816 [&](const fir::BoxValue &) -> ValuePair { in genBuffer() argument
H A DBridge.cpp446 [&](const fir::BoxValue &box) -> fir::ExtendedValue { in createHostAssociateVarClone()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/Runtime/
H A DCharacter.cpp127 if (lhs.getBoxOf<fir::BoxValue>() || rhs.getBoxOf<fir::BoxValue>()) in genCharCompare()
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DSymbolMap.h75 using Box = fir::BoxValue;
/llvm-project-15.0.7/flang/unittests/Optimizer/Builder/
H A DFIRBuilderTest.cpp478 scalars.emplace_back(fir::BoxValue(boxValScalar)); in TEST_F()
488 arrays.emplace_back(fir::BoxValue(boxValArray)); in TEST_F()
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt2114 flang/include/flang/Optimizer/Builder/BoxValue.h
2262 flang/lib/Optimizer/Builder/BoxValue.cpp