llvm::ConstantExpr::isSupportedGetElementPtr

Whether creating a constant expression for this getelementptr type is supported.

Synopsis

Declared in <llvm/IR/Constants.h>

static
bool
isSupportedGetElementPtr(Type const* SrcElemTy);

Return Value

True if a GEP constant expression over SrcElemTy is supported.

Parameters

NameDescription
SrcElemTyThe GEP source element type.