LLVM: lib/DebugInfo/CodeView/Formatters.cpp Source File (original) (raw)

1

2

3

4

5

6

7

8

16#include

17

18using namespace llvm;

21

24

27

28

29

30

31

32

33

34

35

36

37

38

40 assert(Item.size() == 16 && "Expected 16-byte GUID");

41 struct MSGuid {

46 };

47 const MSGuid *G = reinterpret_cast<const MSGuid *>(Item.data());

48 Stream

54 << '}';

55}

56

59 A.format(OS, "");

60 return OS;

61}

assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")

static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")

ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...

FormatAdapter(ArrayRef< uint8_t > &&Item)

StringRef - Represent a constant reference to a string, i.e.

GuidAdapter(ArrayRef< uint8_t > Guid)

Definition Formatters.cpp:25

void format(raw_ostream &Stream, StringRef Style) override

Definition Formatters.cpp:39

This class implements an extremely fast bulk output stream that can only output to a stream.

LLVM_ABI raw_ostream & operator<<(raw_ostream &OS, const GUID &Guid)

Definition Formatters.cpp:57

detail::packed_endian_specific_integral< uint32_t, llvm::endianness::little, unaligned > ulittle32_t

detail::packed_endian_specific_integral< uint64_t, llvm::endianness::big, unaligned > ubig64_t

detail::packed_endian_specific_integral< uint16_t, llvm::endianness::little, unaligned > ulittle16_t

This is an optimization pass for GlobalISel generic memory operations.

FormattedNumber format_hex_no_prefix(uint64_t N, unsigned Width, bool Upper=false)

format_hex_no_prefix - Output N as a fixed width hexadecimal.

OutputIt move(R &&Range, OutputIt Out)

Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.

Implement std::hash so that hash_code can be used in STL containers.

This represents the 'GUID' type from windows.h.