/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() 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 | 190 static bool ReadIntegerArgument(Scalar &scalar, unsigned int bit_width, in ReadIntegerArgument() argument 195 if (bit_width > 64) in ReadIntegerArgument() 203 scalar.SignExtend(bit_width); in ReadIntegerArgument() 205 uint32_t byte_size = (bit_width + (8 - 1)) / 8; in ReadIntegerArgument() 341 std::optional<uint64_t> bit_width = in SetReturnValueObject() local 343 if (!bit_width) { in SetReturnValueObject() 347 if (*bit_width <= 64) { in SetReturnValueObject() 634 std::optional<uint64_t> bit_width = return_compiler_type.GetBitSize(&thread); in GetReturnValueObjectImpl() local 635 if (!bit_width) in GetReturnValueObjectImpl() 644 *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()
|
/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() 466 std::optional<uint64_t> bit_width = in SetReturnValueObject() local 468 if (!bit_width) { in SetReturnValueObject() 472 if (*bit_width <= 64) { in SetReturnValueObject() 662 std::optional<uint64_t> bit_width = return_compiler_type.GetBitSize(&thread); in GetReturnValueObjectImpl() local 663 if (!bit_width) in GetReturnValueObjectImpl() 668 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()
|
/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() 429 std::optional<uint64_t> bit_width = in SetReturnValueObject() local 431 if (!bit_width) { in SetReturnValueObject() 435 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 | 1459 size_t bit_width = 0; in GetArgumentValues() local 1463 bit_width = *size; in GetArgumentValues() 1469 if (bit_width <= (exe_ctx.GetProcessRef().GetAddressByteSize() * 8)) { in GetArgumentValues() 1480 reg_value.SignExtend(bit_width); in GetArgumentValues() 1496 const uint32_t arg_byte_size = (bit_width + (8 - 1)) / 8; in GetArgumentValues() 1569 std::optional<uint64_t> bit_width = compiler_type.GetBitSize(&thread); in GetReturnValueObjectImpl() local 1571 if (!bit_width || !byte_size) in GetReturnValueObjectImpl() 1575 switch (*bit_width) { in GetReturnValueObjectImpl() 1643 switch (*bit_width) { in GetReturnValueObjectImpl() 1693 } else if (!GetReturnValuePassedInMemory(thread, reg_ctx, *bit_width / 8, in GetReturnValueObjectImpl()
|
H A D | ABIMacOSX_arm.cpp | 1455 size_t bit_width = 0; in GetArgumentValues() local 1460 bit_width = *bit_size; in GetArgumentValues() 1462 bit_width = *bit_size; in GetArgumentValues() 1467 if (bit_width <= (exe_ctx.GetProcessRef().GetAddressByteSize() * 8)) { in GetArgumentValues() 1498 reg_value.SignExtend(bit_width); in GetArgumentValues() 1514 const uint32_t arg_byte_size = (bit_width + (8 - 1)) / 8; in GetArgumentValues() 1562 std::optional<uint64_t> bit_width = compiler_type.GetBitSize(&thread); in GetReturnValueObjectImpl() local 1563 if (!bit_width) in GetReturnValueObjectImpl() 1566 switch (*bit_width) { in GetReturnValueObjectImpl()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | bit | 33 constexpr int bit_width(T x) noexcept; // C++20 71 # include <__bit/bit_width.h>
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | bit.h | 316 /// Ex. bit_width(5) == 3. 317 template <typename T> [[nodiscard]] int bit_width(T Value) { 332 return T(1) << (llvm::bit_width(Value) - 1); 347 return T(1) << llvm::bit_width<T>(Value - 1u);
|
/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 | 809 std::optional<uint64_t> bit_width = return_compiler_type.GetBitSize(&thread); in GetReturnValueObjectImpl() local 810 if (!bit_width) in GetReturnValueObjectImpl() 813 switch (*bit_width) { in GetReturnValueObjectImpl() 872 switch (*bit_width) { in GetReturnValueObjectImpl() 904 switch (*bit_width) { in GetReturnValueObjectImpl()
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | bit.cppm |
|
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreISelDAGToDAG.cpp | 64 int msksize = llvm::bit_width(value); in immMskBitp() 156 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()
|
/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/ARM/MCTargetDesc/ |
H A D | ARMUnwindOpAsm.cpp | 113 auto RangeMSB = llvm::bit_width(Regs); in EmitVFPRegSave()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelDAGToDAG.cpp | 1087 unsigned LeadingZeros = XLen - llvm::bit_width(Mask); in Select() 1116 unsigned LeadingZeros = XLen - llvm::bit_width(Mask); in Select() 1270 unsigned Leading = XLen - llvm::bit_width(C1); in Select() 1305 const unsigned Msb = llvm::bit_width(C1) + C2 - 1; in Select() 1333 unsigned Leading = XLen - llvm::bit_width(C1); in Select() 1363 unsigned Leading = XLen - llvm::bit_width(C1); in Select() 1401 unsigned Leading = XLen - llvm::bit_width(C1); in Select() 1446 const unsigned Msb = llvm::bit_width(C1) - 1; in Select() 1503 unsigned LeadingZeros = XLen - llvm::bit_width(C2); in Select() 1509 if (ConstantShift > (XLen - llvm::bit_width(C1))) in Select() [all …]
|
/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCELFStreamer.cpp | 132 ? ELF::SHN_HEXAGON_SCOMMON + llvm::bit_width(AccessSize) in HexagonMCEmitCommonSymbol()
|