Home
last modified time | relevance | path

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

/external/llvm-project/flang/lib/Lower/
DFIRBuilder.cpp139 mlir::Location loc, mlir::Type toTy, mlir::Value val) { in convertWithSemantics() argument
140 assert(toTy && "store location must be typed"); in convertWithSemantics()
142 if (fromTy == toTy) in convertWithSemantics()
147 fir::isa_complex(toTy)) { in convertWithSemantics()
149 auto eleTy = helper.getComplexPartType(toTy); in convertWithSemantics()
152 kindMap.getFloatSemantics(toTy.cast<fir::CplxType>().getFKind()), 0}; in convertWithSemantics()
154 return helper.createComplex(toTy, cast, imag); in convertWithSemantics()
158 (toTy.isSignlessInteger() || fir::isa_real(toTy))) { in convertWithSemantics()
161 return createConvert(loc, toTy, rp); in convertWithSemantics()
163 return createConvert(loc, toTy, val); in convertWithSemantics()
[all …]
/external/llvm-project/flang/include/flang/Lower/
DFIRBuilder.h63 mlir::Value convertWithSemantics(mlir::Location loc, mlir::Type toTy,
154 mlir::Value createConvert(mlir::Location loc, mlir::Type toTy,
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp70 QualType fromTy, QualType toTy) { in makeNonLoc() argument
72 assert(!Loc::isLocType(toTy)); in makeNonLoc()
73 return nonloc::SymbolVal(SymMgr.getCastSymbol(operand, fromTy, toTy)); in makeNonLoc()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp93 QualType fromTy, QualType toTy) { in makeNonLoc() argument
95 assert(!Loc::isLocType(toTy)); in makeNonLoc()
96 return nonloc::SymbolVal(SymMgr.getCastSymbol(operand, fromTy, toTy)); in makeNonLoc()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h291 NonLoc makeNonLoc(const SymExpr *operand, QualType fromTy, QualType toTy);
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h332 NonLoc makeNonLoc(const SymExpr *operand, QualType fromTy, QualType toTy);
/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIROps.cpp323 if (auto toTy = getType().dyn_cast<fir::LogicalType>()) in fold() local
325 if (inner.getType().isa<mlir::IntegerType>() && (toTy == fromTy)) in fold()
328 if (auto toTy = getType().dyn_cast<mlir::IntegerType>()) in fold() local
330 if (inner.getType().isa<fir::LogicalType>() && (toTy == fromTy) && in fold()