80-col violations/trailing whitespace.

llvm-svn: 97427
This commit is contained in:
Mikhail Glushenkov 2010-02-28 22:54:30 +00:00
parent 53cf6b8444
commit abd56bde0e
1 changed files with 12 additions and 11 deletions

View File

@ -20,9 +20,9 @@
namespace llvm { namespace llvm {
class GlobalValue; class GlobalValue;
class TargetMachine; class TargetMachine;
/// PICStyles - The X86 backend supports a number of different styles of PIC. /// PICStyles - The X86 backend supports a number of different styles of PIC.
/// ///
namespace PICStyles { namespace PICStyles {
enum Style { enum Style {
StubPIC, // Used on i386-darwin in -fPIC mode. StubPIC, // Used on i386-darwin in -fPIC mode.
@ -46,7 +46,7 @@ protected:
/// PICStyle - Which PIC style to use /// PICStyle - Which PIC style to use
/// ///
PICStyles::Style PICStyle; PICStyles::Style PICStyle;
/// X86SSELevel - MMX, SSE1, SSE2, SSE3, SSSE3, SSE41, SSE42, or /// X86SSELevel - MMX, SSE1, SSE2, SSE3, SSSE3, SSE41, SSE42, or
/// none supported. /// none supported.
X86SSEEnum X86SSELevel; X86SSEEnum X86SSELevel;
@ -58,7 +58,7 @@ protected:
/// HasCMov - True if this processor has conditional move instructions /// HasCMov - True if this processor has conditional move instructions
/// (generally pentium pro+). /// (generally pentium pro+).
bool HasCMov; bool HasCMov;
/// HasX86_64 - True if the processor supports X86-64 instructions. /// HasX86_64 - True if the processor supports X86-64 instructions.
/// ///
bool HasX86_64; bool HasX86_64;
@ -78,8 +78,9 @@ protected:
/// IsBTMemSlow - True if BT (bit test) of memory instructions are slow. /// IsBTMemSlow - True if BT (bit test) of memory instructions are slow.
bool IsBTMemSlow; bool IsBTMemSlow;
/// HasVectorUAMem - True if SIMD operations can have unaligned memory operands. /// HasVectorUAMem - True if SIMD operations can have unaligned memory
/// This may require setting a feature bit in the processor. /// operands. This may require setting a feature bit in the
/// processor.
bool HasVectorUAMem; bool HasVectorUAMem;
/// DarwinVers - Nonzero if this is a darwin platform: the numeric /// DarwinVers - Nonzero if this is a darwin platform: the numeric
@ -150,20 +151,20 @@ public:
bool isTargetDarwin() const { return TargetType == isDarwin; } bool isTargetDarwin() const { return TargetType == isDarwin; }
bool isTargetELF() const { return TargetType == isELF; } bool isTargetELF() const { return TargetType == isELF; }
bool isTargetWindows() const { return TargetType == isWindows; } bool isTargetWindows() const { return TargetType == isWindows; }
bool isTargetMingw() const { return TargetType == isMingw; } bool isTargetMingw() const { return TargetType == isMingw; }
bool isTargetCygwin() const { return TargetType == isCygwin; } bool isTargetCygwin() const { return TargetType == isCygwin; }
bool isTargetCygMing() const { bool isTargetCygMing() const {
return TargetType == isMingw || TargetType == isCygwin; return TargetType == isMingw || TargetType == isCygwin;
} }
/// isTargetCOFF - Return true if this is any COFF/Windows target variant. /// isTargetCOFF - Return true if this is any COFF/Windows target variant.
bool isTargetCOFF() const { bool isTargetCOFF() const {
return TargetType == isMingw || TargetType == isCygwin || return TargetType == isMingw || TargetType == isCygwin ||
TargetType == isWindows; TargetType == isWindows;
} }
bool isTargetWin64() const { bool isTargetWin64() const {
return Is64Bit && (TargetType == isMingw || TargetType == isWindows); return Is64Bit && (TargetType == isMingw || TargetType == isWindows);
} }
@ -196,11 +197,11 @@ public:
bool isPICStyleStubAny() const { bool isPICStyleStubAny() const {
return PICStyle == PICStyles::StubDynamicNoPIC || return PICStyle == PICStyles::StubDynamicNoPIC ||
PICStyle == PICStyles::StubPIC; } PICStyle == PICStyles::StubPIC; }
/// getDarwinVers - Return the darwin version number, 8 = Tiger, 9 = Leopard, /// getDarwinVers - Return the darwin version number, 8 = Tiger, 9 = Leopard,
/// 10 = Snow Leopard, etc. /// 10 = Snow Leopard, etc.
unsigned getDarwinVers() const { return DarwinVers; } unsigned getDarwinVers() const { return DarwinVers; }
/// ClassifyGlobalReference - Classify a global variable reference for the /// ClassifyGlobalReference - Classify a global variable reference for the
/// current subtarget according to how we should reference it in a non-pcrel /// current subtarget according to how we should reference it in a non-pcrel
/// context. /// context.