Lines Matching refs:VBPtrOffset
584 llvm::Value *VBPtrOffset,
590 int32_t VBPtrOffset, in GetVBaseOffsetFromVBPtr() argument
594 llvm::Value *VBPOffset = llvm::ConstantInt::get(CGM.IntTy, VBPtrOffset), in GetVBaseOffsetFromVBPtr()
608 llvm::Value *VBPtrOffset /* optional */);
763 int32_t VBPtrOffset = -1,
1045 llvm::Value *VBPtrOffset = llvm::ConstantInt::get(CGM.PtrDiffTy, VBPtrChars); in GetVirtualBaseClassOffset() local
1054 GetVBaseOffsetFromVBPtr(CGF, This, VBPtrOffset, VBTableOffset); in GetVirtualBaseClassOffset()
1057 return CGF.Builder.CreateNSWAdd(VBPtrOffset, VBPtrToNewBase); in GetVirtualBaseClassOffset()
2141 CharUnits VBPtrOffset = BaseLayout.getVBPtrOffset(); in emitVBTableDefinition() local
2142 Offsets[0] = llvm::ConstantInt::get(CGM.IntTy, -VBPtrOffset.getQuantity()); in emitVBTableDefinition()
2151 CharUnits CompleteVBPtrOffset = VBT.NonVirtualOffset + VBPtrOffset; in emitVBTableDefinition()
2200 if (TA.Virtual.Microsoft.VBPtrOffset) { in performThisAdjustment()
2204 assert(TA.Virtual.Microsoft.VBPtrOffset > 0); in performThisAdjustment()
2209 -TA.Virtual.Microsoft.VBPtrOffset, in performThisAdjustment()
2241 GetVBaseOffsetFromVBPtr(CGF, Ret, RA.Virtual.Microsoft.VBPtrOffset, in performReturnAdjustment()
3002 llvm::Value *VBPtrOffset, in GetVBaseOffsetFromVBPtr() argument
3009 Builder.CreateInBoundsGEP(This.getPointer(), VBPtrOffset, "vbptr"); in GetVBaseOffsetFromVBPtr()
3015 if (auto CI = dyn_cast<llvm::ConstantInt>(VBPtrOffset)) { in GetVBaseOffsetFromVBPtr()
3040 Address Base, llvm::Value *VBTableOffset, llvm::Value *VBPtrOffset) { in AdjustVirtualBase() argument
3051 if (VBPtrOffset) { in AdjustVirtualBase()
3064 if (!VBPtrOffset) { in AdjustVirtualBase()
3075 VBPtrOffset = llvm::ConstantInt::get(CGM.IntTy, offs.getQuantity()); in AdjustVirtualBase()
3079 GetVBaseOffsetFromVBPtr(CGF, Base, VBPtrOffset, VBTableOffset, &VBPtr); in AdjustVirtualBase()
3109 llvm::Value *VBPtrOffset = nullptr; in EmitMemberDataPointerAddress() local
3115 VBPtrOffset = Builder.CreateExtractValue(MemPtr, I++); in EmitMemberDataPointerAddress()
3123 VBPtrOffset); in EmitMemberDataPointerAddress()
3220 llvm::Value *VBPtrOffset = getZeroInt(); in EmitNonNullMemberPointerConversion() local
3228 VBPtrOffset = Builder.CreateExtractValue(Src, I++); in EmitNonNullMemberPointerConversion()
3310 VBPtrOffset = in EmitNonNullMemberPointerConversion()
3339 Dst = Builder.CreateInsertValue(Dst, VBPtrOffset, Idx++); in EmitNonNullMemberPointerConversion()
3403 llvm::Value *VBPtrOffset = nullptr; in EmitLoadOfMemberFunctionPointer() local
3411 VBPtrOffset = Builder.CreateExtractValue(MemPtr, I++); in EmitLoadOfMemberFunctionPointer()
3418 VirtualBaseAdjustmentOffset, VBPtrOffset); in EmitLoadOfMemberFunctionPointer()
3715 int32_t VBPtrOffset = -1; in getBaseClassDescriptor() local
3719 VBPtrOffset = Context.getASTRecordLayout(RD).getVBPtrOffset().getQuantity(); in getBaseClassDescriptor()
3726 Class.RD, Class.OffsetInVBase, VBPtrOffset, OffsetInVBTable, in getBaseClassDescriptor()
3748 llvm::ConstantInt::get(CGM.IntTy, VBPtrOffset), in getBaseClassDescriptor()
4063 int32_t VBPtrOffset, in getCatchableType() argument
4080 VBPtrOffset, VBIndex, Out); in getCatchableType()
4130 llvm::ConstantInt::get(CGM.IntTy, VBPtrOffset), // OffsetToVBPtr in getCatchableType()
4191 int32_t VBPtrOffset = -1; in getCatchableTypeArray() local
4195 VBPtrOffset = MostDerivedLayout.getVBPtrOffset().getQuantity(); in getCatchableTypeArray()
4204 VBPtrOffset, OffsetInVBTable)); in getCatchableTypeArray()