Home
last modified time | relevance | path

Searched refs:FloatingLiteral (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1730 std::is_base_of<FloatingLiteral, T>::value ||
1750 inline bool ValueEqualsMatcher<FloatingLiteral, double>::matchesNode(
1751 const FloatingLiteral &Node) const {
1759 inline bool ValueEqualsMatcher<FloatingLiteral, float>::matchesNode(
1760 const FloatingLiteral &Node) const {
1768 inline bool ValueEqualsMatcher<FloatingLiteral, llvm::APFloat>::matchesNode(
1769 const FloatingLiteral &Node) const {
H A DASTMatchers.h2513 extern const internal::VariadicDynCastAllOfMatcher<Stmt, FloatingLiteral>
5921 FloatingLiteral,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtDataCollectors.td84 class FloatingLiteral {
H A DTextNodeDumper.h280 void VisitFloatingLiteral(const FloatingLiteral *Node);
H A DJSONNodeDumper.h333 void VisitFloatingLiteral(const FloatingLiteral *FL);
H A DExpr.h1650 class FloatingLiteral : public Expr, private APFloatStorage {
1653 FloatingLiteral(const ASTContext &C, const llvm::APFloat &V, bool isexact,
1657 explicit FloatingLiteral(const ASTContext &C, EmptyShell Empty);
1660 static FloatingLiteral *Create(const ASTContext &C, const llvm::APFloat &V,
1662 static FloatingLiteral *Create(const ASTContext &C, EmptyShell Empty);
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp1059 FloatingLiteral::FloatingLiteral(const ASTContext &C, const llvm::APFloat &V, in FloatingLiteral() function in FloatingLiteral
1068 FloatingLiteral::FloatingLiteral(const ASTContext &C, EmptyShell Empty) in FloatingLiteral() function in FloatingLiteral
1074 FloatingLiteral *
1075 FloatingLiteral::Create(const ASTContext &C, const llvm::APFloat &V, in Create()
1077 return new (C) FloatingLiteral(C, V, isexact, Type, L); in Create()
1080 FloatingLiteral *
1081 FloatingLiteral::Create(const ASTContext &C, EmptyShell Empty) { in Create()
1082 return new (C) FloatingLiteral(C, Empty); in Create()
1088 double FloatingLiteral::getValueAsApproximateDouble() const { in getValueAsApproximateDouble()
H A DStmtPrinter.cpp1524 static void PrintFloatingLiteral(raw_ostream &OS, FloatingLiteral *Node, in PrintFloatingLiteral()
1548 void StmtPrinter::VisitFloatingLiteral(FloatingLiteral *Node) { in VisitFloatingLiteral()
2230 auto *Float = cast<FloatingLiteral>(Node->getCookedLiteral()); in VisitUserDefinedLiteral()
H A DASTStructuralEquivalence.cpp249 bool IsStmtEquivalent(const FloatingLiteral *E1, const FloatingLiteral *E2) { in IsStmtEquivalent()
H A DItaniumMangle.cpp5773 const FloatingLiteral *FL = cast<FloatingLiteral>(E); in mangleExpression()
5822 if (const FloatingLiteral *Imag = in mangleExpression()
5823 dyn_cast<FloatingLiteral>(IE->getSubExpr())) { in mangleExpression()
H A DJSONNodeDumper.cpp1641 void JSONNodeDumper::VisitFloatingLiteral(const FloatingLiteral *FL) { in VisitFloatingLiteral()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCloneDetection.cpp215 SKIP(FloatingLiteral)
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprComplex.cpp318 cast<FloatingLiteral>(il->getSubExpr())->getValue(); in VisitImaginaryLiteral()
H A DCIRGenExprScalar.cpp163 mlir::Value VisitFloatingLiteral(const FloatingLiteral *e) { in VisitFloatingLiteral()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td65 def FloatingLiteral : StmtNode<Expr>;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp837 bool VisitFloatingLiteral(const FloatingLiteral *E) { return true; } in VisitFloatingLiteral()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.h133 bool VisitFloatingLiteral(const FloatingLiteral *E);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp77 return isa<IntegerLiteral, CharacterLiteral, FloatingLiteral, in isNumericLiteralExpression()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp770 if (!isa<IntegerLiteral>(literalE) && !isa<FloatingLiteral>(literalE)) in rewriteToNumberLiteral()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprAgg.cpp1668 if (const FloatingLiteral *FL = dyn_cast<FloatingLiteral>(E)) in isSimpleZero()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp965 const internal::VariadicDynCastAllOfMatcher<Stmt, FloatingLiteral> floatLiteral;
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1135 bool WalkUpFromFloatingLiteral(FloatingLiteral *S) { in WalkUpFromFloatingLiteral()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp655 void ASTStmtReader::VisitFloatingLiteral(FloatingLiteral *E) { in VisitFloatingLiteral()
3196 S = FloatingLiteral::Create(Context, Empty); in ReadStmtFromStream()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp432 isa<FloatingLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()
5108 isa<FloatingLiteral>(SrcExpr) || isa<ObjCBoolLiteralExpr>(SrcExpr) || in CheckConversionToObjCLiteral()
H A DSemaChecking.cpp10351 const FloatingLiteral *FPLiteral; in CheckFloatComparison()
10354 FPLiteral = dyn_cast<FloatingLiteral>(L->IgnoreParens()); in CheckFloatComparison()
10395 if (const auto *FLL = dyn_cast<FloatingLiteral>(LeftExprSansParen)) { in CheckFloatComparison()
10398 } else if (const auto *FLR = dyn_cast<FloatingLiteral>(RightExprSansParen)) in CheckFloatComparison()
11696 bool IsLiteral = isa<FloatingLiteral>(E) || isa<FloatingLiteral>(InnerE); in DiagnoseFloatingImpCast()

12