LLVM  11.0.0git
Macros | Functions
X86AvoidTrailingCall.cpp File Reference
#include "X86.h"
#include "X86InstrInfo.h"
#include "X86Subtarget.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
Include dependency graph for X86AvoidTrailingCall.cpp:

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 isRealInstruction (MachineInstr &MI)
 
static bool isCallInstruction (const MachineInstr &MI)
 

Macro Definition Documentation

◆ AVOIDCALL_DESC

#define AVOIDCALL_DESC   "X86 avoid trailing call pass"

Definition at line 40 of file X86AvoidTrailingCall.cpp.

Referenced by llvm::createX86AvoidTrailingCallPass().

◆ AVOIDCALL_NAME

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

Definition at line 41 of file X86AvoidTrailingCall.cpp.

Referenced by llvm::createX86AvoidTrailingCallPass().

◆ DEBUG_TYPE

#define DEBUG_TYPE   AVOIDCALL_NAME

Definition at line 43 of file X86AvoidTrailingCall.cpp.

Function Documentation

◆ isCallInstruction()

static bool isCallInstruction ( const MachineInstr MI)
static

◆ isRealInstruction()

static bool isRealInstruction ( MachineInstr MI)
static

Definition at line 72 of file X86AvoidTrailingCall.cpp.

References MI.

Referenced by isCallInstruction().