Lines Matching refs:VBPtrOffset
565 llvm::Value *VBPtrOffset,
571 int32_t VBPtrOffset, in GetVBaseOffsetFromVBPtr() argument
575 llvm::Value *VBPOffset = llvm::ConstantInt::get(CGM.IntTy, VBPtrOffset), in GetVBaseOffsetFromVBPtr()
589 llvm::Value *VBPtrOffset /* optional */);
740 int32_t VBPtrOffset = -1,
1050 llvm::Value *VBPtrOffset = llvm::ConstantInt::get(CGM.PtrDiffTy, VBPtrChars); in GetVirtualBaseClassOffset() local
1059 GetVBaseOffsetFromVBPtr(CGF, This, VBPtrOffset, VBTableOffset); in GetVirtualBaseClassOffset()
1062 return CGF.Builder.CreateNSWAdd(VBPtrOffset, VBPtrToNewBase); in GetVirtualBaseClassOffset()
2010 CharUnits VBPtrOffset = BaseLayout.getVBPtrOffset(); in emitVBTableDefinition() local
2011 Offsets[0] = llvm::ConstantInt::get(CGM.IntTy, -VBPtrOffset.getQuantity()); in emitVBTableDefinition()
2020 CharUnits CompleteVBPtrOffset = VBT.NonVirtualOffset + VBPtrOffset; in emitVBTableDefinition()
2069 if (TA.Virtual.Microsoft.VBPtrOffset) { in performThisAdjustment()
2073 assert(TA.Virtual.Microsoft.VBPtrOffset > 0); in performThisAdjustment()
2078 -TA.Virtual.Microsoft.VBPtrOffset, in performThisAdjustment()
2110 GetVBaseOffsetFromVBPtr(CGF, Ret, RA.Virtual.Microsoft.VBPtrOffset, in performReturnAdjustment()
2843 llvm::Value *VBPtrOffset, in GetVBaseOffsetFromVBPtr() argument
2850 Builder.CreateInBoundsGEP(This.getPointer(), VBPtrOffset, "vbptr"); in GetVBaseOffsetFromVBPtr()
2856 if (auto CI = dyn_cast<llvm::ConstantInt>(VBPtrOffset)) { in GetVBaseOffsetFromVBPtr()
2881 Address Base, llvm::Value *VBTableOffset, llvm::Value *VBPtrOffset) { in AdjustVirtualBase() argument
2892 if (VBPtrOffset) { in AdjustVirtualBase()
2905 if (!VBPtrOffset) { in AdjustVirtualBase()
2916 VBPtrOffset = llvm::ConstantInt::get(CGM.IntTy, offs.getQuantity()); in AdjustVirtualBase()
2920 GetVBaseOffsetFromVBPtr(CGF, Base, VBPtrOffset, VBTableOffset, &VBPtr); in AdjustVirtualBase()
2950 llvm::Value *VBPtrOffset = nullptr; in EmitMemberDataPointerAddress() local
2956 VBPtrOffset = Builder.CreateExtractValue(MemPtr, I++); in EmitMemberDataPointerAddress()
2964 VBPtrOffset); in EmitMemberDataPointerAddress()
3061 llvm::Value *VBPtrOffset = getZeroInt(); in EmitNonNullMemberPointerConversion() local
3069 VBPtrOffset = Builder.CreateExtractValue(Src, I++); in EmitNonNullMemberPointerConversion()
3151 VBPtrOffset = in EmitNonNullMemberPointerConversion()
3180 Dst = Builder.CreateInsertValue(Dst, VBPtrOffset, Idx++); in EmitNonNullMemberPointerConversion()
3244 llvm::Value *VBPtrOffset = nullptr; in EmitLoadOfMemberFunctionPointer() local
3252 VBPtrOffset = Builder.CreateExtractValue(MemPtr, I++); in EmitLoadOfMemberFunctionPointer()
3259 VirtualBaseAdjustmentOffset, VBPtrOffset); in EmitLoadOfMemberFunctionPointer()
3551 int32_t VBPtrOffset = -1; in getBaseClassDescriptor() local
3555 VBPtrOffset = Context.getASTRecordLayout(RD).getVBPtrOffset().getQuantity(); in getBaseClassDescriptor()
3562 Class.RD, Class.OffsetInVBase, VBPtrOffset, OffsetInVBTable, in getBaseClassDescriptor()
3584 llvm::ConstantInt::get(CGM.IntTy, VBPtrOffset), in getBaseClassDescriptor()
3902 int32_t VBPtrOffset, in getCatchableType() argument
3919 VBPtrOffset, VBIndex, Out); in getCatchableType()
3969 llvm::ConstantInt::get(CGM.IntTy, VBPtrOffset), // OffsetToVBPtr in getCatchableType()
4030 int32_t VBPtrOffset = -1; in getCatchableTypeArray() local
4034 VBPtrOffset = MostDerivedLayout.getVBPtrOffset().getQuantity(); in getCatchableTypeArray()
4043 VBPtrOffset, OffsetInVBTable)); in getCatchableTypeArray()