16#ifndef LLVM_CODEGEN_LOWLEVELTYPEUTILS_H
17#define LLVM_CODEGEN_LOWLEVELTYPEUTILS_H
MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL
Implement a low-level type suitable for MachineInstr level instruction selection.
This is an optimization pass for GlobalISel generic memory operations.
const llvm::fltSemantics & getFltSemanticForLLT(LLT Ty)
Get the appropriate floating point arithmetic semantic based on the bit size of the given scalar LLT.
MVT getMVTForLLT(LLT Ty)
Get a rough equivalent of an MVT for a given LLT.
LLT getLLTForMVT(MVT Ty)
Get a rough equivalent of an LLT for a given MVT.
EVT getApproximateEVTForLLT(LLT Ty, LLVMContext &Ctx)
LLT getLLTForType(Type &Ty, const DataLayout &DL)
Construct a low-level type based on an LLVM type.