Lines Matching refs:CPUFeatures

247 class CPUFeatures {
266 CPUFeatures() : features_{} {} in CPUFeatures() function
270 CPUFeatures(T first, U... others) : features_{} { in CPUFeatures() function
276 static CPUFeatures All();
280 static CPUFeatures None() { return CPUFeatures(); } in None()
284 static CPUFeatures AArch64LegacyBaseline() { in AArch64LegacyBaseline()
285 return CPUFeatures(kFP, kNEON, kCRC32); in AArch64LegacyBaseline()
290 static CPUFeatures InferFromIDRegisters();
298 static CPUFeatures InferFromOS(
303 void Combine(const CPUFeatures& other);
317 void Remove(const CPUFeatures& other);
333 CPUFeatures With(T... others) const { in With()
334 CPUFeatures f(*this); in With()
340 CPUFeatures Without(T... others) const { in Without()
341 CPUFeatures f(*this); in Without()
347 bool Has(const CPUFeatures& other) const;
364 bool operator==(const CPUFeatures& other) const {
367 bool operator!=(const CPUFeatures& other) const { return !(*this == other); }
379 const vixl::CPUFeatures& features);
382 std::ostream& operator<<(std::ostream& os, vixl::CPUFeatures::Feature feature);
383 std::ostream& operator<<(std::ostream& os, const vixl::CPUFeatures& features);
389 CPUFeaturesConstIterator(const CPUFeatures* cpu_features = NULL,
390 CPUFeatures::Feature start = CPUFeatures::kNone)
402 CPUFeatures::Feature operator*() const {
415 const CPUFeatures* cpu_features_;
416 CPUFeatures::Feature feature_;
420 return feature_ == CPUFeatures::kNone; in IsValid()
463 CPUFeatures* GetCPUFeatures() const { return cpu_features_; } in GetCPUFeatures()
465 void SetCPUFeatures(const CPUFeatures& cpu_features) { in SetCPUFeatures()
470 CPUFeatures* const cpu_features_;
471 const CPUFeatures old_features_;