Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DGlobalsModRef.cpp435 Value *Ptr = getUnderlyingObject(SI->getOperand(0)); in AnalyzeIndirectGlobalMemory()
654 Inputs.push_back(getUnderlyingObject(LI->getPointerOperand())); in isNonEscapingGlobalNoAliasWithLoad()
658 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAliasWithLoad()
659 const Value *RHS = getUnderlyingObject(SI->getFalseValue()); in isNonEscapingGlobalNoAliasWithLoad()
668 Op = getUnderlyingObject(Op); in isNonEscapingGlobalNoAliasWithLoad()
767 const Value *Ptr = getUnderlyingObject(LI->getPointerOperand()); in isNonEscapingGlobalNoAlias()
775 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAlias()
776 const Value *RHS = getUnderlyingObject(SI->getFalseValue()); in isNonEscapingGlobalNoAlias()
785 Op = getUnderlyingObject(Op); in isNonEscapingGlobalNoAlias()
818 getUnderlyingObject(LocA.Ptr->stripPointerCastsForAliasAnalysis()); in alias()
[all …]
H A DAssumptionCache.cpp85 AddAffected(getUnderlyingObject(Bundle.Inputs[0]), Idx); in findAffectedValues()
86 AddAffected(getUnderlyingObject(Bundle.Inputs[1]), Idx); in findAffectedValues()
H A DBasicAliasAnalysis.cpp728 const Value *V = getUnderlyingObject(Worklist.pop_back_val()); in getModRefInfoMask()
883 const Value *Object = getUnderlyingObject(Loc.Ptr); in getModRefInfo()
1379 if (getUnderlyingObject(PV) == PN) { in aliasPHI()
1493 const Value *O1 = getUnderlyingObject(V1, MaxLookupSearchDepth); in aliasCheck()
1494 const Value *O2 = getUnderlyingObject(V2, MaxLookupSearchDepth); in aliasCheck()
1557 const Value *HintO1 = getUnderlyingObject(Hint1); in aliasCheck()
1558 const Value *HintO2 = getUnderlyingObject(Hint2); in aliasCheck()
H A DAliasAnalysis.cpp654 const Value *Object = getUnderlyingObject(MemLoc.Ptr); in callCapturesBefore()
H A DLint.cpp655 V = OffsetOk ? getUnderlyingObject(V) : V->stripPointerCasts(); in findValueImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.cpp72 getUnderlyingObject(A.Ptr->stripPointerCastsForAliasAnalysis()); in alias()
107 const Value *Base = getUnderlyingObject(Loc.Ptr); in getModRefInfoMask()
H A DAMDGPUTargetTransformInfo.cpp198 dyn_cast<AllocaInst>(getUnderlyingObject(Ptr)); in getUnrollingPreferences()
1256 const AllocaInst *AI = dyn_cast<AllocaInst>(getUnderlyingObject(PtrArg)); in getCallArgsTotalAllocaSize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAliasAnalysis.cpp93 const Value *Base = getUnderlyingObject(Loc.Ptr); in getModRefInfoMask()
H A DNVPTXLowerArgs.cpp440 Value *UO = getUnderlyingObject(LI->getPointerOperand()); in runOnKernelFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp947 const Value *DeadUndObj = getUnderlyingObject(DeadPtr); in isOverwrite()
948 const Value *KillingUndObj = getUnderlyingObject(KillingPtr); in isOverwrite()
1248 if (getUnderlyingObject(Loc.Ptr) != in isMemTerminator()
1249 getUnderlyingObject(MaybeTermLoc->first.Ptr)) in isMemTerminator()
1254 const Value *LocUO = getUnderlyingObject(Loc.Ptr); in isMemTerminator()
1727 const Value *UO = getUnderlyingObject(SI->getValueOperand()); in deleteDeadInstruction()
1830 const Value *UO = getUnderlyingObject(DefLoc->Ptr); in eliminateDeadWritesAtEndOfFunction()
2110 const Value *KillingUndObj = getUnderlyingObject(KillingLoc.Ptr); in eliminateDeadStores()
2173 const Value *DeadUndObj = getUnderlyingObject(DeadLoc.Ptr); in eliminateDeadStores()
H A DMemCpyOptimizer.cpp271 if (isNotVisibleOnUnwind(getUnderlyingObject(V), in mayBeVisibleThroughUnwinding()
934 if (!isWritableObject(getUnderlyingObject(cpyDest), in performCallSlotOptzn()
1013 Value *DestObj = getUnderlyingObject(cpyDest); in performCallSlotOptzn()
1323 return isa<AllocaInst>(getUnderlyingObject(V)); in hasUndefContents()
1339 if (auto *Alloca = dyn_cast<AllocaInst>(getUnderlyingObject(V))) { in hasUndefContents()
1340 if (getUnderlyingObject(II->getArgOperand(1)) == Alloca) { in hasUndefContents()
H A DLoopIdiomRecognize.cpp526 Value *Ptr = getUnderlyingObject(SI->getPointerOperand()); in collectStores()
531 Value *Ptr = getUnderlyingObject(SI->getPointerOperand()); in collectStores()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCAnalysisUtils.h71 V = getUnderlyingObject(V); in GetUnderlyingObjCPtr()
H A DValueTracking.h680 const Value *getUnderlyingObject(const Value *V, unsigned MaxLookup = 6);
681 inline Value *getUnderlyingObject(Value *V, unsigned MaxLookup = 6) {
684 return const_cast<Value *>(getUnderlyingObject(VConst, MaxLookup));
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMoveAutoInit.cpp54 if (isa<AllocaInst>(getUnderlyingObject(ML.Ptr))) in writeToAlloca()
H A DAssumeBundleBuilder.cpp76 RK.WasOn = getUnderlyingObject(RK.WasOn); in canonicalizedKnowledge()
150 Value *UnderlyingPtr = getUnderlyingObject(RK.WasOn); in isKnowledgeWorthPreserving()
H A DVNCoercion.cpp275 GlobalVariable *GV = dyn_cast<GlobalVariable>(getUnderlyingObject(Src)); in analyzeLoadFromClobberingMemInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp1310 auto getUnderlyingObject = [](const Value *Ptr) -> const Value * { in collectEquivalenceClasses() local
1311 const Value *ObjPtr = llvm::getUnderlyingObject(Ptr); in collectEquivalenceClasses()
1371 Ret[{getUnderlyingObject(Ptr), AS, in collectEquivalenceClasses()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerBinaryMetadata.cpp386 if (isa<AllocaInst>(getUnderlyingObject(Addr)) && in maybeSharedMutable()
H A DMemProfiler.cpp419 if (!ClStack && isa<AllocaInst>(getUnderlyingObject(Access.Addr))) { in instrumentMop()
H A DThreadSanitizer.cpp450 if (isa<AllocaInst>(getUnderlyingObject(Addr)) && in chooseInstructionsToInstrument()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DShrinkWrap.cpp306 const Value *UO = getUnderlyingObject(Op->getValue()); in INITIALIZE_PASS_DEPENDENCY()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp888 auto *GV = dyn_cast<GlobalVariable>(getUnderlyingObject(PtrOp)); in foldPatternedLoads()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp1090 if (auto *GV = dyn_cast<GlobalVariable>(getUnderlyingObject(C)); in getCandidateConstant()
H A DOpenMPOpt.cpp899 StoredValues[Idx] = getUnderlyingObject(S->getValueOperand()); in getValues()
1623 auto *V = getUnderlyingObject(BasePtrsArg); in getValuesInOffloadArrays()
1631 V = getUnderlyingObject(PtrsArg); in getValuesInOffloadArrays()
1639 V = getUnderlyingObject(SizesArg); in getValuesInOffloadArrays()

12