Return Ty after asserting it is a valid GEP index result type.

Synopsis

Declared in <llvm/IR/Instructions.h>

Type*
checkGEPType(Type* Ty);

Return Value

Ty unchanged when the assertion holds.

Parameters

Name

Description

Ty

The type produced by indexing into a GEP source.

Created with MrDocs