Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: src/IceTargetLowering.h

Issue 2172313002: Subzero : Live Range Splitting after initial Register Allocation (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Cleanup Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/IceTargetLowering.h
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h
index 43f5e01f176ba30d489544587932cb499618516e..33b8af43f67f5a5a710fb81a7f00ab27e30d8eb7 100644
--- a/src/IceTargetLowering.h
+++ b/src/IceTargetLowering.h
@@ -29,6 +29,7 @@
#include "IceInst.h" // for the names of the Inst subtypes
#include "IceOperand.h"
#include "IceTypes.h"
+#include "IceRegAlloc.h"
Jim Stichnoth 2016/07/29 17:04:07 sort
manasijm 2016/08/01 22:20:05 Done.
#include <utility>
@@ -290,6 +291,8 @@ public:
virtual const SmallBitVector &getAliasesForRegister(RegNumT) const = 0;
void regAlloc(RegAllocKind Kind);
+ void postRegallocSplitting(LinearScan &RegAllocator,
+ const SmallBitVector &RegMask);
virtual void
makeRandomRegisterPermutation(llvm::SmallVectorImpl<RegNumT> &Permutation,
@@ -321,6 +324,12 @@ public:
virtual void addProlog(CfgNode *Node) = 0;
virtual void addEpilog(CfgNode *Node) = 0;
+ virtual Inst *createLoweredMove(Variable *Dest, Variable *SrcVar) {
+ (void)Dest;
+ (void)SrcVar;
+ llvm_unreachable("unimplemented createLoweredMove");
+ }
+
virtual ~TargetLowering() = default;
private:

Powered by Google App Engine
This is Rietveld 408576698