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#include

26

27namespace llvm {

28

29namespace CodeViewYAML {

30

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

35 }

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

38 }

40};

41

46 std::vector Hashes;

47};

48

52

53}

54

55}

56

60

61#endif

This file defines the BumpPtrAllocator interface.

assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())

#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)

#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.

Allocate memory in an ever growing pool, as if by bump-pointer.

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.

std::vector< GlobalHash > Hashes

GlobalHash(ArrayRef< uint8_t > S)