LLVM: lib/Target/X86/MCA/X86CustomBehaviour.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#ifndef LLVM_LIB_TARGET_X86_MCA_X86CUSTOMBEHAVIOUR_H

18#define LLVM_LIB_TARGET_X86_MCA_X86CUSTOMBEHAVIOUR_H

19

22

23namespace llvm {

24namespace mca {

25

27

28

30

31

32

33

35

36public:

39

41

43};

44

45}

46}

47

48#endif

This file defines the base class CustomBehaviour which can be inherited from by specific targets (ex.

Instances of this class represent a single low-level machine instruction.

Interface to description of machine instruction set.

Generic base class for all target subtargets.

const MCSubtargetInfo & STI

InstrPostProcess(const MCSubtargetInfo &STI, const MCInstrInfo &MCII)

An instruction propagated through the simulated instruction pipeline.

~X86InstrPostProcess() override=default

X86InstrPostProcess(const MCSubtargetInfo &STI, const MCInstrInfo &MCII)

Definition X86CustomBehaviour.h:37

void postProcessInstruction(Instruction &Inst, const MCInst &MCI) override

This method can be overriden by targets to modify the mca::Instruction object after it has been lower...

This is an optimization pass for GlobalISel generic memory operations.