LLVM: lib/Target/Hexagon/RDFDeadCode.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

17

18

19

20

21

22

23#ifndef RDF_DEADCODE_H

24#define RDF_DEADCODE_H

25

29

30namespace llvm {

32

33namespace rdf {

36 : Trace(false), DFG(dfg), MRI(mri), LV(mri, dfg) {}

37

40 void trace(bool On) { Trace = On; }

41 bool trace() const { return Trace; }

42

46

47 private:

55

56 template struct SetQueue;

57

62 };

63}

64}

65

66#endif

unsigned const MachineRegisterInfo * MRI

static bool processUse(CallInst *CI, bool IsV5OrAbove)

This file implements a set that has insertion order iteration characteristics.

MachineRegisterInfo - Keep track of information for virtual and physical registers,...

A vector that has set insertion semantics.

This is an optimization pass for GlobalISel generic memory operations.

SetVector< NodeId > getDeadNodes()

Definition RDFDeadCode.h:43

void trace(bool On)

Definition RDFDeadCode.h:40

bool trace() const

Definition RDFDeadCode.h:41

DataFlowGraph & getDFG()

Definition RDFDeadCode.h:45

DeadCodeElimination(DataFlowGraph &dfg, MachineRegisterInfo &mri)

Definition RDFDeadCode.h:35

SetVector< NodeId > getDeadInstrs()

Definition RDFDeadCode.h:44

bool erase(const SetVector< NodeId > &Nodes)