summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-10-20 20:55:29 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-10-20 20:55:29 +0000
commit1e4569fdc16f1473c7d96249cd1cf1885db5c064 (patch)
treeb11e39af97dffc920afc9b1a369f7640f45791ff /llvm/lib/Target
parent022922b31a7900f7d85a7d9cffddf7d0bcd84b39 (diff)
downloadbcm5719-llvm-1e4569fdc16f1473c7d96249cd1cf1885db5c064.tar.gz
bcm5719-llvm-1e4569fdc16f1473c7d96249cd1cf1885db5c064.zip
[globalisel][tablegen] Fix small spelling nits. NFC
ComplexRendererFn -> ComplexRendererFns Corrected a couple lingering references to tied operands that were missed. llvm-svn: 316237
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp b/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
index 9fb005bb50b..e6b7dca9266 100644
--- a/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
+++ b/llvm/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 =
OpenPOWER on IntegriCloud