Index: src/IceTargetLowering.h |
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h |
index baa569f037cd174d78a776de5217c901d9c9ad44..50035747cbf33b652bdeb789994b3478a1fec785 100644 |
--- a/src/IceTargetLowering.h |
+++ b/src/IceTargetLowering.h |
@@ -23,6 +23,7 @@ |
#include "IceDefs.h" |
#include "IceInst.h" // for the names of the Inst subtypes |
+#include "IceOperand.h" |
#include "IceTypes.h" |
namespace Ice { |
@@ -207,6 +208,16 @@ public: |
virtual void emitVariable(const Variable *Var) const = 0; |
+ void emitWithoutPrefix(const ConstantRelocatable *CR) const; |
+ void emit(const ConstantRelocatable *CR) const; |
+ virtual const char *getConstantPrefix() const = 0; |
+ |
+ virtual void emit(const ConstantUndef *C) const = 0; |
+ virtual void emit(const ConstantInteger32 *C) const = 0; |
+ virtual void emit(const ConstantInteger64 *C) const = 0; |
+ virtual void emit(const ConstantFloat *C) const = 0; |
+ virtual void emit(const ConstantDouble *C) const = 0; |
+ |
// Performs target-specific argument lowering. |
virtual void lowerArguments() = 0; |