mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
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
This commit is contained in:
parent
aa500f3f43
commit
d5af164f01
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user