Home
last modified time | relevance | path

Searched refs:getUnderlyingObject (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DGlobalsModRef.cpp439 Value *Ptr = getUnderlyingObject(SI->getOperand(0)); in AnalyzeIndirectGlobalMemory()
664 Inputs.push_back(getUnderlyingObject(LI->getPointerOperand())); in isNonEscapingGlobalNoAliasWithLoad()
668 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAliasWithLoad()
669 const Value *RHS = getUnderlyingObject(SI->getFalseValue()); in isNonEscapingGlobalNoAliasWithLoad()
678 Op = getUnderlyingObject(Op); in isNonEscapingGlobalNoAliasWithLoad()
777 const Value *Ptr = getUnderlyingObject(LI->getPointerOperand()); in isNonEscapingGlobalNoAlias()
785 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAlias()
786 const Value *RHS = getUnderlyingObject(SI->getFalseValue()); in isNonEscapingGlobalNoAlias()
795 Op = getUnderlyingObject(Op); in isNonEscapingGlobalNoAlias()
831 getUnderlyingObject(LocA.Ptr->stripPointerCastsForAliasAnalysis()); in alias()
[all …]
H A DBasicAliasAnalysis.cpp621 const Value *V = getUnderlyingObject(Worklist.pop_back_val()); in pointsToConstantMemory()
818 const Value *Object = getUnderlyingObject(Loc.Ptr); in getModRefInfo()
1342 if (getUnderlyingObject(PV) == PN) { in aliasPHI()
1482 const Value *O1 = getUnderlyingObject(V1, MaxLookupSearchDepth); in aliasCheck()
1483 const Value *O2 = getUnderlyingObject(V2, MaxLookupSearchDepth); in aliasCheck()
H A DLint.cpp648 V = OffsetOk ? getUnderlyingObject(V) : V->stripPointerCasts(); in findValueImpl()
H A DAliasAnalysis.cpp726 const Value *Object = getUnderlyingObject(MemLoc.Ptr); in callCapturesBefore()
H A DMemoryDependenceAnalysis.cpp598 const Value *AccessPtr = getUnderlyingObject(MemLoc.Ptr); in getSimplePointerDependencyFrom()
H A DLazyValueInfo.cpp634 PtrSet.insert(getUnderlyingObject(Ptr)); in AddNonNullPointer()
H A DDependenceAnalysis.cpp664 const Value *AObj = getUnderlyingObject(LocA.Ptr); in underlyingObjectsAlias()
665 const Value *BObj = getUnderlyingObject(LocB.Ptr); in underlyingObjectsAlias()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.cpp94 getUnderlyingObject(A.Ptr->stripPointerCastsForAliasAnalysis()); in alias()
129 const Value *Base = getUnderlyingObject(Loc.Ptr); in pointsToConstantMemory()
H A DAMDGPUTargetTransformInfo.cpp193 dyn_cast<AllocaInst>(getUnderlyingObject(Ptr)); in getUnrollingPreferences()
1208 PtrArg = getUnderlyingObject(PtrArg); in adjustInliningThreshold()
H A DAMDGPUPromoteAlloca.cpp585 Value *OtherObj = getUnderlyingObject(OtherOp); in binaryOpIsDerivedFromSameAlloca()
H A DR600Instructions.td356 !isa<GlobalValue>(getUnderlyingObject(
368 isa<GlobalValue>(getUnderlyingObject(
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h373 const Value *getUnderlyingObject(const Value *V, unsigned MaxLookup = 6);
374 inline Value *getUnderlyingObject(Value *V, unsigned MaxLookup = 6) {
377 return const_cast<Value *>(getUnderlyingObject(VConst, MaxLookup));
H A DObjCARCAnalysisUtils.h71 V = getUnderlyingObject(V); in GetUnderlyingObjCPtr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp1000 const Value *UO1 = getUnderlyingObject(P1), *UO2 = getUnderlyingObject(P2); in isOverwrite()
1242 if (getUnderlyingObject(Loc.Ptr) != in isMemTerminator()
1243 getUnderlyingObject(MaybeTermLoc->first.Ptr)) in isMemTerminator()
1248 const Value *LocUO = getUnderlyingObject(Loc.Ptr); in isMemTerminator()
1789 const Value *UO = getUnderlyingObject(DefLoc->Ptr); in eliminateDeadWritesAtEndOfFunction()
1908 const Value *SILocUnd = getUnderlyingObject(SILoc.Ptr); in eliminateDeadStores()
1970 const Value *NIUnd = getUnderlyingObject(NILoc.Ptr); in eliminateDeadStores()
H A DMemCpyOptimizer.cpp321 !isa<AllocaInst>(getUnderlyingObject(V))) { in INITIALIZE_PASS_DEPENDENCY()
1282 return isa<AllocaInst>(getUnderlyingObject(V)); in hasUndefContentsMSSA()
1299 AllocaInst *Alloca = dyn_cast<AllocaInst>(getUnderlyingObject(V)); in hasUndefContentsMSSA()
1300 if (getUnderlyingObject(II->getArgOperand(1)) == Alloca) { in hasUndefContentsMSSA()
H A DLoopIdiomRecognize.cpp600 Value *Ptr = getUnderlyingObject(SI->getPointerOperand()); in collectStores()
605 Value *Ptr = getUnderlyingObject(SI->getPointerOperand()); in collectStores()
H A DLICM.cpp2095 Value *Object = getUnderlyingObject(SomePtr); in promoteLoopAccessesToScalars()
2228 Value *Object = getUnderlyingObject(SomePtr); in promoteLoopAccessesToScalars()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp75 RK.WasOn = getUnderlyingObject(RK.WasOn); in canonicalizedKnowledge()
149 Value *UnderlyingPtr = getUnderlyingObject(RK.WasOn); in isKnowledgeWorthPreserving()
H A DVNCoercion.cpp396 GlobalVariable *GV = dyn_cast<GlobalVariable>(getUnderlyingObject(Src)); in analyzeLoadFromClobberingMemInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp340 Value *UO = getUnderlyingObject(LI->getPointerOperand()); in runOnKernelFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp672 StoredValues[Idx] = getUnderlyingObject(S->getValueOperand()); in getValues()
1364 auto *V = getUnderlyingObject(BasePtrsArg); in getValuesInOffloadArrays()
1372 V = getUnderlyingObject(PtrsArg); in getValuesInOffloadArrays()
1380 V = getUnderlyingObject(SizesArg); in getValuesInOffloadArrays()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp511 if (isa<AllocaInst>(getUnderlyingObject(Addr)) && in chooseInstructionsToInstrument()
H A DAddressSanitizer.cpp1625 GlobalVariable *G = dyn_cast<GlobalVariable>(getUnderlyingObject(Addr)); in instrumentMop()
1635 if (isa<AllocaInst>(getUnderlyingObject(Addr)) && in instrumentMop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp810 const Value *ObjPtr = getUnderlyingObject(Ptr); in getChainID()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2240 getUnderlyingObject(X) == getUnderlyingObject(Y)) in visitGetElementPtrInst()

12