Home
last modified time | relevance | path

Searched refs:TypeKind (Results 1 – 25 of 28) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/clang/bindings/python/clang/
H A Dcindex.py1722 if underlying_type.kind == TypeKind.ENUM:
1724 if underlying_type.kind in (TypeKind.CHAR_U,
1725 TypeKind.UCHAR,
1726 TypeKind.CHAR16,
1727 TypeKind.CHAR32,
1728 TypeKind.USHORT,
1729 TypeKind.UINT,
1730 TypeKind.ULONG,
1731 TypeKind.ULONGLONG,
1732 TypeKind.UINT128):
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/bindings/python/tests/cindex/
H A Dtest_type.py11 from clang.cindex import TypeKind
53 self.assertEqual(fields[0].type.kind, TypeKind.INT)
54 self.assertEqual(fields[0].type.get_canonical().kind, TypeKind.INT)
61 self.assertEqual(fields[1].type.kind, TypeKind.TYPEDEF)
62 self.assertEqual(fields[1].type.get_canonical().kind, TypeKind.INT)
70 self.assertEqual(fields[2].type.kind, TypeKind.LONG)
71 self.assertEqual(fields[2].type.get_canonical().kind, TypeKind.LONG)
78 self.assertEqual(fields[3].type.kind, TypeKind.ULONG)
79 self.assertEqual(fields[3].type.get_canonical().kind, TypeKind.ULONG)
86 self.assertEqual(fields[4].type.kind, TypeKind.LONG)
[all …]
H A Dtest_cursor.py14 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)
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DFormatString.h278 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()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/go/llvm/
H A Dstring.go17 func (t TypeKind) String() string {
67 k := t.TypeKind()
H A Dir.go70 TypeKind C.LLVMTypeKind type
227 VoidTypeKind TypeKind = C.LLVMVoidTypeKind
228 FloatTypeKind TypeKind = C.LLVMFloatTypeKind
229 DoubleTypeKind TypeKind = C.LLVMDoubleTypeKind
230 X86_FP80TypeKind TypeKind = C.LLVMX86_FP80TypeKind
231 FP128TypeKind TypeKind = C.LLVMFP128TypeKind
232 PPC_FP128TypeKind TypeKind = C.LLVMPPC_FP128TypeKind
233 LabelTypeKind TypeKind = C.LLVMLabelTypeKind
234 IntegerTypeKind TypeKind = C.LLVMIntegerTypeKind
235 FunctionTypeKind TypeKind = C.LLVMFunctionTypeKind
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
H A Dubsan_value.h86 u16 TypeKind; variable
114 return static_cast<Kind>(TypeKind); in getKind()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/ubsan/
H A Dubsan_value.h85 u16 TypeKind; variable
113 return static_cast<Kind>(TypeKind); in getKind()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
H A Dubsan_value.h84 u16 TypeKind; variable
112 return static_cast<Kind>(TypeKind); in getKind()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h116 enum TypeKind {
159 static_cast< ::testing::internal::TypeKind>( \
174 template <TypeKind kFromKind, typename From, TypeKind kToKind, typename To>
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DMveEmitter.cpp100 enum class TypeKind { enum in __anone3a730d20111::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()
186 static bool classof(const Type *T) { return T->typeKind() == TypeKind::Void; } in classof()
196 : Type(TypeKind::Pointer), Pointee(Pointee), Const(Const) {} in PointerType()
217 return T->typeKind() == TypeKind::Pointer; in classof()
243 ScalarType(const Record *Record) : CRegularNamedType(TypeKind::Scalar) { in ScalarType()
284 return T->typeKind() == TypeKind::Scalar; in classof()
[all …]
H A DNeonEmitter.cpp145 enum TypeKind { enum in __anon9e9e0a7a0111::Type
153 TypeKind Kind;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp213 assert(!TypeKind.hasValue() && "Already in a type mapping!"); in visitTypeBegin()
224 TypeKind = CVR.kind(); in visitTypeBegin()
245 assert(TypeKind.hasValue() && "Not in a type mapping!"); in visitTypeEnd()
250 TypeKind.reset(); in visitTypeEnd()
255 assert(TypeKind.hasValue() && "Not in a type mapping!"); in visitMemberBegin()
281 assert(TypeKind.hasValue() && "Not in a type mapping!"); in visitMemberEnd()
663 const bool IsFromOverloadList = (TypeKind == LF_METHODLIST); in visitKnownMember()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
H A DDwarf.h150 enum TypeKind : uint8_t { enum
614 unsigned AttributeEncodingVersion(TypeKind E);
628 unsigned AttributeEncodingVendor(TypeKind E);
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecordMapping.h46 Optional<TypeLeafKind> TypeKind;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h138 BaseTypeRef(unsigned BitSize, dwarf::TypeKind Encoding) : in BaseTypeRef()
141 dwarf::TypeKind Encoding;
H A DDwarfExpression.cpp436 dwarf::TypeKind Encoding) { in getOrCreateBaseType()
575 dwarf::TypeKind Encoding = static_cast<dwarf::TypeKind>(Op->getArg(1)); in addExpression()
H A DDwarfExpression.h341 unsigned getOrCreateBaseType(unsigned BitSize, dwarf::TypeKind Encoding);
H A DCodeViewDebug.cpp1655 dwarf::TypeKind Kind; in lowerTypeBasic()
1658 Kind = static_cast<dwarf::TypeKind>(Ty->getEncoding()); in lowerTypeBasic()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/python/llvm/
H A Dcore.py92 class TypeKind(LLVMEnumeration): class
98 super(TypeKind, self).__init__(name, value)
609 (TypeKind, enumerations.TypeKinds),
/netbsd-src/external/apache2/llvm/dist/llvm/lib/BinaryFormat/
H A DDwarf.cpp216 unsigned llvm::dwarf::AttributeEncodingVersion(dwarf::TypeKind ATE) { in AttributeEncodingVersion()
227 unsigned llvm::dwarf::AttributeEncodingVendor(dwarf::TypeKind ATE) { in AttributeEncodingVendor()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-printers.h135 enum TypeKind { enum
150 template <typename T, TypeKind kTypeKind>
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp353 auto TypeKind = ASTNodeKind::getFromNodeKind<Type>(); in canConvertTo() local
356 if (From.isSame(TypeKind) && To.isSame(QualKind)) return true; in canConvertTo()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
H A Dllvm.ml27 module TypeKind = struct module
458 external classify_type : lltype -> TypeKind.t = "llvm_classify_type"
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExpr.cpp2989 uint16_t TypeKind = -1; in EmitCheckTypeDescriptor() local
2993 TypeKind = 0; in EmitCheckTypeDescriptor()
2997 TypeKind = 1; in EmitCheckTypeDescriptor()
3010 Builder.getInt16(TypeKind), Builder.getInt16(TypeInfo), in EmitCheckTypeDescriptor()

12