Lines Matching defs:actualArg

2185   /// Generate a contiguous temp to pass \p actualArg as argument \p arg. The
2189 ExtValue genCopyIn(const ExtValue &actualArg,
2197 bool isActualArgBox = fir::isa_box_type(fir::getBase(actualArg).getType());
2200 fir::unwrapPassByRefType(fir::getBase(actualArg).getType()));
2205 fir::runtime::genIsContiguous(builder, loc, fir::getBase(actualArg));
2209 ExtValue temp = genArrayTempFromMold(actualArg, tempName);
2234 genArrayCopy(temp, actualArg);
2238 // Generate AssignTemporary() call to copy data from the actualArg
2247 fir::getBase(actualArg));
2252 mlir::Value box = fir::getBase(actualArg);
2287 fir::substBase(readIfBoxValue(actualArg), addr);
2290 CopyOutPair{actualArg, temp, doCopyOut, restrictCopyAtRuntime});
2295 copyOutPairs.emplace_back(CopyOutPair{actualArg, temp, doCopyOut, {}});
2330 // Associate the temp address with actualArg lengths and extents if a
2332 fir::ExtendedValue temp = fir::substBase(readIfBoxValue(actualArg), addr);
2335 CopyOutPair{actualArg, temp, doCopyOut, restrictCopyAtRuntime});
2364 // to the actualArg. Note that in case the actual argument
2429 fir::ExtendedValue actualArg =
2431 return {actualArg, isPresent};
2437 ExtValue actualArg = gen(expr);
2438 mlir::Value actualArgBase = fir::getBase(actualArg);
2442 return {actualArg, isPresent};
2444 absentBoxToUnallocatedBox(builder, loc, actualArg, isPresent);
2451 createScalarTempForArgThatMayBeAbsent(ExtValue actualArg,
2454 mlir::Type type = fir::unwrapRefType(fir::getBase(actualArg).getType());
2455 if (fir::isDerivedWithLenParameters(actualArg))
2457 if (const fir::CharBoxValue *charBox = actualArg.getCharBox()) {
2522 const ExtValue &actualArg = actualArgBind;
2524 return {actualArg, isPresent};
2527 return {genCopyIn(actualArg, arg, copyOutPairs, isPresent, byValue),
2532 createScalarTempForArgThatMayBeAbsent(actualArg, isPresent);
2540 actualArg);
2565 ExtValue actualArg = genExtAddr(expr);
2567 return {createInMemoryScalarCopy(builder, loc, actualArg),
2569 return {actualArg, std::nullopt};