| /llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
| H A D | reloc-types-aarch64.test | 7 # CHECK: Type: R_AARCH64_NONE (0) 8 # CHECK: Type: R_AARCH64_ABS64 (257) 9 # CHECK: Type: R_AARCH64_ABS32 (258) 10 # CHECK: Type: R_AARCH64_ABS16 (259) 11 # CHECK: Type: R_AARCH64_PREL64 (260) 12 # CHECK: Type: R_AARCH64_PREL32 (261) 13 # CHECK: Type: R_AARCH64_PREL16 (262) 14 # CHECK: Type: R_AARCH64_MOVW_UABS_G0 (263) 15 # CHECK: Type: R_AARCH64_MOVW_UABS_G0_NC (264) 16 # CHECK: Type [all...] |
| H A D | reloc-types-arm.test | 7 # CHECK: Type: R_ARM_NONE (0) 8 # CHECK: Type: R_ARM_PC24 (1) 9 # CHECK: Type: R_ARM_ABS32 (2) 10 # CHECK: Type: R_ARM_REL32 (3) 11 # CHECK: Type: R_ARM_LDR_PC_G0 (4) 12 # CHECK: Type: R_ARM_ABS16 (5) 13 # CHECK: Type: R_ARM_ABS12 (6) 14 # CHECK: Type: R_ARM_THM_ABS5 (7) 15 # CHECK: Type: R_ARM_ABS8 (8) 16 # CHECK: Type: R_ARM_SBREL32 (9) [all …]
|
| H A D | reloc-types-loongarch64.test | 7 # CHECK: Type: R_LARCH_NONE (0) 8 # CHECK: Type: R_LARCH_32 (1) 9 # CHECK: Type: R_LARCH_64 (2) 10 # CHECK: Type: R_LARCH_RELATIVE (3) 11 # CHECK: Type: R_LARCH_COPY (4) 12 # CHECK: Type: R_LARCH_JUMP_SLOT (5) 13 # CHECK: Type: R_LARCH_TLS_DTPMOD32 (6) 14 # CHECK: Type: R_LARCH_TLS_DTPMOD64 (7) 15 # CHECK: Type: R_LARCH_TLS_DTPREL32 (8) 16 # CHECK: Type: R_LARCH_TLS_DTPREL64 (9) [all …]
|
| H A D | reloc-types-ppc64.test | 7 # CHECK: Type: R_PPC64_NONE (0) 8 # CHECK: Type: R_PPC64_ADDR32 (1) 9 # CHECK: Type: R_PPC64_ADDR24 (2) 10 # CHECK: Type: R_PPC64_ADDR16 (3) 11 # CHECK: Type: R_PPC64_ADDR16_LO (4) 12 # CHECK: Type: R_PPC64_ADDR16_HI (5) 13 # CHECK: Type: R_PPC64_ADDR16_HA (6) 14 # CHECK: Type: R_PPC64_ADDR14 (7) 15 # CHECK: Type: R_PPC64_ADDR14_BRTAKEN (8) 16 # CHECK: Type: R_PPC64_ADDR14_BRNTAKEN (9) [all …]
|
| H A D | reloc-types-ppc.test | 7 # CHECK: Type: R_PPC_NONE (0) 8 # CHECK: Type: R_PPC_ADDR32 (1) 9 # CHECK: Type: R_PPC_ADDR24 (2) 10 # CHECK: Type: R_PPC_ADDR16 (3) 11 # CHECK: Type: R_PPC_ADDR16_LO (4) 12 # CHECK: Type: R_PPC_ADDR16_HI (5) 13 # CHECK: Type: R_PPC_ADDR16_HA (6) 14 # CHECK: Type: R_PPC_ADDR14 (7) 15 # CHECK: Type: R_PPC_ADDR14_BRTAKEN (8) 16 # CHECK: Type: R_PPC_ADDR14_BRNTAKEN (9) [all …]
|
| H A D | reloc-types-mips.test | 7 # CHECK: Type: R_MIPS_NONE (0) 8 # CHECK: Type: R_MIPS_16 (1) 9 # CHECK: Type: R_MIPS_32 (2) 10 # CHECK: Type: R_MIPS_REL32 (3) 11 # CHECK: Type: R_MIPS_26 (4) 12 # CHECK: Type: R_MIPS_HI16 (5) 13 # CHECK: Type: R_MIPS_LO16 (6) 14 # CHECK: Type: R_MIPS_GPREL16 (7) 15 # CHECK: Type: R_MIPS_LITERAL (8) 16 # CHECK: Type: R_MIPS_GOT16 (9) [all …]
|
| H A D | reloc-types-mips64.test | 7 # CHECK: Type: R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE (0) 8 # CHECK: Type: R_MIPS_16/R_MIPS_16/R_MIPS_16 (65793) 9 # CHECK: Type: R_MIPS_32/R_MIPS_32/R_MIPS_32 (131586) 10 # CHECK: Type: R_MIPS_REL32/R_MIPS_REL32/R_MIPS_REL32 (197379) 11 # CHECK: Type: R_MIPS_26/R_MIPS_26/R_MIPS_26 (263172) 12 # CHECK: Type: R_MIPS_HI16/R_MIPS_HI16/R_MIPS_HI16 (328965) 13 # CHECK: Type: R_MIPS_LO16/R_MIPS_LO16/R_MIPS_LO16 (394758) 14 # CHECK: Type: R_MIPS_GPREL16/R_MIPS_GPREL16/R_MIPS_GPREL16 (460551) 15 # CHECK: Type: R_MIPS_LITERAL/R_MIPS_LITERAL/R_MIPS_LITERAL (526344) 16 # CHECK: Type: R_MIPS_GOT16/R_MIPS_GOT16/R_MIPS_GOT16 (592137) [all …]
|
| H A D | reloc-types-x64.test | 8 # LLVM: Type: R_X86_64_NONE (0) 9 # LLVM: Type: R_X86_64_64 (1) 10 # LLVM: Type: R_X86_64_PC32 (2) 11 # LLVM: Type: R_X86_64_GOT32 (3) 12 # LLVM: Type: R_X86_64_PLT32 (4) 13 # LLVM: Type: R_X86_64_COPY (5) 14 # LLVM: Type: R_X86_64_GLOB_DAT (6) 15 # LLVM: Type: R_X86_64_JUMP_SLOT (7) 16 # LLVM: Type: R_X86_64_RELATIVE (8) 17 # LLVM: Type: R_X86_64_GOTPCREL (9) [all …]
|
| H A D | section-types.test | 9 # LLVM: Type: SHT_NULL 11 # LLVM: Type: SHT_PROGBITS 13 # LLVM: Type: SHT_RELA 15 # LLVM: Type: SHT_HASH 17 # LLVM: Type: SHT_DYNAMIC 19 # LLVM: Type: SHT_NOTE 21 # LLVM: Type: SHT_NOBITS 23 # LLVM: Type: SHT_REL 25 # LLVM: Type: SHT_SHLIB 27 # LLVM: Type: SHT_DYNSYM [all …]
|
| H A D | reloc-types-i386.test | 8 # LLVM: Type: R_386_NONE (0) 9 # LLVM: Type: R_386_32 (1) 10 # LLVM: Type: R_386_PC32 (2) 11 # LLVM: Type: R_386_GOT32 (3) 12 # LLVM: Type: R_386_PLT32 (4) 13 # LLVM: Type: R_386_COPY (5) 14 # LLVM: Type: R_386_GLOB_DAT (6) 15 # LLVM: Type: R_386_JUMP_SLOT (7) 16 # LLVM: Type: R_386_RELATIVE (8) 17 # LLVM: Type: R_386_GOTOFF (9) [all …]
|
| H A D | reloc-types-xtensa.test | 67 Type: ET_REL 71 Type: SHT_RELA 74 Type: R_XTENSA_NONE 76 Type: R_XTENSA_32 78 Type: R_XTENSA_RTLD 80 Type: R_XTENSA_GLOB_DAT 82 Type: R_XTENSA_JMP_SLOT 84 Type: R_XTENSA_RELATIVE 86 Type: R_XTENSA_PLT 88 Type: R_XTENSA_OP0 [all …]
|
| /llvm-project/libcxx/test/std/utilities/any/any.nonmembers/any.cast/ |
| H A D | any_cast_reference.pass.cpp | 62 template <class Type, class ConstT = Type> 67 TEST_IGNORE_NODISCARD std::any_cast<Type>(a); in checkThrows() 86 std::is_lvalue_reference<Type>::value, in checkThrows() 87 typename std::remove_reference<Type>::type&&, in checkThrows() 88 Type in checkThrows() 109 template <class Type> 111 assert(Type::count == 0); in test_cast_to_reference() 112 Type::reset(); in test_cast_to_reference() 114 std::any a = Type(42); in test_cast_to_reference() 116 assert(Type::count == 1); in test_cast_to_reference() [all …]
|
| /llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCELFObjectWriter.cpp | 31 unsigned Type) const override; 81 unsigned Type; in getRelocType() 92 Type = ELF::R_PPC_REL24; in getRelocType() 95 Type = ELF::R_PPC_PLTREL24; in getRelocType() 98 Type = ELF::R_PPC_LOCAL24PC; in getRelocType() 101 Type = ELF::R_PPC64_REL24_NOTOC; in getRelocType() 107 Type = ELF::R_PPC_REL14; in getRelocType() 113 Type = ELF::R_PPC_REL16; in getRelocType() 116 Type = ELF::R_PPC_REL16_LO; in getRelocType() 119 Type in getRelocType() 82 unsigned Type; getRelocType() local [all...] |
| /llvm-project/libc/src/__support/fixed_point/ |
| H A D | fx_rep.h | 28 using Type = typename cpp::conditional_t< 41 using Type = short _Fract; 49 LIBC_INLINE static constexpr Type MIN() { return SFRACT_MIN; } 50 LIBC_INLINE static constexpr Type MAX() { return SFRACT_MAX; } 51 LIBC_INLINE static constexpr Type ZERO() { return 0.0HR; } 52 LIBC_INLINE static constexpr Type EPS() { return SFRACT_EPSILON; } 53 LIBC_INLINE static constexpr Type ONE_HALF() { return 0.5HR; } 54 LIBC_INLINE static constexpr Type ONE_FOURTH() { return 0.25HR; } 56 using StorageType = typename internal::Storage<TOTAL_LEN>::Type; 61 using Type 26 using Type = typename cpp::conditional_t< global() member [all...] |
| /llvm-project/flang/include/flang/Optimizer/Dialect/ |
| H A D | FIRType.h | 20 #include "llvm/IR/Type.h" 40 class BaseBoxType : public mlir::Type { 42 using mlir::Type::Type; 48 mlir::Type getEleTy() const; 51 mlir::Type unwrapInnerType() const; 58 BaseBoxType getBoxTypeWithNewShape(mlir::Type shapeMold) const; 65 static bool classof(mlir::Type type); 97 bool isa_fir_type(mlir::Type t); 100 bool isa_std_type(mlir::Type [all...] |
| /llvm-project/libcxx/test/std/utilities/any/any.nonmembers/ |
| H A D | make_any.pass.cpp | 24 template <class Type> 27 DisableAllocationGuard g(isSmallType<Type>()); ((void)g); in test_make_any_type() 28 assert(Type::count == 0); in test_make_any_type() 29 Type::reset(); in test_make_any_type() 31 std::any a = std::make_any<Type>(); in test_make_any_type() 33 assert(Type::count == 1); in test_make_any_type() 34 assert(Type::copied == 0); in test_make_any_type() 35 assert(Type::moved == 0); in test_make_any_type() 36 assertContains<Type>(a, 0); in test_make_any_type() 38 assert(Type::count == 0); in test_make_any_type() [all …]
|
| /llvm-project/llvm/include/llvm/IR/ |
| H A D | DerivedTypes.h | 13 // The implementations of these classes live in the Type.cpp file. 23 #include "llvm/IR/Type.h" 42 class IntegerType : public Type { 46 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType() 55 ///< Note that bit width is stored in the Type classes SubclassData field 70 return Type::getIntNTy(getContext(), 2 * getScalarSizeInBits()); 94 static bool classof(const Type *T) { in classof() 99 unsigned Type::getIntegerBitWidth() const { in getIntegerBitWidth() 105 class FunctionType : public Type { 106 FunctionType(Type *Resul [all...] |
| /llvm-project/mlir/include/mlir/Dialect/Quant/ |
| H A D | QuantTypes.h | |
| /llvm-project/libcxx/test/std/utilities/any/any.class/any.cons/ |
| H A D | in_place_type.pass.cpp | 32 template <class Type> 35 DisableAllocationGuard g(isSmallType<Type>()); ((void)g); in test_in_place_type() 36 assert(Type::count == 0); in test_in_place_type() 37 Type::reset(); in test_in_place_type() 39 std::any a(std::in_place_type<Type>); in test_in_place_type() 41 assert(Type::count == 1); in test_in_place_type() 42 assert(Type::copied == 0); in test_in_place_type() 43 assert(Type::moved == 0); in test_in_place_type() 44 assertContains<Type>(a, 0); in test_in_place_type() 46 assert(Type::count == 0); in test_in_place_type() [all …]
|
| /llvm-project/bolt/test/X86/ |
| H A D | pseudoprobe-decoding-inline.test | 53 CHECK: [Probe]: FUNC: bar Index: 1 Type: Block 54 CHECK: [Probe]: FUNC: bar Index: 4 Type: Block 55 CHECK: [Probe]: FUNC: foo Index: 1 Type: Block 56 CHECK: [Probe]: FUNC: foo Index: 2 Type: Block 57 CHECK: [Probe]: FUNC: foo Index: 5 Type: Block 58 CHECK: [Probe]: FUNC: foo Index: 6 Type: Block 59 CHECK: [Probe]: FUNC: foo Index: 2 Type: Block 60 CHECK: [Probe]: FUNC: foo Index: 3 Type: Block 61 CHECK: [Probe]: FUNC: foo Index: 4 Type: Block 62 CHECK: [Probe]: FUNC: bar Index: 1 Type [all...] |
| /llvm-project/llvm/test/tools/llvm-readobj/COFF/ |
| H A D | reloc-types-coff-x64.test | 7 # CHECK: Type: IMAGE_REL_AMD64_ABSOLUTE (0) 8 # CHECK: Type: IMAGE_REL_AMD64_ADDR64 (1) 9 # CHECK: Type: IMAGE_REL_AMD64_ADDR32 (2) 10 # CHECK: Type: IMAGE_REL_AMD64_ADDR32NB (3) 11 # CHECK: Type: IMAGE_REL_AMD64_REL32 (4) 12 # CHECK: Type: IMAGE_REL_AMD64_REL32_1 (5) 13 # CHECK: Type: IMAGE_REL_AMD64_REL32_2 (6) 14 # CHECK: Type: IMAGE_REL_AMD64_REL32_3 (7) 15 # CHECK: Type: IMAGE_REL_AMD64_REL32_4 (8) 16 # CHECK: Type: IMAGE_REL_AMD64_REL32_5 (9) [all …]
|
| /llvm-project/llvm/lib/IR/ |
| H A D | Type.cpp | 1 //===- Type.cpp - Implement the Type class --------------------------------===// 9 // This file implements the Type class for the IR library. 13 #include "llvm/IR/Type.h" 36 // Type Class Implementation in getPrimitiveType() 39 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType() 58 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy() 62 bool Type::isScalableTy(SmallPtrSetImpl<const Type *> in isScalableTy() [all...] |
| /llvm-project/libcxx/test/std/utilities/any/any.class/any.modifiers/ |
| H A D | emplace.pass.cpp | 33 template <class Type> 36 DisableAllocationGuard g(isSmallType<Type>()); ((void)g); in test_emplace_type() 37 assert(Type::count == 0); in test_emplace_type() 38 Type::reset(); in test_emplace_type() 43 auto &v = a.emplace<Type>(); in test_emplace_type() 44 static_assert( std::is_same_v<Type&, decltype(v)>, "" ); in test_emplace_type() 45 assert(&v == std::any_cast<Type>(&a)); in test_emplace_type() 48 assert(Type::count == 1); in test_emplace_type() 49 assert(Type::copied == 0); in test_emplace_type() 50 assert(Type::moved == 0); in test_emplace_type() [all …]
|
| /llvm-project/bolt/lib/Core/ |
| H A D | Relocation.cpp | 32 static bool isSupportedX86(uint64_t Type) { in isSupportedX86() argument 33 switch (Type) { in isSupportedX86() 55 static bool isSupportedAArch64(uint64_t Type) { in isSupportedAArch64() argument 56 switch (Type) { in isSupportedAArch64() 102 static bool isSupportedRISCV(uint64_t Type) { in isSupportedRISCV() 103 switch (Type) { in isSupportedRISCV() 134 static size_t getSizeForTypeX86(uint64_t Type) { in getSizeForTypeX86() 135 switch (Type) { in getSizeForTypeX86() 137 errs() << object::getELFRelocationTypeName(ELF::EM_X86_64, Type) << '\n'; in getSizeForTypeX86() 161 static size_t getSizeForTypeAArch64(uint64_t Type) { in getSizeForTypeAArch64() 100 isSupportedRISCV(uint64_t Type) isSupportedRISCV() argument 132 getSizeForTypeX86(uint64_t Type) getSizeForTypeX86() argument 159 getSizeForTypeAArch64(uint64_t Type) getSizeForTypeAArch64() argument 207 getSizeForTypeRISCV(uint64_t Type) getSizeForTypeRISCV() argument 237 skipRelocationTypeX86(uint64_t Type) skipRelocationTypeX86() argument 241 skipRelocationTypeAArch64(uint64_t Type) skipRelocationTypeAArch64() argument 245 skipRelocationTypeRISCV(uint64_t Type) skipRelocationTypeRISCV() argument 255 skipRelocationProcessX86(uint64_t & Type,uint64_t Contents) skipRelocationProcessX86() argument 259 skipRelocationProcessAArch64(uint64_t & Type,uint64_t Contents) skipRelocationProcessAArch64() argument 346 skipRelocationProcessRISCV(uint64_t & Type,uint64_t Contents) skipRelocationProcessRISCV() argument 350 encodeValueX86(uint64_t Type,uint64_t Value,uint64_t PC) encodeValueX86() argument 364 encodeValueAArch64(uint64_t Type,uint64_t Value,uint64_t PC) encodeValueAArch64() argument 396 encodeValueRISCV(uint64_t Type,uint64_t Value,uint64_t PC) encodeValueRISCV() argument 406 extractValueX86(uint64_t Type,uint64_t Contents,uint64_t PC) extractValueX86() argument 414 extractValueAArch64(uint64_t Type,uint64_t Contents,uint64_t PC) extractValueAArch64() argument 546 extractValueRISCV(uint64_t Type,uint64_t Contents,uint64_t PC) extractValueRISCV() argument 587 isGOTX86(uint64_t Type) isGOTX86() argument 607 isGOTAArch64(uint64_t Type) isGOTAArch64() argument 624 isGOTRISCV(uint64_t Type) isGOTRISCV() argument 634 isTLSX86(uint64_t Type) isTLSX86() argument 645 isTLSAArch64(uint64_t Type) isTLSAArch64() argument 662 isTLSRISCV(uint64_t Type) isTLSRISCV() argument 677 isPCRelativeX86(uint64_t Type) isPCRelativeX86() argument 703 isPCRelativeAArch64(uint64_t Type) isPCRelativeAArch64() argument 749 isPCRelativeRISCV(uint64_t Type) isPCRelativeRISCV() argument 776 isSupported(uint64_t Type) isSupported() argument 789 getSizeForType(uint64_t Type) getSizeForType() argument 802 skipRelocationType(uint64_t Type) skipRelocationType() argument 815 skipRelocationProcess(uint64_t & Type,uint64_t Contents) skipRelocationProcess() argument 828 encodeValue(uint64_t Type,uint64_t Value,uint64_t PC) encodeValue() argument 841 extractValue(uint64_t Type,uint64_t Contents,uint64_t PC) extractValue() argument 855 isGOT(uint64_t Type) isGOT() argument 868 isX86GOTPCRELX(uint64_t Type) isX86GOTPCRELX() argument 874 isX86GOTPC64(uint64_t Type) isX86GOTPC64() argument 880 isNone(uint64_t Type) isNone() argument 882 isRelative(uint64_t Type) isRelative() argument 895 isIRelative(uint64_t Type) isIRelative() argument 908 isTLS(uint64_t Type) isTLS() argument 921 isInstructionReference(uint64_t Type) isInstructionReference() argument 973 isPCRelative(uint64_t Type) isPCRelative() argument 1054 getComposeOpcodeFor(uint64_t Type) getComposeOpcodeFor() argument [all...] |
| /llvm-project/mlir/lib/IR/ |
| H A D | Types.cpp | 1 //===- Types.cpp - MLIR Type Classes --------------------------------------===// 20 Type type, function_ref<void(Attribute)> walkAttrsFn, in walkImmediateSubElements() 21 function_ref<void(Type)> walkTypesFn) const { in walkImmediateSubElements() 25 Type AbstractType::replaceImmediateSubElements(Type type, in replaceImmediateSubElements() 27 ArrayRef<Type> replTypes) const { in replaceImmediateSubElements() 32 // Type 35 MLIRContext *Type::getContext() const { return getDialect().getContext(); } in getContext() 37 bool Type::isBF16() const { return llvm::isa<BFloat16Type>(*this); } in isFloat8E5M2() 38 bool Type in isFloat8E5M2() [all...] |