LLVM: include/llvm/Analysis/CycleAnalysis.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15#ifndef LLVM_ANALYSIS_CYCLEANALYSIS_H

16#define LLVM_ANALYSIS_CYCLEANALYSIS_H

17

21

22namespace llvm {

23

24

28

29public:

30 static char ID;

31

33

36

41

42

43};

44

45

49

50public:

51

53

55

56

58

59

60};

61

70

75

76}

77

78#endif

This file declares the LLVM IR specialization of the GenericCycle templates.

This header defines various interfaces for pass management in LLVM.

Represent the analysis usage information of a pass.

Analysis pass which computes a CycleInfo.

Definition CycleAnalysis.h:46

CycleInfo Result

Provide the result typedef for this analysis pass.

Definition CycleAnalysis.h:52

CycleInfoWrapperPass LegacyWrapper

Definition CycleAnalysis.h:54

CycleInfo run(Function &F, FunctionAnalysisManager &)

Run the analysis pass over a function and produce a dominator tree.

static bool isRequired()

Definition CycleAnalysis.h:68

CycleInfoPrinterPass(raw_ostream &OS)

PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)

Legacy analysis pass which computes a CycleInfo.

Definition CycleAnalysis.h:25

void getAnalysisUsage(AnalysisUsage &AU) const override

getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...

static char ID

Definition CycleAnalysis.h:30

void print(raw_ostream &OS, const Module *M=nullptr) const override

print - Print out the internal state of the pass.

bool runOnFunction(Function &F) override

runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.

CycleInfo & getResult()

Definition CycleAnalysis.h:34

void releaseMemory() override

releaseMemory() - This member can be implemented by a pass if it wants to be able to release its memo...

const CycleInfo & getResult() const

Definition CycleAnalysis.h:35

A Module instance is used to store all the information related to an LLVM module.

A set of analyses that are preserved following a run of a transformation pass.

This class implements an extremely fast bulk output stream that can only output to a stream.

This is an optimization pass for GlobalISel generic memory operations.

AnalysisManager< Function > FunctionAnalysisManager

Convenience typedef for the Function analysis manager.

GenericCycleInfo< SSAContext > CycleInfo

A CRTP mix-in that provides informational APIs needed for analysis passes.

A special type used by analysis passes to provide an address that identifies that particular analysis...

Definition CycleAnalysis.h:71

static bool isRequired()

Definition CycleAnalysis.h:73

PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM)

A CRTP mix-in to automatically provide informational APIs needed for passes.