llvm::DataLayout::getLargestLegalIntType

Returns the largest legal integer type, or null if none are set.

Synopsis

Declared in <llvm/IR/DataLayout.h>

Type*
getLargestLegalIntType(LLVMContext& C) const;

Return Value

the largest legal integer type, or null if none are set.

Parameters

NameDescription
CThis is an important class for using LLVM in a threaded context. It (opaquely) owns and manages the core "global" data of LLVM's core infrastructure, including the type and constant uniquing tables. LLVMContext itself provides no locking guarantees, so you should be careful to have one context per thread.