LLVM
8.0.1
|
#include "llvm/CodeGen/GlobalISel/Legalizer.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/CodeGen/GlobalISel/CSEInfo.h"
#include "llvm/CodeGen/GlobalISel/CSEMIRBuilder.h"
#include "llvm/CodeGen/GlobalISel/GISelChangeObserver.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/TargetPassConfig.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Support/Debug.h"
#include <iterator>
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "legalizer" |
Typedefs | |
using | InstListTy = GISelWorkList< 256 > |
using | ArtifactListTy = GISelWorkList< 128 > |
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 | |
static cl::opt< bool > | EnableCSEInLegalizer ("enable-cse-in-legalizer", cl::desc("Should enable CSE in Legalizer"), cl::Optional, cl::init(false)) |
DEBUG_TYPE | |
Legalize the Machine IR a function s Machine | IR |
Legalize the Machine IR a function s Machine | false |
#define DEBUG_TYPE "legalizer" |
Definition at line 34 of file Legalizer.cpp.
using ArtifactListTy = GISelWorkList<128> |
Definition at line 84 of file Legalizer.cpp.
using InstListTy = GISelWorkList<256> |
Definition at line 83 of file Legalizer.cpp.
INITIALIZE_PASS_BEGIN | ( | Legalizer | , |
DEBUG_TYPE | , | ||
"Legalize the Machine IR a function's Machine IR" | , | ||
false | , | ||
false | |||
) |
|
static |
Definition at line 68 of file Legalizer.cpp.
References llvm::MachineInstr::getOpcode().
Referenced by llvm::Legalizer::runOnMachineFunction().
DEBUG_TYPE |
Definition at line 49 of file Legalizer.cpp.
|
static |
Referenced by llvm::Legalizer::runOnMachineFunction().
Definition at line 49 of file Legalizer.cpp.