llvm/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIFunctionClassifier.cpp

//===-- MPIFunctionClassifier.cpp - classifies MPI functions ----*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
///
/// \file
/// This file defines functionality to identify and classify MPI functions.
///
//===----------------------------------------------------------------------===//

#include "clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h"
#include "llvm/ADT/STLExtras.h"

namespace clang {
namespace ento {
namespace mpi {

void MPIFunctionClassifier::identifierInit(ASTContext &ASTCtx) {}

void MPIFunctionClassifier::initPointToPointIdentifiers(ASTContext &ASTCtx) {}

void MPIFunctionClassifier::initCollectiveIdentifiers(ASTContext &ASTCtx) {}

void MPIFunctionClassifier::initAdditionalIdentifiers(ASTContext &ASTCtx) {}

// general identifiers
bool MPIFunctionClassifier::isMPIType(const IdentifierInfo *IdentInfo) const {}

bool MPIFunctionClassifier::isNonBlockingType(
    const IdentifierInfo *IdentInfo) const {}

// point-to-point identifiers
bool MPIFunctionClassifier::isPointToPointType(
    const IdentifierInfo *IdentInfo) const {}

// collective identifiers
bool MPIFunctionClassifier::isCollectiveType(
    const IdentifierInfo *IdentInfo) const {}

bool MPIFunctionClassifier::isCollToColl(
    const IdentifierInfo *IdentInfo) const {}

bool MPIFunctionClassifier::isScatterType(
    const IdentifierInfo *IdentInfo) const {}

bool MPIFunctionClassifier::isGatherType(
    const IdentifierInfo *IdentInfo) const {}

bool MPIFunctionClassifier::isAllgatherType(
    const IdentifierInfo *IdentInfo) const {}

bool MPIFunctionClassifier::isAlltoallType(
    const IdentifierInfo *IdentInfo) const {}

bool MPIFunctionClassifier::isBcastType(const IdentifierInfo *IdentInfo) const {}

bool MPIFunctionClassifier::isReduceType(
    const IdentifierInfo *IdentInfo) const {}

// additional identifiers
bool MPIFunctionClassifier::isMPI_Wait(const IdentifierInfo *IdentInfo) const {}

bool MPIFunctionClassifier::isMPI_Waitall(
    const IdentifierInfo *IdentInfo) const {}

bool MPIFunctionClassifier::isWaitType(const IdentifierInfo *IdentInfo) const {}

} // end of namespace: mpi
} // end of namespace: ento
} // end of namespace: clang