| /llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/ |
| H A D | Character.h | 35 void createCopy(const fir::CharBoxValue &dest, const fir::CharBoxValue &src, 47 fir::CharBoxValue createSubstring(const fir::CharBoxValue &str, 59 fir::CharBoxValue createConcatenate(const fir::CharBoxValue &lhs, 63 mlir::Value createLenTrim(const fir::CharBoxValue &str); 71 mlir::Value createEmbox(const fir::CharBoxValue &str); 89 fir::CharBoxValue createCharacterTemp(mlir::Type type, int len); 182 fir::CharBoxValue materializeValue(mlir::Value str); 183 mlir::Value getCharBoxBuffer(const fir::CharBoxValue &box); 187 void createLengthOneAssign(const fir::CharBoxValue &lhs, 188 const fir::CharBoxValue &rhs); [all …]
|
| H A D | BoxValue.h | 32 class CharBoxValue; variable 37 llvm::raw_ostream &operator<<(llvm::raw_ostream &, const CharBoxValue &); 75 class CharBoxValue : public AbstractBox { 77 CharBoxValue(mlir::Value addr, mlir::Value len) in CharBoxValue() function 84 CharBoxValue clone(mlir::Value newBase) const { return {newBase, len}; } in clone() 92 const CharBoxValue &); 148 class CharArrayBoxValue : public CharBoxValue, public AbstractArrayBox { 153 : CharBoxValue{addr, len}, AbstractArrayBox{extents, lbounds} {} 159 CharBoxValue cloneElement(mlir::Value newBase) const { in cloneElement() 480 constexpr const CharBoxValue *getCharBox() const { in getCharBox() [all …]
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Builder/ |
| H A D | Character.cpp | 72 const fir::CharBoxValue &box) { in getCharacterType() 100 fir::CharBoxValue 188 return fir::CharBoxValue{base, resultLen}; in toExtendedValue() 304 const fir::CharBoxValue &box) { in getCharBoxBuffer() 317 const fir::CharBoxValue &dest, const fir::CharBoxValue &src, in createCopy() 361 fir::CharBoxValue 399 const fir::CharBoxValue &lhs, const fir::CharBoxValue &rhs) { in createLengthOneAssign() 418 const fir::CharBoxValue &lhs, const fir::CharBoxValue &rhs) { in createAssign() 452 const fir::CharBoxValue &lhs, const fir::CharBoxValue &rhs) { in createConcatenate() 558 fir::CharBoxValue [all …]
|
| H A D | BoxValue.cpp | 28 [](const fir::CharBoxValue &x) { return x.getLen(); }, in getLen() 57 [](const fir::CharBoxValue &x) -> RT { return {x.getLen()}; }, in getTypeParams() 82 const fir::CharBoxValue &box) { in operator <<()
|
| H A D | FIRBuilder.cpp | 484 [&](const fir::CharBoxValue &box) -> mlir::Value { in createBox() 550 [&](const fir::CharBoxValue &x) -> mlir::Value { return x.getLen(); }, in readCharLen() 682 return fir::CharBoxValue(addr, len); in readBoxValue() 722 [&](const fir::CharBoxValue &character) in getNonDeferredLenParams() 856 return fir::CharBoxValue{addr, len}; in createStringLiteral() 929 return fir::CharBoxValue{component, len}; in componentToExtendedValue() 944 [&](const fir::CharBoxValue &cb) -> fir::ExtendedValue { in arrayElementToExtendedValue() 953 return fir::CharBoxValue{element, len}; in arrayElementToExtendedValue() 985 const fir::CharBoxValue *toChar = lhs.getCharBox(); in genScalarAssignment() 986 const fir::CharBoxValue *fromChar = rhs.getCharBox(); in genScalarAssignment()
|
| H A D | MutableBox.cpp | 418 return fir::CharBoxValue{addr, len}; in genMutableBoxRead() 474 [&](const fir::CharBoxValue &ch) { in associateMutableBox() 573 [&](const fir::CharBoxValue &ch) { in associateMutableBoxWithRemap() 737 return fir::CharBoxValue{newAddr, len}; in genReallocIfNeeded()
|
| /llvm-project-15.0.7/flang/include/flang/Lower/ |
| H A D | Runtime.h | 30 class CharBoxValue; variable 74 llvm::Optional<fir::CharBoxValue> date, 75 llvm::Optional<fir::CharBoxValue> time, 76 llvm::Optional<fir::CharBoxValue> zone, mlir::Value values);
|
| H A D | SymbolMap.h | 62 using Char = fir::CharBoxValue;
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | Runtime.cpp | 59 [&](const fir::CharBoxValue &x) { in genStopStatement() 200 llvm::Optional<fir::CharBoxValue> date, in genDateAndTime() 201 llvm::Optional<fir::CharBoxValue> time, in genDateAndTime() 202 llvm::Optional<fir::CharBoxValue> zone, in genDateAndTime() 209 auto splitArg = [&](llvm::Optional<fir::CharBoxValue> arg, in genDateAndTime()
|
| H A D | SymbolMap.cpp | 23 [&](const fir::CharBoxValue &v) { makeSym(sym, v, force); }, in addSymbol()
|
| H A D | ConvertExpr.cpp | 247 return fir::CharBoxValue{newBase, len}; 1079 [&](const fir::CharBoxValue &) { in genval() argument 1293 return fir::CharBoxValue{charAddr, newLenValue}; in replaceScalarCharacterLength() 1596 return fir::CharBoxValue{addr, lenp}; in genScalarLit() 2383 return fir::CharBoxValue(base, lengths[0]); in toExtendedValue() 2912 return fir::CharBoxValue{temp, len}; in createScalarTempForArgThatMayBeAbsent() 3433 return fir::CharBoxValue{elementAddr, len}; in arrayModifyToExv() 3473 fir::CharBoxValue dstChar(dstOp, dstLen); in createCharArrayAmend() 5247 fir::CharBoxValue result(mem, len); in convertAdjustedType() 5465 return fir::CharBoxValue{lhs, rhs}; in genarr() [all …]
|
| H A D | IntrinsicCall.cpp | 293 [&](const fir::CharBoxValue &box) -> fir::ExtendedValue { in genExtremumVal() 1611 if (const fir::CharBoxValue *charBox = val.getCharBox()) { in toValue() 2075 [&](const fir::CharBoxValue &box) -> fir::ExtendedValue { in readAndAddCleanUp() 2155 [&](const fir::CharBoxValue &box) -> fir::ExtendedValue { in genAdjustRtCall() 2412 return fir::CharBoxValue{cast, len}; in genChar() 2570 llvm::SmallVector<llvm::Optional<fir::CharBoxValue>> charArgs(3); in genDateAndTime() 2572 if (const fir::CharBoxValue *charBox = args[i].getCharBox()) in genDateAndTime() 2961 const fir::CharBoxValue *charBox = args[0].getCharBox(); in genIchar() 3244 const fir::CharBoxValue *charBox = args[0].getCharBox(); in genLenTrim() 3333 const fir::CharBoxValue *charBox = args[0].getCharBox(); in genMerge() [all …]
|
| H A D | VectorSubscripts.cpp | 421 const fir::CharBoxValue *charBox = element.getCharBox(); in getElementAt()
|
| H A D | HostAssociations.cpp | 204 const fir::CharBoxValue *charBox = args.hostValue.getCharBox(); in instantiateHostTuple()
|
| H A D | Bridge.cpp | 538 } else if (hexv.getBoxOf<fir::CharBoxValue>()) { in copyHostAssociateVar() 817 [&](const fir::CharBoxValue &x) -> mlir::Value { in genReturnSymbol() 1699 [&](const fir::CharBoxValue &cbv) { in genFIR() 2239 if (const fir::CharBoxValue *charBox = rhs.getCharBox()) in genAssignment()
|
| H A D | IO.cpp | 809 [&](const fir::CharBoxValue &x) -> ValuePair { in genBuffer() 813 fir::CharBoxValue scalar = helper.toScalarCharacter(x); in genBuffer()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Transforms/ |
| H A D | ArrayValueCopy.cpp | 980 CharBoxValue toChar(toAddr, len); in genArrayCopy() 981 CharBoxValue fromChar(fromAddr, len); in genArrayCopy()
|