| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | ghc-cc-03.ll | 1 ; Check that the GHC calling convention works (s390x) 2 ; In GHC calling convention the only allowed return type is void 11 ; CHECK: LLVM ERROR: GHC functions return void only
|
| H A D | ghc-cc-07.ll | 1 ; Check that the GHC calling convention works (s390x) 2 ; In GHC calling convention a frame pointer is not supported 12 ; CHECK: LLVM ERROR: In GHC calling convention a frame pointer is not supported
|
| H A D | ghc-cc-04.ll | 1 ; Check that the GHC calling convention works (s390x) 2 ; Thread local storage is not supported in GHC calling convention 16 ; CHECK: LLVM ERROR: In GHC calling convention TLS is not supported
|
| H A D | ghc-cc-05.ll | 1 ; Check that the GHC calling convention works (s390x) 2 ; Variable-sized stack allocations are not supported in GHC calling convention 16 ; CHECK: LLVM ERROR: Variable-sized stack allocations are not supported in GHC calling convention
|
| H A D | ghc-cc-06.ll | 1 ; Check that the GHC calling convention works (s390x) 12 ; CHECK: LLVM ERROR: Pre allocated stack space for GHC function is too small
|
| H A D | ghc-cc-02.ll | 1 ; Check that the GHC calling convention works (s390x) 14 ; CHECK: LLVM ERROR: No registers left in GHC calling convention
|
| H A D | ghc-cc-01.ll | 1 ; Check that the GHC calling convention works (s390x)
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | CallingConv.h | 51 GHC = 10, enumerator
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | ghc-cc.ll | 3 ; Test the GHC call convention works (x86-32)
|
| H A D | ghc-cc64.ll | 3 ; Check the GHC call convention works (x86-64)
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64RegisterInfo.cpp | 73 if (MF->getFunction().getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs() 212 if (CC == CallingConv::GHC) in getCallPreservedMask() 299 assert(CC != CallingConv::GHC && "should not be GHC calling convention."); in getThisReturnPreservedMask() 438 case CallingConv::GHC: in isArgumentRegister()
|
| H A D | AArch64CallingConvention.td | 308 // ARM64 Calling Convention for GHC 312 // The only documentation is the GHC source code, specifically the C header 318 // GHC uses to implement lazy evaluation. The generic STG machine has a set of
|
| H A D | AArch64FrameLowering.cpp | 1472 if (MF.getFunction().getCallingConv() == CallingConv::GHC) in emitPrologue() 1928 if (MF.getFunction().getCallingConv() == CallingConv::GHC) in emitEpilogue() 2953 if (MF.getFunction().getCallingConv() == CallingConv::GHC) in determineCalleeSaves()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVRegisterInfo.cpp | 53 if (MF->getFunction().getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs() 302 if (CC == CallingConv::GHC) in getCallPreservedMask()
|
| H A D | RISCVFrameLowering.cpp | 410 if (MF.getFunction().getCallingConv() == CallingConv::GHC) in emitPrologue() 604 if (MF.getFunction().getCallingConv() == CallingConv::GHC) in emitEpilogue()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | machine-outliner-noredzone.ll | 14 ; *know* we don't use a redzone. The GHC calling convention is one of these
|
| H A D | ghc-cc.ll | 3 ; Check the GHC call convention works (aarch64)
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMBaseRegisterInfo.cpp | 68 if (F.getCallingConv() == CallingConv::GHC) { in getCalleeSavedRegs() 134 if (CC == CallingConv::GHC) in getCallPreservedMask() 186 if (CC == CallingConv::GHC) in getThisReturnPreservedMask()
|
| H A D | ARMCallingConv.td | 105 // ARM APCS Calling Convention for GHC
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZRegisterInfo.cpp | 201 if (MF->getFunction().getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs() 225 if (CC == CallingConv::GHC) in getCallPreservedMask()
|
| H A D | SystemZCallingConv.td | 65 // z/Linux argument calling conventions for GHC 91 CCIfCC<"CallingConv::GHC", CCDelegateTo<CC_SystemZ_GHC>>,
|
| H A D | SystemZFrameLowering.cpp | 556 if (MF.getFunction().getCallingConv() == CallingConv::GHC) { in emitPrologue() 710 if (MF.getFunction().getCallingConv() == CallingConv::GHC) in emitEpilogue() 897 bool CallConv = MF.getFunction().getCallingConv() != CallingConv::GHC; in usePackedStack()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/RISCV/ |
| H A D | ghccc-rv32.ll | 4 ; Check the GHC call convention works (rv32)
|
| H A D | ghccc-rv64.ll | 4 ; Check the GHC call convention works (rv64)
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86RegisterInfo.cpp | 301 case CallingConv::GHC: in getCalleeSavedRegs() 424 case CallingConv::GHC: in getCallPreservedMask()
|