LLVM 20.0.0git
Namespaces | Functions
LowLevelTypeUtils.h File Reference

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

#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/CodeGenTypes/LowLevelType.h"

Go to the source code of this file.

Namespaces

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

Functions

LLT llvm::getLLTForType (Type &Ty, const DataLayout &DL)
 Construct a low-level type based on an LLVM type.
 
MVT llvm::getMVTForLLT (LLT Ty)
 Get a rough equivalent of an MVT for a given LLT.
 
EVT llvm::getApproximateEVTForLLT (LLT Ty, const DataLayout &DL, LLVMContext &Ctx)
 
LLT llvm::getLLTForMVT (MVT Ty)
 Get a rough equivalent of an LLT for a given MVT.
 
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.