Lines Matching refs:factory
279 fir::factory::Complex helper{*this, loc}; in convertWithSemantics()
299 fir::factory::CharacterExprHelper charHelper{*this, loc}; in convertWithSemantics()
312 fir::factory::CharacterExprHelper charHelper{*this, loc}; in convertWithSemantics()
444 auto extents = fir::factory::readExtents(*this, loc, box); in createSlice()
476 if (fir::factory::CharacterExprHelper::hasConstantLengthInType(exv)) in createBox()
485 if (fir::factory::CharacterExprHelper::hasConstantLengthInType(exv)) in createBox()
494 loc, fir::factory::getMutableIRBox(*this, loc, x)); in createBox()
546 mlir::Value fir::factory::readCharLen(fir::FirOpBuilder &builder, in readCharLen()
558 return fir::factory::CharacterExprHelper{builder, loc} in readCharLen()
563 fir::factory::genMutableBoxRead(builder, loc, x)); in readCharLen()
571 mlir::Value fir::factory::readExtent(fir::FirOpBuilder &builder, in readExtent()
595 fir::factory::genMutableBoxRead(builder, loc, x), in readExtent()
603 mlir::Value fir::factory::readLowerBound(fir::FirOpBuilder &builder, in readLowerBound()
621 fir::factory::genMutableBoxRead(builder, loc, x), in readLowerBound()
633 fir::factory::readExtents(fir::FirOpBuilder &builder, mlir::Location loc, in readExtents()
653 fir::factory::getExtents(mlir::Location loc, fir::FirOpBuilder &builder, in getExtents()
663 return fir::factory::readExtents(builder, loc, x); in getExtents()
666 auto load = fir::factory::genMutableBoxRead(builder, loc, x); in getExtents()
667 return fir::factory::getExtents(loc, builder, load); in getExtents()
672 fir::ExtendedValue fir::factory::readBoxValue(fir::FirOpBuilder &builder, in readBoxValue()
680 auto len = fir::factory::readCharLen(builder, loc, box); in readBoxValue()
684 fir::factory::readExtents(builder, loc, box), in readBoxValue()
691 return fir::ArrayBoxValue(addr, fir::factory::readExtents(builder, loc, box), in readBoxValue()
696 fir::factory::getNonDefaultLowerBounds(fir::FirOpBuilder &builder, in getNonDefaultLowerBounds()
711 auto load = fir::factory::genMutableBoxRead(builder, loc, box); in getNonDefaultLowerBounds()
712 return fir::factory::getNonDefaultLowerBounds(builder, loc, load); in getNonDefaultLowerBounds()
718 fir::factory::getNonDeferredLenParams(const fir::ExtendedValue &exv) { in getNonDeferredLenParams()
770 fir::factory::getTypeParams(mlir::Location loc, fir::FirOpBuilder &builder, in getTypeParams()
774 return {fir::factory::readCharLen(builder, loc, exv)}; in getTypeParams()
792 fir::factory::getTypeParams(mlir::Location loc, fir::FirOpBuilder &builder, in getTypeParams()
800 std::string fir::factory::uniqueCGIdent(llvm::StringRef prefix, in uniqueCGIdent()
820 mlir::Value fir::factory::locationToFilename(fir::FirOpBuilder &builder, in locationToFilename()
830 mlir::Value fir::factory::locationToLineNo(fir::FirOpBuilder &builder, in locationToLineNo()
838 fir::ExtendedValue fir::factory::createStringLiteral(fir::FirOpBuilder &builder, in createStringLiteral()
841 std::string globalName = fir::factory::uniqueCGIdent("cl", str); in createStringLiteral()
860 fir::factory::createExtents(fir::FirOpBuilder &builder, mlir::Location loc, in createExtents()
886 fir::ExtendedValue fir::factory::componentToExtendedValue( in componentToExtendedValue()
940 fir::ExtendedValue fir::factory::arrayElementToExtendedValue( in arrayElementToExtendedValue()
952 auto len = fir::factory::readCharLen(builder, loc, box); in arrayElementToExtendedValue()
962 fir::ExtendedValue fir::factory::arraySectionElementToExtendedValue( in arraySectionElementToExtendedValue()
974 return fir::factory::componentToExtendedValue(builder, loc, element); in arraySectionElementToExtendedValue()
977 void fir::factory::genScalarAssignment(fir::FirOpBuilder &builder, in genScalarAssignment()
988 fir::factory::CharacterExprHelper helper{builder, loc}; in genScalarAssignment()
992 fir::factory::genRecordAssignment(builder, loc, lhs, rhs); in genScalarAssignment()
1068 fir::factory::componentToExtendedValue(builder, loc, fromCoor); in genComponentByComponentAssignment()
1069 auto to = fir::factory::componentToExtendedValue(builder, loc, toCoor); in genComponentByComponentAssignment()
1070 fir::factory::genScalarAssignment(builder, loc, to, from); in genComponentByComponentAssignment()
1097 void fir::factory::genRecordAssignment(fir::FirOpBuilder &builder, in genRecordAssignment()
1136 fir::factory::getRaggedArrayHeaderType(fir::FirOpBuilder &builder) { in getRaggedArrayHeaderType()
1145 mlir::Value fir::factory::genLenOfCharacter( in genLenOfCharacter()
1154 mlir::Value fir::factory::genLenOfCharacter( in genLenOfCharacter()
1203 mlir::Value fir::factory::createZeroValue(fir::FirOpBuilder &builder, in createZeroValue()
1213 fir::factory::Complex complexHelper(builder, loc); in createZeroValue()
1222 llvm::Optional<std::int64_t> fir::factory::getIntIfConstant(mlir::Value value) { in getIntIfConstant()
1231 fir::factory::getExtentFromTriplet(mlir::Value lb, mlir::Value ub, in getExtentFromTriplet()
1235 if (auto valInt = fir::factory::getIntIfConstant(value)) in getExtentFromTriplet()
1259 mlir::Value fir::factory::genMaxWithZero(fir::FirOpBuilder &builder, in genMaxWithZero()