Lines Matching refs:isPresent

421                                            mlir::Value isPresent) {  in genOptionalValue()  argument
426 .genIfOp(loc, {eleType}, isPresent, in genOptionalValue()
445 mlir::Value isPresent) { in genOptionalAddr() argument
462 mlir::Value isPresent) { in genOptionalBox() argument
480 loc, boxType, isPresent, box, absent); in genOptionalBox()
561 mlir::Value isPresent) { in absentBoxToUnallocatedBox() argument
568 builder.create<mlir::arith::SelectOp>(loc, isPresent, box, emptyBox); in absentBoxToUnallocatedBox()
2206 mlir::Value isPresent = in genIntrinsicRef() local
2208 operands.emplace_back(optionalArg, isPresent); in genIntrinsicRef()
2223 auto isPresent = [&](std::size_t i) -> llvm::Optional<mlir::Value> { in genIntrinsicRef() local
2227 builder, loc, name, resultType, isPresent, getArgument, in genIntrinsicRef()
2253 mlir::Value isPresent = genActualIsPresentTest(builder, loc, optional); in genIntrinsicRef() local
2257 genOptionalValue(builder, loc, optional, isPresent)); in genIntrinsicRef()
2261 genOptionalAddr(builder, loc, optional, isPresent)); in genIntrinsicRef()
2265 genOptionalBox(builder, loc, optional, isPresent)); in genIntrinsicRef()
2873 mlir::Value isPresent = fir::factory::genIsAllocatedOrAssociatedTest( in prepareActualThatMayBeAbsent() local
2877 return {actualArg, isPresent}; in prepareActualThatMayBeAbsent()
2885 mlir::Value isPresent = builder.create<fir::IsPresentOp>( in prepareActualThatMayBeAbsent() local
2888 return {actualArg, isPresent}; in prepareActualThatMayBeAbsent()
2890 absentBoxToUnallocatedBox(builder, loc, actualArg, isPresent); in prepareActualThatMayBeAbsent()
2891 return {safeToReadBox, isPresent}; in prepareActualThatMayBeAbsent()
2898 mlir::Value isPresent) { in createScalarTempForArgThatMayBeAbsent() argument
2906 len = builder.create<mlir::arith::SelectOp>(loc, isPresent, len, zero); in createScalarTempForArgThatMayBeAbsent()
2963 auto [actualArgBind, isPresent] = prepareActualThatMayBeAbsent(expr); in prepareActualToBaseAddressLike()
2969 return genCopyIn(actualArg, arg, copyOutPairs, isPresent, byValue); in prepareActualToBaseAddressLike()
2973 createScalarTempForArgThatMayBeAbsent(actualArg, isPresent); in prepareActualToBaseAddressLike()
2977 .genIfOp(loc, {tempAddrTy}, isPresent, in prepareActualToBaseAddressLike()
4866 mlir::Value isPresent = in genElementalIntrinsicProcRef() local
4872 isPresent); in genElementalIntrinsicProcRef()
4874 auto [cc, isPresent, _] = this->genOptionalArrayFetch(expr); in genElementalIntrinsicProcRef()
4875 operands.emplace_back(cc, isPresent); in genElementalIntrinsicProcRef()
4891 auto isPresent = [&](std::size_t i) -> llvm::Optional<mlir::Value> { in genElementalIntrinsicProcRef() local
4895 *bldr, loc, name, retTy, isPresent, getArgument, operands.size(), in genElementalIntrinsicProcRef()
6118 mlir::Value isPresent = genActualIsPresentTest(builder, loc, optionalArg); in genOptionalArrayFetch() local
6136 exv = absentBoxToUnallocatedBox(builder, loc, exv, isPresent); in genOptionalArrayFetch()
6167 return {cc, isPresent, eleType}; in genOptionalArrayFetch()
6185 mlir::Value isPresent = genActualIsPresentTest(builder, loc, optionalArg); in genarrForwardOptionalArgumentToCall() local
6187 fir::getBase(genOptionalValue(builder, loc, optionalArg, isPresent)); in genarrForwardOptionalArgumentToCall()
6192 mlir::Value isPresent; in genarrForwardOptionalArgumentToCall() local
6194 std::tie(cc, isPresent, eleType) = genOptionalArrayFetch(expr); in genarrForwardOptionalArgumentToCall()
6198 .genIfOp(loc, {eleType}, isPresent, in genarrForwardOptionalArgumentToCall()