/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | IndirectCallPromotion.cpp | 148 Instruction *VPtr; member 351 bool tryToPromoteWithFuncCmp(CallBase &CB, Instruction *VPtr, 362 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates, 389 void updateVPtrValueProfiles(Instruction *VPtr, 544 Instruction *VPtr = VirtualCallInfo.VPtr; in computeVTableInfos() local 552 getValueProfDataFromInst(*VirtualCallInfo.VPtr, IPVK_VTableTarget, in computeVTableInfos() 555 return VPtr; in computeVTableInfos() 593 return VPtr; in computeVTableInfos() 632 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates, in tryToPromoteWithFuncCmp() argument 673 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 | 53 const Module *M, SmallVectorImpl<DevirtCallSite> &DevirtCalls, Value *VPtr, in findLoadCallsAtConstantOffset() argument 55 for (const Use &U : VPtr->uses()) { in findLoadCallsAtConstantOffset() 63 if (VPtr == GEP->getPointerOperand() && GEP->hasAllConstantIndices()) { in findLoadCallsAtConstantOffset()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | CallPromotionUtils.h | 70 CallBase &promoteCallWithVTableCmp(CallBase &CB, Instruction *VPtr,
|
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
H A D | SandboxIR.cpp | 719 Value *Context::registerValue(std::unique_ptr<Value> &&VPtr) { in registerValue() argument 720 assert(VPtr->getSubclassID() != Value::ClassID::User && in registerValue() 722 Value *V = VPtr.get(); in registerValue() 724 LLVMValueToValueMap.insert({VPtr->Val, std::move(VPtr)}); in registerValue()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 575 CallBase &llvm::promoteCallWithVTableCmp(CallBase &CB, Instruction *VPtr, in promoteCallWithVTableCmp() argument 583 ICmps.push_back(Builder.CreateICmpEQ(VPtr, AddressPoint)); in promoteCallWithVTableCmp()
|
H A D | InlineFunction.cpp | 1995 Instruction *VPtr = PGOIndirectCallVisitor::tryGetVTableInstruction(CB); in updateProfileCallee() local 1996 if (VPtr) in updateProfileCallee() 1997 scaleProfData(*VPtr, NewEntryCount, PriorEntryCount); in updateProfileCallee()
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | InstrProfReader.cpp | 554 const IntPtrT VPtr = swap(I->VTablePointer); in createSymtab() local 555 if (!VPtr) in createSymtab() 561 Symtab.mapVTableAddress(VPtr, VPtr + swap(I->VTableSize), in createSymtab()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGClass.cpp | 2365 void CodeGenFunction::EmitVTableAssumptionLoad(const VPtr &Vptr, Address This) { in EmitVTableAssumptionLoad() 2389 for (const VPtr &Vptr : getVTablePointers(ClassDecl)) in EmitVTableAssumptionLoads() 2552 void CodeGenFunction::InitializeVTablePointer(const VPtr &Vptr) { in InitializeVTablePointer() 2628 VPtr Vptr = {Base, NearestVBase, OffsetFromNearestVBase, VTableClass}; in getVTablePointers() 2681 for (const VPtr &Vptr : getVTablePointers(RD)) in InitializeVTablePointers()
|
H A D | CGCXXABI.h | 456 CodeGenFunction::VPtr Vptr) = 0;
|
H A D | ItaniumCXXABI.cpp | 293 CodeGenFunction::VPtr Vptr) override; 1733 llvm::Instruction *VPtr = CGF.Builder.CreateLoad( in emitExactDynamicCast() local 1736 VPtr, CGM.getTBAAVTablePtrAccessInfo(CGF.VoidPtrPtrTy)); in emitExactDynamicCast() 1738 VPtr, getVTableAddressPoint(BaseSubobject(SrcDecl, *Offset), DestDecl)); in emitExactDynamicCast() 2062 CodeGenFunction &CGF, CodeGenFunction::VPtr Vptr) { in isVirtualOffsetNeededForVTableField()
|
H A D | MicrosoftCXXABI.cpp | 314 CodeGenFunction::VPtr Vptr) override; 1787 CodeGenFunction &CGF, CodeGenFunction::VPtr Vptr) { in isVirtualOffsetNeededForVTableField() 1960 Address VPtr = in getVirtualFunctionPointer() local 1964 llvm::Value *VTable = CGF.GetVTablePtr(VPtr, Ty->getPointerTo(), in getVirtualFunctionPointer()
|
H A D | CodeGenFunction.h | 2433 struct VPtr { 2441 void InitializeVTablePointer(const VPtr &vptr); 2443 typedef llvm::SmallVector<VPtr, 4> VPtrsVector; 3157 void EmitVTableAssumptionLoad(const VPtr &vptr, Address This);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 1141 Scatterer VPtr = scatter(&SI, SI.getPointerOperand(), Layout->VS); in visitStoreInst() local 1148 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/include/llvm/SandboxIR/ |
H A D | SandboxIR.h | 838 Value *registerValue(std::unique_ptr<Value> &&VPtr);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | AttributorAttributes.cpp | 9456 Value *VPtr = *SimplifiedOpV; in updateImpl() local 9460 *this, IRPosition::value(*VPtr, getCallBaseContext()), in updateImpl() 10812 Value *VPtr = &V; in addValue() local 10832 VPtr = *SimpleV; in addValue() 10835 if (isa<ConstantInt>(VPtr)) in addValue() 10837 if (!AA::isValidInScope(*VPtr, AnchorScope)) in addValue() 10840 State.unionAssumed({{*VPtr, CtxI}, S}); in addValue()
|