#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
usingnamespacellvm;
LegalizeMutation LegalizeMutations::changeTo(unsigned TypeIdx, LLT Ty) { … }
LegalizeMutation LegalizeMutations::changeTo(unsigned TypeIdx,
unsigned FromTypeIdx) { … }
LegalizeMutation LegalizeMutations::changeElementTo(unsigned TypeIdx,
unsigned FromTypeIdx) { … }
LegalizeMutation LegalizeMutations::changeElementTo(unsigned TypeIdx,
LLT NewEltTy) { … }
LegalizeMutation LegalizeMutations::changeElementCountTo(unsigned TypeIdx,
unsigned FromTypeIdx) { … }
LegalizeMutation LegalizeMutations::changeElementCountTo(unsigned TypeIdx,
LLT NewEltTy) { … }
LegalizeMutation LegalizeMutations::changeElementSizeTo(unsigned TypeIdx,
unsigned FromTypeIdx) { … }
LegalizeMutation LegalizeMutations::widenScalarOrEltToNextPow2(unsigned TypeIdx,
unsigned Min) { … }
LegalizeMutation
LegalizeMutations::widenScalarOrEltToNextMultipleOf(unsigned TypeIdx,
unsigned Size) { … }
LegalizeMutation LegalizeMutations::moreElementsToNextPow2(unsigned TypeIdx,
unsigned Min) { … }
LegalizeMutation LegalizeMutations::scalarize(unsigned TypeIdx) { … }