Get a rough equivalent of an EVT for a given LLT.
Synopsis
Declared in <llvm/CodeGen/LowLevelTypeUtils.h>
EVT
getApproximateEVTForLLT(
LLT Ty,
LLVMContext& Ctx);
Description
Always converts to a plain integer EVT of the same bit width.
Return Value
Integer EVT with the same bit width as Ty.
Parameters
Name |
Description |
Ty |
Low‐level type to convert. |
Ctx |
LLVM context used to create extended value types. |
Created with MrDocs