search for: gep1_64

Displaying 1 result from an estimated 1 matches for "gep1_64".

Did you mean: gep1_32
2016 May 09
2
C++ CreateConstGEP questions
...2_32 (Type *Ty, Value *Ptr, unsigned Idx0, unsigned Idx1, const Twine &Name="") For CreateConstGEP2_64, there is only the version with no Type supplied: Value * CreateConstGEP2_64 (Value *Ptr, uint64_t Idx0, uint64_t Idx1, const Twine &Name="") Same for CreateConstGEP1_64 -- no Type* parameter. Can anybody offer insight into the strange lack of symmetry here? Why does GEP2_32 require the type, but GEP1_64 and GEP2_64 doesn't allow it all, but GEP1_32 has both varieties? Is it always safe to pass nullptr as the type? Also, if you know your constant indices fit...