#include "llvm/TargetParser/SubtargetFeature.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TargetParser/Triple.h"
#include <algorithm>
#include <string>
#include <vector>
usingnamespacellvm;
void SubtargetFeatures::Split(std::vector<std::string> &V, StringRef S) { … }
void SubtargetFeatures::AddFeature(StringRef String, bool Enable) { … }
void SubtargetFeatures::addFeaturesVector(
const ArrayRef<std::string> OtherFeatures) { … }
SubtargetFeatures::SubtargetFeatures(StringRef Initial) { … }
std::string SubtargetFeatures::getString() const { … }
void SubtargetFeatures::print(raw_ostream &OS) const { … }
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD void SubtargetFeatures::dump() const {
print(dbgs());
}
#endif
void SubtargetFeatures::getDefaultSubtargetFeatures(const Triple& Triple) { … }