#include "llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h"
#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
#include <map>
usingnamespacellvm;
usingnamespaceLegacyLegalizeActions;
#define DEBUG_TYPE …
raw_ostream &llvm::operator<<(raw_ostream &OS, LegacyLegalizeAction Action) { … }
LegacyLegalizerInfo::LegacyLegalizerInfo() { … }
void LegacyLegalizerInfo::computeTables() { … }
std::pair<LegacyLegalizeAction, LLT>
LegacyLegalizerInfo::getAspectAction(const InstrAspect &Aspect) const { … }
LegacyLegalizerInfo::SizeAndActionsVec
LegacyLegalizerInfo::increaseToLargerTypesAndDecreaseToLargest(
const SizeAndActionsVec &v, LegacyLegalizeAction IncreaseAction,
LegacyLegalizeAction DecreaseAction) { … }
LegacyLegalizerInfo::SizeAndActionsVec
LegacyLegalizerInfo::decreaseToSmallerTypesAndIncreaseToSmallest(
const SizeAndActionsVec &v, LegacyLegalizeAction DecreaseAction,
LegacyLegalizeAction IncreaseAction) { … }
LegacyLegalizerInfo::SizeAndAction
LegacyLegalizerInfo::findAction(const SizeAndActionsVec &Vec, const uint32_t Size) { … }
std::pair<LegacyLegalizeAction, LLT>
LegacyLegalizerInfo::findScalarLegalAction(const InstrAspect &Aspect) const { … }
std::pair<LegacyLegalizeAction, LLT>
LegacyLegalizerInfo::findVectorLegalAction(const InstrAspect &Aspect) const { … }
unsigned LegacyLegalizerInfo::getOpcodeIdxForOpcode(unsigned Opcode) const { … }
LegacyLegalizeActionStep
LegacyLegalizerInfo::getAction(const LegalityQuery &Query) const { … }