LLVM
8.0.1
|
#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>
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "legalizer-info" |
Functions | |
static LLT | getTypeFromTypeIdx (const MachineInstr &MI, const MachineRegisterInfo &MRI, unsigned OpIdx, unsigned TypeIdx) |
Helper function to get LLT for the given type index. More... | |
#define DEBUG_TYPE "legalizer-info" |
Definition at line 39 of file LegalizerInfo.cpp.
|
static |
Helper function to get LLT for the given type index.
Definition at line 254 of file LegalizerInfo.cpp.
References assert(), llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), getReg(), and llvm::MachineRegisterInfo::getType().
Referenced by llvm::LegalizerInfo::getAction().