search for: iswin64

Displaying 7 results from an estimated 7 matches for "iswin64".

2014 Mar 13
3
[LLVMdev] Possible bug in getCallPreservedMask for CallingConv::Intel_OCL_BI
...sterInfo::getCallPreservedMask function. http://llvm.org/docs/doxygen/html/X86RegisterInfo_8cpp_source.html case CallingConv::Intel_OCL_BI <http://llvm.org/docs/doxygen/html/namespacellvm_1_1CallingConv.html#a4f861731fc6dbfdccc05af5968d98974ad47327c131a0990283111588b89587cb>: { if (IsWin64 && HasAVX512) return CSR_Win64_Intel_OCL_BI_AVX512_RegMask; if (Is64Bit && HasAVX512) return CSR_64_Intel_OCL_BI_AVX512_RegMask; if (IsWin64 && HasAVX) return CSR_Win64_Intel_OCL_BI_AVX_RegMask; if (Is64Bit && HasAVX)...
2010 Aug 11
1
[LLVMdev] Unnecessary Win64 stack allocations...
...he Red Zone). if (Is64Bit && !Fn->hasFnAttr(Attribute::NoRedZone) && !needsStackRealignment(MF) && !MFI->hasVarSizedObjects() && // No dynamic alloca. !MFI->adjustsStack() && // No calls. !IsWin64) { // Win64 has no Red Zone uint64_t MinSize = X86FI->getCalleeSavedFrameSize(); if (HasFP) MinSize += SlotSize; StackSize = std::max(MinSize, StackSize > 128 ? StackSize - 128 : 0); MFI->setStackSize(StackSize); } else if (IsWin64) {...
2010 Mar 03
0
[LLVMdev] [PATCH] New calling convention for use by GHC
...v intended to be target specific? If it is x86 specific, it should get an X86 prefix. If not, it should move up to be #10 after Cold. 2) In either case, please document the new calling convention in docs/LangRef.html#callingconv 3) IN X86RegisterInfo.cpp, this patch: if (Is64Bit) { if (IsWin64) - return CalleeSavedRegsWin64; + return (ghcCall ? GhcCalleeSavedRegsWin64 : CalleeSavedRegsWin64); else - return (callsEHReturn ? CalleeSavedRegs64EHRet : CalleeSavedRegs64Bit); + if (ghcCall) + return (callsEHReturn ? + GhcCalleeSavedRegs64EHRet :...
2010 Mar 07
1
[LLVMdev] [PATCH] New calling convention for use by GHC
...oment. At the moment I've just done X86, will try to work on getting it implemented on SPARC next. > 2) In either case, please document the new calling convention in docs/LangRef.html#callingconv Done. > 3) IN X86RegisterInfo.cpp, this patch: > > if (Is64Bit) { > if (IsWin64) > - return CalleeSavedRegsWin64; > + return (ghcCall ? GhcCalleeSavedRegsWin64 : CalleeSavedRegsWin64); > else > - return (callsEHReturn ? CalleeSavedRegs64EHRet : CalleeSavedRegs64Bit); > + if (ghcCall) > + return (callsEHReturn ? > +...
2010 Mar 03
2
[LLVMdev] [PATCH] New calling convention for use by GHC
Hi all, As previously mentioned on this list the Haskell compiler GHC has a new LLVM based back-end. The back-end needs a new calling convention to efficiently use LLVM and that is what this patch does, just for X86 at the moment. Breakdown: 1) Need actual calling convention Touches: - include/llvm/CallingConv.h - lib/Target/X86/X86CallingConv.td 2) Handling new calling
2017 Jul 28
3
Purpose of various register classes in X86 target
Hello Matthias, On 28 July 2017 at 04:13, Matthias Braun <mbraun at apple.com> wrote: > It's not that hard in principle: > - A register class is a set of registers. > - Virtual Registers have a register class assigned. > - If you have register constraints (like x86 8bit operations only work on > al,ah,etc.) then you have to create a new register class to express that.
2020 Oct 08
4
__attribute__((apple_abi)): targeting Apple/ARM64 ABI from Linux (and others)
Hello everyone, I made a quick patch to clang/llvm to introduce an "apple_abi" function attribute (https://github.com/aguinet/llvm-project/commit/c4905ded3afb3182435df30e527955031cb0d098), to be able to compile functions for the Apple ARM64 ABI when targeting other ARM64 OSes (e.g. Linux). This can be seen as the Apple version of the already existing "ms_abi" attribute. In