blob: bb0bf0dc4cb27d592ff8f5baff067c06d75835a1 [file] [log] [blame]
//===-- go-llvm-backend.h - Backend class public interfaces --------------===//
//
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
//===----------------------------------------------------------------------===//
//
// Public interfaces for LLVM implementation of Backend class.
//
//===----------------------------------------------------------------------===//
#ifndef GO_LLVM_BACKEND_H
#define GO_LLVM_BACKEND_H
#include "go-llvm.h"
#include "llvm/IR/LLVMContext.h"
class Backend;
extern Backend *go_get_backend(llvm::LLVMContext &Context, gollvm::driver::CallingConvId cconv);
#endif // !defined(GO_LLVM_BACKEND_H)