Deleted Added
full compact
SparcSubtarget.h (261991) SparcSubtarget.h (262613)
1//===-- SparcSubtarget.h - Define Subtarget for the SPARC -------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 16 unchanged lines hidden (view full) ---

25
26class SparcSubtarget : public SparcGenSubtargetInfo {
27 virtual void anchor();
28 bool IsV9;
29 bool V8DeprecatedInsts;
30 bool IsVIS;
31 bool Is64Bit;
32 bool HasHardQuad;
1//===-- SparcSubtarget.h - Define Subtarget for the SPARC -------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 16 unchanged lines hidden (view full) ---

25
26class SparcSubtarget : public SparcGenSubtargetInfo {
27 virtual void anchor();
28 bool IsV9;
29 bool V8DeprecatedInsts;
30 bool IsVIS;
31 bool Is64Bit;
32 bool HasHardQuad;
33 bool UsePopc;
33
34public:
35 SparcSubtarget(const std::string &TT, const std::string &CPU,
36 const std::string &FS, bool is64bit);
37
38 bool isV9() const { return IsV9; }
39 bool isVIS() const { return IsVIS; }
40 bool useDeprecatedV8Instructions() const { return V8DeprecatedInsts; }
41 bool hasHardQuad() const { return HasHardQuad; }
34
35public:
36 SparcSubtarget(const std::string &TT, const std::string &CPU,
37 const std::string &FS, bool is64bit);
38
39 bool isV9() const { return IsV9; }
40 bool isVIS() const { return IsVIS; }
41 bool useDeprecatedV8Instructions() const { return V8DeprecatedInsts; }
42 bool hasHardQuad() const { return HasHardQuad; }
43 bool usePopc() const { return UsePopc; }
42
43 /// ParseSubtargetFeatures - Parses features string setting specified
44 /// subtarget options. Definition of function is auto generated by tblgen.
45 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
46
47 bool is64Bit() const { return Is64Bit; }
48 std::string getDataLayout() const {
49 const char *p;

--- 24 unchanged lines hidden ---
44
45 /// ParseSubtargetFeatures - Parses features string setting specified
46 /// subtarget options. Definition of function is auto generated by tblgen.
47 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
48
49 bool is64Bit() const { return Is64Bit; }
50 std::string getDataLayout() const {
51 const char *p;

--- 24 unchanged lines hidden ---