[llvm-commits] CVS: llvm/include/llvm/CodeGen/InstrSelectionSupport.h

vadve at cs.uiuc.edu vadve at cs.uiuc.edu
Mon Sep 16 10:59:01 PDT 2002


Changes in directory llvm/include/llvm/CodeGen:

InstrSelectionSupport.h updated: 1.12 -> 1.13

---
Log message:

Add a version of ChooseRegOrImmed to handle numerical constants
introduced by InstrSelection.


---
Diffs of the changes:

Index: llvm/include/llvm/CodeGen/InstrSelectionSupport.h
diff -u llvm/include/llvm/CodeGen/InstrSelectionSupport.h:1.12 llvm/include/llvm/CodeGen/InstrSelectionSupport.h:1.13
--- llvm/include/llvm/CodeGen/InstrSelectionSupport.h:1.12	Sat Aug 24 16:03:10 2002
+++ llvm/include/llvm/CodeGen/InstrSelectionSupport.h	Mon Sep 16 10:58:34 2002
@@ -296,6 +296,14 @@
                                          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





More information about the llvm-commits mailing list