diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
commit | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch) | |
tree | 012bb94d777798f1f56ac1cec429509766d05181 /contrib/libs/llvm12/include/llvm/CodeGen/CallingConvLower.h | |
parent | 6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff) | |
download | ydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/llvm12/include/llvm/CodeGen/CallingConvLower.h')
-rw-r--r-- | contrib/libs/llvm12/include/llvm/CodeGen/CallingConvLower.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/contrib/libs/llvm12/include/llvm/CodeGen/CallingConvLower.h b/contrib/libs/llvm12/include/llvm/CodeGen/CallingConvLower.h index 8383d11725..85263986db 100644 --- a/contrib/libs/llvm12/include/llvm/CodeGen/CallingConvLower.h +++ b/contrib/libs/llvm12/include/llvm/CodeGen/CallingConvLower.h @@ -23,7 +23,7 @@ #include "llvm/ADT/SmallVector.h" #include "llvm/CodeGen/MachineFrameInfo.h" -#include "llvm/CodeGen/Register.h" +#include "llvm/CodeGen/Register.h" #include "llvm/CodeGen/TargetCallingConv.h" #include "llvm/IR/CallingConv.h" #include "llvm/MC/MCRegisterInfo.h" @@ -32,7 +32,7 @@ namespace llvm { class CCState; -class MachineFunction; +class MachineFunction; class MVT; class TargetRegisterInfo; @@ -347,11 +347,11 @@ public: return Regs.size(); } - void DeallocateReg(MCPhysReg Reg) { - assert(isAllocated(Reg) && "Trying to deallocate an unallocated register"); - MarkUnallocated(Reg); - } - + void DeallocateReg(MCPhysReg Reg) { + assert(isAllocated(Reg) && "Trying to deallocate an unallocated register"); + MarkUnallocated(Reg); + } + /// AllocateReg - Attempt to allocate one register. If it is not available, /// return zero. Otherwise, return the register, marking it and any aliases /// as allocated. @@ -445,7 +445,7 @@ public: return AllocateStack(Size, Align(Alignment)); } - void ensureMaxAlignment(Align Alignment); + void ensureMaxAlignment(Align Alignment); /// Version of AllocateStack with extra register to be shadowed. LLVM_ATTRIBUTE_DEPRECATED(unsigned AllocateStack(unsigned Size, @@ -582,8 +582,8 @@ public: private: /// MarkAllocated - Mark a register and all of its aliases as allocated. void MarkAllocated(MCPhysReg Reg); - - void MarkUnallocated(MCPhysReg Reg); + + void MarkUnallocated(MCPhysReg Reg); }; } // end namespace llvm |