Path: blob/main/contrib/llvm-project/llvm/lib/Target/SPIRV/SPIRVAPI.h
213799 views
//===-- SPIRVAPI.h - SPIR-V Backend API interface ---------------*- 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_LIB_TARGET_SPIRV_SPIRVAPI_H9#define LLVM_LIB_TARGET_SPIRV_SPIRVAPI_H1011#include <string>12#include <vector>1314namespace llvm {15class Module;1617extern "C" bool18SPIRVTranslateModule(Module *M, std::string &SpirvObj, std::string &ErrMsg,19const std::vector<std::string> &AllowExtNames,20const std::vector<std::string> &Opts);21} // namespace llvm2223#endif // LLVM_LIB_TARGET_SPIRV_SPIRVAPI_H242526