Home
last modified time | relevance | path

Searched refs:VTableOffset (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp559 APInt VTableOffset(DL.getTypeSizeInBits(VTableEntryPtr->getType()), 0); in tryPromoteCall() local
561 DL, VTableOffset, /* AllowNonInbounds */ true); in tryPromoteCall()
588 APInt VTableGVOffset = VTableOffsetGVBase + VTableOffset; in tryPromoteCall()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp211 uint64_t VTableOffset = VTableInfo.second; in ScanVTableLoad() local
214 getPointerAtOffset(VTable->getInitializer(), VTableOffset + CallOffset, in ScanVTableLoad()
H A DWholeProgramDevirt.cpp1081 if (VTP.VTableOffset != P.AddressPointOffset + ByteOffset) in tryFindVirtualCallTargets()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp653 llvm::Value *VTableOffset = FnAsInt; in EmitLoadOfMemberFunctionPointer() local
655 VTableOffset = Builder.CreateSub(VTableOffset, ptrdiff_1); in EmitLoadOfMemberFunctionPointer()
657 VTableOffset = Builder.CreateTrunc(VTableOffset, CGF.Int32Ty); in EmitLoadOfMemberFunctionPointer()
658 VTableOffset = Builder.CreateZExt(VTableOffset, CGM.PtrDiffTy); in EmitLoadOfMemberFunctionPointer()
690 Builder.CreateGEP(CGF.Int8Ty, VTable, VTableOffset); in EmitLoadOfMemberFunctionPointer()
709 Builder.CreateGEP(CGF.Int8Ty, VTable, VTableOffset); in EmitLoadOfMemberFunctionPointer()
722 {VTableOffset->getType()}), in EmitLoadOfMemberFunctionPointer()
723 {VTable, VTableOffset}); in EmitLoadOfMemberFunctionPointer()
1010 uint64_t VTableOffset; in BuildMemberPointer() local
1013 VTableOffset = Index * 4; in BuildMemberPointer()
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp578 assert(P.VTableOffset >= PrevOffset); in computeVTableFuncs()
579 PrevOffset = P.VTableOffset; in computeVTableFuncs()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h876 : FuncVI(VI), VTableOffset(Offset) {}
879 uint64_t VTableOffset;
/llvm-project-15.0.7/llvm/lib/IR/
H A DAsmWriter.cpp3102 << ", offset: " << P.VTableOffset; in printGlobalVarSummary()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3964 NameVals.push_back(P.VTableOffset); in writeModuleLevelReferences()