| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Types.cpp | 56 types::ID types::getPreprocessedType(ID Id) { in getPreprocessedType() 73 types::ID types::getPrecompiledType(ID Id) { in getPrecompiledType() 293 types::ID types::lookupTypeForExtension(llvm::StringRef Ext) { in lookupTypeForExtension() 359 types::ID types::lookupTypeForTypeSpecifier(const char *Name) { in lookupTypeForTypeSpecifier() 361 types::ID Id = (types::ID) (i + 1); in lookupTypeForTypeSpecifier() 395 case types::TY_C: in lookupCXXTypeForCType() 397 case types::TY_PP_C: in lookupCXXTypeForCType() 412 case types::TY_C: in lookupHeaderTypeForSourceType() 414 case types::TY_CXX: in lookupHeaderTypeForSourceType() 417 case types::TY_ObjC: in lookupHeaderTypeForSourceType() [all …]
|
| H A D | Action.cpp | 322 JobAction::JobAction(ActionClass Kind, Action *Input, types::ID Type) in JobAction() 339 types::ID OutputType) in PrecompileJobAction() 347 Action *Input, types::ID OutputType, const char *ModuleName) in HeaderModulePrecompileJobAction() 388 LinkJobAction::LinkJobAction(ActionList &Inputs, types::ID Type) in LinkJobAction() 393 LipoJobAction::LipoJobAction(ActionList &Inputs, types::ID Type) in LipoJobAction() 404 types::ID Type) in VerifyJobAction() 413 types::ID Type) in VerifyDebugInfoJobAction() 418 VerifyPCHJobAction::VerifyPCHJobAction(Action *Input, types::ID Type) in VerifyPCHJobAction() 434 types::ID Type) in OffloadWrapperJobAction() 440 types::ID Type) in OffloadPackagerJobAction() [all …]
|
| H A D | Driver.cpp | 1540 if (types::getPreprocessedType(it->first) == types::TY_INVALID) { in generateCompilationDiagnostics() 2344 if (Ty == types::TY_CXXSHeader || Ty == types::TY_CXXUHeader || in DiagnoseInputExistence() 2433 types::ID InputType = types::TY_Nothing; in BuildInputs() 2473 types::ID Ty = types::TY_INVALID; in BuildInputs() 2552 if ((Ty == types::TY_CXXHeader || Ty == types::TY_CHeader) && in BuildInputs() 2813 auto Ty = IA->getType() == types::TY_HIP ? types::TY_HIP_DEVICE in addDeviceDepences() 3388 CompileDeviceOnly ? types::TY_HIP_FATBIN : types::TY_Object); in appendLinkDeviceActions() 4224 if (InputType == types::TY_IFS || InputType == types::TY_PP_Asm || in BuildActions() 4558 types::ID OutputTy; in ConstructPhaseAction() 4635 Args.hasArg(options::OPT_S) ? types::TY_LTO_IR : types::TY_LTO_BC; in ConstructPhaseAction() [all …]
|
| /llvm-project-15.0.7/libc/include/ |
| H A D | CMakeLists.txt | 2 add_subdirectory(llvm-libc-types) 24 .llvm-libc-types.DIR 25 .llvm-libc-types.ino_t 36 .llvm-libc-types.mode_t 45 .llvm-libc-types.fenv_t 65 .llvm-libc-types.float_t 82 .llvm-libc-types.size_t 91 .llvm-libc-types.time_t 102 .llvm-libc-types.cnd_t 103 .llvm-libc-types.mtx_t [all …]
|
| /llvm-project-15.0.7/llvm/test/Assembler/ |
| H A D | disubroutinetype.ll | 13 ; CHECK: !4 = !DISubroutineType(types: !1) 14 ; CHECK: !5 = !DISubroutineType(types: !2) 15 ; CHECK: !6 = !DISubroutineType(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) 25 ; CHECK: !9 = !DISubroutineType(cc: DW_CC_normal, types: null) [all …]
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | InterpolatingCompilationDatabase.cpp | 67 namespace types = clang::driver::types; 99 *Certain = Lang != types::TY_CHeader && Lang != types::TY_INVALID; in guessType() 105 static types::ID foldType(types::ID Lang) { in foldType() 107 case types::TY_C: in foldType() 109 return types::TY_C; in foldType() 110 case types::TY_ObjC: in foldType() 113 case types::TY_CXX: in foldType() 116 case types::TY_ObjCXX: in foldType() 119 case types::TY_CUDA: in foldType() 271 case types::TY_C: in toCLFlag() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | undefined-memory-manipulation.cpp | 13 namespace types { namespace 61 void f(types::NoDef *s) { in f() 90 types::Destruct d; in notTriviallyCopyable() 91 types::Copy c; in notTriviallyCopyable() 92 types::Move m; in notTriviallyCopyable() 93 types::VirtualFunc vf; in notTriviallyCopyable() 140 memcpy_temp<types::Plain, types::VirtualFunc>(&p, &vf); in notTriviallyCopyable() 141 memmove_temp<types::Plain, types::VirtualFunc>(&p, &vf); in notTriviallyCopyable() 165 types::Plain p; in triviallyCopyable() 166 types::Base base; in triviallyCopyable() [all …]
|
| /llvm-project-15.0.7/mlir/test/python/dialects/ |
| H A D | pdl_ops.py | 132 root = OperationOp(types=[ty1, ty2]) 155 root = OperationOp(types=[ty1, ty2]) 174 types = TypesOp() 175 root = OperationOp(types=[types]) 179 newOp = OperationOp(name="foo.op", types=[types, otherTypes]) 195 types = TypesOp() 196 operands = OperandsOp(types) 200 newOp = OperationOp(name="foo.op", types=[types]) 269 types = TypesOp() 270 inputOp = OperationOp(types=[types]) [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/ |
| H A D | macho-objc-meta-data.test | 254 OBJC2_32BIT_EXE: types 0x5d44 v8@0:4 257 OBJC2_32BIT_EXE: types 0x5c80 @8@0:4 355 OBJC2_32BIT_EXE: types 0x5d44 v8@0:4 358 OBJC2_32BIT_EXE: types 0x5d44 v8@0:4 361 OBJC2_32BIT_EXE: types 0x5d44 v8@0:4 385 OBJC2_32BIT_EXE: types 0x5d44 v8@0:4 388 OBJC2_32BIT_EXE: types 0x5c80 @8@0:4 394 OBJC2_32BIT_EXE: types 0x5c80 @8@0:4 456 OBJC2_32BIT_EXE: types 0x5d44 v8@0:4 459 OBJC2_32BIT_EXE: types 0x5d44 v8@0:4 [all …]
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | comptypes-1.m | 40 …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… 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… 95 …if (obj_c == obj_C) foo(); // expected-warning {{comparison of distinct pointer types ('MyClass *… [all …]
|
| H A D | warn-incompatible-builtin-types.m | 13 …[f foo:f]; // expected-warning {{incompatible pointer types sending 'Foo *' to parameter of type '… 14 c = f; // expected-warning {{incompatible pointer types assigning to 'Class' from 'Foo *'}} 24 s1 = i; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'id'}} 25 i = s1; // expected-warning {{incompatible pointer types assigning to 'id' from 'SEL'}} 29 s1 = c; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'Class'}} 31 c = s1; // expected-warning {{incompatible pointer types assigning to 'Class' from 'SEL'}} 35 f = c; // expected-warning {{incompatible pointer types assigning to 'Foo *' from 'Class'}} 37 f = s1; // expected-warning {{incompatible pointer types assigning to 'Foo *' from 'SEL'}} 41 s1 = f; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'Foo *'}}
|
| H A D | comptypes-7.m | 24 /* The incompatible pointer types should all generate warnings, while the 28 obj = j; // expected-warning {{incompatible pointer types assigning to 'id' from 'int *'}} 31 …obj_p = j; // expected-warning {{incompatible pointer types assigning to 'id<MyProtocol>' from 'in… 34 …obj_c = j; // expected-warning {{incompatible pointer types assigning to 'MyClass *' from 'int *'}} 37 obj_C = j; // expected-warning {{incompatible pointer types assigning to 'Class' from 'int *'}} 44 j = obj; // expected-warning {{incompatible pointer types assigning to 'int *' from 'id'}} 45 …j = obj_p; // expected-warning {{incompatible pointer types assigning to 'int *' from 'id<MyProtoc… 46 …j = obj_c; // expected-warning {{incompatible pointer types assigning to 'int *' from 'MyClass *'}} 47 j = obj_C; // expected-warning {{incompatible pointer types assigning to 'int *' from 'Class'}} 51 …if (obj == j) foo() ; // expected-warning {{comparison of distinct pointer types ('id' and 'int *'… [all …]
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | comptypes-1.mm | 40 …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… 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… 95 …if (obj_c == obj_C) foo(); // expected-warning {{comparison of distinct pointer types ('MyClass *… [all …]
|
| H A D | parameterized_classes_subst.mm | 114 …ip = [set firstObject]; // expected-error{{incompatible pointer types assigning to 'int *' from 'i… 115 …ip = [mutSet firstObject]; // expected-error{{incompatible pointer types assigning to 'int *' from… 117 …ip = [block firstObject]; // expected-error{{incompatible pointer types assigning to 'int *' from … 123 …ip = [NSSet alloc]; // expected-error{{incompatible pointer types assigning to 'int *' from 'NSSet… 174 …ip = set.allObjects; // expected-error{{incompatible pointer types assigning to 'int *' from 'NSAr… 223 ip = array[0]; // expected-error{{incompatible pointer types assigning to 'int *' from 'id'}} 225 ip = mutArray[0]; // expected-error{{incompatible pointer types assigning to 'int *' from 'id'}} 236 ip = dict[string]; // expected-error{{incompatible pointer types assigning to 'int *' from 'id'}} 238 …ip = mutDict[string]; // expected-error{{incompatible pointer types assigning to 'int *' from 'id'… 253 ip = array->data; // expected-error{{incompatible pointer types assigning to 'int *' from 'id *'}} [all …]
|
| H A D | comptypes-7.mm | 27 obj = j; // expected-error {{incompatible pointer types assigning to 'id' from 'int *'}} 30 …obj_p = j; // expected-error {{incompatible pointer types assigning to 'id<MyProtocol>' from 'int … 33 obj_c = j; // expected-error {{incompatible pointer types assigning to 'MyClass *' from 'int *'}} 36 obj_C = j; // expected-error {{incompatible pointer types assigning to 'Class' from 'int *'}} 43 j = obj; // expected-error {{incompatible pointer types assigning to 'int *' from 'id'}} 44 …j = obj_p; // expected-error {{incompatible pointer types assigning to 'int *' from 'id<MyProtocol… 45 j = obj_c; // expected-error {{incompatible pointer types assigning to 'int *' from 'MyClass *'}} 46 j = obj_C; // expected-error {{incompatible pointer types assigning to 'int *' from 'Class'}} 50 …if (obj == j) foo() ; // expected-error {{comparison of distinct pointer types ('id' and 'int *')}} 51 …if (j == obj) foo() ; // expected-error {{comparison of distinct pointer types ('int *' and 'id')}} [all …]
|
| H A D | nullability-pragmas.mm | 36 …ptr = f14(); // expected-error{{incompatible pointer types assigning to 'float *' from 'A * _Nonnu… 37 …ptr = [a method1:a]; // expected-error{{incompatible pointer types assigning to 'float *' from 'A … 38 …ptr = a.aProp; // expected-error{{incompatible pointer types assigning to 'float *' from 'A * _Non… 39 …ptr = global_int_ptr; // expected-error{{incompatible pointer types assigning to 'float *' from 'i… 40 …ptr = f15(); // expected-error{{incompatible pointer types assigning to 'float *' from 'int * _Nul… 41 …ptr = f16(); // expected-error{{incompatible pointer types assigning to 'float *' from 'A * _Null_… 42 …ptr = [a method2]; // expected-error{{incompatible pointer types assigning to 'float *' from 'A * … 44 ptr = aa->ivar1; // expected-error{{incompatible pointer types assigning to 'float *' from 'id'}} 45 …ptr = aa->ivar2; // expected-error{{incompatible pointer types assigning to 'float *' from 'id _No… 52 fp = [genC tee]; // expected-error{{incompatible pointer types assigning to 'float *' from 'C *'}} [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | Action.h | 106 types::ID Type; 136 Action(ActionClass Kind, Action *Input, types::ID Type) in Action() 149 types::ID getType() const { return Type; } in getType() 472 AnalyzeJobAction(Action *Input, types::ID OutputType); 483 MigrateJobAction(Action *Input, types::ID OutputType); 494 CompileJobAction(Action *Input, types::ID OutputType); 505 BackendJobAction(Action *Input, types::ID OutputType); 527 IfsMergeJobAction(ActionList &Inputs, types::ID Type); 538 LinkJobAction(ActionList &Inputs, types::ID Type); 549 LipoJobAction(ActionList &Inputs, types::ID Type); [all …]
|
| /llvm-project-15.0.7/mlir/python/mlir/dialects/ |
| H A D | _pdl_ops_ext.py | 128 types: Optional[Union[OpView, Operation, Value]] = None, 132 types = types if types is None else _get_value(types) 134 super().__init__(result, type=types, loc=loc, ip=ip) 144 types: Sequence[Union[OpView, Operation, Value]] = [], 156 types = _get_values(types) 158 … super().__init__(result, args, attributeValues, attributeNames, types, name=name, loc=loc, ip=ip) 271 types: Sequence[Union[TypeAttr, Type]] = [], 275 types = _get_array_attr([_get_type_attr(ty) for ty in types]) 276 types = None if not types else types 278 super().__init__(result, types=types, loc=loc, ip=ip)
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | Flang.cpp | 27 CmdArgs.push_back(types::getTypeName(Input.getType())); in addDashXForInput() 81 if (JA.getType() == types::TY_Nothing) { in ConstructJob() 83 } else if (JA.getType() == types::TY_AST) { in ConstructJob() 85 } else if (JA.getType() == types::TY_LLVM_IR || in ConstructJob() 86 JA.getType() == types::TY_LTO_IR) { in ConstructJob() 88 } else if (JA.getType() == types::TY_LLVM_BC || in ConstructJob() 89 JA.getType() == types::TY_LTO_BC) { in ConstructJob() 91 } else if (JA.getType() == types::TY_PP_Asm) { in ConstructJob() 103 types::ID InputType = Input.getType(); in ConstructJob() 107 if (types::getPreprocessedType(InputType) != types::TY_INVALID) in ConstructJob()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/ |
| H A D | MachVMRegion.cpp | 187 std::vector<std::string> types; in GetMemoryTypes() local 190 types.push_back("stack-guard"); in GetMemoryTypes() 192 types.push_back("stack"); in GetMemoryTypes() 197 types.push_back("malloc-guard"); in GetMemoryTypes() 199 types.push_back("malloc-reserved"); in GetMemoryTypes() 201 types.push_back("malloc-metadata"); in GetMemoryTypes() 212 types.push_back("heap"); in GetMemoryTypes() 214 types.push_back("malloc-tiny"); in GetMemoryTypes() 217 types.push_back("malloc-large"); in GetMemoryTypes() 220 types.push_back("malloc-small"); in GetMemoryTypes() [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-pdbutil/ |
| H A D | regex-filter.test | 3 ; 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… 80 ; Everything but types are displayed normally. But FilterTestClass is
|
| /llvm-project-15.0.7/llvm/test/MachineVerifier/ |
| H A D | test_g_addrspacecast.mir | 26 ; CHECK: Bad machine code: addrspacecast types must be pointers 29 ; CHECK: Bad machine code: addrspacecast types must be pointers 32 ; CHECK: Bad machine code: addrspacecast types must be pointers 35 ; CHECK: Bad machine code: addrspacecast types must be pointers 38 ; CHECK: Bad machine code: operand types must be all-vector or all-scalar 41 ; CHECK: Bad machine code: operand types must be all-vector or all-scalar 44 ; CHECK: Bad machine code: operand types must preserve number of vector elements 47 ; CHECK: Bad machine code: operand types must preserve number of vector elements
|
| /llvm-project-15.0.7/mlir/docs/Dialects/ |
| H A D | LLVM.md | 4 defining the corresponding operations and types. LLVM IR metadata is usually 155 [linkage types](https://llvm.org/docs/LangRef.html#linkage-types). Linkage is 190 complementary types, which correspond to the LLVM IR types that cannot be 214 dialect-compatible types_. The following types are compatible: 253 These types are parameterized by the types they contain, e.g., the pointee or 258 Pointer types specify an address in memory. 298 Function types are parameterized by the result type, the list of argument types 332 types, and provides additional types for fixed-sized vectors of LLVM dialect 333 types (`LLVMFixedVectorType`) and scalable vectors of any types 377 Structure types are represented in a single dedicated class [all …]
|
| /llvm-project-15.0.7/polly/lib/External/isl/imath/tests/gmp-compat-test/ |
| H A D | gendata.py | 166 types = api.params 167 if len(types) == 1: 169 elif len(types) == 2: 170 t1 = gen_list_for_type(types[0], api.is_write_only(0)) 171 t2 = gen_list_for_type(types[1], api.is_write_only(1)) 173 elif len(types) == 3: 174 t1 = gen_list_for_type(types[0], api.is_write_only(0)) 175 t2 = gen_list_for_type(types[1], api.is_write_only(1)) 176 t3 = gen_list_for_type(types[2], api.is_write_only(2)) 178 elif len(types) == 4: [all …]
|
| /llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/test/ |
| H A D | test_loader.py | 2 import types 91 m = types.ModuleType('m') 110 m = types.ModuleType('m') 121 m = types.ModuleType('m') 161 m = types.ModuleType('m') 187 m = types.ModuleType('m') 368 m = types.ModuleType('m') 382 m = types.ModuleType('m') 400 m = types.ModuleType('m') 417 m = types.ModuleType('m') [all …]
|