Home
last modified time | relevance | path

Searched refs:CreateInBoundsGEP (Results 1 – 22 of 22) sorted by relevance

/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp85 return dyn_cast<Instruction>(Builder.CreateInBoundsGEP( in createReplacementInstr()
217 Builder.CreateInBoundsGEP(NewGV->getValueType(), NewGV, Indices); in lowerGlobal()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp350 Builder.CreateInBoundsGEP(ArrayPtr, IdxStart, "arraystart"); in VisitCXXStdInitializerListExpr()
367 Builder.CreateInBoundsGEP(ArrayPtr, IdxEnd, "arrayend"); in VisitCXXStdInitializerListExpr()
414 Builder.CreateInBoundsGEP(DestPtr, indices, "arrayinit.begin"); in EmitArrayInit()
453 element = Builder.CreateInBoundsGEP(element, one, "arrayinit.element"); in EmitArrayInit()
481 element = Builder.CreateInBoundsGEP(element, one, "arrayinit.start"); in EmitArrayInit()
486 llvm::Value *end = Builder.CreateInBoundsGEP(begin, in EmitArrayInit()
508 Builder.CreateInBoundsGEP(currentElement, one, "arrayinit.next"); in EmitArrayInit()
DCGDecl.cpp1440 llvm::Value *end = Builder.CreateInBoundsGEP(begin, length); in emitDestroy()
1483 llvm::Value *element = Builder.CreateInBoundsGEP(elementPast, negativeOne, in emitArrayDestroy()
1523 begin = CGF.Builder.CreateInBoundsGEP(begin, gepIndices, "pad.arraybegin"); in emitPartialArrayDestroy()
1524 end = CGF.Builder.CreateInBoundsGEP(end, gepIndices, "pad.arrayend"); in emitPartialArrayDestroy()
DMicrosoftCXXABI.cpp850 Value = CGF.Builder.CreateInBoundsGEP(Value, Offset); in performBaseAdjustment()
1072 llvm::Value *VtorDispPtr = Builder.CreateInBoundsGEP(Int8This, VBaseOffset); in initializeHiddenVirtualInheritanceMembers()
1249 This = CGF.Builder.CreateInBoundsGEP(This, VBaseOffset); in adjustThisArgumentForVirtualFunctionCall()
1842 V = CGF.Builder.CreateInBoundsGEP(VBPtr, VBaseOffset); in performThisAdjustment()
1873 V = CGF.Builder.CreateInBoundsGEP(VBPtr, VBaseOffset); in performReturnAdjustment()
2446 Builder.CreateInBoundsGEP(This, VBPtrOffset, "vbptr"); in GetVBaseOffsetFromVBPtr()
2458 llvm::Value *VBaseOffs = Builder.CreateInBoundsGEP(VBTable, VBTableIndex); in GetVBaseOffsetFromVBPtr()
2507 llvm::Value *AdjustedBase = Builder.CreateInBoundsGEP(VBPtr, VBaseOffs); in AdjustVirtualBase()
2557 Builder.CreateInBoundsGEP(Base, FieldOffset, "memptr.offset"); in EmitMemberDataPointerAddress()
2796 Ptr = Builder.CreateInBoundsGEP(Ptr, NonVirtualBaseAdjustment); in EmitLoadOfMemberFunctionPointer()
DCGObjCRuntime.cpp96 V = CGF.Builder.CreateInBoundsGEP(V, Offset, "add.ptr"); in EmitValueForIvarAtOffset()
DCGClass.cpp134 ptr = CGF.Builder.CreateInBoundsGEP(ptr, baseOffset, "add.ptr"); in ApplyNonVirtualAndVirtualOffset()
456 Dest = CGF.Builder.CreateInBoundsGEP(Dest, ArrayIndex, "destaddress"); in EmitAggMemberInitializer()
1662 llvm::Value *arrayEnd = Builder.CreateInBoundsGEP(arrayBegin, numElements, in EmitCXXAggrConstructorCall()
1706 Builder.CreateInBoundsGEP(cur, llvm::ConstantInt::get(SizeTy, 1), in EmitCXXAggrConstructorCall()
DCGExprCXX.cpp968 Builder.CreateInBoundsGEP(BeginPtr, NumElements, "array.end"); in EmitNewArrayInitializer()
1574 CGF.Builder.CreateInBoundsGEP(deletedPtr, numElements, "delete.end"); in EmitArrayDelete()
1622 Ptr = Builder.CreateInBoundsGEP(Ptr, GEP, "del.first"); in EmitCXXDeleteExpr()
DCGExpr.cpp619 Builder.CreateLoad(Builder.CreateInBoundsGEP(Cache, Indices)); in EmitTypeCheck()
1435 Builder.CreateInBoundsGEP(CastToPointerElement, in EmitExtVectorElementLValue()
2464 Address = Builder.CreateInBoundsGEP(Address, Idx, "arrayidx"); in EmitArraySubscriptExpr()
2489 Address = Builder.CreateInBoundsGEP(Address, Idx, "arrayidx"); in EmitArraySubscriptExpr()
2528 Address = Builder.CreateInBoundsGEP(ArrayPtr, Args, "arrayidx"); in EmitArraySubscriptExpr()
2535 Address = Builder.CreateInBoundsGEP(Base, Idx, "arrayidx"); in EmitArraySubscriptExpr()
DItaniumCXXABI.cpp436 Ptr = Builder.CreateInBoundsGEP(Ptr, Adj); in EmitLoadOfMemberFunctionPointer()
501 llvm::Value *Addr = Builder.CreateInBoundsGEP(Base, MemPtr, "memptr.offset"); in EmitMemberDataPointerAddress()
894 CompletePtr = CGF.Builder.CreateInBoundsGEP(CompletePtr, Offset); in emitVirtualObjectDelete()
1154 Value = CGF.Builder.CreateInBoundsGEP(Value, OffsetToTop); in EmitDynamicCastToVoid()
1514 V = CGF.Builder.CreateInBoundsGEP(V, Offset); in performTypeAdjustment()
DCGExprScalar.cpp1744 value = Builder.CreateInBoundsGEP(value, numElts, "vla.inc"); in EmitScalarPrePostIncDec()
1754 value = Builder.CreateInBoundsGEP(value, amt, "incdec.funcptr"); in EmitScalarPrePostIncDec()
1763 value = Builder.CreateInBoundsGEP(value, amt, "incdec.ptr"); in EmitScalarPrePostIncDec()
1840 value = Builder.CreateInBoundsGEP(value, sizeValue, "incdec.objptr"); in EmitScalarPrePostIncDec()
2484 pointer = CGF.Builder.CreateInBoundsGEP(pointer, index, "add.ptr"); in emitPointerArithmetic()
2501 return CGF.Builder.CreateInBoundsGEP(pointer, index, "add.ptr"); in emitPointerArithmetic()
DCodeGenFunction.cpp1230 llvm::Value *end = Builder.CreateInBoundsGEP(dest, sizeInChars, "vla.end"); in emitNonZeroVLAInit()
1445 addr = Builder.CreateInBoundsGEP(addr, gepIndices, "array.begin"); in emitArrayLength()
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp620 Builder.CreateInBoundsGEP(Builder.getInt8Ty(), Reduced, Bump); in rewriteCandidateWithBasis()
629 Reduced = Builder.CreateInBoundsGEP(nullptr, Basis.Ins, Bump); in rewriteCandidateWithBasis()
DSROA.cpp1554 return IRB.CreateInBoundsGEP(nullptr, BasePtr, Indices, in buildGEP()
1806 : IRB.CreateInBoundsGEP(IRB.getInt8Ty(), Int8Ptr, in getAdjustedPtr()
3255 IRB.CreateInBoundsGEP(nullptr, Ptr, GEPIndices, Name + ".gep"); in emitFunc()
3288 IRB.CreateInBoundsGEP(nullptr, Ptr, GEPIndices, Name + ".gep")); in emitFunc()
/external/llvm/include/llvm/IR/
DIRBuilder.h1036 Value *CreateInBoundsGEP(Value *Ptr, ArrayRef<Value *> IdxList,
1038 return CreateInBoundsGEP(nullptr, Ptr, IdxList, Name);
1040 Value *CreateInBoundsGEP(Type *Ty, Value *Ptr, ArrayRef<Value *> IdxList,
1063 Value *CreateInBoundsGEP(Type *Ty, Value *Ptr, Value *Idx,
1168 return CreateInBoundsGEP(gv->getValueType(), gv, Args, Name);
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1613 ? Builder->CreateInBoundsGEP( in visitGetElementPtrInst()
1634 ? Builder->CreateInBoundsGEP(nullptr, StrippedPtr, Idx, in visitGetElementPtrInst()
1669 ? Builder->CreateInBoundsGEP(nullptr, StrippedPtr, NewIdx, in visitGetElementPtrInst()
1711 ? Builder->CreateInBoundsGEP( in visitGetElementPtrInst()
1778 ? Builder->CreateInBoundsGEP(nullptr, Operand, NewIndices) in visitGetElementPtrInst()
2271 Value *GEP = Builder->CreateInBoundsGEP(L->getType(), in visitExtractValueInst()
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp349 : Builder.CreateInBoundsGEP( in remapConstantExpr()
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp621 Value *Counter = Builder.CreateInBoundsGEP(Counters->getValueType(), in emitProfileArcs()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp479 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStpCpy()
2279 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStrpCpyChk()
DSimplifyCFG.cpp3887 Value *GEP = Builder.CreateInBoundsGEP(Array->getValueType(), Array, in BuildLookup()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1145 Builder.CreateInBoundsGEP(EltTy, FirstEltPtr, Builder.getInt32(Idx)); in ScalarizeMaskedLoad()
1240 Builder.CreateInBoundsGEP(EltTy, FirstEltPtr, Builder.getInt32(Idx)); in ScalarizeMaskedStore()
/external/llvm/lib/IR/
DCore.cpp2516 unwrap(B)->CreateInBoundsGEP(nullptr, unwrap(Pointer), IdxList, Name)); in LLVMBuildInBoundsGEP()
/external/llvm/bindings/go/llvm/
Dir.go1488 func (b Builder) CreateInBoundsGEP(p Value, indices []Value, name string) (v Value) { func