Home
last modified time | relevance | path

Searched refs:MutableBoxValue (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/
H A DMutableBox.h28 class MutableBoxValue; variable
49 fir::MutableBoxValue createTempMutableBox(fir::FirOpBuilder &builder,
57 const fir::MutableBoxValue &box,
67 const fir::MutableBoxValue &box,
77 const fir::MutableBoxValue &box);
120 const fir::MutableBoxValue &box);
123 const fir::MutableBoxValue &box,
129 const fir::MutableBoxValue &box);
135 const fir::MutableBoxValue &box);
143 const fir::MutableBoxValue &box,
[all …]
H A DBoxValue.h34 class MutableBoxValue; variable
41 llvm::raw_ostream &operator<<(llvm::raw_ostream &, const MutableBoxValue &);
335 class MutableBoxValue : public AbstractIrBox {
341 MutableBoxValue(mlir::Value addr, mlir::ValueRange lenParameters, in MutableBoxValue() function
361 MutableBoxValue clone(mlir::Value newBox) const { in clone()
369 const MutableBoxValue &);
456 ProcBoxValue, BoxValue, MutableBoxValue>;
521 [](const fir::MutableBoxValue &box) { return box.getBaseTy(); }, in getBaseTypeOf()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DMutableBox.cpp27 const fir::MutableBoxValue &box, in createNewFirBox()
98 const fir::MutableBoxValue &box, in MutablePropertyReader()
188 fir::MutableBoxValue box;
196 const fir::MutableBoxValue &box) in MutablePropertyWriter()
314 fir::MutableBoxValue box;
359 fir::MutableBoxValue
374 static bool readToBoxValue(const fir::MutableBoxValue &box, in readToBoxValue()
396 const fir::MutableBoxValue &box, in genMutableBoxRead()
521 [&](const fir::MutableBoxValue &) { in associateMutableBox() argument
618 [&](const fir::MutableBoxValue &) { in associateMutableBoxWithRemap() argument
[all …]
H A DBoxValue.cpp33 [](const fir::MutableBoxValue &) -> mlir::Value { in getLen() argument
63 [&](const fir::MutableBoxValue &) -> RT { in getTypeParams() argument
77 [](const fir::MutableBoxValue &box) { return box.hasRank(); }, in isArray()
145 const fir::MutableBoxValue &box) { in operator <<()
184 bool fir::MutableBoxValue::verify() const { in verify()
H A DFIRBuilder.cpp398 [&](const fir::MutableBoxValue &) -> mlir::Value { in createShape() argument
447 [&](const fir::MutableBoxValue &) -> mlir::Value { in createSlice() argument
492 [&](const fir::MutableBoxValue &x) -> mlir::Value { in createBox()
561 [&](const fir::MutableBoxValue &x) -> mlir::Value { in readCharLen()
593 [&](const fir::MutableBoxValue &x) -> mlir::Value { in readExtent()
619 [&](const fir::MutableBoxValue &x) -> mlir::Value { in readLowerBound()
665 [&](const fir::MutableBoxValue &x) -> llvm::SmallVector<mlir::Value> { in getExtents()
710 [&](const fir::MutableBoxValue &box) -> llvm::SmallVector<mlir::Value> { in getNonDefaultLowerBounds()
724 [&](const fir::MutableBoxValue &box) -> llvm::SmallVector<mlir::Value> { in getNonDeferredLenParams()
787 [&](const fir::MutableBoxValue &box) { return handleBoxed(box); }, in getTypeParams()
[all …]
/llvm-project-15.0.7/flang/lib/Lower/
H A DAllocatable.cpp119 const fir::MutableBoxValue &box, in genRuntimeSetBounds()
140 const fir::MutableBoxValue &box, in genRuntimeInitCharacter()
168 const fir::MutableBoxValue &box, in genRuntimeAllocate()
219 static fir::MutableBoxValue
305 fir::MutableBoxValue boxAddr = in lowerAllocation()
333 const fir::MutableBoxValue &box) { in genInlinedAllocation()
370 const fir::MutableBoxValue &box) { in genSimpleAllocation()
470 void genSetType(const Allocation &, const fir::MutableBoxValue &) { in genSetType() argument
511 const fir::MutableBoxValue &box, in genDeallocate()
548 fir::MutableBoxValue box = in genDeallocateStmt()
[all …]
H A DIntrinsicCall.cpp141 fir::MutableBoxValue resultMutableBox = in genFuncDim()
282 fir::MutableBoxValue resultMutableBox = in genExtremumVal()
351 fir::MutableBoxValue resultMutableBox = in genExtremumloc()
380 fir::MutableBoxValue resultMutableBox = in genExtremumloc()
2142 fir::MutableBoxValue resultMutableBox = in genAdjustRtCall()
2209 fir::MutableBoxValue resultMutableBox = in genAll()
2279 fir::MutableBoxValue resultMutableBox = in genAny()
2492 fir::MutableBoxValue resultMutableBox = in genCount()
2539 fir::MutableBoxValue resultMutableBox = in genCshift()
2683 fir::MutableBoxValue resultMutableBox = in genEoshift()
[all …]
H A DSymbolMap.cpp27 [&](const fir::MutableBoxValue &v) { makeSym(sym, v, force); }, in addSymbol()
H A DHostAssociations.cpp245 assert(args.hostValue.getBoxOf<fir::MutableBoxValue>() && in instantiateHostTuple()
308 sym, fir::MutableBoxValue(args.valueInTuple, nonDeferredLenParams, {})); in getFromTuple()
335 fir::MutableBoxValue boxInTuple(args.addrInTuple, {}, {}); in instantiateHostTuple()
H A DConvertExpr.cpp448 if (const auto *box = exv.getBoxOf<fir::MutableBoxValue>()) in genOptionalAddr()
666 fir::MutableBoxValue
677 const fir::MutableBoxValue *mutableBox = in genMutableBoxValue()
678 exv.getBoxOf<fir::MutableBoxValue>(); in genMutableBoxValue()
1095 [&](const fir::MutableBoxValue &toBox) { in genval()
1897 [&](const fir::MutableBoxValue &mutableBox) { in gen()
2688 [&](const fir::MutableBoxValue &box) { in genCallOpAndResult()
3101 fir::MutableBoxValue pointer(irBox, in genRawProcedureRef()
3727 fir::MutableBoxValue mutableBox = in lowerAllocatableArrayAssignment()
6293 [&](const fir::MutableBoxValue &box) { in computeElementSize()
[all …]
H A DBridge.cpp463 [&](const fir::MutableBoxValue &box) -> fir::ExtendedValue { in createHostAssociateVarClone()
466 return fir::MutableBoxValue(allocate({}, {}), in createHostAssociateVarClone()
540 } else if (hexv.getBoxOf<fir::MutableBoxValue>()) { in copyHostAssociateVar()
2077 fir::MutableBoxValue box = genExprMutableBox(loc, *expr); in genFIR()
2180 inline fir::MutableBoxValue
2234 llvm::Optional<fir::MutableBoxValue> lhsMutableBox; in genAssignment()
2326 fir::MutableBoxValue lhs = genExprMutableBox(loc, assign.lhs); in genAssignment()
2362 fir::MutableBoxValue lhs = genExprMutableBox(loc, assign.lhs); in genAssignment()
H A DOpenMP.cpp205 [&](const fir::MutableBoxValue &box) -> fir::ExtendedValue { in getExtendedValue()
206 return fir::MutableBoxValue(val, box.nonDeferredLenParams(), {}); in getExtendedValue()
H A DIO.cpp332 fir::MutableBoxValue box = fir::MutableBoxValue(descAddr, {}, {}); in getNamelistGroup()
H A DConvertVariable.cpp1294 fir::MutableBoxValue box = Fortran::lower::createMutableBox( in mapSymbolAttributes()
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DAllocatable.h54 fir::MutableBoxValue createMutableBox(AbstractConverter &converter,
65 const fir::MutableBoxValue &box,
H A DSymbolMap.h68 using PointerOrAllocatable = fir::MutableBoxValue;
274 fir::MutableBoxValue box, bool force = false) {
H A DConvertExpr.h84 fir::MutableBoxValue createMutableBox(mlir::Location loc,
H A DAbstractConverter.h163 virtual fir::MutableBoxValue genExprMutableBox(mlir::Location loc,
/llvm-project-15.0.7/flang/unittests/Optimizer/Builder/
H A DFIRBuilderTest.cpp480 fir::MutableBoxValue(boxRefValScalar, mlir::ValueRange(), {})); in TEST_F()
490 fir::MutableBoxValue(boxRefValArray, mlir::ValueRange(), {})); in TEST_F()