#include "X86CustomBehaviour.h"
#include "TargetInfo/X86TargetInfo.h"
#include "MCTargetDesc/X86BaseInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/WithColor.h"
namespace llvm {
namespace mca {
void X86InstrPostProcess::setMemBarriers(std::unique_ptr<Instruction> &Inst,
const MCInst &MCI) { … }
void X86InstrPostProcess::postProcessInstruction(
std::unique_ptr<Instruction> &Inst, const MCInst &MCI) { … }
}
}
usingnamespacellvm;
usingnamespacemca;
static InstrPostProcess *createX86InstrPostProcess(const MCSubtargetInfo &STI,
const MCInstrInfo &MCII) { … }
extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeX86TargetMCA() { … }