Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DGlobalsModRef.cpp423 Value *Ptr = getUnderlyingObject(SI->getOperand(0)); in AnalyzeIndirectGlobalMemory()
655 Inputs.push_back(getUnderlyingObject(LI->getPointerOperand())); in isNonEscapingGlobalNoAliasWithLoad()
659 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAliasWithLoad()
660 const Value *RHS = getUnderlyingObject(SI->getFalseValue()); in isNonEscapingGlobalNoAliasWithLoad()
669 Op = getUnderlyingObject(Op); in isNonEscapingGlobalNoAliasWithLoad()
768 const Value *Ptr = getUnderlyingObject(LI->getPointerOperand()); in isNonEscapingGlobalNoAlias()
776 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAlias()
777 const Value *RHS = getUnderlyingObject(SI->getFalseValue()); in isNonEscapingGlobalNoAlias()
786 Op = getUnderlyingObject(Op); in isNonEscapingGlobalNoAlias()
822 getUnderlyingObject(LocA.Ptr->stripPointerCastsForAliasAnalysis()); in alias()
[all …]
H A DBasicAliasAnalysis.cpp690 const Value *V = getUnderlyingObject(Worklist.pop_back_val()); in pointsToConstantMemory()
887 const Value *Object = getUnderlyingObject(Loc.Ptr); in getModRefInfo()
1420 if (getUnderlyingObject(PV) == PN) { in aliasPHI()
1559 const Value *O1 = getUnderlyingObject(V1, MaxLookupSearchDepth); in aliasCheck()
1560 const Value *O2 = getUnderlyingObject(V2, MaxLookupSearchDepth); in aliasCheck()
H A DLint.cpp653 V = OffsetOk ? getUnderlyingObject(V) : V->stripPointerCasts(); in findValueImpl()
H A DAliasAnalysis.cpp726 const Value *Object = getUnderlyingObject(MemLoc.Ptr); in callCapturesBefore()
H A DMemoryDependenceAnalysis.cpp591 const Value *AccessPtr = getUnderlyingObject(MemLoc.Ptr); in getSimplePointerDependencyFrom()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.cpp99 getUnderlyingObject(A.Ptr->stripPointerCastsForAliasAnalysis()); in alias()
134 const Value *Base = getUnderlyingObject(Loc.Ptr); in pointsToConstantMemory()
H A DAMDGPUTargetTransformInfo.cpp195 dyn_cast<AllocaInst>(getUnderlyingObject(Ptr)); in getUnrollingPreferences()
1116 PtrArg = getUnderlyingObject(PtrArg); in adjustInliningThreshold()
H A DAMDGPUPromoteAlloca.cpp567 Value *OtherObj = getUnderlyingObject(OtherOp); in binaryOpIsDerivedFromSameAlloca()
H A DR600Instructions.td344 !isa<GlobalValue>(getUnderlyingObject(
356 isa<GlobalValue>(getUnderlyingObject(
/llvm-project-15.0.7/llvm/test/Analysis/BasicAA/
H A Dcall-escape-source.ll5 ; hit the getUnderlyingObject() recursion limit.
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp847 const Value *DeadUndObj = getUnderlyingObject(DeadPtr); in isOverwrite()
848 const Value *KillingUndObj = getUnderlyingObject(KillingPtr); in isOverwrite()
1138 if (getUnderlyingObject(Loc.Ptr) != in isMemTerminator()
1139 getUnderlyingObject(MaybeTermLoc->first.Ptr)) in isMemTerminator()
1144 const Value *LocUO = getUnderlyingObject(Loc.Ptr); in isMemTerminator()
1607 const Value *UO = getUnderlyingObject(SI->getValueOperand()); in deleteDeadInstruction()
1702 const Value *UO = getUnderlyingObject(DefLoc->Ptr); in eliminateDeadWritesAtEndOfFunction()
1982 const Value *KillingUndObj = getUnderlyingObject(KillingLoc.Ptr); in eliminateDeadStores()
2040 const Value *DeadUndObj = getUnderlyingObject(DeadLoc.Ptr); in eliminateDeadStores()
H A DMemCpyOptimizer.cpp318 if (isNotVisibleOnUnwind(getUnderlyingObject(V), in INITIALIZE_PASS_DEPENDENCY()
998 Value *DestObj = getUnderlyingObject(cpyDest); in performCallSlotOptzn()
1294 return isa<AllocaInst>(getUnderlyingObject(V)); in hasUndefContents()
1310 if (auto *Alloca = dyn_cast<AllocaInst>(getUnderlyingObject(V))) { in hasUndefContents()
1311 if (getUnderlyingObject(II->getArgOperand(1)) == Alloca) { in hasUndefContents()
H A DLICM.cpp1983 Value *Object = getUnderlyingObject(SomePtr); in promoteLoopAccessesToScalars()
2117 Value *Object = getUnderlyingObject(SomePtr); in promoteLoopAccessesToScalars()
H A DLoopIdiomRecognize.cpp599 Value *Ptr = getUnderlyingObject(SI->getPointerOperand()); in collectStores()
604 Value *Ptr = getUnderlyingObject(SI->getPointerOperand()); in collectStores()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DValueTracking.h372 const Value *getUnderlyingObject(const Value *V, unsigned MaxLookup = 6);
373 inline Value *getUnderlyingObject(Value *V, unsigned MaxLookup = 6) {
376 return const_cast<Value *>(getUnderlyingObject(VConst, MaxLookup));
H A DObjCARCAnalysisUtils.h71 V = getUnderlyingObject(V); in GetUnderlyingObjCPtr()
/llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/AMDGPU/
H A Daddress-space-ptr-sze-gep-index-assert.ll68 ; This should vectorize if using getUnderlyingObject
109 ; This should vectorize if using getUnderlyingObject
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp77 RK.WasOn = getUnderlyingObject(RK.WasOn); in canonicalizedKnowledge()
151 Value *UnderlyingPtr = getUnderlyingObject(RK.WasOn); in isKnowledgeWorthPreserving()
H A DVNCoercion.cpp378 GlobalVariable *GV = dyn_cast<GlobalVariable>(getUnderlyingObject(Src)); in analyzeLoadFromClobberingMemInst()
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp429 Value *UO = getUnderlyingObject(LI->getPointerOperand()); in runOnKernelFunction()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DMemProfiler.cpp462 if (!ClStack && isa<AllocaInst>(getUnderlyingObject(Access.Addr))) { in instrumentMop()
H A DThreadSanitizer.cpp463 if (isa<AllocaInst>(getUnderlyingObject(Addr)) && in chooseInstructionsToInstrument()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp761 StoredValues[Idx] = getUnderlyingObject(S->getValueOperand()); in getValues()
1515 ? getUnderlyingObject(Loc->Ptr) in eliminateBarriers()
1659 auto *V = getUnderlyingObject(BasePtrsArg); in getValuesInOffloadArrays()
1667 V = getUnderlyingObject(PtrsArg); in getValuesInOffloadArrays()
1675 V = getUnderlyingObject(SizesArg); in getValuesInOffloadArrays()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp797 const Value *ObjPtr = getUnderlyingObject(Ptr); in getChainID()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2478 getUnderlyingObject(X) == getUnderlyingObject(Y)) in visitGetElementPtrInst()
3993 auto *AI = dyn_cast<AllocaInst>(getUnderlyingObject(Dest->Ptr)); in SoleWriteToDeadLocal()

12