LLVM: include/llvm/CodeGen/MBFIWrapper.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#ifndef LLVM_CODEGEN_MBFIWRAPPER_H

15#define LLVM_CODEGEN_MBFIWRAPPER_H

16

19#include

20

21namespace llvm {

22

25

27 public:

29

32 std::optional<uint64_t>

34

38

39private:

42};

43

44}

45

46#endif

This file defines the DenseMap class.

static bool isSimple(Instruction *I)

std::optional< uint64_t > getBlockProfileCount(const MachineBasicBlock *MBB) const

BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const

void view(const Twine &Name, bool isSimple=true)

void setBlockFreq(const MachineBasicBlock *MBB, BlockFrequency F)

BlockFrequency getEntryFreq() const

MBFIWrapper(const MachineBlockFrequencyInfo &I)

Definition MBFIWrapper.h:28

const MachineBlockFrequencyInfo & getMBFI() const

Definition MBFIWrapper.h:37

MachineBlockFrequencyInfo pass uses BlockFrequencyInfoImpl implementation to estimate machine basic b...

Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...

This is an optimization pass for GlobalISel generic memory operations.