LLVM: include/llvm/ObjectYAML/CodeViewYAMLTypeHashing.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14#ifndef LLVM_OBJECTYAML_CODEVIEWYAMLTYPEHASHING_H

15#define LLVM_OBJECTYAML_CODEVIEWYAMLTYPEHASHING_H

16

23#include

24#include

25

26namespace llvm {

27

29

33 assert(S.size() == 8 && "Invalid hash size!");

34 }

36 assert(S.size() == 8 && "Invalid hash size!");

37 }

39};

40

47

51

52}

53

54}

55

59

60#endif

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

This file defines the BumpPtrAllocator interface.

#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)

Utility for declaring that a std::vector of a particular type should be considered a YAML sequence.

#define LLVM_YAML_DECLARE_SCALAR_TRAITS(Type, MustQuote)

#define LLVM_YAML_DECLARE_MAPPING_TRAITS(Type)

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

size_t size() const

size - Get the array size.

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

constexpr size_t size() const

size - Get the string size.

Specialized YAMLIO scalar type for representing a binary blob.

ArrayRef< uint8_t > toDebugH(const DebugHSection &DebugH, BumpPtrAllocator &Alloc)

DebugHSection fromDebugH(ArrayRef< uint8_t > DebugH)

This is an optimization pass for GlobalISel generic memory operations.

BumpPtrAllocatorImpl<> BumpPtrAllocator

The standard BumpPtrAllocator which just uses the default template parameters.

std::vector< GlobalHash > Hashes

Definition CodeViewYAMLTypeHashing.h:45

uint16_t HashAlgorithm

Definition CodeViewYAMLTypeHashing.h:44

uint16_t Version

Definition CodeViewYAMLTypeHashing.h:43

uint32_t Magic

Definition CodeViewYAMLTypeHashing.h:42

yaml::BinaryRef Hash

Definition CodeViewYAMLTypeHashing.h:38

GlobalHash(ArrayRef< uint8_t > S)

Definition CodeViewYAMLTypeHashing.h:35

GlobalHash(StringRef S)

Definition CodeViewYAMLTypeHashing.h:32