Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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.cpp612 const Value *V = getUnderlyingObject(Worklist.pop_back_val()); in pointsToConstantMemory()
809 const Value *Object = getUnderlyingObject(Loc.Ptr); in getModRefInfo()
1326 if (getUnderlyingObject(PV) == PN) { in aliasPHI()
1466 const Value *O1 = getUnderlyingObject(V1, MaxLookupSearchDepth); in aliasCheck()
1467 const Value *O2 = getUnderlyingObject(V2, MaxLookupSearchDepth); in aliasCheck()
H A DAliasAnalysis.cpp726 const Value *Object = getUnderlyingObject(MemLoc.Ptr); in callCapturesBefore()
H A DLint.cpp648 V = OffsetOk ? getUnderlyingObject(V) : V->stripPointerCasts(); in findValueImpl()
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()
/netbsd-src/external/apache2/llvm/dist/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.cpp192 dyn_cast<AllocaInst>(getUnderlyingObject(Ptr)); in getUnrollingPreferences()
1213 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(
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp973 const Value *UO1 = getUnderlyingObject(P1), *UO2 = getUnderlyingObject(P2); in isOverwrite()
1215 if (getUnderlyingObject(Loc.Ptr) != in isMemTerminator()
1216 getUnderlyingObject(MaybeTermLoc->first.Ptr)) in isMemTerminator()
1221 const Value *LocUO = getUnderlyingObject(Loc.Ptr); in isMemTerminator()
1748 const Value *UO = getUnderlyingObject(DefLoc->Ptr); in eliminateDeadWritesAtEndOfFunction()
1866 const Value *SILocUnd = getUnderlyingObject(SILoc.Ptr); in eliminateDeadStores()
1928 const Value *NIUnd = getUnderlyingObject(NILoc.Ptr); in eliminateDeadStores()
H A DMemCpyOptimizer.cpp321 !isa<AllocaInst>(getUnderlyingObject(V))) { in INITIALIZE_PASS_DEPENDENCY()
1259 return isa<AllocaInst>(getUnderlyingObject(V)); in hasUndefContentsMSSA()
1276 AllocaInst *Alloca = dyn_cast<AllocaInst>(getUnderlyingObject(V)); in hasUndefContentsMSSA()
1277 if (getUnderlyingObject(II->getArgOperand(1)) == Alloca) { in hasUndefContentsMSSA()
H A DLICM.cpp2063 Value *Object = getUnderlyingObject(SomePtr); in promoteLoopAccessesToScalars()
2196 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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp338 Value *UO = getUnderlyingObject(LI->getPointerOperand()); in runOnKernelFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp493 StoredValues[Idx] = getUnderlyingObject(S->getValueOperand()); in getValues()
1202 auto *V = getUnderlyingObject(BasePtrsArg); in getValuesInOffloadArrays()
1210 V = getUnderlyingObject(PtrsArg); in getValuesInOffloadArrays()
1218 V = getUnderlyingObject(SizesArg); in getValuesInOffloadArrays()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp481 if (isa<AllocaInst>(getUnderlyingObject(Addr)) && in chooseInstructionsToInstrument()
H A DAddressSanitizer.cpp1615 GlobalVariable *G = dyn_cast<GlobalVariable>(getUnderlyingObject(Addr)); in instrumentMop()
1625 if (isa<AllocaInst>(getUnderlyingObject(Addr)) && in instrumentMop()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp778 const Value *ObjPtr = getUnderlyingObject(Ptr); in getChainID()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2183 getUnderlyingObject(X) == getUnderlyingObject(Y)) in visitGetElementPtrInst()

12