diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-09-18 15:38:16 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-09-18 15:38:16 +0000 |
| commit | f652ef3d52532acdb113e6c1a05b2ab87d9e2407 (patch) | |
| tree | 0fb97fbfb20496fbaec2a7f5bbf77f0ef0c397d5 /llvm/tools/llvm-exegesis/lib/Target.h | |
| parent | 0242689725acffb69d58837b721c9cc6898f0327 (diff) | |
| download | bcm5719-llvm-f652ef3d52532acdb113e6c1a05b2ab87d9e2407.tar.gz bcm5719-llvm-f652ef3d52532acdb113e6c1a05b2ab87d9e2407.zip | |
Revert rL342465: Added function to set a register to a particular value + tests.
rL342465 is breaking the MSVC buildbots.
llvm-svn: 342490
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/Target.h')
| -rw-r--r-- | llvm/tools/llvm-exegesis/lib/Target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/Target.h b/llvm/tools/llvm-exegesis/lib/Target.h index 41d77e3170e..85147937966 100644 --- a/llvm/tools/llvm-exegesis/lib/Target.h +++ b/llvm/tools/llvm-exegesis/lib/Target.h @@ -36,6 +36,10 @@ public: virtual void addTargetSpecificPasses(llvm::PassManagerBase &PM) const {} // Generates code to move a constant into a the given register. + virtual std::vector<llvm::MCInst> + setRegToConstant(const llvm::MCSubtargetInfo &STI, unsigned Reg) const = 0; + + // Generates code to move a constant into a the given register. virtual std::vector<llvm::MCInst> setRegTo(const llvm::MCSubtargetInfo &STI, const llvm::APInt &Value, unsigned Reg) const = 0; |

