diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-10-20 20:55:29 +0000 |
---|---|---|
committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-10-20 20:55:29 +0000 |
commit | d83b5d463d7b2d0f4e3d2ef8264cab509d43ac2b (patch) | |
tree | edf5a57db3917ace692d6ea3cd9bff69c03c4f3d /lib/Target/AArch64/AArch64InstructionSelector.cpp | |
parent | 736ecc16365570c385171220c764cb09e7117c3d (diff) |
[globalisel][tablegen] Fix small spelling nits. NFC
ComplexRendererFn -> ComplexRendererFns
Corrected a couple lingering references to tied operands that were missed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316237 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/AArch64InstructionSelector.cpp')
-rw-r--r-- | lib/Target/AArch64/AArch64InstructionSelector.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/Target/AArch64/AArch64InstructionSelector.cpp b/lib/Target/AArch64/AArch64InstructionSelector.cpp index 9fb005bb50b..e6b7dca9266 100644 --- a/lib/Target/AArch64/AArch64InstructionSelector.cpp +++ b/lib/Target/AArch64/AArch64InstructionSelector.cpp @@ -64,31 +64,31 @@ private: bool selectCompareBranch(MachineInstr &I, MachineFunction &MF, MachineRegisterInfo &MRI) const; - ComplexRendererFn selectArithImmed(MachineOperand &Root) const; + ComplexRendererFns selectArithImmed(MachineOperand &Root) const; - ComplexRendererFn selectAddrModeUnscaled(MachineOperand &Root, - unsigned Size) const; + ComplexRendererFns selectAddrModeUnscaled(MachineOperand &Root, + unsigned Size) const; - ComplexRendererFn selectAddrModeUnscaled8(MachineOperand &Root) const { + ComplexRendererFns selectAddrModeUnscaled8(MachineOperand &Root) const { return selectAddrModeUnscaled(Root, 1); } - ComplexRendererFn selectAddrModeUnscaled16(MachineOperand &Root) const { + ComplexRendererFns selectAddrModeUnscaled16(MachineOperand &Root) const { return selectAddrModeUnscaled(Root, 2); } - ComplexRendererFn selectAddrModeUnscaled32(MachineOperand &Root) const { + ComplexRendererFns selectAddrModeUnscaled32(MachineOperand &Root) const { return selectAddrModeUnscaled(Root, 4); } - ComplexRendererFn selectAddrModeUnscaled64(MachineOperand &Root) const { + ComplexRendererFns selectAddrModeUnscaled64(MachineOperand &Root) const { return selectAddrModeUnscaled(Root, 8); } - ComplexRendererFn selectAddrModeUnscaled128(MachineOperand &Root) const { + ComplexRendererFns selectAddrModeUnscaled128(MachineOperand &Root) const { return selectAddrModeUnscaled(Root, 16); } - ComplexRendererFn selectAddrModeIndexed(MachineOperand &Root, - unsigned Size) const; + ComplexRendererFns selectAddrModeIndexed(MachineOperand &Root, + unsigned Size) const; template <int Width> - ComplexRendererFn selectAddrModeIndexed(MachineOperand &Root) const { + ComplexRendererFns selectAddrModeIndexed(MachineOperand &Root) const { return selectAddrModeIndexed(Root, Width / 8); } @@ -1373,7 +1373,7 @@ bool AArch64InstructionSelector::select(MachineInstr &I) const { /// SelectArithImmed - Select an immediate value that can be represented as /// a 12-bit value shifted left by either 0 or 12. If so, return true with /// Val set to the 12-bit value and Shift set to the shifter operand. -InstructionSelector::ComplexRendererFn +InstructionSelector::ComplexRendererFns AArch64InstructionSelector::selectArithImmed(MachineOperand &Root) const { MachineInstr &MI = *Root.getParent(); MachineBasicBlock &MBB = *MI.getParent(); @@ -1423,7 +1423,7 @@ AArch64InstructionSelector::selectArithImmed(MachineOperand &Root) const { /// immediate addressing mode. The "Size" argument is the size in bytes of the /// memory reference, which is needed here to know what is valid for a scaled /// immediate. -InstructionSelector::ComplexRendererFn +InstructionSelector::ComplexRendererFns AArch64InstructionSelector::selectAddrModeUnscaled(MachineOperand &Root, unsigned Size) const { MachineRegisterInfo &MRI = @@ -1467,7 +1467,7 @@ AArch64InstructionSelector::selectAddrModeUnscaled(MachineOperand &Root, /// Select a "register plus scaled unsigned 12-bit immediate" address. The /// "Size" argument is the size in bytes of the memory reference, which /// determines the scale. -InstructionSelector::ComplexRendererFn +InstructionSelector::ComplexRendererFns AArch64InstructionSelector::selectAddrModeIndexed(MachineOperand &Root, unsigned Size) const { MachineRegisterInfo &MRI = |