Searched refs:FloatLit (Results 1 – 2 of 2) sorted by relevance
39 const FloatingLiteral *FloatLit) { in getValue() argument43 assert(FloatLit != nullptr && "Neither IntLit nor FloatLit set"); in getValue()44 return FloatLit->getValueAsApproximateDouble(); in getValue()174 const auto *FloatLit = llvm::dyn_cast<FloatingLiteral>(MultBinOp->getLHS()); in check() local175 if (IntLit || FloatLit) { in check()176 NewScale = getNewScale(Scale, getValue(IntLit, FloatLit)); in check()184 FloatLit = llvm::dyn_cast<FloatingLiteral>(MultBinOp->getRHS()); in check()185 if (IntLit || FloatLit) { in check()186 NewScale = getNewScale(Scale, getValue(IntLit, FloatLit)); in check()195 const auto *FloatLit = llvm::cast<FloatingLiteral>(DivBinOp->getRHS()); in check() local[all …]
161 if (const auto *FloatLit = dyn_cast<FloatingLiteral>(Expression)) { in getEquivalentBoolLiteralForExpr() local162 llvm::APFloat FloatLitAbsValue = FloatLit->getValue(); in getEquivalentBoolLiteralForExpr()