LLVM: lib/Transforms/Utils/InstructionNamer.cpp 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

20

21using namespace llvm;

22

25 if (!Arg.hasName())

26 Arg.setName("arg");

27 }

28

30 if (!BB.hasName())

31 BB.setName("bb");

32

34 if (I.hasName() && I.getType()->isVoidTy())

35 I.setName("i");

36 }

37 }

38}

39

This header defines various interfaces for pass management in LLVM.

static void nameInstructions(Function &F)

Definition InstructionNamer.cpp:23

FunctionAnalysisManager FAM

This class represents an incoming formal argument to a Function.

LLVM Basic Block Representation.

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

static PreservedAnalyses all()

Construct a special preserved set that preserves all passes.

This is an optimization pass for GlobalISel generic memory operations.

AnalysisManager< Function > FunctionAnalysisManager

Convenience typedef for the Function analysis manager.

PreservedAnalyses run(Function &, FunctionAnalysisManager &)

Definition InstructionNamer.cpp:40