/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DereferenceChecker.cpp | 34 enum DerefKind { NullPointer, UndefinedPointerValue, AddressOfLabel }; enumerator 167 case DerefKind::NullPointer: in reportBug() 277 reportBug(DerefKind::NullPointer, nullState, expr, C); in checkLocation() 325 reportBug(DerefKind::NullPointer, StNull, expr, C); in checkBind()
|
/llvm-project/flang/lib/Evaluate/ |
H A D | initial-image.cpp | 123 typedValue[j].emplace(component, Expr<SomeType>{NullPointer{}}); in Test() 129 typedValue[j].emplace(component, Expr<SomeType>{NullPointer{}}); in Test()
|
H A D | tools.cpp | 646 [&](NullPointer &&) { in Relate() 954 [](const NullPointer &) { return true; }, in operator ()() 988 characteristics::Procedure::Attr::NullPointer); in CollectSymbolsHelper() 1000 characteristics::Procedure::Attr::NullPointer); 1024 bool operator()(const NullPointer &) const { return true; } in AttachDeclaration() 1046 return expr && std::holds_alternative<NullPointer>(expr->u); in AttachDeclaration() 561 __anon7bee07872302(NullPointer &&) Negation() argument 858 __anon7bee07873d02(const NullPointer &) IsProcedurePointerTarget() argument
|
H A D | check-expression.cpp | 233 bool operator()(const NullPointer &) const { return true; } in operator ()() 314 characteristics::Procedure::Attr::NullPointer); in operator ()() 990 Result operator()(const NullPointer &) const { return true; } in CheckSubscripts()
|
H A D | fold.cpp | 79 expr = Expr<SomeType>{NullPointer{}}; in FoldOperation()
|
H A D | formatting.cpp | 581 [&](const NullPointer &) { o << "NULL()"; }, in AsFortran() 576 __anonb3ef1e310a02(const NullPointer &) AsFortran() argument
|
H A D | shape.cpp | 1177 Procedure::Attr::NullPointer)) { // NULL(MOLD=)
|
/llvm-project/flang/lib/Semantics/ |
H A D | runtime-type-info.cpp | 205 return SomeExpr{evaluate::NullPointer{}}; in SaveDerivedPointerTarget() 328 return SomeExpr{evaluate::NullPointer{}}; in SaveNumericPointerTarget() 491 SomeExpr{evaluate::NullPointer{}}); in DescribeType() 832 SomeExpr{evaluate::NullPointer{}}); in DescribeComponent() 846 SomeExpr{evaluate::NullPointer{}}); in DescribeComponent() 869 values, componentSchema_, "bounds"s, SomeExpr{evaluate::NullPointer{}}); in DescribeComponent() 895 SomeExpr{evaluate::NullPointer{}}); in DescribeComponent() 911 SomeExpr{evaluate::NullPointer{}});
|
H A D | pointer-assignment.cpp | 71 bool Check(const evaluate::NullPointer &); 238 bool PointerAssignmentChecker::Check(const evaluate::NullPointer &) { in Check() 237 Check(const evaluate::NullPointer &) Check() argument
|
H A D | expression.cpp | 2173 result.Add(*symbol, Expr<SomeType>{NullPointer{}}); in Analyze() 2289 result.Add(symbol, Expr<SomeType>{NullPointer{}}); in GetPassIndex() 2295 result.Add(symbol, Expr<SomeType>{NullPointer{}}); in GetPassIndex() 4173 characteristics::Procedure::Attr::NullPointer) && in AnalyzeVariable() 4175 return Expr<SomeType>{NullPointer{}}; in AnalyzeVariable()
|
H A D | check-call.cpp | 1093 characteristics::Procedure::Attr::NullPointer); in CheckProcedureArg() 1107 characteristics::Procedure::Attr::NullPointer); in CheckProcedureArg()
|
H A D | data-to-inits.cpp | 915 mutableObject.set_init(SomeExpr{evaluate::NullPointer{}}); in ConstructInitializer()
|
/llvm-project/flang/include/flang/Lower/Support/ |
H A D | Utils.h | 347 static unsigned getHashValue(const Fortran::evaluate::NullPointer &x) { in getHashValue() 622 static bool isEqual(const Fortran::evaluate::NullPointer &x, in isEqual() 623 const Fortran::evaluate::NullPointer &y) { in isEqual()
|
/llvm-project/flang/lib/Lower/ |
H A D | DumpEvaluateExpr.cpp | 38 const Fortran::evaluate::NullPointer &) { in show() argument
|
H A D | IterationSpace.cpp | 181 RT find(const Fortran::evaluate::NullPointer &) { return {}; } in find() argument
|
H A D | ConvertCall.cpp | 1481 if (Fortran::evaluate::UnwrapExpr<Fortran::evaluate::NullPointer>( in prepareUserCallArguments() 1604 if (Fortran::evaluate::UnwrapExpr<Fortran::evaluate::NullPointer>( in prepareUserCallArguments() 1999 if (Fortran::evaluate::UnwrapExpr<Fortran::evaluate::NullPointer>( in genIntrinsicRefCore() 2738 if (Fortran::evaluate::UnwrapExpr<Fortran::evaluate::NullPointer>( in getActual()
|
H A D | ConvertType.cpp | 221 [&](const Fortran::evaluate::NullPointer &) -> mlir::Type { in genTypelessExprType() 220 __anondc17136b0302(const Fortran::evaluate::NullPointer &) genTypelessExprType() argument
|
H A D | ConvertExprToHLFIR.cpp | 1514 hlfir::EntityWithAttributes gen(const Fortran::evaluate::NullPointer &expr) { in gen() 1854 if (Fortran::evaluate::UnwrapExpr<Fortran::evaluate::NullPointer>( in gen() 1897 Fortran::evaluate::UnwrapExpr<Fortran::evaluate::NullPointer>(expr))
|
H A D | ConvertConstant.cpp | 391 if (Fortran::evaluate::UnwrapExpr<Fortran::evaluate::NullPointer>(expr)) in genStructureComponentInit()
|
H A D | Allocatable.cpp | 1115 if (Fortran::evaluate::UnwrapExpr<Fortran::evaluate::NullPointer>(source)) { in isWholePointer()
|
H A D | Bridge.cpp | 4158 if (Fortran::evaluate::UnwrapExpr<Fortran::evaluate::NullPointer>( in genPointerAssignment() 4187 if (Fortran::evaluate::UnwrapExpr<Fortran::evaluate::NullPointer>( in genImplicitConvert() 4280 if (Fortran::evaluate::UnwrapExpr<Fortran::evaluate::NullPointer>( in genCUDAImplicitDataTransfer() 4299 if (Fortran::evaluate::UnwrapExpr<Fortran::evaluate::NullPointer>( in genCUDAImplicitDataTransfer()
|
/llvm-project/flang/include/flang/Lower/ |
H A D | DumpEvaluateExpr.h | 81 void show(const Fortran::evaluate::NullPointer &);
|
/llvm-project/flang/include/flang/Evaluate/ |
H A D | expression.h | 827 struct NullPointer { 828 constexpr bool operator==(const NullPointer &) const { return true; } 836 using TypelessExpression = std::variant<BOZLiteralConstant, NullPointer,
|
H A D | traverse.h | 102 Result operator()(const NullPointer &) const { return visitor_.Default(); } in operator()
|
H A D | characteristics.h | 353 Attr, Pure, Elemental, BindC, ImplicitInterface, NullPointer, Subroutine)
|