From: Vikram S. Adve Date: Mon, 16 Sep 2002 15:58:34 +0000 (+0000) Subject: Add a version of ChooseRegOrImmed to handle numerical constants X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d5af164f01aa968af7d98534e92cee386bac6889;p=oota-llvm.git 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 --- diff --git a/include/llvm/CodeGen/InstrSelectionSupport.h b/include/llvm/CodeGen/InstrSelectionSupport.h index 39d9d180722..af30dc3e566 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