diff options
author | Andrew Trick <atrick@apple.com> | 2012-12-05 18:52:15 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-12-05 18:52:15 +0000 |
commit | a59ed5b156156224e97b4dbc32cfbe2101ce6e3c (patch) | |
tree | c089e69360acee2a9f7d9454646896f86941a0f8 /include/llvm/Target | |
parent | d9791538156702ac1f92ca2984a8ab536deda4f1 (diff) | |
download | external_llvm-a59ed5b156156224e97b4dbc32cfbe2101ce6e3c.zip external_llvm-a59ed5b156156224e97b4dbc32cfbe2101ce6e3c.tar.gz external_llvm-a59ed5b156156224e97b4dbc32cfbe2101ce6e3c.tar.bz2 |
Remove two dead functions resulting from a bad rebase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r-- | include/llvm/Target/TargetRegisterInfo.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/llvm/Target/TargetRegisterInfo.h b/include/llvm/Target/TargetRegisterInfo.h index 7cf3674..40a7505 100644 --- a/include/llvm/Target/TargetRegisterInfo.h +++ b/include/llvm/Target/TargetRegisterInfo.h @@ -641,28 +641,6 @@ public: const MachineFunction &MF, const VirtRegMap *VRM = 0) const; - /// getRawAllocationOrder - Returns the register allocation order for a - /// specified register class with a target-dependent hint. The returned list - /// may contain reserved registers that cannot be allocated. - /// - /// Register allocators need only call this function to resolve - /// target-dependent hints, but it should work without hinting as well. - virtual ArrayRef<MCPhysReg> - getRawAllocationOrder(const TargetRegisterClass *RC, - unsigned HintType, unsigned HintReg, - const MachineFunction &MF) const { - return RC->getRawAllocationOrder(MF); - } - - /// ResolveRegAllocHint - Resolves the specified register allocation hint - /// to a physical register. Returns the physical register if it is successful. - virtual unsigned ResolveRegAllocHint(unsigned Type, unsigned Reg, - const MachineFunction &MF) const { - if (Type == 0 && Reg && isPhysicalRegister(Reg)) - return Reg; - return 0; - } - /// avoidWriteAfterWrite - Return true if the register allocator should avoid /// writing a register from RC in two consecutive instructions. /// This can avoid pipeline stalls on certain architectures. |