mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 09:00:33 +03:00

This uses the LLVM style, which makes sense for sharing code with other LLVM projects. The DMD code we use will soon all be in D anyway.
24 lines
671 B
C++
24 lines
671 B
C++
//===-- gen/irstate.h - Inline IR implementation-----------------*- C++ -*-===//
|
||
//
|
||
// LDC – the LLVM D compiler
|
||
//
|
||
// This file is distributed under the BSD-style LDC license. See the LICENSE
|
||
// file for details.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
//
|
||
// Contains the implementation for the LDC-specific LLVM inline IR feature.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
|
||
#ifndef LDC_GEN_INLINEIR_H
|
||
#define LDC_GEN_INLINEIR_H
|
||
|
||
class FuncDeclaration;
|
||
namespace llvm {
|
||
class Function;
|
||
}
|
||
|
||
llvm::Function *DtoInlineIRFunction(FuncDeclaration *fdecl);
|
||
|
||
#endif
|