9#ifndef LLVM_CLANG_AST_INTERP_BUILTIN_BIT_CAST_H
10#define LLVM_CLANG_AST_INTERP_BUILTIN_BIT_CAST_H
22inline static void swapBytes(std::byte *M,
size_t N) {
23 for (
size_t I = 0; I != (N / 2); ++I)
24 std::swap(M[I], M[N - 1 - I]);
28 std::byte *Buff, Bits BitWidth, Bits FullBitWidth,
29 bool &HasIndeterminateBits);
35 BitcastBuffer &Buffer,
bool ReturnOnUninit);
38 const Pointer &DestPtr, Bits Size);
bool readPointerToBuffer(const Context &Ctx, const Pointer &FromPtr, BitcastBuffer &Buffer, bool ReturnOnUninit)
bool DoBitCastPtr(InterpState &S, CodePtr OpPC, const Pointer &FromPtr, Pointer &ToPtr)
bool DoMemcpy(InterpState &S, CodePtr OpPC, const Pointer &Src, Pointer &Dest)
Copy the contents of Src into Dest.
bool DoBitCast(InterpState &S, CodePtr OpPC, const Pointer &Ptr, std::byte *Buff, Bits BitWidth, Bits FullBitWidth, bool &HasIndeterminateBits)
static void swapBytes(std::byte *M, size_t N)
The JSON file list parser is used to communicate input to InstallAPI.