File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1370,6 +1370,12 @@ func (v Value) Indices() []uint32 {
13701370func (v Value ) IntPredicate () IntPredicate { return IntPredicate (C .LLVMGetICmpPredicate (v .C )) }
13711371func (v Value ) FloatPredicate () FloatPredicate { return FloatPredicate (C .LLVMGetFCmpPredicate (v .C )) }
13721372
1373+ // Operations on GEPs
1374+ func (v Value ) GEPSourceElementType () (t Type ) { t .C = C .LLVMGetGEPSourceElementType (v .C ); return }
1375+
1376+ // Operations on allocas
1377+ func (v Value ) AllocatedType () (t Type ) { t .C = C .LLVMGetAllocatedType (v .C ); return }
1378+
13731379//-------------------------------------------------------------------------
13741380// llvm.Builder
13751381//-------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments