Goose  Artifact [125472c784]

Artifact 125472c7840db4274008e8baccae109213dfbe588891a99b9ee80edd3e3b1928:

  • File bs/codegen/codegen.h — part of check-in [cc50e8025d] at 2019-08-01 16:35:15 on branch trunk — Cleanup: got rid of a bunch of header files that each contained only one function prototype. (user: achavasse size: 586)

#ifndef EMPATHY_CODEGEN_H
#define EMPATHY_CODEGEN_H

#include "llvm/IR/Module.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Type.h"
#include "llvm/IR/Verifier.h"
#include "llvm/Target/TargetMachine.h"

#include "llr/llr.h"
#include "sema/sema.h"

namespace empathy::builtins
{
    class Func;
    class FuncType;
}

namespace empathy::codegen
{
    using namespace ir;
    using namespace llr;
    using namespace sema;

    extern llvm::LLVMContext& GetLLVMContext();
    extern optional< string > Mangle( const Term& identity );
}

#include "module.h"
#include "type.h"

#endif