Home
last modified time | relevance | path

Searched full:types (Results 1 – 25 of 7590) sorted by relevance

12345678910>>...304

/llvm-project/llvm/test/DebugInfo/PDB/
H A Devery-type.test13 RUN: | FileCheck --check-prefix=TYPES %s
19 RUN: | FileCheck --check-prefix=TYPES %s
21 TYPES: Types (TPI Stream)
22 TYPES-NEXT: ============================================================
23 TYPES-NEXT: Showing 7 records and their dependents (72 records total)
24 TYPES-NEXT: 0x1007 | LF_MODIFIER [size = 12]
25 TYPES-NEXT: referent = 0x0074 (int), modifiers = const
26 TYPES-NEXT: 0x1008 | LF_CLASS [size = 48] `FooClass`
27 TYPES-NEXT: unique name: `.?AVFooClass@@`
28 TYPES-NEXT: vtable: <no type>, base list: <no type>, field list: <no type>
[all …]
H A Dpdbdump-merge-ids-and-types.test1 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.1.pdb %p/Inputs/merge-ids-and-types-1.yaml
2 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.2.pdb %p/Inputs/merge-ids-and-types-2.yaml
4 ; RUN: llvm-pdbutil dump -types %t.3.pdb | FileCheck -check-prefix=TPI-TYPES %s
5 ; RUN: llvm-pdbutil dump -ids %t.3.pdb | FileCheck -check-prefix=IPI-TYPES %s
7 TPI-TYPES: Types (TPI Stream)
8 TPI-TYPES-NEXT: ============================================================
9 TPI-TYPES-NEXT: Showing 9 records
10 TPI-TYPES-NEXT: 0x1000 | LF_POINTER [size = 12]
11 TPI-TYPES-NEXT: referent = 0x0470 (char*), mode = pointer, opts = None, kind = ptr32
12 TPI-TYPES-NEXT: 0x1001 | LF_FIELDLIST [size = 24]
[all …]
/llvm-project/libc/include/
H A DCMakeLists.txt12 add_subdirectory(llvm-libc-types)
38 .llvm-libc-types.locale_t
47 .llvm-libc-types.ino_t
48 .llvm-libc-types.DIR
49 .llvm-libc-types.struct_dirent
58 .llvm-libc-types.mode_t
59 .llvm-libc-types.struct_flock
60 .llvm-libc-types.struct_flock64
61 .llvm-libc-types.off64_t
62 .llvm-libc-types
[all...]
/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dp5.cpp13 template<typename... Types>
15 typedef pair<Types..., int> expand_with_pacs; // okay
16 …typedef pair<Types, int...> expand_no_packs; // expected-error{{pack expansion does not contain a…
17 …typedef pair<pair<Types..., int>..., int> expand_with_expanded_nested; // expected-error{{pack exp…
22 template<typename ...Types>
26 …typedef tuple<pair<Types, OtherTypes>...> type; // expected-error{{pack expansion contains paramet…
42 template<typename T, int N, typename ... Types>
44 …: public Types, public T // expected-error{{base type contains unexpanded parameter pack 'Types'}}
49 …typedef Types *types_pointer; // expected-error{{declaration type contains unexpanded parameter pa…
52 …typedef Types (^block_pointer_1)(int); // expected-error{{declaration type contains unexpanded par…
[all …]
/llvm-project/libcxx/test/libcxx/type_traits/
H A Dis_always_bitcastable.compile.pass.cpp55 types::for_each(Types1{}, []<class T>() { in check()
56 types::for_each(Types2{}, []<class U>() { in check()
69 // Arithmetic types. in test()
71 // Bit-castable arithmetic types. in test()
73 // 8-bit types. in test()
74 using integral_8 = types::type_list<char8_t, std::int8_t, std::uint8_t>; in test()
75 using chars = types::type_list<char, unsigned char, signed char>; in test()
77 check<true, types::concatenate_t<integral_8, chars>>(); in test()
83 // 16-bit types. in test()
84 using integral_16 = types::type_list<char16_t, std::int16_t, std::uint16_t>; in test()
[all …]
/llvm-project/clang/test/SemaCXX/
H A Dwarn-enum-compare.cpp79 …while (B1 == B2); // expected-warning {{comparison of different enumeration types ('name1::Baz' a… in test()
80 …while (name1::B2 == name2::B3); // expected-warning {{comparison of different enumeration types (… in test()
81 …while (z == name2::B2); // expected-warning {{comparison of different enumeration types ('Baz' an… in test()
83 …while (((((B1)))) == B2); // expected-warning {{comparison of different enumeration types ('name1… in test()
84 … (name2::B3)); // expected-warning {{comparison of different enumeration types ('name1::Baz' and … in test()
85 …while (z == ((((name2::B2))))); // expected-warning {{comparison of different enumeration types (… in test()
87 …while ((((B1))) == (((B2)))); // expected-warning {{comparison of different enumeration types ('n… in test()
88 …name2::B3)))); // expected-warning {{comparison of different enumeration types ('name1::Baz' and … in test()
89 …while ((((z))) == (name2::B2)); // expected-warning {{comparison of different enumeration types (… in test()
91 …while (x == a); // expected-warning {{comparison of different enumeration types ('Foo' and 'name1… in test()
[all …]
/llvm-project/llvm/utils/
H A Dllvm.grm200 Types
203 | Types OptAddrSpace ^ "*"
206 | Types "(" ^ ArgTypeListI ^ ")" OptFuncAttrs
208 | "[" ^ EUINT64VAL "x" Types ^ "]"
209 | "<" ^ EUINT64VAL "x" Types ^ ">"
216 ArgType ::= Types OptParamAttrs ;
218 ResultTypes ::= Types | void ;
224 TypeListI ::= Types | TypeListI ^ "," Types ;
226 ConstVal::= Types "[" ^ ConstVector ^ "]"
227 | Types "[" ^ "]"
[all …]
/llvm-project/clang/lib/Driver/
H A DTypes.cpp1 //===--- Types.cpp - Driver input & temporary type information ------------===//
9 #include "clang/Driver/Types.h"
18 using namespace clang::driver::types;
39 #include "clang/Driver/Types.def"
49 const char *types::getTypeName(ID Id) { in getInfo()
53 types::ID types::getPreprocessedType(ID Id) { in getTypeName()
70 types::ID types::getPrecompiledType(ID Id) { in isPreprocessedHeaderUnitType()
80 const char *types in getPrecompiledType()
[all...]
/llvm-project/libc/config/linux/
H A Dapi.td
/llvm-project/llvm/test/tools/llvm-objdump/MachO/
H A Dmacho-objc-meta-data.test28 OBJC2_64BIT_EXE: types 0x100001b48 v16@0:8
31 OBJC2_64BIT_EXE: types 0x100001b50 v24@0:8@16
70 OBJC2_64BIT_EXE: types 0x100001b50 v24@0:8@16
73 OBJC2_64BIT_EXE: types 0x100001b50 v24@0:8@16
152 OBJC2_64BIT_OBJ: types 0x102e v24@0:8@16
155 OBJC2_64BIT_OBJ: types 0x102e v24@0:8@16
233 OBJC2_32BIT_EXE: types 0x562b c16@0:4@8@12
236 OBJC2_32BIT_EXE: types 0x5608 v12@0:4@8
239 OBJC2_32BIT_EXE: types 0x5608 v12@0:4@8
242 OBJC2_32BIT_EXE: types 0x5608 v12@0:4@8
[all …]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dundefined-memory-manipulation.cpp13 namespace types { namespace
14 // TriviallyCopyable types:
33 // not TriviallyCopyable types:
59 } // end namespace types
61 void f(types::NoDef *s) { in f()
68 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: undefined behavior, destination object type 'types::Vi… in memset_temp()
74 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: undefined behavior, source object type 'types::Virtual… in memcpy_temp()
80 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: undefined behavior, source object type 'types::Virtual… in memmove_temp()
84 using Copy2 = types::Copy;
85 typedef types::Move Move2;
[all …]
/llvm-project/mlir/docs/Dialects/
H A DLLVM.md4 defining the corresponding operations and types. LLVM IR metadata is usually
136 not using built-in types, which are used for typed MLIR attributes. The syntax
157 [linkage types](https://llvm.org/docs/LangRef.html#linkage-types). Linkage is
193 ## Types section in 'llvm' Dialect
195 LLVM dialect uses built-in types whenever possible and defines a set of
196 complementary types, which correspond to the LLVM IR types that cannot be
197 directly represented with built-in types. Similarly to other MLIR context-owned
198 objects, the creation and manipulation of LLVM dialect types i
217 Built-in Type Compatibility'llvm' Dialect""Types global() argument
238 Additional Simple Types'llvm' Dialect""Types global() argument
257 Additional Parametric Types'llvm' Dialect""Types global() argument
262 Pointer Types'llvm' Dialect""Types""Additional Parametric Types global() argument
280 Array Types'llvm' Dialect""Types""Additional Parametric Types global() argument
295 Function Types'llvm' Dialect""Types""Additional Parametric Types global() argument
320 Vector Types'llvm' Dialect""Types global() argument
361 Examples of Compatible Vector Types'llvm' Dialect""Types""Vector Types global() argument
372 Structure Types'llvm' Dialect""Types global() argument
385 Identified Structure Types'llvm' Dialect""Types""Structure Types global() argument
418 Literal Structure Types'llvm' Dialect""Types""Structure Types global() argument
432 Examples of Structure Types'llvm' Dialect""Types""Structure Types global() argument
449 Unsupported Types'llvm' Dialect""Types global() argument
[all...]
/llvm-project/llvm/test/Assembler/
H A Ddisubroutinetype.ll13 ; CHECK: !4 = !DISubroutineType(types: !1)
14 ; CHECK: !5 = !DISubroutineType(types: !2)
15 ; CHECK: !6 = !DISubroutineType(types: !3)
16 ; CHECK: !7 = !DISubroutineType(flags: DIFlagLValueReference, types: !3)
17 !4 = !DISubroutineType(types: !1)
18 !5 = !DISubroutineType(types: !2)
19 !6 = !DISubroutineType(types: !3)
20 !7 = !DISubroutineType(flags: DIFlagLValueReference, types: !3)
22 ; CHECK: !8 = !DISubroutineType(types: null)
23 !8 = !DISubroutineType(types: null)
[all …]
/llvm-project/flang/test/Lower/HLFIR/
H A Dfunction-return-destroy.f903 module types module
33 end module types
36 use types
39 use types
50 use types
53 use types
70 use types
73 use types
86 use types
89 use types
[all …]
/llvm-project/libc/hdr/types/
H A DCMakeLists.txt8 libc.include.llvm-libc-types.div_t
19 libc.include.llvm-libc-types.ldiv_t
30 libc.include.llvm-libc-types.lldiv_t
39 libc.include.llvm-libc-types.sigset_t
47 libc.include.llvm-libc-types.struct_epoll_event
57 libc.include.llvm-libc-types.struct_flock
67 libc.include.llvm-libc-types.struct_flock64
77 libc.include.llvm-libc-types.struct_f_owner_ex
85 libc.include.llvm-libc-types.struct_timespec
93 libc.include.llvm-libc-types
[all...]
/llvm-project/clang/test/SemaObjC/
H A Dcomptypes-1.m40 …obj_c = obj_cp; // expected-warning {{incompatible pointer types assigning to 'MyClass *' from 'My…
41 …obj_c = obj_C; // expected-warning {{incompatible pointer types assigning to 'MyClass *' from 'Cl…
42 …obj_c = obj_CP; // expected-warning {{incompatible pointer types assigning to 'MyClass *' from 'Cl…
51 …obj_p = obj_C; // expected-warning {{incompatible pointer types assigning to 'id<MyProtocol>' fro…
58 …obj_cp = obj_c; // expected-warning {{incompatible pointer types assigning to 'MyOtherClass *' fr…
60 …obj_cp = obj_C; // expected-warning {{incompatible pointer types assigning to 'MyOtherClass *' fr…
61 …obj_cp = obj_CP; // expected-warning {{incompatible pointer types assigning to 'MyOtherClass *' fr…
64 …obj_C = obj_p; // expected-warning {{incompatible pointer types assigning to 'Class' from 'id<My…
65 …obj_C = obj_c; // expected-warning {{incompatible pointer types assigning to 'Class' from 'MyCla…
66 …obj_C = obj_cp; // expected-warning {{incompatible pointer types assigning to 'Class' from 'MyOth…
[all …]
/llvm-project/clang/test/SemaObjCXX/
H A Dcomptypes-1.mm40 …obj_c = obj_cp; // expected-error {{incompatible pointer types assigning to 'MyClass *' from 'MyOt…
41 …obj_c = obj_C; // expected-error {{incompatible pointer types assigning to 'MyClass *' from 'Clas…
42 …obj_c = obj_CP; // expected-error {{incompatible pointer types assigning to 'MyClass *' from 'Clas…
51 …obj_p = obj_C; // expected-error {{incompatible pointer types assigning to 'id<MyProtocol>' from …
58 …obj_cp = obj_c; // expected-error {{incompatible pointer types assigning to 'MyOtherClass *' from…
60 …obj_cp = obj_C; // expected-error {{incompatible pointer types assigning to 'MyOtherClass *' from…
61 …obj_cp = obj_CP; // expected-error {{incompatible pointer types assigning to 'MyOtherClass *' from…
64 …obj_C = obj_p; // expected-error {{incompatible pointer types assigning to 'Class' from 'id<MyPr…
65 …obj_C = obj_c; // expected-error {{incompatible pointer types assigning to 'Class' from 'MyClass…
66 …obj_C = obj_cp; // expected-error {{incompatible pointer types assigning to 'Class' from 'MyOther…
[all …]
/llvm-project/llvm/test/DebugInfo/PDB/DIA/
H A Dpdbdump-flags.test2 ; RUN: llvm-pdbutil pretty -types %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=TYPES
4 ; RUN: llvm-pdbutil pretty -types -compilands %p/../Inputs/empty.pdb | FileCheck %s -check-prefix=M…
10 ; NO_ARGS-NOT: ---TYPES---
15 ; Check that only types are dumped when only -types is specified.
16 ; TYPES: empty.pdb
17 ; TYPES: Guid: {4156350B-A086-49A2-896F-9988FAE52FF0}
18 ; TYPES: Attributes: HasPrivateSymbols
19 ; TYPES: ---TYPES---
20 ; TYPES-NOT: ---COMPILANDS---
21 ; TYPES-NOT: ---GLOBALS---
[all …]
/llvm-project/libcxx/test/support/test.support/
H A Dtype_algorithms.pass.cpp17 static_assert(std::is_same<types::concatenate_t<types::type_list<> >, types::type_list<> >::value, …
18 static_assert(std::is_same<types::concatenate_t<types::type_list<int> >, types::type_list<int> >::v…
20 …std::is_same<types::concatenate_t<types::type_list<int>, types::type_list<long> >, types::type_lis…
23 …std::is_same<types::concatenate_t<types::type_list<int>, types::type_list<long>, types::type_list<…
24 types::type_list<int, long, long long> >::value,
48 template <class... Types>
50 check_num(Types()...); in operator ()()
60 types::for_each(types::type_list<NumT<0>, NumT<1>, NumT<2> >(), ApplyAllTest(is_called_array)); in test_for_each()
/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp30 [=](const LegalityQuery &Query) { return Query.Types[TypeIdx] == Type; }; in typeIs()
36 SmallVector<LLT, 4> Types = TypesInit; in typeInSet() local
38 return llvm::is_contained(Types, Query.Types[TypeIdx]); in typeInSet()
45 SmallVector<std::pair<LLT, LLT>, 4> Types = TypesInit; in typePairInSet() local
47 std::pair<LLT, LLT> Match = {Query.Types[TypeIdx0], Query.Types[TypeIdx1]}; in typePairInSet()
48 return llvm::is_contained(Types, Match); in typePairInSet()
55 SmallVector<std::tuple<LLT, LLT, LLT>, 4> Types = TypesInit; in typePairAndMemDescInSet()
58 Query.Types[TypeIdx in typePairAndMemDescInSet()
[all...]
/llvm-project/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/
H A Dequal.pass.cpp21 // We test the cartesian product, so we sometimes compare differently signed types
95 types::for_each(TypeList(), Test<UnderlyingType, Iter1>()); in operator ()()
127types::for_each(types::cpp17_input_iterator_list<int*>(), TestIter2<int, types::cpp17_input_iterat… in test()
128 types::for_each( in test()
129types::cpp17_input_iterator_list<char*>(), TestIter2<char, types::cpp17_input_iterator_list<char*>… in test()
130 types::for_each(types::cpp17_input_iterator_list<AddressCompare*>(), in test()
131 TestIter2<AddressCompare, types::cpp17_input_iterator_list<AddressCompare*> >()); in test()
133 types::for_each(types::integral_types(), TestNarrowingEqualTo()); in test()
136 types::for_each( in test()
137 types::cpp17_input_iterator_list<trivially_equality_comparable*>{}, in test()
[all …]
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dswapped-arguments.rst7 It analyzes the types of the arguments being passed to a function and compares
8 them to the expected types of the corresponding parameters. If there is a
24 - Conversions from floating-point types to boolean or integral types
25 - Conversions from integral types to boolean or floating-point types
26 - Conversions from boolean to integer types or floating-point types
29 It is important to note that for most argument swaps, the types need to match
32 Implicit casts from other integral types are also accepted. Similarly, when
34 floating-point types are considered acceptable.
36 To avoid confusion, swaps where both swapped arguments are of integral types or
37 both are of floating-point types do not trigger the warning. In such cases, it's
[all …]
/llvm-project/lldb/test/API/functionalities/type_types/
H A DTestFindTypes.py2 Test the SBModule and SBTarget type lookup APIs to find multiple types.
15 We had issues where our declaration context when finding types was
45 types = api.FindTypes("a::Foo")
46 self.assertEqual(types.GetSize(), 1)
47 type_str0 = str(types.GetTypeAtIndex(0))
53 types = api.FindTypes("Foo")
54 self.assertEqual(types.GetSize(), 2)
55 type_str0 = str(types.GetTypeAtIndex(0))
56 type_str1 = str(types.GetTypeAtIndex(1))
57 # We don't know which order the types will come back as, so
[all …]
/llvm-project/llvm/test/tools/llvm-pdbutil/
H A Dregex-filter.test3 ; RUN: llvm-pdbutil pretty -module-syms -globals -types %p/Inputs/FilterTest.pdb \
6 ; RUN: llvm-pdbutil pretty -types -exclude-types="GlobalTypedef|NestedTypedef" \
11 ; RUN: llvm-pdbutil pretty -types -exclude-types="GlobalEnum|NestedEnum" \
16 ; RUN: llvm-pdbutil pretty -types -module-syms -globals -exclude-symbols="MemberVar|GlobalVar" \
18 ; RUN: llvm-pdbutil pretty -classes -exclude-types="FilterTestClass" \
22 ; RUN: llvm-pdbutil pretty -types -include-types="FilterTestClass" \
24 ; RUN: llvm-pdbutil pretty -types -module-syms -globals -include-symbols="[[:<:]](IntGlobalVar|Doub…
27 ; NO_FILTER: ---TYPES---
47 ; EXCLUDE_TYPEDEFS: ---TYPES---
54 ; EXCLUDE_ENUMS: ---TYPES---
[all …]
/llvm-project/clang/lib/Tooling/
H A DInterpolatingCompilationDatabase.cpp48 #include "clang/Driver/Types.h"
66 namespace types = clang::driver::types;
93 types::ID guessType(StringRef Filename, bool *Certain = nullptr) { in guessType()
96 types::lookupTypeForExtension(path::extension(Filename).substr(1)); in guessType()
98 *Certain = Lang != types::TY_CHeader && Lang != types::TY_INVALID; in guessType()
102 // Return Lang as one of the canonical supported types.
104 static types::ID foldType(types::ID Lang) { in foldType()
106 case types::TY_C: in foldType()
107 case types::TY_CHeader: in foldType()
108 return types::TY_C; in foldType()
[all …]

12345678910>>...304