/openbsd/gnu/llvm/lldb/source/Plugins/ABI/X86/ |
H A D | ABIWindows_x86_64.cpp | 206 static bool ReadIntegerArgument(Scalar &scalar, unsigned int bit_width, in ReadIntegerArgument() argument 211 if (bit_width > 64) in ReadIntegerArgument() 219 scalar.SignExtend(bit_width); in ReadIntegerArgument() 222 uint32_t byte_size = (bit_width + (CHAR_BIT - 1)) / CHAR_BIT; in ReadIntegerArgument() 348 std::optional<uint64_t> bit_width = in SetReturnValueObject() local 350 if (!bit_width) { in SetReturnValueObject() 354 if (*bit_width <= 64) { in SetReturnValueObject() 615 std::optional<uint64_t> bit_width = return_compiler_type.GetBitSize(&thread); in GetReturnValueObjectImpl() local 616 if (!bit_width) { in GetReturnValueObjectImpl() 637 bool is_memory = *bit_width > max_register_value_bit_width || in GetReturnValueObjectImpl() [all …]
|
H A D | ABISysV_x86_64.cpp | 191 static bool ReadIntegerArgument(Scalar &scalar, unsigned int bit_width, in ReadIntegerArgument() argument 196 if (bit_width > 64) in ReadIntegerArgument() 204 scalar.SignExtend(bit_width); in ReadIntegerArgument() 206 uint32_t byte_size = (bit_width + (8 - 1)) / 8; in ReadIntegerArgument() 342 std::optional<uint64_t> bit_width = in SetReturnValueObject() local 344 if (!bit_width) { in SetReturnValueObject() 348 if (*bit_width <= 64) { in SetReturnValueObject() 635 std::optional<uint64_t> bit_width = return_compiler_type.GetBitSize(&thread); in GetReturnValueObjectImpl() local 636 if (!bit_width) in GetReturnValueObjectImpl() 645 *bit_width <= 128 && in GetReturnValueObjectImpl()
|
H A D | ABIMacOSX_i386.cpp | 125 static bool ReadIntegerArgument(Scalar &scalar, unsigned int bit_width, in ReadIntegerArgument() argument 129 uint32_t byte_size = (bit_width + (8 - 1)) / 8; in ReadIntegerArgument() 277 std::optional<uint64_t> bit_width = compiler_type.GetBitSize(&thread); in GetReturnValueObjectImpl() local 278 if (!bit_width) in GetReturnValueObjectImpl() 285 switch (*bit_width) { in GetReturnValueObjectImpl()
|
H A D | ABISysV_i386.cpp | 144 static bool ReadIntegerArgument(Scalar &scalar, unsigned int bit_width, in ReadIntegerArgument() argument 147 uint32_t byte_size = (bit_width + (8 - 1)) / 8; in ReadIntegerArgument()
|
/openbsd/gnu/llvm/lldb/source/Plugins/ABI/PowerPC/ |
H A D | ABISysV_ppc.cpp | 311 static bool ReadIntegerArgument(Scalar &scalar, unsigned int bit_width, in ReadIntegerArgument() argument 316 if (bit_width > 64) in ReadIntegerArgument() 324 scalar.SignExtend(bit_width); in ReadIntegerArgument() 326 uint32_t byte_size = (bit_width + (8 - 1)) / 8; in ReadIntegerArgument() 465 std::optional<uint64_t> bit_width = in SetReturnValueObject() local 467 if (!bit_width) { in SetReturnValueObject() 471 if (*bit_width <= 64) { in SetReturnValueObject() 661 std::optional<uint64_t> bit_width = return_compiler_type.GetBitSize(&thread); in GetReturnValueObjectImpl() local 662 if (!bit_width) in GetReturnValueObjectImpl() 667 if (*bit_width <= 128) { in GetReturnValueObjectImpl()
|
H A D | ABISysV_ppc64.cpp | 200 static bool ReadIntegerArgument(Scalar &scalar, unsigned int bit_width, in ReadIntegerArgument() argument 205 if (bit_width > 64) in ReadIntegerArgument() 213 scalar.SignExtend(bit_width); in ReadIntegerArgument() 215 uint32_t byte_size = (bit_width + (8 - 1)) / 8; in ReadIntegerArgument() 345 std::optional<uint64_t> bit_width = in SetReturnValueObject() local 347 if (!bit_width) { in SetReturnValueObject() 351 if (*bit_width <= 64) { in SetReturnValueObject()
|
/openbsd/gnu/llvm/lldb/source/Plugins/ABI/SystemZ/ |
H A D | ABISysV_s390x.cpp | 281 static bool ReadIntegerArgument(Scalar &scalar, unsigned int bit_width, in ReadIntegerArgument() argument 286 if (bit_width > 64) in ReadIntegerArgument() 294 scalar.SignExtend(bit_width); in ReadIntegerArgument() 296 uint32_t byte_size = (bit_width + (8 - 1)) / 8; in ReadIntegerArgument() 429 std::optional<uint64_t> bit_width = in SetReturnValueObject() local 431 if (!bit_width) { in SetReturnValueObject() 435 if (*bit_width <= 64) { in SetReturnValueObject()
|
/openbsd/gnu/llvm/lldb/source/Plugins/ABI/ARM/ |
H A D | ABISysV_arm.cpp | 1354 size_t bit_width = 0; in GetArgumentValues() local 1358 bit_width = *size; in GetArgumentValues() 1364 if (bit_width <= (exe_ctx.GetProcessRef().GetAddressByteSize() * 8)) { in GetArgumentValues() 1375 reg_value.SignExtend(bit_width); in GetArgumentValues() 1391 const uint32_t arg_byte_size = (bit_width + (8 - 1)) / 8; in GetArgumentValues() 1464 std::optional<uint64_t> bit_width = compiler_type.GetBitSize(&thread); in GetReturnValueObjectImpl() local 1466 if (!bit_width || !byte_size) in GetReturnValueObjectImpl() 1470 switch (*bit_width) { in GetReturnValueObjectImpl() 1538 switch (*bit_width) { in GetReturnValueObjectImpl() 1588 } else if (!GetReturnValuePassedInMemory(thread, reg_ctx, *bit_width / 8, in GetReturnValueObjectImpl()
|
H A D | ABIMacOSX_arm.cpp | 1351 size_t bit_width = 0; in GetArgumentValues() local 1356 bit_width = *bit_size; in GetArgumentValues() 1358 bit_width = *bit_size; in GetArgumentValues() 1363 if (bit_width <= (exe_ctx.GetProcessRef().GetAddressByteSize() * 8)) { in GetArgumentValues() 1394 reg_value.SignExtend(bit_width); in GetArgumentValues() 1410 const uint32_t arg_byte_size = (bit_width + (8 - 1)) / 8; in GetArgumentValues() 1458 std::optional<uint64_t> bit_width = compiler_type.GetBitSize(&thread); in GetReturnValueObjectImpl() local 1459 if (!bit_width) in GetReturnValueObjectImpl() 1462 switch (*bit_width) { in GetReturnValueObjectImpl()
|
/openbsd/gnu/llvm/lldb/source/Plugins/ABI/AArch64/ |
H A D | ABIMacOSX_arm64.cpp | 150 size_t bit_width = 0; in GetArgumentValues() local 152 bit_width = *bit_size; in GetArgumentValues() 154 bit_width = *bit_size; in GetArgumentValues() 160 if (bit_width <= (exe_ctx.GetProcessRef().GetAddressByteSize() * 8)) { in GetArgumentValues() 203 reg_value.SignExtend(bit_width); in GetArgumentValues() 219 const uint32_t arg_byte_size = (bit_width + (8 - 1)) / 8; in GetArgumentValues()
|
H A D | ABISysV_arm64.cpp | 149 size_t bit_width = 0; in GetArgumentValues() local 154 bit_width = *bit_size; in GetArgumentValues() 156 bit_width = *bit_size; in GetArgumentValues() 162 if (bit_width <= (exe_ctx.GetProcessRef().GetAddressByteSize() * 8)) { in GetArgumentValues() 174 reg_value.SignExtend(bit_width); in GetArgumentValues() 191 const uint32_t arg_byte_size = (bit_width + (8 - 1)) / 8; in GetArgumentValues()
|
/openbsd/gnu/llvm/llvm/lib/IR/ |
H A D | DataLayout.cpp | 106 Align pref_align, uint32_t bit_width) { in get() argument 112 retval.TypeBitWidth = bit_width; in get() 568 Align pref_align, uint32_t bit_width) { in setAlignment() argument 574 if (!isUInt<24>(bit_width)) in setAlignment() 580 AlignmentsTy::iterator I = findAlignmentLowerBound(align_type, bit_width); in setAlignment() 582 I->AlignType == (unsigned)align_type && I->TypeBitWidth == bit_width) { in setAlignment() 589 pref_align, bit_width)); in setAlignment()
|
/openbsd/gnu/llvm/llvm/include/llvm/ADT/ |
H A D | bit.h | 281 template <typename T> [[nodiscard]] int bit_width(T Value) { 296 return T(1) << (llvm::bit_width(Value) - 1); 311 return T(1) << llvm::bit_width<T>(Value - 1u);
|
/openbsd/gnu/llvm/libcxx/include/ |
H A D | bit | 33 constexpr int bit_width(T x) noexcept; // C++20 69 #include <__bit/bit_width.h>
|
/openbsd/gnu/llvm/libcxx/include/__bit/ |
H A D | bit_width.h | 25 _LIBCPP_HIDE_FROM_ABI constexpr int bit_width(_Tp __t) noexcept { in bit_width() function
|
/openbsd/gnu/llvm/lldb/source/Plugins/ABI/Mips/ |
H A D | ABISysV_mips.cpp | 771 std::optional<uint64_t> bit_width = return_compiler_type.GetBitSize(&thread); in GetReturnValueObjectImpl() local 772 if (!bit_width) in GetReturnValueObjectImpl() 775 switch (*bit_width) { in GetReturnValueObjectImpl() 834 switch (*bit_width) { in GetReturnValueObjectImpl() 866 switch (*bit_width) { in GetReturnValueObjectImpl()
|
/openbsd/gnu/llvm/llvm/lib/Target/XCore/ |
H A D | XCoreISelDAGToDAG.cpp | 66 int msksize = llvm::bit_width(value); in immMskBitp() 148 SDValue MskSize = getI32Imm(llvm::bit_width((uint32_t)Val), dl); in Select()
|
H A D | XCoreInstrInfo.cpp | 419 int N = llvm::bit_width(val); in isImmMskBitp() 431 int N = llvm::bit_width(Value); in loadImmediate()
|
/openbsd/gnu/llvm/llvm/include/llvm/IR/ |
H A D | DataLayout.h | 82 Align pref_align, uint32_t bit_width); 180 Align pref_align, uint32_t bit_width);
|
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCELFStreamer.cpp | 130 ? ELF::SHN_HEXAGON_SCOMMON + llvm::bit_width(AccessSize) in HexagonMCEmitCommonSymbol()
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMUnwindOpAsm.cpp | 113 auto RangeMSB = llvm::bit_width(Regs); in EmitVFPRegSave()
|
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/ |
H A D | RISCVISelDAGToDAG.cpp | 730 unsigned LeadingZeros = XLen - llvm::bit_width(Mask); in Select() 759 unsigned LeadingZeros = XLen - llvm::bit_width(Mask); in Select() 895 unsigned Leading = XLen - llvm::bit_width(C1); in Select() 946 unsigned Leading = XLen - llvm::bit_width(C1); in Select() 976 unsigned Leading = XLen - llvm::bit_width(C1); in Select() 1014 unsigned Leading = XLen - llvm::bit_width(C1); in Select() 1084 unsigned LeadingZeros = XLen - llvm::bit_width(C2); in Select() 1090 if (ConstantShift > (XLen - llvm::bit_width(C1))) in Select() 2189 unsigned Leading = XLen - llvm::bit_width(Mask); in selectSHXADDOp() 2227 unsigned Leading = XLen - llvm::bit_width(Mask); in selectSHXADDOp() [all …]
|
/openbsd/sys/dev/pci/drm/amd/amdgpu/ |
H A D | amdgpu_gfx.h | 471 static inline u32 amdgpu_gfx_create_bitmask(u32 bit_width) in amdgpu_gfx_create_bitmask() argument 473 return (u32)((1ULL << bit_width) - 1); in amdgpu_gfx_create_bitmask()
|
/openbsd/gnu/llvm/llvm/lib/Support/ |
H A D | NativeFormatting.cpp | 144 unsigned Nibbles = (llvm::bit_width(N) + 3) / 4; in write_hex()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
H A D | GISelKnownBits.cpp | 533 unsigned LowBits = llvm::bit_width(BitsPossiblySet); in computeKnownBitsImpl()
|