Home
last modified time | relevance | path

Searched refs:createConvert (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/flang/lib/Lower/
DCharacterRuntime.cpp109 auto lptr = builder.createConvert(loc, fTy.getInput(0), lhsBuff); in genRawCharCompare()
110 auto llen = builder.createConvert(loc, fTy.getInput(2), lhsLen); in genRawCharCompare()
111 auto rptr = builder.createConvert(loc, fTy.getInput(1), rhsBuff); in genRawCharCompare()
112 auto rlen = builder.createConvert(loc, fTy.getInput(3), rhsLen); in genRawCharCompare()
DFIRBuilder.cpp46 return createConvert(loc, noneRefType, zero); in createNullConstant()
79 indices.push_back(createConvert(loc, idxTy, sh)); in allocateLocal()
150 auto cast = createConvert(loc, eleTy, val); in convertWithSemantics()
161 return createConvert(loc, toTy, rp); in convertWithSemantics()
163 return createConvert(loc, toTy, val); in convertWithSemantics()
166 mlir::Value Fortran::lower::FirOpBuilder::createConvert(mlir::Location loc, in createConvert() function in Fortran::lower::FirOpBuilder
DCharacterExpr.cpp151 buff = builder.createConvert(loc, refType, buff); in createEmbox()
156 len = builder.createConvert(loc, lenType, len); in createEmbox()
225 addr = builder.createConvert(loc, addrTy, addr); in createLengthOneAssign()
285 builder.createConvert(loc, builder.getIndexType(), lhs.getLen()); in createConcatenate()
311 castBounds.push_back(builder.createConvert(loc, getLengthType(), bound)); in createSubstring()
318 offset = builder.createConvert(loc, idxType, offset); in createSubstring()
347 auto len = builder.createConvert(loc, indexType, str.getLen()); in createLenTrim()
362 c = builder.createConvert(loc, blank.getType(), c); in createLenTrim()
373 return builder.createConvert(loc, getLengthType(), result); in createLenTrim()
396 return builder.createConvert(loc, type, createBlankConstantCode(type)); in createBlankConstant()
DIO.cpp144 builder.createConvert(loc, getIoMsg.getType().getInput(1), in genEndIO()
146 builder.createConvert(loc, getIoMsg.getType().getInput(2), in genEndIO()
155 auto ioStatResult = builder.createConvert( in genEndIO()
247 outputFuncArgs.push_back(builder.createConvert( in genOutputItemList()
249 outputFuncArgs.push_back(builder.createConvert( in genOutputItemList()
257 itemValue = builder.createConvert(loc, argType, itemValue); in genOutputItemList()
329 itemAddr = builder.createConvert(loc, argType, itemAddr); in genInputItemList()
335 builder.createConvert(loc, inputFunc.getType().getInput(2), len)); in genInputItemList()
347 builder.createConvert(loc, argType, complexPartAddr(1))}; in genInputItemList()
370 return builder.createConvert( in genIoLoop()
[all …]
DIntrinsicCall.cpp885 builder.createConvert(loc, std::get<0>(pair), std::get<1>(pair))); in getRuntimeCallGenerator()
888 return builder.createConvert(loc, soughtType, call.getResult(0)); in getRuntimeCallGenerator()
1010 return builder.createConvert(loc, resultType, ceil); in genCeiling()
1054 auto a = builder.createConvert(loc, resultType, args[0]); in genDprod()
1055 auto b = builder.createConvert(loc, resultType, args[1]); in genDprod()
1067 return builder.createConvert(loc, resultType, floor); in genFloor()
1090 auto charAddr = builder.createConvert(loc, refType, dataAndLen.first); in genIchar()
1092 return builder.createConvert(loc, resultType, charVal); in genIchar()
1128 return builder.createConvert(loc, resultType, len); in genLen()
1139 return builder.createConvert(loc, resultType, len); in genLenTrim()
[all …]
DOpenACC.cpp334 ifCond = firOpBuilder.createConvert(currentLocation, in genACCParallelOp()
345 selfCond = firOpBuilder.createConvert(currentLocation, in genACCParallelOp()
456 ifCond = firOpBuilder.createConvert(currentLocation, in genACCDataOp()
560 ifCond = firOpBuilder.createConvert(currentLocation, in genACCEnterDataOp()
660 ifCond = firOpBuilder.createConvert(currentLocation, in genACCExitDataOp()
751 ifCond = firOpBuilder.createConvert(currentLocation, in genACCInitShutdownOp()
814 ifCond = firOpBuilder.createConvert(currentLocation, in genACCUpdateOp()
965 ifCond = firOpBuilder.createConvert(currentLocation, in genACC()
/external/llvm-project/flang/include/flang/Lower/
DFIRBuilder.h154 mlir::Value createConvert(mlir::Location loc, mlir::Type toTy,
188 return createConvert(loc, getIndexType(), val); in convertToIndexType()