LLVM: include/llvm/MCA/Stages/InstructionTables.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#ifndef LLVM_MCA_STAGES_INSTRUCTIONTABLES_H

17#define LLVM_MCA_STAGES_INSTRUCTIONTABLES_H

18

25

26namespace llvm {

27namespace mca {

28

33

34public:

36 : SM(Model), Masks(Model.getNumProcResourceKinds()) {

38 }

39

42};

43}

44}

45

46#endif

Legalize the Machine IR a function s Machine IR

A scheduler for Processor Resource Units and Processor Resource Groups.

This file defines the SmallVector class.

This file defines a stage.

Lightweight error class with error context and mandatory checking.

This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.

An InstRef contains both a SourceMgr index and Instruction pair.

bool hasWorkToComplete() const override

Returns true if some instructions are still executing this stage.

Definition InstructionTables.h:40

InstructionTables(const MCSchedModel &Model)

Definition InstructionTables.h:35

Helper functions used by various pipeline components.

LLVM_ABI void computeProcResourceMasks(const MCSchedModel &SM, MutableArrayRef< uint64_t > Masks)

Populates vector Masks with processor resource masks.

This is an optimization pass for GlobalISel generic memory operations.

Machine model for scheduling, bundling, and heuristics.