Add ChangeTo* to MachineOperand for symbols
[oota-llvm.git] / include / llvm / CodeGen / MachineOperand.h
index 4e1a3f81d265fc94449681c2e90f7e0845fe0e00..ddffdcaf1e4db4ca0e7767dc54781df66625d14f 100644 (file)
@@ -554,6 +554,12 @@ public:
   /// already, the setFPImm method should be used.
   void ChangeToFPImmediate(const ConstantFP *FPImm);
 
+  /// ChangeToES - Replace this operand with a new external symbol operand.
+  void ChangeToES(const char *SymName, unsigned char TargetFlags = 0);
+
+  /// ChangeToMCSymbol - Replace this operand with a new MC symbol operand.
+  void ChangeToMCSymbol(MCSymbol *Sym);
+
   /// ChangeToRegister - Replace this operand with a new register operand of
   /// the specified value.  If an operand is known to be an register already,
   /// the setReg method should be used.