| /freebsd/contrib/llvm-project/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() 350 std::optional<uint64_t> bit_width = in SetReturnValueObject() local 352 if (!bit_width) { in SetReturnValueObject() 356 if (*bit_width <= 64) { in SetReturnValueObject() 618 std::optional<uint64_t> bit_width = in GetReturnValueObjectImpl() local 620 if (!bit_width) { in GetReturnValueObjectImpl() 641 bool is_memory = *bit_width > max_register_value_bit_width || in GetReturnValueObjectImpl() [all …]
|
| H A D | ABISysV_x86_64.cpp | 192 static bool ReadIntegerArgument(Scalar &scalar, unsigned int bit_width, in ReadIntegerArgument() argument 197 if (bit_width > 64) in ReadIntegerArgument() 205 scalar.SignExtend(bit_width); in ReadIntegerArgument() 207 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() 639 std::optional<uint64_t> bit_width = in GetReturnValueObjectImpl() local 641 if (!bit_width) in GetReturnValueObjectImpl() 650 *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() 279 std::optional<uint64_t> bit_width = in GetReturnValueObjectImpl() local 281 if (!bit_width) in GetReturnValueObjectImpl() 288 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()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/ |
| H A D | ABISysV_ppc.cpp | 312 static bool ReadIntegerArgument(Scalar &scalar, unsigned int bit_width, in ReadIntegerArgument() argument 317 if (bit_width > 64) in ReadIntegerArgument() 325 scalar.SignExtend(bit_width); in ReadIntegerArgument() 327 uint32_t byte_size = (bit_width + (8 - 1)) / 8; in ReadIntegerArgument() 462 std::optional<uint64_t> bit_width = in SetReturnValueObject() local 464 if (!bit_width) { in SetReturnValueObject() 468 if (*bit_width <= 64) { in SetReturnValueObject() 659 std::optional<uint64_t> bit_width = in GetReturnValueObjectImpl() local 661 if (!bit_width) in GetReturnValueObjectImpl() 666 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() 347 std::optional<uint64_t> bit_width = in SetReturnValueObject() local 349 if (!bit_width) { in SetReturnValueObject() 353 if (*bit_width <= 64) { in SetReturnValueObject()
|
| /freebsd/contrib/llvm-project/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() 431 std::optional<uint64_t> bit_width = in SetReturnValueObject() local 433 if (!bit_width) { in SetReturnValueObject() 437 if (*bit_width <= 64) { in SetReturnValueObject()
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | basl.h | 67 uint8_t bit_width, uint8_t bit_offset, uint8_t access_width, 89 uint8_t bit_width, uint8_t bit_offset, uint8_t access_width,
|
| H A D | basl.c | 133 const uint8_t bit_width, const uint8_t bit_offset, in basl_fill_gas() argument 139 gas->BitWidth = bit_width; in basl_fill_gas() 568 const uint8_t bit_width, const uint8_t bit_offset, in basl_table_append_gas() argument 573 .BitWidth = bit_width, in basl_table_append_gas()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/ |
| H A D | ABISysV_arm.cpp | 1452 size_t bit_width = 0; in GetArgumentValues() local 1457 bit_width = *size; in GetArgumentValues() 1463 if (bit_width <= (exe_ctx.GetProcessRef().GetAddressByteSize() * 8)) { in GetArgumentValues() 1474 reg_value.SignExtend(bit_width); in GetArgumentValues() 1490 const uint32_t arg_byte_size = (bit_width + (8 - 1)) / 8; in GetArgumentValues() 1563 std::optional<uint64_t> bit_width = in GetReturnValueObjectImpl() local 1567 if (!bit_width || !byte_size) in GetReturnValueObjectImpl() 1571 switch (*bit_width) { in GetReturnValueObjectImpl() 1639 switch (*bit_width) { in GetReturnValueObjectImpl() 1689 } else if (!GetReturnValuePassedInMemory(thread, reg_ctx, *bit_width / 8, in GetReturnValueObjectImpl()
|
| H A D | ABIMacOSX_arm.cpp | 1449 size_t bit_width = 0; in GetArgumentValues() local 1455 bit_width = *bit_size; in GetArgumentValues() 1457 bit_width = *bit_size; in GetArgumentValues() 1462 if (bit_width <= (exe_ctx.GetProcessRef().GetAddressByteSize() * 8)) { in GetArgumentValues() 1493 reg_value.SignExtend(bit_width); in GetArgumentValues() 1509 const uint32_t arg_byte_size = (bit_width + (8 - 1)) / 8; in GetArgumentValues() 1557 std::optional<uint64_t> bit_width = in GetReturnValueObjectImpl() local 1559 if (!bit_width) in GetReturnValueObjectImpl() 1562 switch (*bit_width) { in GetReturnValueObjectImpl()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/ |
| H A D | ABIMacOSX_arm64.cpp | 148 size_t bit_width = 0; in GetArgumentValues() local 150 bit_width = *bit_size; in GetArgumentValues() 152 bit_width = *bit_size; in GetArgumentValues() 158 if (bit_width <= (exe_ctx.GetProcessRef().GetAddressByteSize() * 8)) { in GetArgumentValues() 201 reg_value.SignExtend(bit_width); in GetArgumentValues() 217 const uint32_t arg_byte_size = (bit_width + (8 - 1)) / 8; in GetArgumentValues()
|
| H A D | ABISysV_arm64.cpp | 215 size_t bit_width = 0; in GetArgumentValues() local 221 bit_width = *bit_size; in GetArgumentValues() 223 bit_width = *bit_size; in GetArgumentValues() 229 if (bit_width <= (exe_ctx.GetProcessRef().GetAddressByteSize() * 8)) { in GetArgumentValues() 241 reg_value.SignExtend(bit_width); in GetArgumentValues() 258 const uint32_t arg_byte_size = (bit_width + (8 - 1)) / 8; in GetArgumentValues()
|
| /freebsd/contrib/llvm-project/libc/src/__support/CPP/ |
| H A D | bit.h | 187 bit_width(T value) { in bit_width() function 200 return static_cast<T>(T(1) << (cpp::bit_width(value) - 1)); in bit_floor() 215 return static_cast<T>(T(1) << cpp::bit_width(value - 1U)); in bit_ceil()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | bit.h | 270 template <typename T> [[nodiscard]] int bit_width(T Value) { in bit_width() function 285 return T(1) << (llvm::bit_width(Value) - 1); in bit_floor() 300 return T(1) << llvm::bit_width<T>(Value - 1u); in bit_ceil()
|
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | bit | 33 constexpr int bit_width(T x) noexcept; // C++20 74 # include <__bit/bit_width.h>
|
| /freebsd/contrib/llvm-project/libcxx/include/__bit/ |
| H A D | bit_width.h | 25 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr int bit_width(_Tp __t) noexcept { in bit_width() function
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/Mips/ |
| H A D | ABISysV_mips.cpp | 804 std::optional<uint64_t> bit_width = in GetReturnValueObjectImpl() local 806 if (!bit_width) in GetReturnValueObjectImpl() 809 switch (*bit_width) { in GetReturnValueObjectImpl() 868 switch (*bit_width) { in GetReturnValueObjectImpl() 900 switch (*bit_width) { in GetReturnValueObjectImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreISelDAGToDAG.cpp | 58 int msksize = llvm::bit_width(value); in immMskBitp() 150 SDValue MskSize = getI32Imm(llvm::bit_width((uint32_t)Val), dl); in Select()
|
| H A D | XCoreInstrInfo.cpp | 418 int N = llvm::bit_width(val); in isImmMskBitp() 430 int N = llvm::bit_width(Value); in loadImmediate()
|
| /freebsd/contrib/llvm-project/libcxx/modules/std/ |
| H A D | bit.cppm | |
| /freebsd/sys/contrib/xen/ |
| H A D | platform.h | 392 uint32_t bit_width; member 435 uint8_t bit_width; member
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelDAGToDAG.cpp | 1188 unsigned LeadingZeros = XLen - llvm::bit_width(Mask); in Select() 1238 unsigned LeadingZeros = XLen - llvm::bit_width(Mask); in Select() 1394 unsigned Leading = XLen - llvm::bit_width(C1); in Select() 1429 const unsigned Msb = llvm::bit_width(C1) + C2 - 1; in Select() 1457 unsigned Leading = XLen - llvm::bit_width(C1); in Select() 1500 unsigned Leading = XLen - llvm::bit_width(C1); in Select() 1550 unsigned Leading = XLen - llvm::bit_width(C1); in Select() 1607 unsigned Leading = XLen - llvm::bit_width(C1); in Select() 1624 unsigned Leading = XLen - llvm::bit_width(C1); in Select() 1648 const unsigned Msb = llvm::bit_width(C1) - 1; in Select() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMUnwindOpAsm.cpp | 113 auto RangeMSB = llvm::bit_width(Regs); in EmitVFPRegSave()
|
| /freebsd/sys/dev/xen/cpu/ |
| H A D | xen_acpi_cpu.c | 119 reg->bit_width = raw.gas.BitWidth; in acpi_get_pct() 312 cx_ptr->reg.bit_width = gas.BitWidth; in acpi_fetch_cx()
|