LLVM  14.0.0git
Classes | Namespaces
CustomBehaviour.h File Reference
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MCA/SourceMgr.h"
#include "llvm/MCA/View.h"
Include dependency graph for CustomBehaviour.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::mca::InstrPostProcess
 Class which can be overriden by targets to modify the mca::Instruction objects before the pipeline starts. More...
 
class  llvm::mca::CustomBehaviour
 Class which can be overriden by targets to enforce instruction dependencies and behaviours that aren't expressed well enough within the scheduling model for mca to automatically simulate them properly. More...
 

Namespaces

 llvm
 This file implements support for optimizing divisions by a constant.
 
 llvm::mca
 

Detailed Description

This file defines the base class CustomBehaviour which can be inherited from by specific targets (ex. llvm/tools/llvm-mca/lib/X86CustomBehaviour.h). CustomBehaviour is designed to enforce custom behaviour and dependencies within the llvm-mca pipeline simulation that llvm-mca isn't already capable of extracting from the Scheduling Models.

Definition in file CustomBehaviour.h.