Searched refs:FPLiteral (Results 1 – 2 of 2) sorted by relevance
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/AsmParser/ |
H A D | AMDGPUAsmParser.cpp | 1885 static bool canLosslesslyConvertToFPType(APFloat &FPLiteral, MVT VT) { in canLosslesslyConvertToFPType() argument 1889 APFloat::opStatus Status = FPLiteral.convert(*getFltSemantics(VT), in canLosslesslyConvertToFPType() 1943 APFloat FPLiteral(APFloat::IEEEdouble(), APInt(64, Imm.Val)); in isInlinableImm() local 1944 if (!canLosslesslyConvertToFPType(FPLiteral, type)) in isInlinableImm() 2024 APFloat FPLiteral(APFloat::IEEEdouble(), APInt(64, Imm.Val)); in isLiteralImm() local 2025 return canLosslesslyConvertToFPType(FPLiteral, ExpectedType); in isLiteralImm() 2179 APFloat FPLiteral(APFloat::IEEEdouble(), Literal); in addLiteralImmOperand() local 2181 FPLiteral.convert(*getOpFltSemantics(OpTy), in addLiteralImmOperand() 2186 uint64_t ImmVal = FPLiteral.bitcastToAPInt().getZExtValue(); in addLiteralImmOperand() 2300 APFloat FPLiteral(APFloat::IEEEdouble(), Literal); in addKImmFPOperands() local [all …]
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 12213 FloatingLiteral *FPLiteral; in CheckFloatComparison() local 12215 auto getCastAndLiteral = [&FPLiteral, &FPCast](Expr *L, Expr *R) { in CheckFloatComparison() 12216 FPLiteral = dyn_cast<FloatingLiteral>(L->IgnoreParens()); in CheckFloatComparison() 12218 return FPLiteral && FPCast; in CheckFloatComparison() 12223 auto *TargetTy = FPLiteral->getType()->getAs<BuiltinType>(); in CheckFloatComparison() 12227 llvm::APFloat TargetC = FPLiteral->getValue(); in CheckFloatComparison()
|