Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.cpp70 getUnderlyingObject(A.Ptr->stripPointerCastsForAliasAnalysis()); in alias()
85 getUnderlyingObject(B.Ptr->stripPointerCastsForAliasAnalysis()); in alias()
109 const Value *Base = getUnderlyingObject(Loc.Ptr); in getModRefInfoMask()
H A DAMDGPUTargetTransformInfo.cpp205 dyn_cast<AllocaInst>(getUnderlyingObject(Ptr)); in getUnrollingPreferences()
222 const Value *V = getUnderlyingObject(GEP->getPointerOperand()); in getUnrollingPreferences()
1377 const AllocaInst *AI = dyn_cast<AllocaInst>(getUnderlyingObject(PtrArg)); in getCallArgsTotalAllocaSize()
H A DR600Instructions.td344 !isa<GlobalValue>(getUnderlyingObject(
356 isa<GlobalValue>(getUnderlyingObject(
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DGlobalsModRef.cpp443 Value *Ptr = getUnderlyingObject(SI->getOperand(0)); in AnalyzeIndirectGlobalMemory()
662 Inputs.push_back(getUnderlyingObject(LI->getPointerOperand())); in isNonEscapingGlobalNoAliasWithLoad()
666 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAliasWithLoad()
667 const Value *RHS = getUnderlyingObject(SI->getFalseValue()); in isNonEscapingGlobalNoAliasWithLoad()
676 Op = getUnderlyingObject(Op); in isNonEscapingGlobalNoAliasWithLoad()
790 const Value *Ptr = getUnderlyingObject(LI->getPointerOperand()); in isNonEscapingGlobalNoAlias()
798 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAlias()
799 const Value *RHS = getUnderlyingObject(SI->getFalseValue()); in isNonEscapingGlobalNoAlias()
808 Op = getUnderlyingObject(Op); in isNonEscapingGlobalNoAlias()
841 getUnderlyingObject(LocA.Ptr->stripPointerCastsForAliasAnalysis()); in alias()
[all …]
H A DAssumptionCache.cpp77 AddAffectedVal(getUnderlyingObject(Bundle.Inputs[0]), Idx); in findAffectedValues()
78 AddAffectedVal(getUnderlyingObject(Bundle.Inputs[1]), Idx); in findAffectedValues()
H A DBasicAliasAnalysis.cpp765 const Value *V = getUnderlyingObject(Worklist.pop_back_val()); in getModRefInfoMask()
924 const Value *Object = getUnderlyingObject(Loc.Ptr); in getModRefInfo()
1482 if (getUnderlyingObject(PV) == PN) { in aliasPHI()
1603 const Value *O1 = getUnderlyingObject(V1, MaxLookupSearchDepth); in aliasCheck()
1604 const Value *O2 = getUnderlyingObject(V2, MaxLookupSearchDepth); in aliasCheck()
1669 const Value *HintO1 = getUnderlyingObject(Hint1); in aliasCheck()
1670 const Value *HintO2 = getUnderlyingObject(Hint2); in aliasCheck()
H A DAliasAnalysis.cpp608 const Value *Object = getUnderlyingObject(MemLoc.Ptr); in callCapturesBefore()
H A DLint.cpp675 V = OffsetOk ? getUnderlyingObject(V) : V->stripPointerCasts(); in findValueImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DUtils.h62 getUnderlyingObject(LSI->getPointerOperand()->Val)); in getMemInstructionBase()
100 llvm::Value *Ptr0 = getUnderlyingObject(Opnd0); in getPointerDiffInBytes()
101 llvm::Value *Ptr1 = getUnderlyingObject(Opnd1); in getPointerDiffInBytes()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAliasAnalysis.cpp64 const Value *NewV = getUnderlyingObject(V, 1); in getAddressSpace()
H A DNVPTXLowerArgs.cpp652 Value *UO = getUnderlyingObject(LI->getPointerOperand()); in runOnKernelFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp876 UnderlyingObject = getUnderlyingObject(MemLoc.Ptr); in MemoryLocationWrapper()
1088 const Value *DeadUndObj = getUnderlyingObject(DeadPtr); in isOverwrite()
1089 const Value *KillingUndObj = getUnderlyingObject(KillingPtr); in isOverwrite()
1397 if (getUnderlyingObject(Loc.Ptr) != in isMemTerminator()
1398 getUnderlyingObject(MaybeTermLoc->first.Ptr)) in isMemTerminator()
1403 const Value *LocUO = getUnderlyingObject(Loc.Ptr); in isMemTerminator()
1723 KillingUndObj == getUnderlyingObject(MaybeDeadLoc.Ptr)) in getDomMemoryDef()
1882 const Value *UO = getUnderlyingObject(SI->getValueOperand()); in deleteDeadInstruction()
1988 const Value *UO = getUnderlyingObject(DefLoc->Ptr); in eliminateDeadWritesAtEndOfFunction()
2347 const Value *UnderlyingObj = getUnderlyingObject(Arg); in isFuncLocalAndNotCaptured()
H A DMemCpyOptimizer.cpp278 if (isNotVisibleOnUnwind(getUnderlyingObject(V), in mayBeVisibleThroughUnwinding()
927 if (!isWritableObject(getUnderlyingObject(cpyDest), in performCallSlotOptzn()
1000 Value *DestObj = getUnderlyingObject(cpyDest); in performCallSlotOptzn()
1393 return isa<AllocaInst>(getUnderlyingObject(V)); in hasUndefContents()
1409 if (auto *Alloca = dyn_cast<AllocaInst>(getUnderlyingObject(V))) { in hasUndefContents()
1410 if (getUnderlyingObject(II->getArgOperand(1)) == Alloca) { in hasUndefContents()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h441 getUnderlyingObject(const Value *V, unsigned MaxLookup = MaxLookupSearchDepth);
442 inline Value *getUnderlyingObject(Value *V,
446 return const_cast<Value *>(getUnderlyingObject(VConst, MaxLookup));
H A DObjCARCAnalysisUtils.h79 V = getUnderlyingObject(V); in GetUnderlyingObjCPtr()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMoveAutoInit.cpp52 if (isa<AllocaInst>(getUnderlyingObject(ML.Ptr))) in writeToAlloca()
H A DAssumeBundleBuilder.cpp77 RK.WasOn = getUnderlyingObject(RK.WasOn); in canonicalizedKnowledge()
151 Value *UnderlyingPtr = getUnderlyingObject(RK.WasOn); in isKnowledgeWorthPreserving()
H A DVNCoercion.cpp298 GlobalVariable *GV = dyn_cast<GlobalVariable>(getUnderlyingObject(Src)); in analyzeLoadFromClobberingMemInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp1379 const auto *UltimateTarget = getUnderlyingObject(UObject, MaxLookupDepth); in mergeEquivalenceClasses()
1438 const Value *ObjPtr = llvm::getUnderlyingObject(Ptr); in collectEquivalenceClasses()
H A DSLPVectorizer.cpp2244 if (getUnderlyingObject(LI1->getPointerOperand()) == in getShallowScore()
2245 getUnderlyingObject(LI2->getPointerOperand()) && in getShallowScore()
5553 if (getUnderlyingObject(Ptr1, RecursionMaxDepth) != in arePointersCompatible()
5554 getUnderlyingObject(Ptr2, RecursionMaxDepth)) in arePointersCompatible()
6214 return getUnderlyingObject(V) != in canVectorizeLoads()
6215 getUnderlyingObject(PointerOps.front()); in canVectorizeLoads()
6322 return getUnderlyingObject(V) != in canVectorizeLoads()
6323 getUnderlyingObject(PointerOps.front()); in canVectorizeLoads()
6433 BBs.front(), getUnderlyingObject(VL.front(), RecursionMaxDepth))) in clusterSortPtrAccesses()
6439 getUnderlyingObject(Ptr, RecursionMaxDepth)); in clusterSortPtrAccesses()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfInstrumentation.cpp419 if (!ClStack && isa<AllocaInst>(getUnderlyingObject(Access.Addr))) { in instrumentMop()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DShrinkWrap.cpp314 const Value *UO = getUnderlyingObject(Op->getValue()); in INITIALIZE_PASS_DEPENDENCY()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp1169 if (auto *GV = dyn_cast<GlobalVariable>(getUnderlyingObject(C)); in getCandidateConstant()
H A DOpenMPOpt.cpp912 StoredValues[Idx] = getUnderlyingObject(S->getValueOperand()); in getValues()
1625 auto *V = getUnderlyingObject(BasePtrsArg); in getValuesInOffloadArrays()
1633 V = getUnderlyingObject(PtrsArg); in getValuesInOffloadArrays()
1641 V = getUnderlyingObject(SizesArg); in getValuesInOffloadArrays()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp953 auto *GV = dyn_cast<GlobalVariable>(getUnderlyingObject(PtrOp)); in foldPatternedLoads()

12