llvm::gep_type_begin

gep_type_begin overloads

Synopses

Declared in <llvm/IR/GetElementPtrTypeIterator.h>

Return a begin iterator over the types indexed by GEP GEP.

gep_type_iterator
gep_type_begin(User const& GEP);
» more...

Return a begin iterator over the types indexed by GEP GEP.

gep_type_iterator
gep_type_begin(User const* GEP);
» more...

Return a begin iterator over GEP indices from type Op0 and operands A.

template<typename T>
generic_gep_type_iterator<T const*>
gep_type_begin(
    Type* Op0,
    ArrayRef<T> A);
» more...

Return Value

  • Begin iterator over the types indexed by GEP.
  • Begin iterator over GEP indices from Op0 and A.

Parameters

NameDescription
GEPGetElementPtr user whose indices are walked.
Op0Source element type of the GEP.
AIndex operands of the GEP.