| /NextBSD/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| HD | PPCELFObjectWriter.cpp | 32 unsigned Type) const override; 75 unsigned Type; in GetRelocType() local 85 Type = ELF::R_PPC_REL24; in GetRelocType() 88 Type = ELF::R_PPC_PLTREL24; in GetRelocType() 91 Type = ELF::R_PPC_LOCAL24PC; in GetRelocType() 97 Type = ELF::R_PPC_REL14; in GetRelocType() 103 Type = ELF::R_PPC_REL16; in GetRelocType() 106 Type = ELF::R_PPC_REL16_LO; in GetRelocType() 109 Type = ELF::R_PPC_REL16_HI; in GetRelocType() 112 Type = ELF::R_PPC_REL16_HA; in GetRelocType() [all …]
|
| /NextBSD/contrib/llvm/lib/IR/ |
| HD | Type.cpp | 26 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType() 45 Type *Type::getScalarType() { in getScalarType() 51 const Type *Type::getScalarType() const { in getScalarType() 58 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy() 65 bool Type::canLosslesslyBitCastTo(Type *Ty) const { in canLosslesslyBitCastTo() 80 if (Ty->getTypeID() == Type::X86_MMXTyID && in canLosslesslyBitCastTo() 85 if (this->getTypeID() == Type::X86_MMXTyID) in canLosslesslyBitCastTo() 102 bool Type::isEmptyTy() const { in isEmptyTy() 121 unsigned Type::getPrimitiveSizeInBits() const { in getPrimitiveSizeInBits() 123 case Type::HalfTyID: return 16; in getPrimitiveSizeInBits() [all …]
|
| HD | 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::f32: return Type::getFloatTy(Context); in getTypeForEVT() 195 case MVT::f64: return Type::getDoubleTy(Context); in getTypeForEVT() [all …]
|
| /NextBSD/contrib/llvm/include/llvm/IR/ |
| HD | DerivedTypes.h | 37 class IntegerType : public Type { 41 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType() 88 static inline bool classof(const Type *T) { in classof() 96 class FunctionType : public Type { 99 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs); 105 static FunctionType *get(Type *Result, 106 ArrayRef<Type*> Params, bool isVarArg); 110 static FunctionType *get(Type *Result, bool isVarArg); 114 static bool isValidReturnType(Type *RetTy); 118 static bool isValidArgumentType(Type *ArgTy); [all …]
|
| HD | Type.h | 45 class Type { 89 explicit Type(LLVMContext &C, TypeID tid) in Type() function 94 ~Type() = default; 118 Type * const *ContainedTys; 233 bool canLosslesslyBitCastTo(Type *Ty) const; 268 bool isSized(SmallPtrSetImpl<const Type*> *Visited = nullptr) const { 307 const Type *getScalarType() const LLVM_READONLY; 308 Type *getScalarType() LLVM_READONLY; 313 typedef Type * const *subtype_iterator; 316 ArrayRef<Type*> subtypes() const { in subtypes() [all …]
|
| HD | DataLayout.h | 37 class Type; variable 153 bool ABIAlign, Type *Ty) const; 158 unsigned getAlignment(Type *Ty, bool abi_or_pref) const; 338 unsigned getPointerTypeSizeInBits(Type *) const; 340 unsigned getPointerTypeSize(Type *Ty) const { in getPointerTypeSize() 365 uint64_t getTypeSizeInBits(Type *Ty) const; 371 uint64_t getTypeStoreSize(Type *Ty) const { in getTypeStoreSize() 379 uint64_t getTypeStoreSizeInBits(Type *Ty) const { in getTypeStoreSizeInBits() 388 uint64_t getTypeAllocSize(Type *Ty) const { in getTypeAllocSize() 398 uint64_t getTypeAllocSizeInBits(Type *Ty) const { in getTypeAllocSizeInBits() [all …]
|
| /NextBSD/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
| HD | ARMELFObjectWriter.cpp | 41 unsigned Type) const override; 53 unsigned Type) const { in needsRelocateWithSymbol() 57 switch (Type) { in needsRelocateWithSymbol() 81 unsigned Type = 0; in GetRelocTypeInner() local 91 Type = ELF::R_ARM_REL32; in GetRelocTypeInner() 96 Type = ELF::R_ARM_TLS_IE32; in GetRelocTypeInner() 99 Type = ELF::R_ARM_GOT_PREL; in GetRelocTypeInner() 107 Type = ELF::R_ARM_CALL; in GetRelocTypeInner() 110 Type = ELF::R_ARM_TLS_CALL; in GetRelocTypeInner() 113 Type = ELF::R_ARM_CALL; in GetRelocTypeInner() [all …]
|
| /NextBSD/contrib/llvm/include/llvm/Analysis/ |
| HD | TargetTransformInfo.h | 38 class Type; variable 131 unsigned getOperationCost(unsigned Opcode, Type *Ty, 132 Type *OpTy = nullptr) const; 167 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 168 ArrayRef<Type *> ParamTys) const; 173 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 307 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 315 bool isLegalMaskedStore(Type *DataType, int Consecutive) const; 316 bool isLegalMaskedLoad(Type *DataType, int Consecutive) const; 324 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, [all …]
|
| HD | TargetTransformInfoImpl.h | 45 unsigned getOperationCost(unsigned Opcode, Type *Ty, Type *OpTy) { in getOperationCost() 128 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() 129 ArrayRef<Type *> ParamTys) { in getIntrinsicCost() 202 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode() 210 bool isLegalMaskedStore(Type *DataType, int Consecutive) { return false; } in isLegalMaskedStore() 212 bool isLegalMaskedLoad(Type *DataType, int Consecutive) { return false; } in isLegalMaskedLoad() 214 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost() 223 bool isTruncateFree(Type *Ty1, Type *Ty2) { return false; } in isTruncateFree() 227 bool isTypeLegal(Type *Ty) { return false; } in isTypeLegal() 241 bool haveFastSqrt(Type *Ty) { return false; } in haveFastSqrt() [all …]
|
| /NextBSD/contrib/llvm/include/llvm/CodeGen/ |
| HD | MachineInstr.h | 370 bool hasProperty(unsigned MCFlag, QueryType Type = AnyInBundle) const { 372 if (Type == IgnoreBundle || !isBundled() || isBundledWithPred()) 376 return hasPropertyInBundle(1 << MCFlag, Type); 383 bool isVariadic(QueryType Type = IgnoreBundle) const { 384 return hasProperty(MCID::Variadic, Type); 389 bool hasOptionalDef(QueryType Type = IgnoreBundle) const { 390 return hasProperty(MCID::HasOptionalDef, Type); 395 bool isPseudo(QueryType Type = IgnoreBundle) const { 396 return hasProperty(MCID::Pseudo, Type); 399 bool isReturn(QueryType Type = AnyInBundle) const { [all …]
|
| /NextBSD/contrib/llvm/tools/llvm-pdbdump/ |
| HD | BuiltinDumper.cpp | 22 PDB_BuiltinType Type = Symbol.getBuiltinType(); in start() local 23 switch (Type) { in start() 26 WithColor(Printer, PDB_ColorItem::Type).get() << "float"; in start() 28 WithColor(Printer, PDB_ColorItem::Type).get() << "double"; in start() 31 WithColor(Printer, PDB_ColorItem::Type).get() << "unsigned"; in start() 33 WithColor(Printer, PDB_ColorItem::Type).get() << " __int64"; in start() 37 WithColor(Printer, PDB_ColorItem::Type).get() << "int"; in start() 39 WithColor(Printer, PDB_ColorItem::Type).get() << "__int64"; in start() 42 WithColor(Printer, PDB_ColorItem::Type).get() << "char"; in start() 45 WithColor(Printer, PDB_ColorItem::Type).get() << "wchar_t"; in start() [all …]
|
| /NextBSD/contrib/llvm/include/llvm/MC/ |
| HD | MCELFObjectWriter.h | 31 unsigned Type; // The type of the relocation. member 34 ELFRelocationEntry(uint64_t Offset, const MCSymbolELF *Symbol, unsigned Type, in ELFRelocationEntry() 36 : Offset(Offset), Symbol(Symbol), Type(Type), Addend(Addend) {} in ELFRelocationEntry() 73 unsigned Type) const; 99 uint8_t getRType(uint32_t Type) const { in getRType() argument 100 return (unsigned)((Type >> R_TYPE_SHIFT) & 0xff); in getRType() 102 uint8_t getRType2(uint32_t Type) const { in getRType2() argument 103 return (unsigned)((Type >> R_TYPE2_SHIFT) & 0xff); in getRType2() 105 uint8_t getRType3(uint32_t Type) const { in getRType3() argument 106 return (unsigned)((Type >> R_TYPE3_SHIFT) & 0xff); in getRType3() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | TypeNodes.def | 1 //===-- TypeNodes.def - Metadata about Type AST nodes -----------*- C++ -*-===// 12 // base class (e.g., "Type" or "TagType"). Depending on where in the 62 TYPE(Builtin, Type) 63 TYPE(Complex, Type) 64 TYPE(Pointer, Type) 65 TYPE(BlockPointer, Type) 66 ABSTRACT_TYPE(Reference, Type) 69 TYPE(MemberPointer, Type) 70 ABSTRACT_TYPE(Array, Type) 75 DEPENDENT_TYPE(DependentSizedExtVector, Type) [all …]
|
| HD | Type.h | 41 class Type; variable 50 class PointerLikeTypeTraits< ::clang::Type*> { 52 static inline void *getAsVoidPointer(::clang::Type *P) { return P; } in getAsVoidPointer() 53 static inline ::clang::Type *getFromVoidPointer(void *P) { in getFromVoidPointer() 54 return static_cast< ::clang::Type*>(P); in getFromVoidPointer() 102 typedef CanQual<Type> CanQualType; 105 #define TYPE(Class, Base) class Class##Type; 513 const Type *Ty; 519 SplitQualType(const Type *ty, Qualifiers qs) : Ty(ty), Quals(qs) {} 524 std::pair<const Type *,Qualifiers> asPair() const { [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Symbol/ |
| HD | ClangASTType.cpp | 61 const clang::Type::TypeClass type_class = qual_type->getTypeClass(); in GetCompleteQualType() 64 case clang::Type::ConstantArray: in GetCompleteQualType() 65 case clang::Type::IncompleteArray: in GetCompleteQualType() 66 case clang::Type::VariableArray: in GetCompleteQualType() 75 case clang::Type::Record: in GetCompleteQualType() 76 case clang::Type::Enum: in GetCompleteQualType() 109 case clang::Type::ObjCObject: in GetCompleteQualType() 110 case clang::Type::ObjCInterface: in GetCompleteQualType() 144 case clang::Type::Typedef: in GetCompleteQualType() 147 case clang::Type::Elaborated: in GetCompleteQualType() [all …]
|
| /NextBSD/contrib/llvm/lib/Target/Mips/MCTargetDesc/ |
| HD | MipsELFObjectWriter.cpp | 50 unsigned Type) const override; 113 unsigned Type = (unsigned)ELF::R_MIPS_NONE; in GetRelocType() local 114 Type = setRType((unsigned)ELF::R_MIPS_GPREL32, Type); in GetRelocType() 115 Type = setRType2((unsigned)ELF::R_MIPS_64, Type); in GetRelocType() 116 Type = setRType3((unsigned)ELF::R_MIPS_NONE, Type); in GetRelocType() 117 return Type; in GetRelocType() 154 unsigned Type = (unsigned)ELF::R_MIPS_NONE; in GetRelocType() local 155 Type = setRType((unsigned)ELF::R_MIPS_GPREL16, Type); in GetRelocType() 156 Type = setRType2((unsigned)ELF::R_MIPS_SUB, Type); in GetRelocType() 157 Type = setRType3((unsigned)ELF::R_MIPS_HI16, Type); in GetRelocType() [all …]
|
| /NextBSD/sys/contrib/dev/acpica/components/executer/ |
| HD | 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() 312 StackDesc, StackDesc->Common.Type)); in AcpiExResolveObjectToValue() 356 ACPI_OBJECT_TYPE Type; in AcpiExResolveMultiple() local 369 Type = ObjDesc->Common.Type; in AcpiExResolveMultiple() 374 Type = ((ACPI_NAMESPACE_NODE *) ObjDesc)->Type; in AcpiExResolveMultiple() 379 if (Type == ACPI_TYPE_LOCAL_ALIAS) in AcpiExResolveMultiple() 381 Type = ((ACPI_NAMESPACE_NODE *) ObjDesc)->Type; in AcpiExResolveMultiple() 400 if (Type != ACPI_TYPE_LOCAL_REFERENCE) in AcpiExResolveMultiple() [all …]
|
| /NextBSD/contrib/llvm/lib/Target/X86/MCTargetDesc/ |
| HD | X86ELFObjectWriter.cpp | 79 X86_64RelType Type, bool IsPCRel) { in getRelocType64() argument 84 switch (Type) { in getRelocType64() 97 switch (Type) { in getRelocType64() 108 assert(Type == RT64_64); in getRelocType64() 113 switch (Type) { in getRelocType64() 125 switch (Type) { in getRelocType64() 137 switch (Type) { in getRelocType64() 148 assert(Type == RT64_32); in getRelocType64() 151 assert(Type == RT64_32); in getRelocType64() 154 assert(Type == RT64_32); in getRelocType64() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CodeGenTypes.cpp | 84 llvm::Type *CodeGenTypes::ConvertTypeForMem(QualType T) { in ConvertTypeForMem() 85 llvm::Type *R = ConvertType(T); in ConvertTypeForMem() 99 bool CodeGenTypes::isRecordLayoutComplete(const Type *Ty) const { in isRecordLayoutComplete() 100 llvm::DenseMap<const Type*, llvm::StructType *>::const_iterator I = in isRecordLayoutComplete() 121 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert() 276 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext, in getTypeForFormat() 281 return llvm::Type::getHalfTy(VMContext); in getTypeForFormat() 283 return llvm::Type::getInt16Ty(VMContext); in getTypeForFormat() 286 return llvm::Type::getFloatTy(VMContext); in getTypeForFormat() 288 return llvm::Type::getDoubleTy(VMContext); in getTypeForFormat() [all …]
|
| /NextBSD/contrib/llvm/lib/Analysis/ |
| HD | TargetTransformInfo.cpp | 49 unsigned TargetTransformInfo::getOperationCost(unsigned Opcode, Type *Ty, in getOperationCost() 50 Type *OpTy) const { in getOperationCost() 66 TargetTransformInfo::getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() 100 bool TargetTransformInfo::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, in isLegalAddressingMode() 109 bool TargetTransformInfo::isLegalMaskedStore(Type *DataType, in isLegalMaskedStore() 114 bool TargetTransformInfo::isLegalMaskedLoad(Type *DataType, in isLegalMaskedLoad() 119 int TargetTransformInfo::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, in getScalingFactorCost() 128 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() 136 bool TargetTransformInfo::isTypeLegal(Type *Ty) const { in isTypeLegal() 161 bool TargetTransformInfo::haveFastSqrt(Type *Ty) const { in haveFastSqrt() [all …]
|
| /NextBSD/contrib/compiler-rt/lib/asan/tests/ |
| HD | asan_asm_test.cc | 35 #define DECLARE_ASM_WRITE(Type, Size, Mov, Reg) \ argument 36 template<> void asm_write<Type>(Type *ptr, Type val) { \ 45 #define DECLARE_ASM_READ(Type, Size, Mov, Reg) \ argument 46 template<> Type asm_read<Type>(Type *ptr) { \ 47 Type res; \ 57 #define DECLARE_ASM_REP_MOVS(Type, Movs) \ argument 58 template <> void asm_rep_movs<Type>(Type * dst, Type * src, size_t size) { \ 77 #define DECLARE_ASM_WRITE(Type, Size, Mov, Reg) \ argument 78 template<> void asm_write<Type>(Type *ptr, Type val) { \ 87 #define DECLARE_ASM_READ(Type, Size, Mov, Reg) \ argument [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | Type.cpp | 47 const Type* ty = getTypePtr(); in getBaseTypeIdentifier() 55 else if (ty->getTypeClass() == Type::Typedef) in getBaseTypeIdentifier() 153 : Type(DependentSizedExtVector, can, /*Dependent=*/true, in DependentSizedExtVectorType() 177 : Type(tc, canonType, vecType->isDependentType(), in VectorType() 190 const Type *Type::getArrayElementTypeNoTypeQual() const { in getArrayElementTypeNoTypeQual() 223 QualType Type::getLocallyUnqualifiedSingleStepDesugaredType() const { in getLocallyUnqualifiedSingleStepDesugaredType() 227 case Type::Class: { \ in getLocallyUnqualifiedSingleStepDesugaredType() 228 const Class##Type *ty = cast<Class##Type>(this); \ in getLocallyUnqualifiedSingleStepDesugaredType() 242 const Type *CurTy = Qs.strip(Cur); in getSplitDesugaredType() 246 case Type::Class: { \ in getSplitDesugaredType() [all …]
|
| /NextBSD/contrib/llvm/lib/Target/X86/ |
| HD | X86TargetTransformInfo.h | 36 unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract); 66 unsigned Opcode, Type *Ty, 71 unsigned getShuffleCost(TTI::ShuffleKind Kind, Type *Tp, int Index, 72 Type *SubTp); 73 unsigned getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src); 74 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy); 75 unsigned getVectorInstrCost(unsigned Opcode, Type *Val, unsigned Index); 76 unsigned getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, 78 unsigned getMaskedMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, 81 unsigned getAddressComputationCost(Type *PtrTy, bool IsComplex); [all …]
|
| /NextBSD/sys/contrib/dev/acpica/components/utilities/ |
| HD | utprint.c | 81 UINT8 Type); 303 UINT8 Type) in AcpiUtFormatNumber() argument 321 if (Type & ACPI_FORMAT_LEFT) in AcpiUtFormatNumber() 323 Type &= ~ACPI_FORMAT_ZERO; in AcpiUtFormatNumber() 326 NeedPrefix = ((Type & ACPI_FORMAT_PREFIX) && Base != 10) ? TRUE : FALSE; in AcpiUtFormatNumber() 327 Upper = (Type & ACPI_FORMAT_UPPER) ? TRUE : FALSE; in AcpiUtFormatNumber() 328 Zero = (Type & ACPI_FORMAT_ZERO) ? '0' : ' '; in AcpiUtFormatNumber() 333 if (Type & ACPI_FORMAT_SIGN) in AcpiUtFormatNumber() 341 else if (Type & ACPI_FORMAT_SIGN_PLUS) in AcpiUtFormatNumber() 346 else if (Type & ACPI_FORMAT_SIGN_PLUS_SPACE) in AcpiUtFormatNumber() [all …]
|
| /NextBSD/contrib/compiler-rt/lib/sanitizer_common/tests/ |
| HD | sanitizer_atomic_test.cc | 20 typename T::Type magic0; 22 typename T::Type magic1; 32 typedef typename T::Type Type; in CheckStoreLoad() typedef 37 val.magic0 = val.magic1 = (Type)-3; in CheckStoreLoad() 44 val.a.val_dont_use = (Type)v; in CheckStoreLoad() 45 EXPECT_EQ(atomic_load(&val.a, load_mo), (Type)v); in CheckStoreLoad() 46 val.a.val_dont_use = (Type)-1; in CheckStoreLoad() 47 atomic_store(&val.a, (Type)v, store_mo); in CheckStoreLoad() 48 EXPECT_EQ(val.a.val_dont_use, (Type)v); in CheckStoreLoad() 50 EXPECT_EQ(val.magic0, (Type)-3); in CheckStoreLoad() [all …]
|