Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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()
821 getUnderlyingObject(LocA.Ptr->stripPointerCastsForAliasAnalysis()); in alias()
[all …]
H A DBasicAliasAnalysis.cpp693 const Value *V = getUnderlyingObject(Worklist.pop_back_val()); in getModRefInfoMask()
848 const Value *Object = getUnderlyingObject(Loc.Ptr); in getModRefInfo()
1336 if (getUnderlyingObject(PV) == PN) { in aliasPHI()
1450 const Value *O1 = getUnderlyingObject(V1, MaxLookupSearchDepth); in aliasCheck()
1451 const Value *O2 = getUnderlyingObject(V2, MaxLookupSearchDepth); in aliasCheck()
1519 const Value *HintO1 = getUnderlyingObject(Hint1); in aliasCheck()
1520 const Value *HintO2 = getUnderlyingObject(Hint2); in aliasCheck()
H A DAliasAnalysis.cpp654 const Value *Object = getUnderlyingObject(MemLoc.Ptr); in callCapturesBefore()
H A DLint.cpp653 V = OffsetOk ? getUnderlyingObject(V) : V->stripPointerCasts(); in findValueImpl()
H A DMemoryDependenceAnalysis.cpp590 const Value *AccessPtr = getUnderlyingObject(MemLoc.Ptr); in getSimplePointerDependencyFrom()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.cpp99 getUnderlyingObject(A.Ptr->stripPointerCastsForAliasAnalysis()); in alias()
135 const Value *Base = getUnderlyingObject(Loc.Ptr); in getModRefInfoMask()
H A DAMDGPUTargetTransformInfo.cpp197 dyn_cast<AllocaInst>(getUnderlyingObject(Ptr)); in getUnrollingPreferences()
1193 PtrArg = getUnderlyingObject(PtrArg); in adjustInliningThreshold()
H A DAMDGPUPromoteAlloca.cpp658 Value *OtherObj = getUnderlyingObject(OtherOp); in binaryOpIsDerivedFromSameAlloca()
H A DR600Instructions.td344 !isa<GlobalValue>(getUnderlyingObject(
356 isa<GlobalValue>(getUnderlyingObject(
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DValueTracking.h363 const Value *getUnderlyingObject(const Value *V, unsigned MaxLookup = 6);
364 inline Value *getUnderlyingObject(Value *V, unsigned MaxLookup = 6) {
367 return const_cast<Value *>(getUnderlyingObject(VConst, MaxLookup));
H A DObjCARCAnalysisUtils.h71 V = getUnderlyingObject(V); in GetUnderlyingObjCPtr()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp926 const Value *DeadUndObj = getUnderlyingObject(DeadPtr); in isOverwrite()
927 const Value *KillingUndObj = getUnderlyingObject(KillingPtr); in isOverwrite()
1220 if (getUnderlyingObject(Loc.Ptr) != in isMemTerminator()
1221 getUnderlyingObject(MaybeTermLoc->first.Ptr)) in isMemTerminator()
1226 const Value *LocUO = getUnderlyingObject(Loc.Ptr); in isMemTerminator()
1691 const Value *UO = getUnderlyingObject(SI->getValueOperand()); in deleteDeadInstruction()
1786 const Value *UO = getUnderlyingObject(DefLoc->Ptr); in eliminateDeadWritesAtEndOfFunction()
2066 const Value *KillingUndObj = getUnderlyingObject(KillingLoc.Ptr); in eliminateDeadStores()
2124 const Value *DeadUndObj = getUnderlyingObject(DeadLoc.Ptr); in eliminateDeadStores()
H A DMemCpyOptimizer.cpp318 if (isNotVisibleOnUnwind(getUnderlyingObject(V), in INITIALIZE_PASS_DEPENDENCY()
1038 Value *DestObj = getUnderlyingObject(cpyDest); in performCallSlotOptzn()
1344 return isa<AllocaInst>(getUnderlyingObject(V)); in hasUndefContents()
1360 if (auto *Alloca = dyn_cast<AllocaInst>(getUnderlyingObject(V))) { in hasUndefContents()
1361 if (getUnderlyingObject(II->getArgOperand(1)) == Alloca) { in hasUndefContents()
H A DLICM.cpp2047 Value *Object = getUnderlyingObject(SomePtr); in promoteLoopAccessesToScalars()
2176 Value *Object = getUnderlyingObject(SomePtr); in promoteLoopAccessesToScalars()
H A DLoopIdiomRecognize.cpp601 Value *Ptr = getUnderlyingObject(SI->getPointerOperand()); in collectStores()
606 Value *Ptr = getUnderlyingObject(SI->getPointerOperand()); in collectStores()
/openbsd-src/gnu/llvm/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.cpp381 GlobalVariable *GV = dyn_cast<GlobalVariable>(getUnderlyingObject(Src)); in analyzeLoadFromClobberingMemInst()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp430 Value *UO = getUnderlyingObject(LI->getPointerOperand()); in runOnKernelFunction()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DMemProfiler.cpp404 if (!ClStack && isa<AllocaInst>(getUnderlyingObject(Access.Addr))) { in instrumentMop()
H A DThreadSanitizer.cpp455 if (isa<AllocaInst>(getUnderlyingObject(Addr)) && in chooseInstructionsToInstrument()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp794 StoredValues[Idx] = getUnderlyingObject(S->getValueOperand()); in getValues()
1485 auto *V = getUnderlyingObject(BasePtrsArg); in getValuesInOffloadArrays()
1493 V = getUnderlyingObject(PtrsArg); in getValuesInOffloadArrays()
1501 V = getUnderlyingObject(SizesArg); in getValuesInOffloadArrays()
H A DFunctionAttrs.cpp146 const Value *UO = getUnderlyingObject(Loc.Ptr); in checkFunctionMemoryAccess()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1301 if (getUnderlyingObject(LI1->getPointerOperand()) == in getShallowScore()
1302 getUnderlyingObject(LI2->getPointerOperand()) && in getShallowScore()
3685 if (getUnderlyingObject(Ptr1) != getUnderlyingObject(Ptr2)) in arePointersCompatible()
4726 Value *Ptr = getUnderlyingObject(SI->getPointerOperand()); in collectUserStores()
11602 Stores[getUnderlyingObject(SI->getPointerOperand())].push_back(SI); in collectSeedInstructions()
12275 Value *Ptr = getUnderlyingObject(LI->getPointerOperand()); in matchAssociativeReduction()
12318 Value *Ptr = getUnderlyingObject(LI->getPointerOperand()); in matchAssociativeReduction()
12376 getUnderlyingObject( in matchAssociativeReduction()
12378 getUnderlyingObject(cast<LoadInst>(ReducedVals[NewIdx].front()) in matchAssociativeReduction()
13734 auto I = Stores.find(getUnderlyingObject(SI->getPointerOperand())); in vectorizeChainsInBlock()
H A DLoadStoreVectorizer.cpp800 const Value *ObjPtr = getUnderlyingObject(Ptr); in getChainID()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2491 getUnderlyingObject(X) == getUnderlyingObject(Y)) in visitGetElementPtrInst()
4046 auto *AI = dyn_cast<AllocaInst>(getUnderlyingObject(Dest->Ptr)); in SoleWriteToDeadLocal()

12