aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/CodeGen/InstrSelectionSupport.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/InstrSelectionSupport.h b/include/llvm/CodeGen/InstrSelectionSupport.h
index 39d9d18072..af30dc3e56 100644
--- a/include/llvm/CodeGen/InstrSelectionSupport.h
+++ b/include/llvm/CodeGen/InstrSelectionSupport.h
@@ -296,6 +296,14 @@ MachineOperand::MachineOperandType ChooseRegOrImmed(
unsigned int& getMachineRegNum,
int64_t& getImmedValue);
+MachineOperand::MachineOperandType ChooseRegOrImmed(int64_t intValue,
+ bool isSigned,
+ MachineOpCode opCode,
+ const TargetMachine& target,
+ bool canUseImmed,
+ unsigned int& getMachineRegNum,
+ int64_t& getImmedValue);
+
//---------------------------------------------------------------------------
// Function: FixConstantOperandsForInstr