llvm/clang-tools-extra/clang-tidy/portability/SIMDIntrinsicsCheck.cpp

//===--- SIMDIntrinsicsCheck.cpp - clang-tidy------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#include "SIMDIntrinsicsCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Basic/TargetInfo.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/Regex.h"
#include "llvm/TargetParser/Triple.h"

usingnamespaceclang::ast_matchers;

namespace clang::tidy::portability {

namespace {

// If the callee has parameter of VectorType or pointer to VectorType,
// or the return type is VectorType, we consider it a vector function
// and a candidate for checking.
AST_MATCHER(FunctionDecl, isVectorFunction) {}

} // namespace

static StringRef trySuggestPpc(StringRef Name) {}

static StringRef trySuggestX86(StringRef Name) {}

SIMDIntrinsicsCheck::SIMDIntrinsicsCheck(StringRef Name,
                                         ClangTidyContext *Context)
    :{}

void SIMDIntrinsicsCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {}

void SIMDIntrinsicsCheck::registerMatchers(MatchFinder *Finder) {}

void SIMDIntrinsicsCheck::check(const MatchFinder::MatchResult &Result) {}

} // namespace clang::tidy::portability