LLVM 20.0.0git
Macros | Functions
X86AvoidTrailingCall.cpp File Reference
#include "X86.h"
#include "X86InstrInfo.h"
#include "X86Subtarget.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"

Go to the source code of this file.

Macros

#define AVOIDCALL_DESC   "X86 avoid trailing call pass"
 
#define AVOIDCALL_NAME   "x86-avoid-trailing-call"
 
#define DEBUG_TYPE   AVOIDCALL_NAME
 

Functions

static bool isCallOrRealInstruction (MachineInstr &MI)
 
static bool isCallInstruction (const MachineInstr &MI)
 

Macro Definition Documentation

◆ AVOIDCALL_DESC

#define AVOIDCALL_DESC   "X86 avoid trailing call pass"

Definition at line 41 of file X86AvoidTrailingCall.cpp.

◆ AVOIDCALL_NAME

#define AVOIDCALL_NAME   "x86-avoid-trailing-call"

Definition at line 42 of file X86AvoidTrailingCall.cpp.

◆ DEBUG_TYPE

#define DEBUG_TYPE   AVOIDCALL_NAME

Definition at line 44 of file X86AvoidTrailingCall.cpp.

Function Documentation

◆ isCallInstruction()

static bool isCallInstruction ( const MachineInstr MI)
static

Definition at line 78 of file X86AvoidTrailingCall.cpp.

References MI.

◆ isCallOrRealInstruction()

static bool isCallOrRealInstruction ( MachineInstr MI)
static

Definition at line 73 of file X86AvoidTrailingCall.cpp.

References MI.