15 #ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_MPICHECKER_MPIFUNCTIONCLASSIFIER_H
16 #define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_MPICHECKER_MPIFUNCTIONCLASSIFIER_H
53 void initPointToPointIdentifiers(
ASTContext &ASTCtx);
54 void initCollectiveIdentifiers(
ASTContext &ASTCtx);
55 void initAdditionalIdentifiers(
ASTContext &ASTCtx);
71 IdentifierInfo *IdentInfo_MPI_Send =
nullptr, *IdentInfo_MPI_Isend =
nullptr,
72 *IdentInfo_MPI_Ssend =
nullptr, *IdentInfo_MPI_Issend =
nullptr,
73 *IdentInfo_MPI_Bsend =
nullptr, *IdentInfo_MPI_Ibsend =
nullptr,
74 *IdentInfo_MPI_Rsend =
nullptr, *IdentInfo_MPI_Irsend =
nullptr,
75 *IdentInfo_MPI_Recv =
nullptr, *IdentInfo_MPI_Irecv =
nullptr;
79 *IdentInfo_MPI_Iscatter =
nullptr, *IdentInfo_MPI_Gather =
nullptr,
80 *IdentInfo_MPI_Igather =
nullptr, *IdentInfo_MPI_Allgather =
nullptr,
81 *IdentInfo_MPI_Iallgather =
nullptr, *IdentInfo_MPI_Bcast =
nullptr,
82 *IdentInfo_MPI_Ibcast =
nullptr, *IdentInfo_MPI_Reduce =
nullptr,
83 *IdentInfo_MPI_Ireduce =
nullptr, *IdentInfo_MPI_Allreduce =
nullptr,
84 *IdentInfo_MPI_Iallreduce =
nullptr, *IdentInfo_MPI_Alltoall =
nullptr,
85 *IdentInfo_MPI_Ialltoall =
nullptr, *IdentInfo_MPI_Barrier =
nullptr;
89 *IdentInfo_MPI_Comm_size =
nullptr, *IdentInfo_MPI_Wait =
nullptr,
90 *IdentInfo_MPI_Waitall =
nullptr;
bool isReduceType(const IdentifierInfo *const IdentInfo) const
bool isMPI_Waitall(const IdentifierInfo *const IdentInfo) const
bool isGatherType(const IdentifierInfo *const IdentInfo) const
One of these records is kept for each identifier that is lexed.
Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...
bool isPointToPointType(const IdentifierInfo *const IdentInfo) const
bool isMPI_Wait(const IdentifierInfo *const IdentInfo) const
bool isScatterType(const IdentifierInfo *const IdentInfo) const
bool isCollToColl(const IdentifierInfo *const IdentInfo) const
bool isMPIType(const IdentifierInfo *const IdentInfo) const
bool isNonBlockingType(const IdentifierInfo *const IdentInfo) const
MPIFunctionClassifier(ASTContext &ASTCtx)
bool isCollectiveType(const IdentifierInfo *const IdentInfo) const
bool isBcastType(const IdentifierInfo *const IdentInfo) const
bool isAlltoallType(const IdentifierInfo *const IdentInfo) const
bool isWaitType(const IdentifierInfo *const IdentInfo) const
bool isAllgatherType(const IdentifierInfo *const IdentInfo) const