LLVM: include/llvm/DebugInfo/CodeView/GUID.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9#ifndef LLVM_DEBUGINFO_CODEVIEW_GUID_H

10#define LLVM_DEBUGINFO_CODEVIEW_GUID_H

11

12#include

13#include

14

15namespace llvm {

16class raw_ostream;

17

18namespace codeview {

19

20

23};

24

27}

28

30 return ::memcmp(LHS.Guid, RHS.Guid, sizeof(LHS.Guid)) < 0;

31}

32

34 return ::memcmp(LHS.Guid, RHS.Guid, sizeof(LHS.Guid)) <= 0;

35}

36

39}

40

43}

44

47}

48

50

51}

52}

53

54#endif

Merge contiguous icmps into a memcmp

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

bool operator!=(const FunctionId &A, const FunctionId &B)

bool operator>(const FunctionId &A, const FunctionId &B)

bool operator>=(const FunctionId &A, const FunctionId &B)

bool operator<(const FunctionId &A, const FunctionId &B)

bool operator<=(const FunctionId &A, const FunctionId &B)

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

This is an optimization pass for GlobalISel generic memory operations.

bool operator==(const AddressRangeValuePair &LHS, const AddressRangeValuePair &RHS)

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