| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCELFObjectWriter.cpp | 32 unsigned Type) const override; 82 unsigned Type; in getRelocType() local 93 Type = ELF::R_PPC_REL24; in getRelocType() 96 Type = ELF::R_PPC_PLTREL24; in getRelocType() 99 Type = ELF::R_PPC_LOCAL24PC; in getRelocType() 102 Type = ELF::R_PPC64_REL24_NOTOC; in getRelocType() 108 Type = ELF::R_PPC_REL14; in getRelocType() 114 Type = ELF::R_PPC_REL16; in getRelocType() 117 Type = ELF::R_PPC_REL16_LO; in getRelocType() 120 Type = ELF::R_PPC_REL16_HI; in getRelocType() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | ValueTypes.cpp | 181 Type *EVT::getTypeForEVT(LLVMContext &Context) const { in getTypeForEVT() 186 case MVT::isVoid: return Type::getVoidTy(Context); in getTypeForEVT() 187 case MVT::i1: return Type::getInt1Ty(Context); in getTypeForEVT() 188 case MVT::i8: return Type::getInt8Ty(Context); in getTypeForEVT() 189 case MVT::i16: return Type::getInt16Ty(Context); in getTypeForEVT() 190 case MVT::i32: return Type::getInt32Ty(Context); in getTypeForEVT() 191 case MVT::i64: return Type::getInt64Ty(Context); in getTypeForEVT() 193 case MVT::f16: return Type::getHalfTy(Context); in getTypeForEVT() 194 case MVT::bf16: return Type::getBFloatTy(Context); in getTypeForEVT() 195 case MVT::f32: return Type::getFloatTy(Context); in getTypeForEVT() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | hash-traits.h | 25 template <typename Type> 28 static inline void remove (Type *p); 31 template <typename Type> 34 static inline void remove (const Type *p); 39 template <typename Type> 41 typed_free_remove <Type>::remove (Type *p) in remove() 46 template <typename Type> 48 typed_const_free_remove <Type>::remove (const Type *p) in remove() 50 free (const_cast <Type *> (p)); in remove() 55 template <typename Type> [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | mtype.h | 43 void semanticTypeInfo(Scope *sc, Type *t); 44 MATCH deduceType(RootObject *o, Scope *sc, Type *tparam, TemplateParameters *parameters, Objects *d… 132 class Type : public RootObject 146 Type *cto; // MODconst ? naked version of this type : const version 147 Type *ito; // MODimmutable ? naked version of this type : immutable version 148 …Type *sto; // MODshared ? naked version of this type : shared mutable vers… 149 …Type *scto; // MODshared | MODconst ? naked version of this type : shared const version 150 Type *wto; // MODwild ? naked version of this type : wild version 151 … Type *wcto; // MODwildconst ? naked version of this type : wild const version 152 … Type *swto; // MODshared | MODwild ? naked version of this type : shared wild version [all …]
|
| H A D | argtypes.c | 40 TypeTuple *toArgTypes(Type *t) in toArgTypes() 52 void visit(Type *) in toArgTypes() 59 result = new TypeTuple(Type::terror); in toArgTypes() 64 Type *t1 = NULL; in toArgTypes() 65 Type *t2 = NULL; in toArgTypes() 89 t1 = Type::tfloat32; in toArgTypes() 93 t1 = Type::tfloat64; in toArgTypes() 97 t1 = Type::tfloat80; in toArgTypes() 102 t1 = Type::tfloat64; in toArgTypes() 105 t1 = Type::tfloat64; in toArgTypes() [all …]
|
| H A D | mtype.c | 43 Expression *typeToExpression(Type *t); 45 Initializer *semantic(Initializer *init, Scope *sc, Type *t, NeedInterpret needInterpret); 52 ClassDeclaration *Type::dtypeinfo; 53 ClassDeclaration *Type::typeinfoclass; 54 ClassDeclaration *Type::typeinfointerface; 55 ClassDeclaration *Type::typeinfostruct; 56 ClassDeclaration *Type::typeinfopointer; 57 ClassDeclaration *Type::typeinfoarray; 58 ClassDeclaration *Type::typeinfostaticarray; 59 ClassDeclaration *Type::typeinfoassociativearray; [all …]
|
| /netbsd-src/external/lgpl3/gmp/dist/tests/cxx/ |
| H A D | t-ops2.h | 29 #define CHECK1(Type,a,fun) \ argument 30 ASSERT_ALWAYS(fun((Type)(a))==fun(a)) 33 #define CHECK_G(Type,a,b,op) \ argument 34 CHECK(Type,Type,a,b,op) 35 #define CHECK_UI(Type,a,b,op) \ argument 36 CHECK(Type,unsigned long,a,b,op); \ 37 CHECK(unsigned long,Type,a,b,op) 38 #define CHECK_SI(Type,a,b,op) \ argument 39 CHECK(Type,long,a,b,op); \ 40 CHECK(long,Type,a,b,op) [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | hash-traits.h | 25 template <typename Type> 28 static inline void remove (Type *p); 34 template <typename Type> 36 typed_free_remove <Type>::remove (Type *p) in remove() 43 template <typename Type> 46 static inline void remove (Type *p); 52 template <typename Type> 54 typed_delete_remove <Type>::remove (Type *p) in remove() 61 template <typename Type> 64 static inline void remove (Type &); [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | mtype.h | 42 void semanticTypeInfo(Scope *sc, Type *t); 44 Type *typeSemantic(Type *t, const Loc &loc, Scope *sc); 45 Type *merge(Type *type); 139 class Type : public ASTNode 150 Type *pto; // merged pointer to this type 151 Type *rto; // reference to this type 152 Type *arrayof; // array of this type 157 static Type *tvoid; 158 static Type *tint8; 159 static Type *tuns8; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | DerivedTypes.h | 40 class IntegerType : public Type { 44 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType() 67 return Type::getIntNTy(getContext(), 2 * getScalarSizeInBits()); in getExtendedType() 91 static bool classof(const Type *T) { in classof() 96 unsigned Type::getIntegerBitWidth() const { in getIntegerBitWidth() 102 class FunctionType : public Type { 103 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs); 110 static FunctionType *get(Type *Result, 111 ArrayRef<Type*> Params, bool isVarArg); 114 static FunctionType *get(Type *Result, bool isVarArg); [all …]
|
| H A D | Type.h | 46 class Type { 93 explicit Type(LLVMContext &C, TypeID tid) in Type() function 95 ~Type() = default; 113 Type * const *ContainedTys = nullptr; 243 bool canLosslesslyBitCastTo(Type *Ty) const; 272 bool isSized(SmallPtrSetImpl<Type*> *Visited = nullptr) const { 317 inline Type *getScalarType() const { in getScalarType() 320 return const_cast<Type *>(this); in getScalarType() 326 using subtype_iterator = Type * const *; 330 ArrayRef<Type*> subtypes() const { in subtypes() [all …]
|
| H A D | DataLayout.h | 188 Align getAlignment(Type *Ty, bool abi_or_pref) const; 396 bool isNonIntegralPointerType(Type *Ty) const { in isNonIntegralPointerType() 423 unsigned getPointerTypeSizeInBits(Type *) const; 427 unsigned getIndexTypeSizeInBits(Type *Ty) const; 429 unsigned getPointerTypeSize(Type *Ty) const { in getPointerTypeSize() 457 TypeSize getTypeSizeInBits(Type *Ty) const; 466 TypeSize getTypeStoreSize(Type *Ty) const { in getTypeStoreSize() 478 TypeSize getTypeStoreSizeInBits(Type *Ty) const { in getTypeStoreSizeInBits() 486 bool typeSizeEqualsStoreSize(Type *Ty) const { in typeSizeEqualsStoreSize() 498 TypeSize getTypeAllocSize(Type *Ty) const { in getTypeAllocSize() [all …]
|
| H A D | Constants.h | 59 explicit ConstantData(Type *Ty, ValueTy VT) : Constant(Ty, VT, nullptr, 0) {} in ConstantData() 92 static Constant *getTrue(Type *Ty); 93 static Constant *getFalse(Type *Ty); 94 static Constant *getBool(Type *Ty, bool V); 98 static Constant *get(Type *Ty, uint64_t V, bool IsSigned = false); 114 static Constant *getSigned(Type *Ty, int64_t V); 126 static Constant *get(Type *Ty, const APInt &V); 184 static bool isValueValidForType(Type *Ty, uint64_t V); 185 static bool isValueValidForType(Type *Ty, int64_t V); 260 ConstantFP(Type *Ty, const APFloat &V); [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/ |
| H A D | RelocationResolver.cpp | 26 static bool supportsX86_64(uint64_t Type) { in supportsX86_64() argument 27 switch (Type) { in supportsX86_64() 42 static uint64_t resolveX86_64(uint64_t Type, uint64_t Offset, uint64_t S, in resolveX86_64() argument 44 switch (Type) { in resolveX86_64() 62 static bool supportsAArch64(uint64_t Type) { in supportsAArch64() argument 63 switch (Type) { in supportsAArch64() 74 static uint64_t resolveAArch64(uint64_t Type, uint64_t Offset, uint64_t S, in resolveAArch64() argument 76 switch (Type) { in resolveAArch64() 90 static bool supportsBPF(uint64_t Type) { in supportsBPF() argument 91 switch (Type) { in supportsBPF() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Type.cpp | 39 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType() 59 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy() 63 bool Type::canLosslesslyBitCastTo(Type *Ty) const { in canLosslesslyBitCastTo() 105 bool Type::isEmptyTy() const { in isEmptyTy() 122 TypeSize Type::getPrimitiveSizeInBits() const { in getPrimitiveSizeInBits() 124 case Type::HalfTyID: return TypeSize::Fixed(16); in getPrimitiveSizeInBits() 125 case Type::BFloatTyID: return TypeSize::Fixed(16); in getPrimitiveSizeInBits() 126 case Type::FloatTyID: return TypeSize::Fixed(32); in getPrimitiveSizeInBits() 127 case Type::DoubleTyID: return TypeSize::Fixed(64); in getPrimitiveSizeInBits() 128 case Type::X86_FP80TyID: return TypeSize::Fixed(80); in getPrimitiveSizeInBits() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/ |
| H A D | runtime.cc | 73 static Type *libcall_types[LCT_END]; 84 static Type * 93 libcall_types[type] = Type::tvoid; in get_libcall_type() 97 libcall_types[type] = Type::tint8; in get_libcall_type() 101 libcall_types[type] = Type::tint32; in get_libcall_type() 105 libcall_types[type] = Type::tuns32; in get_libcall_type() 109 libcall_types[type] = Type::tbool; in get_libcall_type() 113 libcall_types[type] = Type::tdchar; in get_libcall_type() 117 libcall_types[type] = Type::tvoidptr; in get_libcall_type() 121 libcall_types[type] = Type::tstring; in get_libcall_type() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/Utils/ |
| H A D | WebAssemblyTypeUtilities.cpp | 19 Optional<wasm::ValType> WebAssembly::parseType(StringRef Type) { in parseType() argument 22 if (Type == "i32") in parseType() 24 if (Type == "i64") in parseType() 26 if (Type == "f32") in parseType() 28 if (Type == "f64") in parseType() 30 if (Type == "v128" || Type == "i8x16" || Type == "i16x8" || Type == "i32x4" || in parseType() 31 Type == "i64x2" || Type == "f32x4" || Type == "f64x2") in parseType() 33 if (Type == "funcref") in parseType() 35 if (Type == "externref") in parseType() 40 WebAssembly::HeapType WebAssembly::parseHeapType(StringRef Type) { in parseHeapType() argument [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/ |
| H A D | runtime.cc | 72 static Type *libcall_types[LCT_END]; 83 static Type * 92 libcall_types[type] = Type::tvoid; in get_libcall_type() 96 libcall_types[type] = Type::tint8; in get_libcall_type() 100 libcall_types[type] = Type::tint32; in get_libcall_type() 104 libcall_types[type] = Type::tuns32; in get_libcall_type() 108 libcall_types[type] = Type::tbool; in get_libcall_type() 112 libcall_types[type] = Type::tdchar; in get_libcall_type() 116 libcall_types[type] = Type::tvoidptr; in get_libcall_type() 120 libcall_types[type] = Type::tstring; in get_libcall_type() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 53 def Type : TypeNode<?, 1>; 54 def BuiltinType : TypeNode<Type>, LeafType; 55 def ComplexType : TypeNode<Type>; 56 def PointerType : TypeNode<Type>; 57 def BlockPointerType : TypeNode<Type>; 58 def ReferenceType : TypeNode<Type, 1>; 61 def MemberPointerType : TypeNode<Type>; 62 def ArrayType : TypeNode<Type, 1>; 67 def DependentSizedExtVectorType : TypeNode<Type>, AlwaysDependent; 68 def DependentAddressSpaceType : TypeNode<Type>, AlwaysDependent; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | Type.cpp | 74 const Type* ty = getTypePtr(); in getBaseTypeIdentifier() 82 else if (ty->getTypeClass() == Type::Typedef) in getBaseTypeIdentifier() 126 : Type(tc, can, in ArrayType() 227 : Type(DependentVector, CanonType, in DependentVectorType() 248 : Type(DependentSizedExtVector, can, in DependentSizedExtVectorType() 269 : Type(DependentAddressSpace, can, in DependentAddressSpaceType() 287 : Type(tc, canonType, in MatrixType() 336 : Type(tc, canonType, vecType->getDependence()), ElementType(vecType) { in VectorType() 342 : Type(ExtInt, QualType{}, TypeDependence::None), IsUnsigned(IsUnsigned), in ExtIntType() 347 : Type(DependentExtInt, QualType{}, in DependentExtIntType() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/ |
| H A D | MsgPackDocument.h | 33 Type Kind; 70 bool isMap() const { return getKind() == Type::Map; } in isMap() 71 bool isArray() const { return getKind() == Type::Array; } in isArray() 73 bool isString() const { return getKind() == Type::String; } in isString() 78 bool isEmpty() const { return !KindAndDoc || getKind() == Type::Empty; } in isEmpty() 79 Type getKind() const { return KindAndDoc->Kind; } in getKind() 83 assert(getKind() == Type::Int); in getInt() 88 assert(getKind() == Type::UInt); in getUInt() 93 assert(getKind() == Type::Boolean); in getBool() 98 assert(getKind() == Type::Float); in getFloat() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/BinaryFormat/ |
| H A D | MsgPackReader.cpp | 36 Obj.Kind = Type::Nil; in read() 39 Obj.Kind = Type::Boolean; in read() 43 Obj.Kind = Type::Boolean; in read() 47 Obj.Kind = Type::Int; in read() 50 Obj.Kind = Type::Int; in read() 53 Obj.Kind = Type::Int; in read() 56 Obj.Kind = Type::Int; in read() 59 Obj.Kind = Type::UInt; in read() 62 Obj.Kind = Type::UInt; in read() 65 Obj.Kind = Type::UInt; in read() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 61 class Type; variable 119 Type *RetTy = nullptr; 121 SmallVector<Type *, 4> ParamTys; 134 Intrinsic::ID Id, Type *RTy, ArrayRef<Type *> Tys, 138 IntrinsicCostAttributes(Intrinsic::ID Id, Type *RTy, 142 Intrinsic::ID Id, Type *RTy, ArrayRef<const Value *> Args, 143 ArrayRef<Type *> Tys, FastMathFlags Flags = FastMathFlags(), 149 Type *getReturnType() const { return RetTy; } in getReturnType() 153 const SmallVectorImpl<Type *> &getArgTypes() const { return ParamTys; } in getArgTypes() 268 getGEPCost(Type *PointeeType, const Value *Ptr, [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86ELFObjectWriter.cpp | 91 static void checkIs32(MCContext &Ctx, SMLoc Loc, X86_64RelType Type) { in checkIs32() argument 92 if (Type != RT64_32) in checkIs32() 97 static void checkIs64(MCContext &Ctx, SMLoc Loc, X86_64RelType Type) { in checkIs64() argument 98 if (Type != RT64_64) in checkIs64() 105 X86_64RelType Type, bool IsPCRel, in getRelocType64() argument 112 switch (Type) { in getRelocType64() 130 switch (Type) { in getRelocType64() 143 assert(Type == RT64_64); in getRelocType64() 148 switch (Type) { in getRelocType64() 162 switch (Type) { in getRelocType64() [all …]
|
| /netbsd-src/sys/external/bsd/acpica/dist/executer/ |
| H A D | exresolv.c | 167 switch (StackDesc->Common.Type) in AcpiExResolveObjectToValue() 269 if ((StackDesc->Reference.Node->Type == ACPI_TYPE_DEVICE) || in AcpiExResolveObjectToValue() 270 (StackDesc->Reference.Node->Type == ACPI_TYPE_THERMAL)) in AcpiExResolveObjectToValue() 314 StackDesc, StackDesc->Common.Type)); in AcpiExResolveObjectToValue() 358 ACPI_OBJECT_TYPE Type; in AcpiExResolveMultiple() local 371 Type = ObjDesc->Common.Type; in AcpiExResolveMultiple() 376 Type = ((ACPI_NAMESPACE_NODE *) ObjDesc)->Type; in AcpiExResolveMultiple() 381 if (Type == ACPI_TYPE_LOCAL_ALIAS) in AcpiExResolveMultiple() 383 Type = ((ACPI_NAMESPACE_NODE *) ObjDesc)->Type; in AcpiExResolveMultiple() 388 switch (Type) in AcpiExResolveMultiple() [all …]
|