18 #ifndef LLVM_MC_SUBTARGETFEATURE_H 19 #define LLVM_MC_SUBTARGETFEATURE_H 23 #include <initializer_list> 29 template <
typename T>
class ArrayRef;
100 std::string getString()
const;
133 #endif // LLVM_MC_SUBTARGETFEATURE_H const unsigned MAX_SUBTARGET_FEATURES
This class represents lattice values for constants.
const FeatureBitset Features
const char * Key
K-V key string.
Used to provide key value pairs for CPU and arbitrary pointers.
FeatureBitset Value
K-V integer value.
Used to provide key value pairs for feature and CPU bit flags.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
bool operator<(StringRef S) const
Compare routine for std::lower_bound.
bool operator<(const SubtargetFeatureKV &Other) const
Compare routine for std::is_sorted.
const std::vector< std::string > & getFeatures() const
Returns the vector of individual subtarget features.
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
void dump(const SparseBitVector< ElementSize > &LHS, raw_ostream &out)
Container class for subtarget features.
const char * Key
K-V key string.
static void print(raw_ostream &Out, object::Archive::Kind Kind, T Val)
const void * Value
K-V pointer value.
Triple - Helper class for working with autoconf configuration names.
bool operator<(StringRef S) const
Compare routine for std::lower_bound.
const char * Desc
Help descriptor.
FeatureBitset(const bitset< MAX_SUBTARGET_FEATURES > &B)
Manages the enabling and disabling of subtarget specific features.
FeatureBitset(std::initializer_list< unsigned > Init)
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.
FeatureBitset Implies
K-V bit mask.