LLVM: include/llvm/CodeGen/GlobalISel/InstructionSelector.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#ifndef LLVM_CODEGEN_GLOBALISEL_INSTRUCTIONSELECTOR_H

14#define LLVM_CODEGEN_GLOBALISEL_INSTRUCTIONSELECTOR_H

15

18

19namespace llvm {

21

23public:

25

26

27

28

29

30

31

32

33

34

35

37

39

40

41

42

44};

45}

46

47#endif

LLVM_ABI GIMatchTableExecutor()

Simple wrapper observer that takes several observers, and calls each one for each event.

GISelObserverWrapper * AllObservers

Note: InstructionSelect does not track changed instructions.

Definition InstructionSelector.h:43

virtual bool select(MachineInstr &I)=0

Select the (possibly generic) instruction I to only use target-specific opcodes.

MachineOptimizationRemarkEmitter * MORE

Definition InstructionSelector.h:38

~InstructionSelector() override

Representation of each machine instruction.

This is an optimization pass for GlobalISel generic memory operations.