1 //===- offload-tblgen/Generators.hpp - Offload generator declarations -----===// 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 #pragma once 10 11 #include "llvm/TableGen/Record.h" 12 13 void EmitOffloadAPI(const llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 14 void EmitOffloadFuncNames(const llvm::RecordKeeper &Records, 15 llvm::raw_ostream &OS); 16 void EmitOffloadImplFuncDecls(const llvm::RecordKeeper &Records, 17 llvm::raw_ostream &OS); 18 void EmitOffloadEntryPoints(const llvm::RecordKeeper &Records, 19 llvm::raw_ostream &OS); 20 void EmitOffloadPrintHeader(const llvm::RecordKeeper &Records, 21 llvm::raw_ostream &OS); 22 void EmitOffloadExports(const llvm::RecordKeeper &Records, 23 llvm::raw_ostream &OS); 24