| /llvm-project-15.0.7/clang/bindings/python/clang/ |
| H A D | cindex.py | 2032 TypeKind.VOID = TypeKind(2) 2033 TypeKind.BOOL = TypeKind(3) 2034 TypeKind.CHAR_U = TypeKind(4) 2035 TypeKind.UCHAR = TypeKind(5) 2036 TypeKind.CHAR16 = TypeKind(6) 2037 TypeKind.CHAR32 = TypeKind(7) 2038 TypeKind.USHORT = TypeKind(8) 2039 TypeKind.UINT = TypeKind(9) 2047 TypeKind.INT = TypeKind(17) 2048 TypeKind.LONG = TypeKind(18) [all …]
|
| /llvm-project-15.0.7/clang/bindings/python/tests/cindex/ |
| H A D | test_type.py | 11 from clang.cindex import TypeKind 53 self.assertEqual(fields[0].type.kind, TypeKind.INT) 61 self.assertEqual(fields[1].type.kind, TypeKind.TYPEDEF) 70 self.assertEqual(fields[2].type.kind, TypeKind.LONG) 78 self.assertEqual(fields[3].type.kind, TypeKind.ULONG) 86 self.assertEqual(fields[4].type.kind, TypeKind.LONG) 94 self.assertEqual(fields[5].type.kind, TypeKind.INT) 203 self.assertEqual(t0.kind, TypeKind.INT) 207 self.assertEqual(t1.kind, TypeKind.INT) 432 self.assertEqual(a.kind, TypeKind.INCOMPLETEARRAY) [all …]
|
| H A D | test_cursor.py | 14 from clang.cindex import TypeKind 81 self.assertEqual(s0_nodes[0].type.kind, TypeKind.INT) 84 self.assertEqual(s0_nodes[1].type.kind, TypeKind.INT) 317 self.assertEqual(underlying.kind, TypeKind.INT) 343 self.assertIn(enum_type.kind, (TypeKind.UINT, TypeKind.INT)) 351 self.assertEqual(enum.enum_type.kind, TypeKind.LONGLONG) 435 self.assertEqual(t.kind, TypeKind.INT) 447 self.assertEqual(result_type.kind, TypeKind.VOID) 532 self.assertEqual(foos[1].get_template_argument_type(1).kind, TypeKind.FLOAT)
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | FormatString.h | 278 enum class TypeKind { DontCare, SizeT, PtrdiffT }; enum 279 TypeKind TK = TypeKind::DontCare; 289 bool isSizeT() const { return TK == TypeKind::SizeT; } in isSizeT() 291 bool isPtrdiffT() const { return TK == TypeKind::PtrdiffT; } in isPtrdiffT() 304 Res.TK = TypeKind::SizeT; in makeSizeT() 312 Res.TK = TypeKind::PtrdiffT; in makePtrdiffT()
|
| /llvm-project-15.0.7/llvm/bindings/go/llvm/ |
| H A D | string.go | 17 func (t TypeKind) String() string { 67 k := t.TypeKind()
|
| H A D | ir.go | 70 TypeKind C.LLVMTypeKind type 227 VoidTypeKind TypeKind = C.LLVMVoidTypeKind 228 FloatTypeKind TypeKind = C.LLVMFloatTypeKind 229 DoubleTypeKind TypeKind = C.LLVMDoubleTypeKind 231 FP128TypeKind TypeKind = C.LLVMFP128TypeKind 233 LabelTypeKind TypeKind = C.LLVMLabelTypeKind 236 StructTypeKind TypeKind = C.LLVMStructTypeKind 237 ArrayTypeKind TypeKind = C.LLVMArrayTypeKind 240 TokenTypeKind TypeKind = C.LLVMTokenTypeKind 241 VectorTypeKind TypeKind = C.LLVMVectorTypeKind [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/ubsan/ |
| H A D | ubsan_value.h | 85 u16 TypeKind; variable 113 return static_cast<Kind>(TypeKind); in getKind()
|
| /llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/internal/ |
| H A D | gmock-internal-utils.h | 117 enum TypeKind { 160 static_cast< ::testing::internal::TypeKind>( \ 175 template <TypeKind kFromKind, typename From, TypeKind kToKind, typename To>
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | MveEmitter.cpp | 100 enum class TypeKind { enum in __anondd1c47770111::Type 134 const TypeKind TKind; 137 Type(TypeKind K) : TKind(K) {} in Type() 140 TypeKind typeKind() const { return TKind; } in typeKind() 180 VoidType() : Type(TypeKind::Void) {} in VoidType() 218 return T->typeKind() == TypeKind::Pointer; in classof() 285 return T->typeKind() == TypeKind::Scalar; in classof() 309 return T->typeKind() == TypeKind::Vector; in classof() 338 return T->typeKind() == TypeKind::MultiVector; in classof() 347 : CRegularNamedType(TypeKind::Predicate), Lanes(Lanes) {} in PredicateType() [all …]
|
| H A D | NeonEmitter.cpp | 145 enum TypeKind { enum in __anonc6b5f5bf0111::Type 153 TypeKind Kind;
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | Dwarf.h | 151 enum TypeKind : uint8_t { enum 323 inline TypeKind getArrayIndexTypeEncoding(SourceLanguage S) { in getArrayIndexTypeEncoding() 619 unsigned AttributeEncodingVersion(TypeKind E); 633 unsigned AttributeEncodingVendor(TypeKind E);
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeRecordMapping.cpp | 233 assert(!TypeKind && "Already in a type mapping!"); in visitTypeBegin() 244 TypeKind = CVR.kind(); in visitTypeBegin() 265 assert(TypeKind && "Not in a type mapping!"); in visitTypeEnd() 270 TypeKind.reset(); in visitTypeEnd() 275 assert(TypeKind && "Not in a type mapping!"); in visitMemberBegin() 301 assert(TypeKind && "Not in a type mapping!"); in visitMemberEnd() 683 const bool IsFromOverloadList = (TypeKind == LF_METHODLIST); in visitKnownMember()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeRecordMapping.h | 49 Optional<TypeLeafKind> TypeKind;
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfCompileUnit.h | 140 BaseTypeRef(unsigned BitSize, dwarf::TypeKind Encoding) : in BaseTypeRef() 143 dwarf::TypeKind Encoding;
|
| H A D | DwarfExpression.cpp | 453 dwarf::TypeKind Encoding) { in getOrCreateBaseType() 591 dwarf::TypeKind Encoding = static_cast<dwarf::TypeKind>(Op->getArg(1)); in addExpression()
|
| H A D | DwarfExpression.h | 341 unsigned getOrCreateBaseType(unsigned BitSize, dwarf::TypeKind Encoding);
|
| H A D | CodeViewDebug.cpp | 1756 dwarf::TypeKind Kind; in lowerTypeBasic() 1759 Kind = static_cast<dwarf::TypeKind>(Ty->getEncoding()); in lowerTypeBasic()
|
| /llvm-project-15.0.7/llvm/bindings/python/llvm/ |
| H A D | core.py | 92 class TypeKind(LLVMEnumeration): class 98 super(TypeKind, self).__init__(name, value) 609 (TypeKind, enumerations.TypeKinds),
|
| /llvm-project-15.0.7/llvm/lib/BinaryFormat/ |
| H A D | Dwarf.cpp | 216 unsigned llvm::dwarf::AttributeEncodingVersion(dwarf::TypeKind ATE) { in AttributeEncodingVersion() 227 unsigned llvm::dwarf::AttributeEncodingVendor(dwarf::TypeKind ATE) { in AttributeEncodingVendor()
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/ |
| H A D | gtest-printers.h | 138 enum TypeKind { enum 153 template <typename T, TypeKind kTypeKind>
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 353 auto TypeKind = ASTNodeKind::getFromNodeKind<Type>(); in canConvertTo() local 356 if (From.isSame(TypeKind) && To.isSame(QualKind)) return true; in canConvertTo()
|
| /llvm-project-15.0.7/llvm/bindings/ocaml/llvm/ |
| H A D | llvm.ml | 27 module TypeKind = struct module 458 external classify_type : lltype -> TypeKind.t = "llvm_classify_type"
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExpr.cpp | 3078 uint16_t TypeKind = -1; in EmitCheckTypeDescriptor() local 3082 TypeKind = 0; in EmitCheckTypeDescriptor() 3086 TypeKind = 1; in EmitCheckTypeDescriptor() 3099 Builder.getInt16(TypeKind), Builder.getInt16(TypeInfo), in EmitCheckTypeDescriptor()
|
| H A D | CGDebugInfo.cpp | 635 llvm::dwarf::TypeKind Encoding; in CreateType() 893 llvm::dwarf::TypeKind Encoding = Ty->isUnsigned() in CreateType() 903 llvm::dwarf::TypeKind Encoding = llvm::dwarf::DW_ATE_complex_float; in CreateType()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | DebugInfoMetadata.cpp | 1723 dwarf::TypeKind TK = Signed ? dwarf::DW_ATE_signed : dwarf::DW_ATE_unsigned; in getExtOps()
|