Add a version of ChooseRegOrImmed to handle numerical constants
authorVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 16 Sep 2002 15:58:34 +0000 (15:58 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 16 Sep 2002 15:58:34 +0000 (15:58 +0000)
introduced by InstrSelection.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3746 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/InstrSelectionSupport.h

index 39d9d180722cedcdf7c4e1a50b2df745ed6dba12..af30dc3e56673acca9feb77db32abf258c6f9b83 100644 (file)
@@ -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