From: Kazu Hirata Date: Wed, 17 May 2023 01:54:14 +0000 (-0700) Subject: [ARM] Remove unused {get,set}StoredByValParamsPadding X-Git-Tag: upstream/17.0.6~8225 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ccbe895aad32c97a5f6bf65d19a4971dc771eb93;p=platform%2Fupstream%2Fllvm.git [ARM] Remove unused {get,set}StoredByValParamsPadding The last uses were removed by: commit 8cda34f5e7e6af23910e62ab3edb430dab07799f Author: Tim Northover Date: Wed Mar 11 18:54:22 2015 +0000 --- diff --git a/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h b/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h index aba1afe..f7531ce 100644 --- a/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h +++ b/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h @@ -38,13 +38,6 @@ class ARMFunctionInfo : public MachineFunctionInfo { /// 'isThumb'. bool hasThumb2 = false; - /// StByValParamsPadding - For parameter that is split between - /// GPRs and memory; while recovering GPRs part, when - /// StackAlignment > 4, and GPRs-part-size mod StackAlignment != 0, - /// we need to insert gap before parameter start address. It allows to - /// "attach" GPR-part to the part that was passed via stack. - unsigned StByValParamsPadding = 0; - /// ArgsRegSaveSize - Size of the register save area for vararg functions or /// those making guaranteed tail calls that need more stack argument space /// than is provided by this functions incoming parameters. @@ -173,9 +166,6 @@ public: bool isCmseNSEntryFunction() const { return IsCmseNSEntry; } bool isCmseNSCallFunction() const { return IsCmseNSCall; } - unsigned getStoredByValParamsPadding() const { return StByValParamsPadding; } - void setStoredByValParamsPadding(unsigned p) { StByValParamsPadding = p; } - unsigned getArgRegsSaveSize() const { return ArgRegsSaveSize; } void setArgRegsSaveSize(unsigned s) { ArgRegsSaveSize = s; }