aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Blackfin/BlackfinSubtarget.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-08-02 18:27:36 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-08-02 18:27:36 +0000
commit26a84d4f3c9f7bf88678dd7574261ec66c4f8952 (patch)
tree27286ca3495e4fa6ba1a0485fe4036fcd08b4c1c /lib/Target/Blackfin/BlackfinSubtarget.h
parent63cc527fbce3d1e4b47b687c404b1777fa15ffe5 (diff)
downloadexternal_llvm-26a84d4f3c9f7bf88678dd7574261ec66c4f8952.zip
external_llvm-26a84d4f3c9f7bf88678dd7574261ec66c4f8952.tar.gz
external_llvm-26a84d4f3c9f7bf88678dd7574261ec66c4f8952.tar.bz2
Add support for CPU features (i.e., bugs) and workarounds.
This is just the framework to identify the needed workarounds. They are not actually implemented. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77902 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Blackfin/BlackfinSubtarget.h')
-rw-r--r--lib/Target/Blackfin/BlackfinSubtarget.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/Target/Blackfin/BlackfinSubtarget.h b/lib/Target/Blackfin/BlackfinSubtarget.h
index 31df9c0..13d8e24 100644
--- a/lib/Target/Blackfin/BlackfinSubtarget.h
+++ b/lib/Target/Blackfin/BlackfinSubtarget.h
@@ -23,7 +23,17 @@ namespace llvm {
class Module;
class BlackfinSubtarget : public TargetSubtarget {
- bool ssyncWorkaround;
+ bool sdram;
+ bool icplb;
+ bool wa_mi_shift;
+ bool wa_csync;
+ bool wa_specld;
+ bool wa_mmr_stall;
+ bool wa_lcregs;
+ bool wa_hwloop;
+ bool wa_ind_call;
+ bool wa_killed_mmr;
+ bool wa_rets;
public:
BlackfinSubtarget(const TargetMachine &TM, const Module &M,
const std::string &FS);