projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't attribute in file headers anymore. See llvmdev for the
[oota-llvm.git]
/
include
/
llvm
/
Target
/
TargetSubtarget.h
diff --git
a/include/llvm/Target/TargetSubtarget.h
b/include/llvm/Target/TargetSubtarget.h
index 875008deaf6c7cd09f7d0e2f523b88e8b9ef249b..1096b1635c75d500b505dae9783d3ada2676b787 100644
(file)
--- a/
include/llvm/Target/TargetSubtarget.h
+++ b/
include/llvm/Target/TargetSubtarget.h
@@
-2,8
+2,8
@@
//
// The LLVM Compiler Infrastructure
//
//
// The LLVM Compiler Infrastructure
//
-// This file
was developed by Nate Begeman and is distributed under th
e
-//
University of Illinois Open Source
License. See LICENSE.TXT for details.
+// This file
is distributed under the University of Illinois Open Sourc
e
+// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
//
//===----------------------------------------------------------------------===//
//
@@
-14,8
+14,6
@@
#ifndef LLVM_TARGET_TARGETSUBTARGET_H
#define LLVM_TARGET_TARGETSUBTARGET_H
#ifndef LLVM_TARGET_TARGETSUBTARGET_H
#define LLVM_TARGET_TARGETSUBTARGET_H
-#include <string>
-
namespace llvm {
//===----------------------------------------------------------------------===//
namespace llvm {
//===----------------------------------------------------------------------===//
@@
-27,13
+25,13
@@
namespace llvm {
class TargetSubtarget {
TargetSubtarget(const TargetSubtarget&); // DO NOT IMPLEMENT
void operator=(const TargetSubtarget&); // DO NOT IMPLEMENT
class TargetSubtarget {
TargetSubtarget(const TargetSubtarget&); // DO NOT IMPLEMENT
void operator=(const TargetSubtarget&); // DO NOT IMPLEMENT
- std::string CPU; // CPU name.
protected: // Can only create subclasses...
TargetSubtarget();
public:
protected: // Can only create subclasses...
TargetSubtarget();
public:
+ /// getMaxInlineSizeThreshold - Returns the maximum memset / memcpy size
+ /// that still makes it profitable to inline the call.
+ virtual unsigned getMaxInlineSizeThreshold() const {return 0; }
virtual ~TargetSubtarget();
virtual ~TargetSubtarget();
- void setCPU(const std::string &C) { CPU = C; }
- const std::string &getCPU() const { return CPU; }
};
} // End llvm namespace
};
} // End llvm namespace