ARMSubtarget.h (194612) | ARMSubtarget.h (195340) |
---|---|
1//=====---- ARMSubtarget.h - Define Subtarget for the ARM -----*- 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//===----------------------------------------------------------------------===// --- 94 unchanged lines hidden (view full) --- 103 bool isTargetDarwin() const { return TargetType == isDarwin; } 104 bool isTargetELF() const { return TargetType == isELF; } 105 106 bool isAPCS_ABI() const { return TargetABI == ARM_ABI_APCS; } 107 bool isAAPCS_ABI() const { return TargetABI == ARM_ABI_AAPCS; } 108 109 bool isThumb() const { return IsThumb; } 110 bool isThumb1Only() const { return IsThumb && (ThumbMode == Thumb1); } | 1//=====---- ARMSubtarget.h - Define Subtarget for the ARM -----*- 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//===----------------------------------------------------------------------===// --- 94 unchanged lines hidden (view full) --- 103 bool isTargetDarwin() const { return TargetType == isDarwin; } 104 bool isTargetELF() const { return TargetType == isELF; } 105 106 bool isAPCS_ABI() const { return TargetABI == ARM_ABI_APCS; } 107 bool isAAPCS_ABI() const { return TargetABI == ARM_ABI_AAPCS; } 108 109 bool isThumb() const { return IsThumb; } 110 bool isThumb1Only() const { return IsThumb && (ThumbMode == Thumb1); } |
111 bool hasThumb2() const { return IsThumb && (ThumbMode >= Thumb2); } | 111 bool isThumb2() const { return IsThumb && (ThumbMode >= Thumb2); } 112 bool hasThumb2() const { return ThumbMode >= Thumb2; } |
112 113 bool isR9Reserved() const { return IsR9Reserved; } 114 115 const std::string & getCPUString() const { return CPUString; } 116 117 /// getInstrItins - Return the instruction itineraies based on subtarget 118 /// selection. 119 const InstrItineraryData &getInstrItineraryData() const { return InstrItins; } 120 121 /// getStackAlignment - Returns the minimum alignment known to hold of the 122 /// stack frame on entry to the function and which must be maintained by every 123 /// function for this subtarget. 124 unsigned getStackAlignment() const { return stackAlignment; } 125}; 126} // End llvm namespace 127 128#endif // ARMSUBTARGET_H | 113 114 bool isR9Reserved() const { return IsR9Reserved; } 115 116 const std::string & getCPUString() const { return CPUString; } 117 118 /// getInstrItins - Return the instruction itineraies based on subtarget 119 /// selection. 120 const InstrItineraryData &getInstrItineraryData() const { return InstrItins; } 121 122 /// getStackAlignment - Returns the minimum alignment known to hold of the 123 /// stack frame on entry to the function and which must be maintained by every 124 /// function for this subtarget. 125 unsigned getStackAlignment() const { return stackAlignment; } 126}; 127} // End llvm namespace 128 129#endif // ARMSUBTARGET_H |