projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This patch implements the general dynamic TLS model for 64-bit PowerPC.
[oota-llvm.git]
/
include
/
llvm
/
MC
/
SubtargetFeature.h
diff --git
a/include/llvm/MC/SubtargetFeature.h
b/include/llvm/MC/SubtargetFeature.h
index 507d8827750c1ceb39238145f5af44d7142dc43f..37ae03b45ca2644852b9ec87bce60546f4de46c2 100644
(file)
--- a/
include/llvm/MC/SubtargetFeature.h
+++ b/
include/llvm/MC/SubtargetFeature.h
@@
-18,9
+18,9
@@
#ifndef LLVM_MC_SUBTARGETFEATURE_H
#define LLVM_MC_SUBTARGETFEATURE_H
#ifndef LLVM_MC_SUBTARGETFEATURE_H
#define LLVM_MC_SUBTARGETFEATURE_H
-#include <vector>
#include "llvm/ADT/Triple.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Support/DataTypes.h"
+#include <vector>
namespace llvm {
class raw_ostream;
namespace llvm {
class raw_ostream;
@@
-50,7
+50,7
@@
struct SubtargetFeatureKV {
//
struct SubtargetInfoKV {
const char *Key; // K-V key string
//
struct SubtargetInfoKV {
const char *Key; // K-V key string
-
void *Value;
// K-V pointer value
+
const void *Value;
// K-V pointer value
// Compare routine for std binary search
bool operator<(const SubtargetInfoKV &S) const {
// Compare routine for std binary search
bool operator<(const SubtargetInfoKV &S) const {
@@
-95,10
+95,6
@@
public:
const SubtargetFeatureKV *FeatureTable,
size_t FeatureTableSize);
const SubtargetFeatureKV *FeatureTable,
size_t FeatureTableSize);
- /// Get scheduling itinerary of a CPU.
- void *getItinerary(const StringRef CPU,
- const SubtargetInfoKV *Table, size_t TableSize);
-
/// Print feature string.
void print(raw_ostream &OS) const;
/// Print feature string.
void print(raw_ostream &OS) const;