LLVM  9.0.0svn
Macros | Functions
LegalizerInfo.cpp File Reference
#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
#include "llvm/ADT/SmallBitVector.h"
#include "llvm/CodeGen/GlobalISel/GISelChangeObserver.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetOpcodes.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/LowLevelTypeImpl.h"
#include "llvm/Support/MathExtras.h"
#include <algorithm>
#include <map>
Include dependency graph for LegalizerInfo.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "legalizer-info"
 

Functions

static bool hasNoSimpleLoops (const LegalizeRule &Rule, const LegalityQuery &Q, const std::pair< unsigned, LLT > &Mutation)
 
static bool mutationIsSane (const LegalizeRule &Rule, const LegalityQuery &Q, std::pair< unsigned, LLT > Mutation)
 
static LLT getTypeFromTypeIdx (const MachineInstr &MI, const MachineRegisterInfo &MRI, unsigned OpIdx, unsigned TypeIdx)
 Helper function to get LLT for the given type index. More...
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "legalizer-info"

Definition at line 38 of file LegalizerInfo.cpp.

Function Documentation

◆ getTypeFromTypeIdx()

static LLT getTypeFromTypeIdx ( const MachineInstr MI,
const MachineRegisterInfo MRI,
unsigned  OpIdx,
unsigned  TypeIdx 
)
static

◆ hasNoSimpleLoops()

static bool hasNoSimpleLoops ( const LegalizeRule Rule,
const LegalityQuery Q,
const std::pair< unsigned, LLT > &  Mutation 
)
static

◆ mutationIsSane()

static bool mutationIsSane ( const LegalizeRule Rule,
const LegalityQuery Q,
std::pair< unsigned, LLT Mutation 
)
static