/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUMCCodeEmitter.cpp | 181 if (Val == llvm::bit_cast<uint32_t>(0.5f)) in getLit32Encoding() 184 if (Val == llvm::bit_cast<uint32_t>(-0.5f)) in getLit32Encoding() 187 if (Val == llvm::bit_cast<uint32_t>(1.0f)) in getLit32Encoding() 190 if (Val == llvm::bit_cast<uint32_t>(-1.0f)) in getLit32Encoding() 193 if (Val == llvm::bit_cast<uint32_t>(2.0f)) in getLit32Encoding() 196 if (Val == llvm::bit_cast<uint32_t>(-2.0f)) in getLit32Encoding() 199 if (Val == llvm::bit_cast<uint32_t>(4.0f)) in getLit32Encoding() 202 if (Val == llvm::bit_cast<uint32_t>(-4.0f)) in getLit32Encoding() 221 if (Val == llvm::bit_cast<uint64_t>(0.5)) in getLit64Encoding() 224 if (Val == llvm::bit_cast<uint64_t>(-0.5)) in getLit64Encoding() [all …]
|
H A D | AMDGPUInstPrinter.cpp | 595 if (Imm == llvm::bit_cast<uint32_t>(0.0f)) in printImmediateFloat32() 597 else if (Imm == llvm::bit_cast<uint32_t>(1.0f)) in printImmediateFloat32() 599 else if (Imm == llvm::bit_cast<uint32_t>(-1.0f)) in printImmediateFloat32() 601 else if (Imm == llvm::bit_cast<uint32_t>(0.5f)) in printImmediateFloat32() 603 else if (Imm == llvm::bit_cast<uint32_t>(-0.5f)) in printImmediateFloat32() 605 else if (Imm == llvm::bit_cast<uint32_t>(2.0f)) in printImmediateFloat32() 607 else if (Imm == llvm::bit_cast<uint32_t>(-2.0f)) in printImmediateFloat32() 609 else if (Imm == llvm::bit_cast<uint32_t>(4.0f)) in printImmediateFloat32() 611 else if (Imm == llvm::bit_cast<uint32_t>(-4.0f)) in printImmediateFloat32() 646 if (Imm == llvm::bit_cast<uint64_t>(0.0)) in printImmediate64() [all …]
|
H A D | R600InstPrinter.cpp | 99 O << Imm << '(' << llvm::bit_cast<float>(static_cast<uint32_t>(Imm)) << ')'; in printLiteral() 160 O << bit_cast<double>(Op.getDFPImm()); in printOperand()
|
/freebsd/contrib/llvm-project/libcxx/include/__compare/ |
H A D | strong_order.h | 57 int32_t __rx = std::bit_cast<int32_t>(__t); in __go() 58 int32_t __ry = std::bit_cast<int32_t>(__u); in __go() 63 int64_t __rx = std::bit_cast<int64_t>(__t); in __go() 64 int64_t __ry = std::bit_cast<int64_t>(__u); in __go() 106 return std::bit_cast<_IntType>(__t) <=> std::bit_cast<_IntType>(__u); in __go()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | chunk.h | 118 PackedHeader NewPackedHeader = bit_cast<PackedHeader>(*NewUnpackedHeader); in storeHeader() 125 *NewUnpackedHeader = bit_cast<UnpackedHeader>(NewPackedHeader); in loadHeader() 134 *NewUnpackedHeader = bit_cast<UnpackedHeader>(NewPackedHeader); in compareExchangeHeader()
|
H A D | common.h | 24 template <class Dest, class Source> inline Dest bit_cast(const Source &S) { in bit_cast() function
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | bit | 17 // [bit.cast], bit_cast 19 constexpr To bit_cast(const From& from) noexcept; // C++20 67 # include <__bit/bit_cast.h>
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | bit.cppm |
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | EndianStream.h | 44 write(os, llvm::bit_cast<uint32_t>(value), endian); 50 write(os, llvm::bit_cast<uint64_t>(value), endian); in write()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCInst.cpp | 34 OS << "SFPImm:" << bit_cast<float>(getSFPImm()); in print() 36 OS << "DFPImm:" << bit_cast<double>(getDFPImm()); in print()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64AddressingModes.h | 361 return bit_cast<float>(I); in getFPImmFloat() 778 auto Parts = bit_cast<std::array<T, sizeof(int64_t) / sizeof(T)>>(Imm); in isSVECpyImm() 818 auto S = bit_cast<std::array<int32_t, 2>>(Imm); in isMOVZMovAlias() 819 auto H = bit_cast<std::array<int16_t, 4>>(Imm); in isMOVZMovAlias() 820 auto B = bit_cast<std::array<int8_t, 8>>(Imm); in isMOVZMovAlias()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDGPUBaseInfo.cpp | 2556 return (Val == llvm::bit_cast<uint64_t>(0.0)) || in isInlinableLiteral64() 2557 (Val == llvm::bit_cast<uint64_t>(1.0)) || in isInlinableLiteral64() 2558 (Val == llvm::bit_cast<uint64_t>(-1.0)) || in isInlinableLiteral64() 2559 (Val == llvm::bit_cast<uint64_t>(0.5)) || in isInlinableLiteral64() 2560 (Val == llvm::bit_cast<uint64_t>(-0.5)) || in isInlinableLiteral64() 2561 (Val == llvm::bit_cast<uint64_t>(2.0)) || in isInlinableLiteral64() 2562 (Val == llvm::bit_cast<uint64_t>(-2.0)) || in isInlinableLiteral64() 2563 (Val == llvm::bit_cast<uint64_t>(4.0)) || in isInlinableLiteral64() 2564 (Val == llvm::bit_cast<uint64_t>(-4.0)) || in isInlinableLiteral64() 2582 return (Val == llvm::bit_cast<uint32_t>(0.0f)) || in isInlinableLiteral32() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/ |
H A D | AMDGPUDisassembler.cpp | 1290 return llvm::bit_cast<uint32_t>(0.5f); in getInlineImmVal32() 1292 return llvm::bit_cast<uint32_t>(-0.5f); in getInlineImmVal32() 1294 return llvm::bit_cast<uint32_t>(1.0f); in getInlineImmVal32() 1296 return llvm::bit_cast<uint32_t>(-1.0f); in getInlineImmVal32() 1298 return llvm::bit_cast<uint32_t>(2.0f); in getInlineImmVal32() 1300 return llvm::bit_cast<uint32_t>(-2.0f); in getInlineImmVal32() 1302 return llvm::bit_cast<uint32_t>(4.0f); in getInlineImmVal32() 1304 return llvm::bit_cast<uint32_t>(-4.0f); in getInlineImmVal32() 1315 return llvm::bit_cast<uint64_t>(0.5); in getInlineImmVal64() 1317 return llvm::bit_cast<uint64_t>(-0.5); in getInlineImmVal64() [all …]
|
/freebsd/contrib/llvm-project/libcxx/src/include/ |
H A D | to_chars_floating_point.h | 122 const _Uint_type _Uint_value = std::bit_cast<_Uint_type>(_Value); 350 const _Uint_type _Uint_value = std::bit_cast<_Uint_type>(_Value); 842 const _Uint_type _Uint_value = std::bit_cast<_Uint_type>(_Value); 1005 _Uint_type _Uint_value = std::bit_cast<_Uint_type>(_Value); 1017 _Value = std::bit_cast<_Floating>(_Uint_value);
|
/freebsd/contrib/llvm-project/libcxx/include/__bit/ |
H A D | bit_cast.h | 36 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr _ToType bit_cast(const _FromType& __from) noexcept { in bit_cast() function
|
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/ |
H A D | MsgPackReader.cpp | 78 llvm::bit_cast<float>(endian::read<uint32_t, Endianness>(Current)); in read() 88 llvm::bit_cast<double>(endian::read<uint64_t, Endianness>(Current)); in read()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APInt.h | 1680 double bitsToDouble() const { return llvm::bit_cast<double>(getWord(0)); } in bitsToDouble() 1685 return llvm::bit_cast<float128>(ul); in bitsToQuad() 1695 return llvm::bit_cast<float>(static_cast<uint32_t>(getWord(0))); in bitsToFloat() 1703 return APInt(sizeof(double) * CHAR_BIT, llvm::bit_cast<uint64_t>(V)); in doubleToBits() 1711 return APInt(sizeof(float) * CHAR_BIT, llvm::bit_cast<uint32_t>(V)); in floatToBits()
|
H A D | PointerSumType.h | 191 return bit_cast<uintptr_t>(Storage); in getOpaqueValue()
|
H A D | APFixedPoint.h | 129 return hash_value(bit_cast<uint32_t>(Val)); in hash_value()
|
H A D | bit.h | 80 // This implementation of bit_cast is different from the C++20 one in two ways: in byteswap() 89 [[nodiscard]] inline To bit_cast(const From &from) noexcept { in byteswap() 53 [[nodiscard]] inline To bit_cast(const From &from) noexcept { bit_cast() function
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVBaseInfo.cpp | 223 return bit_cast<float>(I); in getFPImm()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMMCInstLower.cpp | 129 MCOp = MCOperand::createDFPImm(bit_cast<uint64_t>(Val.convertToDouble())); in lowerOperand()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCInst.h | 111 FPImmVal = bit_cast<uint64_t>(Val); in setFPImm()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/ |
H A D | AVRMCCodeEmitter.cpp | 265 return static_cast<unsigned>(bit_cast<double>(MO.getDFPImm())); in getMachineOpValue()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/Disassembler/ |
H A D | WebAssemblyDisassembler.cpp | 119 MCOperand::createDFPImm(bit_cast<uint64_t>(static_cast<double>(Val)))); in parseImmediate()
|