Chromium Code Reviews| 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: |