Home
last modified time | relevance | path

Searched refs:fromBits (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/flang/lib/Optimizer/Transforms/
H A DCharacterConversion.cpp62 auto fromBits = getCharBits(conv.getFrom().getType()); in matchAndRewrite() local
69 auto fromPtrTy = pointerType(fromBits); in matchAndRewrite()
79 loc, getEleTy(fromBits), fromPtr, in matchAndRewrite()
85 (fromBits >= toBits) in matchAndRewrite()
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DCodeGen.cpp784 auto convertFpToFp = [&](mlir::Value val, unsigned fromBits, in matchAndRewrite()
786 if (fromBits == toBits) { in matchAndRewrite()
794 if (fromBits > toBits) in matchAndRewrite()
810 auto fromBits = mlir::LLVM::getPrimitiveTypeSizeInBits(ty); in matchAndRewrite() local
812 auto rc = convertFpToFp(rp, fromBits, toBits, nt); in matchAndRewrite()
813 auto ic = convertFpToFp(ip, fromBits, toBits, nt); in matchAndRewrite()
840 auto fromBits = mlir::LLVM::getPrimitiveTypeSizeInBits(fromTy); in matchAndRewrite() local
842 auto v = convertFpToFp(op0, fromBits, toBits, toTy); in matchAndRewrite()
853 auto fromBits = mlir::LLVM::getPrimitiveTypeSizeInBits(fromTy); in matchAndRewrite() local
855 assert(fromBits != toBits); in matchAndRewrite()
[all …]
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertExpr.cpp1360 auto fromBits = in genval() local
1366 if (toBits < fromBits) { in genval()
1369 loc, bufferSize.getType(), fromBits / toBits); in genval()