LLVM 22.0.0git
X86CustomBehaviour.cpp File Reference

This file implements methods from the X86CustomBehaviour class. More...

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::mca

Functions

static InstrPostProcesscreateX86InstrPostProcess (const MCSubtargetInfo &STI, const MCInstrInfo &MCII)
LLVM_C_ABI void LLVMInitializeX86TargetMCA ()
 Extern function to initialize the targets for the X86 backend.

Detailed Description

This file implements methods from the X86CustomBehaviour class.

Definition in file X86CustomBehaviour.cpp.

Function Documentation

◆ createX86InstrPostProcess()

InstrPostProcess * createX86InstrPostProcess ( const MCSubtargetInfo & STI,
const MCInstrInfo & MCII )
static

Definition at line 72 of file X86CustomBehaviour.cpp.

Referenced by LLVMInitializeX86TargetMCA().

◆ LLVMInitializeX86TargetMCA()

LLVM_C_ABI void LLVMInitializeX86TargetMCA ( )

Extern function to initialize the targets for the X86 backend.

Definition at line 79 of file X86CustomBehaviour.cpp.

References createX86InstrPostProcess(), llvm::getTheX86_32Target(), llvm::getTheX86_64Target(), LLVM_C_ABI, and llvm::TargetRegistry::RegisterInstrPostProcess().