LLVM 20.0.0git
Macros | Functions
X86ExpandPseudo.cpp File Reference
#include "X86.h"
#include "X86FrameLowering.h"
#include "X86InstrInfo.h"
#include "X86MachineFunctionInfo.h"
#include "X86Subtarget.h"
#include "llvm/CodeGen/LivePhysRegs.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/IR/EHPersonalities.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/Target/TargetMachine.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "x86-pseudo"
 
#define X86_EXPAND_PSEUDO_NAME   "X86 pseudo instruction expansion pass"
 
#define GET_EGPR_IF_ENABLED(OPC)   (STI->hasEGPR() ? OPC##_EVEX : OPC)
 
#define MI_TO_RI(OP)
 

Functions

 INITIALIZE_PASS (X86ExpandPseudo, DEBUG_TYPE, X86_EXPAND_PSEUDO_NAME, false, false) void X86ExpandPseudo
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "x86-pseudo"

Definition at line 29 of file X86ExpandPseudo.cpp.

◆ GET_EGPR_IF_ENABLED

#define GET_EGPR_IF_ENABLED (   OPC)    (STI->hasEGPR() ? OPC##_EVEX : OPC)

◆ MI_TO_RI

#define MI_TO_RI (   OP)
Value:
case X86::OP##32mi_ND: \
Opc = X86::OP##32ri; \
LoadOpc = X86::MOV32rm; \
break; \
case X86::OP##64mi32_ND: \
Opc = X86::OP##64ri32; \
LoadOpc = X86::MOV64rm; \
break;

◆ X86_EXPAND_PSEUDO_NAME

#define X86_EXPAND_PSEUDO_NAME   "X86 pseudo instruction expansion pass"

Definition at line 30 of file X86ExpandPseudo.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( X86ExpandPseudo  ,
DEBUG_TYPE  ,
X86_EXPAND_PSEUDO_NAME  ,
false  ,
false   
)