LLVM 20.0.0git
SPIRVAPI.h
Go to the documentation of this file.
1//===-- SPIRVAPI.h - SPIR-V Backend API interface ---------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_LIB_TARGET_SPIRV_SPIRVAPI_H
10#define LLVM_LIB_TARGET_SPIRV_SPIRVAPI_H
11
12#include <string>
13#include <vector>
14
15namespace llvm {
16class Module;
17
18extern "C" bool
19SPIRVTranslateModule(Module *M, std::string &SpirvObj, std::string &ErrMsg,
20 const std::vector<std::string> &AllowExtNames,
21 const std::vector<std::string> &Opts);
22} // namespace llvm
23
24#endif // LLVM_LIB_TARGET_SPIRV_SPIRVAPI_H
Machine Check Debug Module
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
LLVM_EXTERNAL_VISIBILITY bool SPIRVTranslateModule(Module *M, std::string &SpirvObj, std::string &ErrMsg, const std::vector< std::string > &AllowExtNames, const std::vector< std::string > &Opts)
Definition: SPIRVAPI.cpp:80