Lines Matching +defs:buffer +defs:string

120      {{{"string", asAddr}}},
124 {{{"string", asAddr}}},
432 {{{"string", asAddr},
459 {{{"string", asInquired}, {"kind", asValue}}},
588 {{{"string", asAddr}, {"ncopies", asValue}}},
608 {{{"string", asAddr},
704 {"trim", &I::genTrim, {{{"string", asAddr}}}, /*isElemental=*/false},
717 {{{"string", asAddr},
776 /// Return a string containing the given Fortran intrinsic name
779 static std::string
783 std::string output = prefix.str();
787 std::string displayName{" ** "};
1618 std::string message = prettyPrintIntrinsicName(
1682 mlir::Value buffer = charBox->getBuffer();
1683 auto buffTy = buffer.getType();
1686 loc, "A character's buffer type cannot be a function type.");
1688 return buffer;
1690 buffer, charBox->getLen());
1717 const std::string builtin = "__builtin_";
2043 /// Helper to encode type into string for intrinsic procedure names.
2046 static std::string typeToString(mlir::Type t) {
2083 static std::string mangleIntrinsicProcedure(llvm::StringRef intrinsic,
2085 std::string name = "fir.";
2104 std::string wrapperName = mangleIntrinsicProcedure(name, funcType);
2184 std::string funcName{name};
2186 if (std::string fmfString{builder.getFastMathFlagsString()};
2235 std::string nameAndType;
2409 mlir::Value string = builder.createBox(loc, args[0]);
2417 CallRuntime(builder, loc, resultIrBox, string);
4176 mlir::Value buffer = charBox->getBuffer();
4177 mlir::Type bufferTy = buffer.getType();
4181 charVal = buffer;
4193 mlir::Value cast = builder.createConvert(loc, toTy, buffer);
4713 mlir::Value radix, std::string procName) {
5562 std::string tableName = RTNAME_STRING(IeeeValueTable_) +
5717 mlir::Value string = builder.createBox(loc, args[0]);
5741 fir::runtime::genIndexDescriptor(builder, loc, resBox, string, substring,
6861 mlir::Value string = builder.createBox(loc, args[0]);
6869 fir::runtime::genRepeat(builder, loc, resultIrBox, string, ncopies);
6974 // specialized on the kind of characters in string.
6976 // Handle required string base arg
6979 // Handle required set string base arg
6987 // Get string length argument
6990 // Get set string length argument
7020 // Handle required string argument
7021 mlir::Value string = builder.createBox(loc, args[0]);
7035 fir::runtime::genScanDescriptor(builder, loc, resultIrBox, string, set, back,
7613 std::string errorMsg;
7873 mlir::Value string = builder.createBox(loc, args[0]);
7880 fir::runtime::genTrim(builder, loc, resultIrBox, string);
7996 // specialized on the kind of characters in string.
7998 // Handle required string base arg
8001 // Handle required set string base arg
8009 // Get string length argument
8012 // Get set string length argument
8042 // Handle required string argument
8043 mlir::Value string = builder.createBox(loc, args[0]);
8057 fir::runtime::genVerifyDescriptor(builder, loc, resultIrBox, string, set,