Path: blob/main/contrib/llvm-project/clang/lib/Driver/ToolChains/HIPUtility.h
35269 views
//===--- HIPUtility.h - Common HIP Tool Chain Utilities ---------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_HIPUTILITY_H9#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_HIPUTILITY_H1011#include "clang/Driver/Tool.h"1213namespace clang {14namespace driver {15namespace tools {16namespace HIP {1718// Construct command for creating HIP fatbin.19void constructHIPFatbinCommand(Compilation &C, const JobAction &JA,20StringRef OutputFileName,21const InputInfoList &Inputs,22const llvm::opt::ArgList &TCArgs, const Tool &T);2324// Construct command for creating Object from HIP fatbin.25void constructGenerateObjFileFromHIPFatBinary(26Compilation &C, const InputInfo &Output, const InputInfoList &Inputs,27const llvm::opt::ArgList &Args, const JobAction &JA, const Tool &T);2829} // namespace HIP30} // namespace tools31} // namespace driver32} // namespace clang3334#endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_HIPUTILITY_H353637