LLVM: lib/Transforms/Instrumentation/ValueProfileCollector.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16#ifndef LLVM_ANALYSIS_PROFILE_GEN_ANALYSIS_H

17#define LLVM_ANALYSIS_PROFILE_GEN_ANALYSIS_H

18

20#include

21#include

22

23namespace llvm {

24

26class Instruction;

27class TargetLibraryInfo;

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

58public:

60 Value *V;

63 };

64

68

72

73

75

76private:

78 std::unique_ptr PImpl;

79};

80

81}

82

83#endif

ValueProfileCollectorImpl inherits the API of PluginChainFinal.

Provides information about what library functions are available for the current target.

Utility analysis that determines what values are worth profiling.

ValueProfileCollector(const ValueProfileCollector &)=delete

ValueProfileCollector & operator=(const ValueProfileCollector &)=delete

std::vector< CandidateInfo > get(InstrProfValueKind Kind) const

returns a list of value profiling candidates of the given kind

ValueProfileCollector(ValueProfileCollector &&)=delete

ValueProfileCollector & operator=(ValueProfileCollector &&)=delete

LLVM Value Representation.

This is an optimization pass for GlobalISel generic memory operations.

Instruction * AnnotatedInst