mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user