| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | IndirectCallPromotion.cpp | 156 Instruction *VPtr; member 359 bool tryToPromoteWithFuncCmp(CallBase &CB, Instruction *VPtr, 370 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates, 400 void updateVPtrValueProfiles(Instruction *VPtr, 556 Instruction *VPtr = VirtualCallInfo.VPtr; in computeVTableInfos() local 564 getValueProfDataFromInst(*VirtualCallInfo.VPtr, IPVK_VTableTarget, in computeVTableInfos() 567 return VPtr; in computeVTableInfos() 605 return VPtr; in computeVTableInfos() 644 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates, in tryToPromoteWithFuncCmp() argument 685 updateVPtrValueProfiles(VPtr, VTableGUIDCounts); in tryToPromoteWithFuncCmp() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | IndirectCallVisitor.h | 70 Instruction *VPtr = in visitCallBase() local 72 if (VPtr) in visitCallBase() 73 ProfiledAddresses.push_back(VPtr); in visitCallBase()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TypeMetadataUtils.cpp | 55 const Module *M, SmallVectorImpl<DevirtCallSite> &DevirtCalls, Value *VPtr, in findLoadCallsAtConstantOffset() argument 57 if (!VPtr->hasUseList()) in findLoadCallsAtConstantOffset() 60 for (const Use &U : VPtr->uses()) { in findLoadCallsAtConstantOffset() 68 if (VPtr == GEP->getPointerOperand() && GEP->hasAllConstantIndices()) { in findLoadCallsAtConstantOffset()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | CallPromotionUtils.h | 75 LLVM_ABI CallBase &promoteCallWithVTableCmp(CallBase &CB, Instruction *VPtr,
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Context.cpp | 35 Value *Context::registerValue(std::unique_ptr<Value> &&VPtr) { in registerValue() argument 36 assert(VPtr->getSubclassID() != Value::ClassID::User && in registerValue() 39 Value *V = VPtr.get(); in registerValue() 41 LLVMValueToValueMap.insert({VPtr->Val, std::move(VPtr)}); in registerValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 664 CallBase &llvm::promoteCallWithVTableCmp(CallBase &CB, Instruction *VPtr, in promoteCallWithVTableCmp() argument 672 ICmps.push_back(Builder.CreateICmpEQ(VPtr, AddressPoint)); in promoteCallWithVTableCmp()
|
| H A D | InlineFunction.cpp | 2083 Instruction *VPtr = PGOIndirectCallVisitor::tryGetVTableInstruction(CB); in updateProfileCallee() local 2084 if (VPtr) in updateProfileCallee() 2085 scaleProfData(*VPtr, NewEntryCount, PriorEntryCount); in updateProfileCallee()
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | InstrProfReader.cpp | 566 const IntPtrT VPtr = swap(I->VTablePointer); in createSymtab() local 567 if (!VPtr) in createSymtab() 573 Symtab.mapVTableAddress(VPtr, VPtr + swap(I->VTableSize), in createSymtab()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Context.h | 122 LLVM_ABI Value *registerValue(std::unique_ptr<Value> &&VPtr);
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGClass.cpp | 2370 void CodeGenFunction::EmitVTableAssumptionLoad(const VPtr &Vptr, Address This) { in EmitVTableAssumptionLoad() 2394 for (const VPtr &Vptr : getVTablePointers(ClassDecl)) in EmitVTableAssumptionLoads() 2557 void CodeGenFunction::InitializeVTablePointer(const VPtr &Vptr) { in InitializeVTablePointer() 2633 VPtr Vptr = {Base, NearestVBase, OffsetFromNearestVBase, VTableClass}; in getVTablePointers() 2686 for (const VPtr &Vptr : getVTablePointers(RD)) in InitializeVTablePointers()
|
| H A D | CGCXXABI.h | 456 CodeGenFunction::VPtr Vptr) = 0;
|
| H A D | ItaniumCXXABI.cpp | 292 CodeGenFunction::VPtr Vptr) override; 1747 llvm::Instruction *VPtr = CGF.Builder.CreateLoad( in emitExactDynamicCast() local 1750 VPtr, CGM.getTBAAVTablePtrAccessInfo(CGF.VoidPtrPtrTy)); in emitExactDynamicCast() 1752 VPtr, getVTableAddressPoint(BaseSubobject(SrcDecl, *Offset), DestDecl)); in emitExactDynamicCast() 2080 CodeGenFunction &CGF, CodeGenFunction::VPtr Vptr) { in isVirtualOffsetNeededForVTableField()
|
| H A D | CodeGenFunction.h | 2440 struct VPtr { 2448 void InitializeVTablePointer(const VPtr &vptr); 2450 typedef llvm::SmallVector<VPtr, 4> VPtrsVector; 3201 void EmitVTableAssumptionLoad(const VPtr &vptr, Address This);
|
| H A D | MicrosoftCXXABI.cpp | 315 CodeGenFunction::VPtr Vptr) override; 1784 CodeGenFunction &CGF, CodeGenFunction::VPtr Vptr) { in isVirtualOffsetNeededForVTableField() 1955 Address VPtr = in getVirtualFunctionPointer() local 1960 CGF.GetVTablePtr(VPtr, CGF.UnqualPtrTy, MethodDecl->getParent()); in getVirtualFunctionPointer()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Scalarizer.cpp | 1240 Scatterer VPtr = scatter(&SI, SI.getPointerOperand(), Layout->VS); in visitStoreInst() local 1247 Value *Ptr = VPtr[I]; in visitStoreInst()
|
| /freebsd/contrib/llvm-project/lldb/source/Core/ |
| H A D | PluginManager.cpp | 75 template <typename FPtrTy> static FPtrTy CastToFPtr(void *VPtr) { in CastToFPtr() argument 76 return reinterpret_cast<FPtrTy>(VPtr); in CastToFPtr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 9535 Value *VPtr = *SimplifiedOpV; in updateImpl() local 9539 *this, IRPosition::value(*VPtr, getCallBaseContext()), in updateImpl() 10892 Value *VPtr = &V; in addValue() local 10912 VPtr = *SimpleV; in addValue() 10915 if (isa<ConstantInt>(VPtr)) in addValue() 10917 if (!AA::isValidInScope(*VPtr, AnchorScope)) in addValue() 10920 State.unionAssumed({{*VPtr, CtxI}, S}); in addValue()
|