mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-28 22:21:31 +03:00

16 is LLVM's default alignment for x87 floats and x86_64 targets (verified for Linux and macOS).
22 lines
735 B
D
22 lines
735 B
D
//===-- gen/llvmhelpers.d - General LLVM codegen helpers ----------*- D -*-===//
|
||
//
|
||
// LDC – the LLVM D compiler
|
||
//
|
||
// This file is distributed under the BSD-style LDC license. See the LICENSE
|
||
// file for details.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
//
|
||
// General codegen helper constructs for the D frontend.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
|
||
module gen.llvmhelpers;
|
||
|
||
import dmd.func;
|
||
import dmd.dtemplate;
|
||
|
||
/// Fixup an overloaded intrinsic name string.
|
||
extern (C++) void DtoSetFuncDeclIntrinsicName(TemplateInstance ti, TemplateDeclaration td, FuncDeclaration fd);
|
||
|
||
extern (C++) bool isTargetWindowsMSVC();
|