Home
last modified time | relevance | path

Searched refs:FeatureBitset (Results 1 – 25 of 144) sorted by relevance

123456

/external/llvm-project/llvm/lib/Support/
DX86TargetParser.cpp26 class FeatureBitset { class
34 constexpr FeatureBitset() = default;
35 constexpr FeatureBitset(std::initializer_list<unsigned> Init) { in FeatureBitset() function in __anonb7681b460111::FeatureBitset
44 constexpr FeatureBitset &set(unsigned I) { in set()
56 constexpr FeatureBitset &operator&=(const FeatureBitset &RHS) { in operator &=()
65 constexpr FeatureBitset &operator|=(const FeatureBitset &RHS) { in operator |=()
75 constexpr FeatureBitset operator&(const FeatureBitset &RHS) const { in operator &()
76 FeatureBitset Result; in operator &()
83 constexpr FeatureBitset operator|(const FeatureBitset &RHS) const { in operator |()
84 FeatureBitset Result; in operator |()
[all …]
/external/llvm-project/llvm/include/llvm/MC/
DSubtargetFeature.h40 class FeatureBitset {
47 constexpr FeatureBitset(const std::array<uint64_t, MAX_SUBTARGET_WORDS> &B) { in FeatureBitset() function
53 constexpr FeatureBitset() = default;
54 constexpr FeatureBitset(std::initializer_list<unsigned> Init) { in FeatureBitset() function
59 FeatureBitset &set() { in set()
64 constexpr FeatureBitset &set(unsigned I) { in set()
71 constexpr FeatureBitset &reset(unsigned I) { in reset()
78 constexpr FeatureBitset &flip(unsigned I) { in flip()
105 constexpr FeatureBitset &operator^=(const FeatureBitset &RHS) {
111 constexpr FeatureBitset operator^(const FeatureBitset &RHS) const {
[all …]
DMCSubtargetInfo.h91 FeatureBitset FeatureBits; // Feature bits for current CPU + FS
110 const FeatureBitset& getFeatureBits() const { return FeatureBits; } in getFeatureBits()
111 void setFeatureBits(const FeatureBitset &FeatureBits_) { in setFeatureBits()
133 FeatureBitset ToggleFeature(uint64_t FB);
137 FeatureBitset ToggleFeature(const FeatureBitset& FB);
141 FeatureBitset ToggleFeature(StringRef FS);
145 FeatureBitset ApplyFeatureFlag(StringRef FS);
148 FeatureBitset SetFeatureBitsTransitively(const FeatureBitset& FB);
149 FeatureBitset ClearFeatureBitsTransitively(const FeatureBitset &FB);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DSubtargetFeature.h40 class FeatureBitset {
47 constexpr FeatureBitset(const std::array<uint64_t, MAX_SUBTARGET_WORDS> &B) { in FeatureBitset() function
53 constexpr FeatureBitset() = default;
54 constexpr FeatureBitset(std::initializer_list<unsigned> Init) { in FeatureBitset() function
59 FeatureBitset &set() { in set()
64 constexpr FeatureBitset &set(unsigned I) { in set()
71 constexpr FeatureBitset &reset(unsigned I) { in reset()
78 constexpr FeatureBitset &flip(unsigned I) { in flip()
105 constexpr FeatureBitset &operator^=(const FeatureBitset &RHS) {
111 constexpr FeatureBitset operator^(const FeatureBitset &RHS) const {
[all …]
DMCSubtargetInfo.h89 FeatureBitset FeatureBits; // Feature bits for current CPU + FS
107 const FeatureBitset& getFeatureBits() const { return FeatureBits; } in getFeatureBits()
108 void setFeatureBits(const FeatureBitset &FeatureBits_) { in setFeatureBits()
130 FeatureBitset ToggleFeature(uint64_t FB);
134 FeatureBitset ToggleFeature(const FeatureBitset& FB);
138 FeatureBitset ToggleFeature(StringRef FS);
142 FeatureBitset ApplyFeatureFlag(StringRef FS);
145 FeatureBitset SetFeatureBitsTransitively(const FeatureBitset& FB);
146 FeatureBitset ClearFeatureBitsTransitively(const FeatureBitset &FB);
/external/llvm/include/llvm/MC/
DSubtargetFeature.h35 class FeatureBitset : public std::bitset<MAX_SUBTARGET_FEATURES> {
38 FeatureBitset() : bitset() {} in FeatureBitset() function
40 FeatureBitset(const bitset<MAX_SUBTARGET_FEATURES>& B) : bitset(B) {} in FeatureBitset() function
42 FeatureBitset(std::initializer_list<unsigned> Init) : bitset() { in FeatureBitset() function
56 FeatureBitset Value; // K-V integer value
57 FeatureBitset Implies; // K-V bit mask
108 static void ToggleFeature(FeatureBitset &Bits, StringRef String,
112 static void ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature,
116 FeatureBitset getFeatureBits(StringRef CPU,
DMCSubtargetInfo.h46 FeatureBitset FeatureBits; // Feature bits for current CPU + FS
72 const FeatureBitset& getFeatureBits() const { in getFeatureBits()
78 void setFeatureBits(const FeatureBitset &FeatureBits_) { in setFeatureBits()
96 FeatureBitset ToggleFeature(uint64_t FB);
100 FeatureBitset ToggleFeature(const FeatureBitset& FB);
104 FeatureBitset ToggleFeature(StringRef FS);
108 FeatureBitset ApplyFeatureFlag(StringRef FS);
/external/llvm-project/llvm/lib/MC/
DMCSubtargetInfo.cpp36 void SetImpliedBits(FeatureBitset &Bits, const FeatureBitset &Implies, in SetImpliedBits()
48 void ClearImpliedBits(FeatureBitset &Bits, unsigned Value, in ClearImpliedBits()
58 static void ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature, in ApplyFeatureFlag()
150 static FeatureBitset getFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS, in getFeatures()
156 return FeatureBitset(); in getFeatures()
161 FeatureBitset Bits; in getFeatures()
237 FeatureBitset MCSubtargetInfo::ToggleFeature(uint64_t FB) { in ToggleFeature()
242 FeatureBitset MCSubtargetInfo::ToggleFeature(const FeatureBitset &FB) { in ToggleFeature()
247 FeatureBitset MCSubtargetInfo::SetFeatureBitsTransitively( in SetFeatureBitsTransitively()
248 const FeatureBitset &FB) { in SetFeatureBitsTransitively()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCSubtargetInfo.cpp36 void SetImpliedBits(FeatureBitset &Bits, const FeatureBitset &Implies, in SetImpliedBits()
48 void ClearImpliedBits(FeatureBitset &Bits, unsigned Value, in ClearImpliedBits()
58 static void ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature, in ApplyFeatureFlag()
150 static FeatureBitset getFeatures(StringRef CPU, StringRef FS, in getFeatures()
156 return FeatureBitset(); in getFeatures()
163 FeatureBitset Bits; in getFeatures()
221 FeatureBitset MCSubtargetInfo::ToggleFeature(uint64_t FB) { in ToggleFeature()
226 FeatureBitset MCSubtargetInfo::ToggleFeature(const FeatureBitset &FB) { in ToggleFeature()
231 FeatureBitset MCSubtargetInfo::SetFeatureBitsTransitively( in SetFeatureBitsTransitively()
232 const FeatureBitset &FB) { in SetFeatureBitsTransitively()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPropagateAttributes.cpp52 const FeatureBitset TargetFeatures = {
60 Clone(FeatureBitset FeatureMask, Function *OrigF, Function *NewF) : in Clone()
63 FeatureBitset FeatureMask;
80 Function *findFunction(const FeatureBitset &FeaturesNeeded,
86 const FeatureBitset &NewFeatures);
89 void setFeatures(Function &F, const FeatureBitset &NewFeatures);
91 std::string getFeatureString(const FeatureBitset &Features) const;
158 AMDGPUPropagateAttributes::findFunction(const FeatureBitset &FeaturesNeeded, in findFunction()
198 const FeatureBitset &CalleeBits = in process()
215 const FeatureBitset &CallerBits = in process()
[all …]
/external/llvm/lib/MC/
DMCSubtargetInfo.cpp20 static FeatureBitset getFeatures(StringRef CPU, StringRef FS, in getFeatures()
53 FeatureBitset MCSubtargetInfo::ToggleFeature(uint64_t FB) { in ToggleFeature()
58 FeatureBitset MCSubtargetInfo::ToggleFeature(const FeatureBitset &FB) { in ToggleFeature()
65 FeatureBitset MCSubtargetInfo::ToggleFeature(StringRef FS) { in ToggleFeature()
70 FeatureBitset MCSubtargetInfo::ApplyFeatureFlag(StringRef FS) { in ApplyFeatureFlag()
DSubtargetFeature.cpp135 void SetImpliedBits(FeatureBitset &Bits, const SubtargetFeatureKV *FeatureEntry, in SetImpliedBits()
151 void ClearImpliedBits(FeatureBitset &Bits, in ClearImpliedBits()
166 SubtargetFeatures::ToggleFeature(FeatureBitset &Bits, StringRef Feature, in ToggleFeature()
191 void SubtargetFeatures::ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature, in ApplyFeatureFlag()
223 FeatureBitset
229 return FeatureBitset(); in getFeatureBits()
238 FeatureBitset Bits; in getFeatureBits()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUMCCodeEmitter.h26 class FeatureBitset; variable
73 FeatureBitset computeAvailableFeatures(const FeatureBitset &FB) const;
76 const FeatureBitset &AvailableFeatures) const;
/external/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUMCCodeEmitter.h26 class FeatureBitset; variable
79 FeatureBitset computeAvailableFeatures(const FeatureBitset &FB) const;
82 const FeatureBitset &AvailableFeatures) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/Utils/
DRISCVBaseInfo.h169 FeatureBitset FeaturesRequired;
172 bool haveRequiredFeatures(FeatureBitset ActiveFeatures) const { in haveRequiredFeatures()
202 ABI computeTargetABI(const Triple &TT, FeatureBitset FeatureBits,
216 void validate(const Triple &TT, const FeatureBitset &FeatureBits);
/external/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.h18 class FeatureBitset; variable
33 IsaVersion getIsaVersion(const FeatureBitset &Features);
35 const FeatureBitset &Features);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCTargetDesc.h51 class FeatureBitset; variable
76 FeatureBitset completeHVXFeatures(const FeatureBitset &FB);
DHexagonMCCodeEmitter.h85 FeatureBitset computeAvailableFeatures(const FeatureBitset &FB) const;
88 const FeatureBitset &AvailableFeatures) const;
/external/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCCodeEmitter.h85 FeatureBitset computeAvailableFeatures(const FeatureBitset &FB) const;
88 const FeatureBitset &AvailableFeatures) const;
DHexagonMCTargetDesc.h51 class FeatureBitset; variable
74 FeatureBitset completeHVXFeatures(const FeatureBitset &FB);
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUPropagateAttributes.cpp53 static constexpr const FeatureBitset TargetFeatures = {
73 explicit FnProperties(const FeatureBitset &&FB) : Features(FB) {} in FnProperties()
100 FeatureBitset Features;
134 void setFeatures(Function &F, const FeatureBitset &NewFeatures);
139 std::string getFeatureString(const FeatureBitset &Features) const;
339 const FeatureBitset &NewFeatures) { in setFeatures()
363 AMDGPUPropagateAttributes::getFeatureString(const FeatureBitset &Features) const in getFeatureString()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/
DMCTargetAsmParser.h198 static NearMissInfo getMissedFeature(const FeatureBitset &MissingFeatures) { in getMissedFeature()
250 const FeatureBitset& getFeatures() const { in getFeatures()
300 FeatureBitset Features;
330 FeatureBitset AvailableFeatures;
355 const FeatureBitset& getAvailableFeatures() const { in getAvailableFeatures()
358 void setAvailableFeatures(const FeatureBitset& Value) { in setAvailableFeatures()
/external/llvm-project/llvm/include/llvm/MC/MCParser/
DMCTargetAsmParser.h197 static NearMissInfo getMissedFeature(const FeatureBitset &MissingFeatures) { in getMissedFeature()
249 const FeatureBitset& getFeatures() const { in getFeatures()
299 FeatureBitset Features;
329 FeatureBitset AvailableFeatures;
354 const FeatureBitset& getAvailableFeatures() const { in getAvailableFeatures()
357 void setAvailableFeatures(const FeatureBitset& Value) { in setAvailableFeatures()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCCodeEmitter.h101 FeatureBitset computeAvailableFeatures(const FeatureBitset &FB) const;
104 const FeatureBitset &AvailableFeatures) const;
/external/llvm-project/llvm/utils/TableGen/
DCodeEmitterGen.cpp334 getNameForFeatureBitset(const std::vector<Record *> &FeatureBitset) { in getNameForFeatureBitset() argument
336 for (const auto &Feature : FeatureBitset) in getNameForFeatureBitset()
581 for (const auto &FeatureBitset : FeatureBitsets) { in run() local
582 if (FeatureBitset.empty()) in run()
584 o << " " << getNameForFeatureBitset(FeatureBitset) << ",\n"; in run()
589 for (const auto &FeatureBitset : FeatureBitsets) { in run() local
590 if (FeatureBitset.empty()) in run()
593 for (const auto &Feature : FeatureBitset) { in run()

123456