LLVM 22.0.0git
LowLevelTypeUtils.h File Reference

Implement a low-level type suitable for MachineInstr level instruction selection. More...

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Functions

LLVM_ABI LLT llvm::getLLTForType (Type &Ty, const DataLayout &DL)
 Construct a low-level type based on an LLVM type.
LLVM_ABI MVT llvm::getMVTForLLT (LLT Ty)
 Get a rough equivalent of an MVT for a given LLT.
LLVM_ABI EVT llvm::getApproximateEVTForLLT (LLT Ty, LLVMContext &Ctx)
LLVM_ABI LLT llvm::getLLTForMVT (MVT Ty)
 Get a rough equivalent of an LLT for a given MVT.
LLVM_ABI const llvm::fltSemanticsllvm::getFltSemanticForLLT (LLT Ty)
 Get the appropriate floating point arithmetic semantic based on the bit size of the given scalar LLT.

Detailed Description

Implement a low-level type suitable for MachineInstr level instruction selection.

This provides the CodeGen aspects of LowLevelType, such as Type conversion.

Definition in file LowLevelTypeUtils.h.