Home
last modified time | relevance | path

Searched refs:category (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtarget.cpp22 if (CanSupportType(category, kind)) { in TargetCharacteristics()
24 if (category == TypeCategory::Real || in TargetCharacteristics()
25 category == TypeCategory::Complex) { in TargetCharacteristics()
36 if (category == TypeCategory::Complex) { in TargetCharacteristics()
39 EnableType(category, kind, byteSize, align); in TargetCharacteristics()
55 TypeCategory category, std::int64_t kind) { in CanSupportType() argument
56 return IsValidKindOfIntrinsicType(category, kind); in CanSupportType()
61 if (CanSupportType(category, kind)) { in EnableType()
75 align_[static_cast<int>(category)][kind] = 0; in DisableType()
91 return align_[static_cast<int>(category)][kind]; in GetAlignment()
[all …]
H A Dtype.cpp201 if (type.category() == TypeCategory::Derived && in GetDerivedTypeSpec()
326 } else if (x.category() != y.category()) { in AreCompatibleTypes()
328 } else if (x.category() != TypeCategory::Derived) { in AreCompatibleTypes()
374 TypeCategory category{intrinsic->category()}; in From() local
376 if (category == TypeCategory::Character) { in From()
497 switch (t1.category()) { in ComparisonType()
499 switch (t2.category()) { in ComparisonType()
509 switch (t2.category()) { in ComparisonType()
519 switch (t2.category()) { in ComparisonType()
529 switch (t2.category()) { in ComparisonType()
[all …]
H A Dfold-reduction.h115 if constexpr (T::category == TypeCategory::Character) { in DoReduction()
127 static_assert(T::category == TypeCategory::Integer || in FoldMaxvalMinval()
128 T::category == TypeCategory::Real || in FoldMaxvalMinval()
129 T::category == TypeCategory::Character); in FoldMaxvalMinval()
154 static_assert(T::category == TypeCategory::Integer || in FoldProduct()
155 T::category == TypeCategory::Real || in FoldProduct()
156 T::category == TypeCategory::Complex); in FoldProduct()
164 if constexpr (T::category == TypeCategory::Integer) { in FoldProduct()
187 static_assert(T::category == TypeCategory::Integer || in FoldSum()
188 T::category == TypeCategory::Real || in FoldSum()
[all …]
/llvm-project-15.0.7/lldb/source/DataFormatters/
H A DDataVisualization.cpp92 GetFormatManager().GetCategory(category); in Add()
96 GetFormatManager().DisableCategory(category); in Delete()
105 GetFormatManager().GetCategory(category)->Clear( in Clear()
112 GetFormatManager().DisableCategory(category); in Enable()
124 GetFormatManager().DisableCategory(category); in Disable()
135 if (category.get()) { in Enable()
136 if (category->IsEnabled()) in Enable()
137 GetFormatManager().DisableCategory(category); in Enable()
143 const lldb::TypeCategoryImplSP &category) { in Disable() argument
144 if (category.get() && category->IsEnabled()) in Disable()
[all …]
H A DTypeCategoryMap.cpp48 ValueSP category; in Enable() local
49 if (!Get(category_name, category)) in Enable()
51 return Enable(category, pos); in Enable()
56 ValueSP category; in Disable() local
57 if (!Get(category_name, category)) in Disable()
59 return Disable(category); in Disable()
64 if (category.get()) { in Enable()
78 category->Enable(true, pos); in Enable()
86 if (category.get()) { in Disable()
88 category->Disable(); in Disable()
[all …]
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/
H A Dtest_categories.py59 def is_supported_on_platform(category, platform, compiler_path): argument
60 if category == "dwo":
63 elif category == "dsym":
65 elif category == "gmodules":
81 for category in categories:
82 origCategory = category
83 if category not in all_categories and not exact_match:
84 category = unique_string_match(category, all_categories)
85 if (category not in all_categories) or category is None:
94 result.append(category)
/llvm-project-15.0.7/lldb/test/API/python_api/formatters/
H A DTestFormattersSBAPI.py138 category.DeleteTypeFilter(
146 category.DeleteTypeFilter(
257 category.DeleteTypeFilter(
265 category.DeleteTypeFormat(
274 category.DeleteTypeFilter(
335 category.AddTypeSummary(
340 category.AddTypeFilter(
350 category.AddTypeFormat(
356 category.AddTypeSummary(
361 category.AddTypeFilter(
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/hicpp/
H A Dsigned-bitwise-standard-types.cpp9 std::locale::category C = std::locale::category::ctype; in pure_bitmask_types()
11 SResult = std::locale::category::none | std::locale::category::collate; in pure_bitmask_types()
12 SResult|= std::locale::category::collate; in pure_bitmask_types()
13 SResult = std::locale::category::ctype & std::locale::category::monetary; in pure_bitmask_types()
14 SResult&= std::locale::category::monetary; in pure_bitmask_types()
15 SResult = std::locale::category::numeric ^ std::locale::category::time; in pure_bitmask_types()
16 SResult^= std::locale::category::time; in pure_bitmask_types()
17 SResult = std::locale::category::messages | std::locale::category::all; in pure_bitmask_types()
20 SResult&= std::locale::category::all; in pure_bitmask_types()
22 SResult|= std::locale::category::all; in pure_bitmask_types()
[all …]
/llvm-project-15.0.7/lldb/include/lldb/DataFormatters/
H A DDataVisualization.h81 static bool GetCategory(ConstString category,
88 static void Add(ConstString category);
90 static bool Delete(ConstString category);
94 static void Clear(ConstString category);
96 static void Enable(ConstString category,
101 static void Disable(ConstString category);
105 static void Enable(const lldb::TypeCategoryImplSP &category,
108 static void Disable(const lldb::TypeCategoryImplSP &category);
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/objc/
H A Ddealloc-in-category.m1 // RUN: %check_clang_tidy %s objc-dealloc-in-category %t
29 …K-MESSAGES: :[[@LINE-1]]:1: warning: category 'BarCategory' should not implement -dealloc [objc-de…
39 // it declared in the category (below).
44 // A declaration in a category @interface does not by itself provide an
H A Dproperty-declaration.m12 …name 'NotCamelCase' not using lowerCamelCase style or not prefixed in a category, according to the…
20 …y name 'URL_string' not using lowerCamelCase style or not prefixed in a category, according to the…
37 … 'abc_NotCamelCase' not using lowerCamelCase style or not prefixed in a category, according to the…
39 …me 'abCD_camelCase' not using lowerCamelCase style or not prefixed in a category, according to the…
42 …'abCD_NotCamelCase' not using lowerCamelCase style or not prefixed in a category, according to the…
45 …name 'wrongFormat_' not using lowerCamelCase style or not prefixed in a category, according to the…
54 …c_inClassExtension' not using lowerCamelCase style or not prefixed in a category, according to the…
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dtype.cpp482 type->category()); in InstantiateType()
512 if (spec.category() != DeclTypeSpec::Character && in InstantiateIntrinsicType()
522 intrinsic.category(), *value)) { in InstantiateIntrinsicType()
532 switch (spec.category()) { in InstantiateIntrinsicType()
687 : category_{category}, kind_{std::move(kind)} { in IntrinsicTypeSpec()
688 CHECK(category != TypeCategory::Derived);
730 : category_{category}, typeSpec_{typeSpec} { in DeclTypeSpec()
731 CHECK(category == TypeDerived || category == ClassDerived);
735 CHECK(category == TypeDerived || category == ClassDerived);
737 DeclTypeSpec::DeclTypeSpec(Category category) : category_{category} { in DeclTypeSpec() argument
[all …]
H A Dcheck-allocate.cpp75 if (type_->category() == DeclTypeSpec::Category::Character) { in GatherAllocationBasicInfo()
85 type_->category() == DeclTypeSpec::Category::ClassStar; in GatherAllocationBasicInfo()
269 if (type1.category() == DeclTypeSpec::Category::ClassStar) { in IsTypeCompatible()
276 return intrinsicType1->category() == intrinsicType2->category(); in IsTypeCompatible()
288 if (type1.category() == DeclTypeSpec::Category::ClassStar) { in IsTypeCompatible()
293 if (type2.category() != evaluate::TypeCategory::Derived) { in IsTypeCompatible()
295 return intrinsicType1->category() == type2.category(); in IsTypeCompatible()
311 if (type2.category() == DeclTypeSpec::Category::Character) { in HaveSameAssumedTypeParameters()
313 if (type1.category() == DeclTypeSpec::Category::Character) { in HaveSameAssumedTypeParameters()
377 if (type1.category() == DeclTypeSpec::Category::ClassStar) { in HaveCompatibleKindParameters()
[all …]
H A Dscope.cpp175 TypeCategory category, KindExpr &&kind) { in MakeNumericType() argument
176 return MakeLengthlessType(NumericTypeSpec{category, std::move(kind)}); in MakeNumericType()
201 DeclTypeSpec::Category category, DerivedTypeSpec &&spec) { in MakeDerivedType() argument
202 return declTypeSpecs_.emplace_back(category, std::move(spec)); in MakeDerivedType()
212 switch (dyType->category()) { in GetType()
216 return &MakeNumericType(dyType->category(), KindExpr{dyType->kind()}); in GetType()
404 const DerivedTypeSpec &spec, DeclTypeSpec::Category category) const { in FindInstantiatedDerivedType()
405 DeclTypeSpec type{category, spec}; in FindInstantiatedDerivedType()
411 return parent().FindInstantiatedDerivedType(spec, category); in FindInstantiatedDerivedType()
435 if (type.category() == DeclTypeSpec::TypeDerived || in InstantiateDerivedTypes()
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/objc/
H A Ddealloc-in-category.rst1 .. title:: clang-tidy - objc-dealloc-in-category
3 objc-dealloc-in-category
6 Finds implementations of ``-dealloc`` in Objective-C categories. The category
11 an object. If a category on the class implements ``-dealloc``, it will
/llvm-project-15.0.7/llvm/lib/Support/
H A DAPFloat.cpp745 category = rhs.category; in assign()
827 category = rhs.category; in operator =()
912 category != rhs.category || in bitwiseIsEqual()
915 if (category==fcZero || category==fcInfinity) in bitwiseIsEqual()
1480 switch (PackCategoriesIntoKey(category, rhs.category)) { in addOrSubtractSpecials()
1604 switch (PackCategoriesIntoKey(category, rhs.category)) { in multiplySpecials()
1648 switch (PackCategoriesIntoKey(category, rhs.category)) { in divideSpecials()
1694 switch (PackCategoriesIntoKey(category, rhs.category)) { in modSpecials()
1732 switch (PackCategoriesIntoKey(category, rhs.category)) { in remainderSpecials()
2115 switch (PackCategoriesIntoKey(category, rhs.category)) { in compare()
[all …]
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtarget.h62 bool EnableType(common::TypeCategory category, std::int64_t kind,
64 void DisableType(common::TypeCategory category, std::int64_t kind);
67 common::TypeCategory category, std::int64_t kind) const;
69 common::TypeCategory category, std::int64_t kind) const;
70 bool IsTypeEnabled(common::TypeCategory category, std::int64_t kind) const;
/llvm-project-15.0.7/libcxx/include/
H A Dsystem_error71 const error_category& category() const noexcept;
100 const error_category& category() const noexcept;
292 const error_category& category() const _NOEXCEPT {return *__cat_;}
310 return __x.category() < __y.category()
311 || (__x.category() == __y.category() && __x.value() < __y.value());
386 return __x.category() < __y.category()
387 || (__x.category() == __y.category() && __x.value() < __y.value());
394 return __x.category() == __y.category() && __x.value() == __y.value();
401 return __x.category().equivalent(__x.value(), __y)
402 || __y.category().equivalent(__x, __y.value());
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dcategory-direct-properties.m124 - (int)direct_normal { // expected-error {{direct method was declared in a category but is implemen…
127 …__((objc_direct)) { // expected-error {{direct method was declared in a category but is implemente…
130 …__((objc_direct)) { // expected-error {{direct method was declared in a category but is implemente…
200 …cted-error {{direct method was declared in the primary interface but is implemented in a category}}
203 …cted-error {{direct method was declared in the primary interface but is implemented in a category}}
206 …cted-error {{direct method was declared in the primary interface but is implemented in a category}}
232 …ted-error {{direct method was declared in an extension but is implemented in a different category}}
235 …ted-error {{direct method was declared in an extension but is implemented in a different category}}
261 …/ expected-error {{direct method was declared in a category but is implemented in a different cate…
264 …/ expected-error {{direct method was declared in a category but is implemented in a different cate…
[all …]
H A Dcategory-1.m11 @interface MyClass1 (Category1) // expected-warning {{duplicate definition of category 'Category1'…
24 @interface MyClass1 (Category4) @end // expected-warning {{duplicate definition of category 'Catego…
25 @interface MyClass1 (Category7) @end // expected-warning {{duplicate definition of category 'Catego…
26 @interface MyClass1 (Category8) @end // expected-warning {{duplicate definition of category 'Catego…
37 @interface MyClass2 (Category) @end // expected-error {{cannot define category for undefined clas…
51 @interface XCRemoteComputerManager(x) // expected-warning {{duplicate definition of category 'x' on…
60 @implementation XCRemoteComputerManager(x) // expected-error {{reimplementation of category 'x' for…
H A Dproperty-category-4.m15 @synthesize selectedObjects = _selectedObjects; // expected-error {{property declared in category '…
16 @dynamic d_selectedObjects; // expected-error {{property declared in category 'CAT' cannot be imple…
98 …perty (readonly) int p; // no warning for this property - a getter is declared in another category
100 …roperty (readonly) int p2; // no warning for this property - a getter is declared in this category
104 …ires method 'p1' to be defined - use @dynamic or provide a method implementation in this category}}
121 …d 'anotherFloat' to be defined - use @dynamic or provide a method implementation in this category}}
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/type_summary_list_script/
H A Dtslsformatters.py7 category = lldb.debugger.CreateCategory("TSLSFormatters") variable
8 category.SetEnabled(True)
12 category.AddTypeSummary(spec, summary)
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dtype.h79 Bound(Category category) : category_{category} {} in Bound() argument
80 Bound(Category category, MaybeSubscriptIntExpr &&expr) in Bound() argument
81 : category_{category}, expr_{std::move(expr)} {} in Bound()
117 ParamValue(Category category, common::TypeParamAttr attr) in ParamValue() argument
118 : category_{category}, attr_{attr} {} in ParamValue()
127 TypeCategory category() const { return category_; } in category() function
147 NumericTypeSpec(TypeCategory category, KindExpr &&kind) in NumericTypeSpec() argument
148 : IntrinsicTypeSpec(category, std::move(kind)) { in NumericTypeSpec()
149 CHECK(common::IsNumericTypeCategory(category)); in NumericTypeSpec()
352 Category category() const { return category_; } in category() function
[all …]
/llvm-project-15.0.7/lld/test/MachO/
H A Dobjc.s5 … llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/has-objc-category.s -o %t/has-objc-category.o
6 …bj -triple=x86_64-apple-darwin %t/has-objc-symbol-and-category.s -o %t/has-objc-symbol-and-categor…
69 # RUN: %t/has-objc-symbol.o %t/has-objc-category.o %t/has-swift.o %t/wrong-arch.o --end-lib \
79 #--- has-objc-category.s
83 #--- has-objc-symbol-and-category.s
/llvm-project-15.0.7/flang/include/flang/Common/
H A DFortran.h24 constexpr bool IsNumericTypeCategory(TypeCategory category) { in ENUM_CLASS()
25 return category == TypeCategory::Integer || category == TypeCategory::Real || in ENUM_CLASS()
26 category == TypeCategory::Complex; in ENUM_CLASS()

12345678910>>...12