LLVM: include/llvm/Transforms/Instrumentation/AllocToken.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_TRANSFORMS_INSTRUMENTATION_ALLOCTOKEN_H

15#define LLVM_TRANSFORMS_INSTRUMENTATION_ALLOCTOKEN_H

16

20#include

21

22namespace llvm {

23

25

33

34

35

37public:

41

42private:

44};

45

46}

47

48#endif

This header defines various interfaces for pass management in LLVM.

ModuleAnalysisManager MAM

LLVM_ABI AllocTokenPass(AllocTokenOptions Opts={})

LLVM_ABI PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM)

static bool isRequired()

Definition AllocToken.h:40

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.

Pass manager infrastructure for declaring and invalidating analyses.

This is an optimization pass for GlobalISel generic memory operations.

constexpr AllocTokenMode DefaultAllocTokenMode

The default allocation token mode.

AllocTokenMode

Modes for generating allocation token IDs.

AnalysisManager< Module > ModuleAnalysisManager

Convenience typedef for the Module analysis manager.

Definition AllocToken.h:26

AllocTokenMode Mode

Definition AllocToken.h:27

AllocTokenOptions()=default

bool FastABI

Definition AllocToken.h:29

bool Extended

Definition AllocToken.h:30

uint64_t MaxTokens

Definition AllocToken.h:28

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