diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-09-16 15:58:34 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-09-16 15:58:34 +0000 |
commit | d5af164f01aa968af7d98534e92cee386bac6889 (patch) | |
tree | 24db97dc719d6bf691e12f598c38c33cd1235206 /include | |
parent | aa500f3f4307cf24f4775fa2c28870ff0a45bcaf (diff) | |
download | external_llvm-d5af164f01aa968af7d98534e92cee386bac6889.zip external_llvm-d5af164f01aa968af7d98534e92cee386bac6889.tar.gz external_llvm-d5af164f01aa968af7d98534e92cee386bac6889.tar.bz2 |
Add a version of ChooseRegOrImmed to handle numerical constants
introduced by InstrSelection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3746 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/InstrSelectionSupport.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/InstrSelectionSupport.h b/include/llvm/CodeGen/InstrSelectionSupport.h index 39d9d18..af30dc3 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 |