projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mips][mips64r6] Use JALR for indirect branches instead of JR (which is not available...
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
MipsAsmPrinter.h
diff --git
a/lib/Target/Mips/MipsAsmPrinter.h
b/lib/Target/Mips/MipsAsmPrinter.h
index b0f623305924cfe46232701606e3d4b34dc6c900..967aa0b16416fac30028035c484d3aa3b1520f0d 100644
(file)
--- a/
lib/Target/Mips/MipsAsmPrinter.h
+++ b/
lib/Target/Mips/MipsAsmPrinter.h
@@
-40,7
+40,11
@@
private:
bool emitPseudoExpansionLowering(MCStreamer &OutStreamer,
const MachineInstr *MI);
bool emitPseudoExpansionLowering(MCStreamer &OutStreamer,
const MachineInstr *MI);
- void emitPseudoReturn(MCStreamer &OutStreamer, const MachineInstr *MI);
+ // Emit PseudoReturn, PseudoReturn64, PseudoIndirectBranch,
+ // and PseudoIndirectBranch64 as a JR, JR_MM, JALR, or JALR64 as appropriate
+ // for the target.
+ void emitPseudoIndirectBranch(MCStreamer &OutStreamer,
+ const MachineInstr *MI);
// lowerOperand - Convert a MachineOperand into the equivalent MCOperand.
bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp);
// lowerOperand - Convert a MachineOperand into the equivalent MCOperand.
bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp);