search for: createconstgep2_64

Displaying 5 results from an estimated 5 matches for "createconstgep2_64".

2016 May 09
2
C++ CreateConstGEP questions
...and get error checking or casting? Or choose to not supply the type and get whatever they get? But for CreateConstGEP2_32, there is only the variety with the type supplied: Value * CreateConstGEP2_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 re...
2011 Feb 01
2
[LLVMdev] Convenience methods in ConstantExpr et al
...t to convenience methods. Here's some examples: For creating GEPS, IRBuilder has: CreateGEP (2 overloads) CreateInBoundsGEP (2 overloads) CreateConstGEP1_32 CreateConstInBoundsGEP1_32 CreateConstGEP2_32 CreateConstInBoundsGEP2_32 CreateConstGEP1_64 CreateConstInBoundsGEP1_64 CreateConstGEP2_64 CreateConstInBoundsGEP2_64 CreateStructGEP All of which are very useful. However, ConstExpression only has: getGetElementPtr getGetElementPtr getInBoundsGetElementPtr getInBoundsGetElementPtr It would be nice if ConstantExpr's GEP-building methods used the same naming convention...
2011 Feb 02
0
[LLVMdev] Convenience methods in ConstantExpr et al
...gt; For creating GEPS, IRBuilder has: > > CreateGEP (2 overloads) > CreateInBoundsGEP (2 overloads) > CreateConstGEP1_32 > CreateConstInBoundsGEP1_32 > CreateConstGEP2_32 > CreateConstInBoundsGEP2_32 > CreateConstGEP1_64 > CreateConstInBoundsGEP1_64 > CreateConstGEP2_64 > CreateConstInBoundsGEP2_64 > CreateStructGEP > > All of which are very useful. However, ConstExpression only has: > > getGetElementPtr > getGetElementPtr > getInBoundsGetElementPtr > getInBoundsGetElementPtr > > It would be nice if ConstantExpr's G...
2011 Feb 02
2
[LLVMdev] Convenience methods in ConstantExpr et al
...t; CreateGEP (2 overloads) > CreateInBoundsGEP (2 overloads) > CreateConstGEP1_32 > CreateConstInBoundsGEP1_32 > CreateConstGEP2_32 > CreateConstInBoundsGEP2_32 > CreateConstGEP1_64 > CreateConstInBoundsGEP1_64 > CreateConstGEP2_64 > CreateConstInBoundsGEP2_64 > CreateStructGEP > > All of which are very useful. However, ConstExpression only has: > > getGetElementPtr > getGetElementPtr > getInBoundsGetElementPtr > getInBoundsGetElementPtr > > It...
2011 Feb 03
0
[LLVMdev] Convenience methods in ConstantExpr et al
...verloads) >> CreateInBoundsGEP (2 overloads) >> CreateConstGEP1_32 >> CreateConstInBoundsGEP1_32 >> CreateConstGEP2_32 >> CreateConstInBoundsGEP2_32 >> CreateConstGEP1_64 >> CreateConstInBoundsGEP1_64 >> CreateConstGEP2_64 >> CreateConstInBoundsGEP2_64 >> CreateStructGEP >> >> All of which are very useful. However, ConstExpression only has: >> >> getGetElementPtr >> getGetElementPtr >> getInBoundsGetElementPtr >> getInBoundsG...