LLVM  6.0.0svn
Macros | Functions | Variables
Legalizer.cpp File Reference
#include "llvm/CodeGen/GlobalISel/Legalizer.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/CodeGen/GlobalISel/GISelWorkList.h"
#include "llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h"
#include "llvm/CodeGen/GlobalISel/LegalizerHelper.h"
#include "llvm/CodeGen/GlobalISel/Utils.h"
#include "llvm/CodeGen/MachineOptimizationRemarkEmitter.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Support/Debug.h"
#include <iterator>
Include dependency graph for Legalizer.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "legalizer"
 

Functions

 INITIALIZE_PASS_BEGIN (Legalizer, DEBUG_TYPE, "Legalize the Machine IR a function's Machine IR", false, false) INITIALIZE_PASS_END(Legalizer
 
static bool isArtifact (const MachineInstr &MI)
 

Variables

 DEBUG_TYPE
 
Legalize the Machine IR a function s Machine IR
 
Legalize the Machine IR a function s Machine false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "legalizer"

Definition at line 32 of file Legalizer.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( Legalizer  ,
DEBUG_TYPE  ,
"Legalize the Machine IR a function's Machine IR ,
false  ,
false   
)

◆ isArtifact()

static bool isArtifact ( const MachineInstr MI)
static

Definition at line 57 of file Legalizer.cpp.

References llvm::MachineInstr::getOpcode().

Referenced by llvm::Legalizer::runOnMachineFunction().

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 41 of file Legalizer.cpp.

◆ false

Legalize the Machine IR a function s Machine false

Definition at line 41 of file Legalizer.cpp.

◆ IR

Legalize the Machine IR a function s Machine IR

Definition at line 41 of file Legalizer.cpp.