| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | GlobalsModRef.cpp | 435 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 D | AssumptionCache.cpp | 85 AddAffected(getUnderlyingObject(Bundle.Inputs[0]), Idx); in findAffectedValues() 86 AddAffected(getUnderlyingObject(Bundle.Inputs[1]), Idx); in findAffectedValues()
|
| H A D | BasicAliasAnalysis.cpp | 728 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 D | AliasAnalysis.cpp | 654 const Value *Object = getUnderlyingObject(MemLoc.Ptr); in callCapturesBefore()
|
| H A D | Lint.cpp | 655 V = OffsetOk ? getUnderlyingObject(V) : V->stripPointerCasts(); in findValueImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAliasAnalysis.cpp | 72 getUnderlyingObject(A.Ptr->stripPointerCastsForAliasAnalysis()); in alias() 107 const Value *Base = getUnderlyingObject(Loc.Ptr); in getModRefInfoMask()
|
| H A D | AMDGPUTargetTransformInfo.cpp | 198 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 D | NVPTXAliasAnalysis.cpp | 93 const Value *Base = getUnderlyingObject(Loc.Ptr); in getModRefInfoMask()
|
| H A D | NVPTXLowerArgs.cpp | 440 Value *UO = getUnderlyingObject(LI->getPointerOperand()); in runOnKernelFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | DeadStoreElimination.cpp | 947 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 D | MemCpyOptimizer.cpp | 271 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 D | LoopIdiomRecognize.cpp | 526 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 D | ObjCARCAnalysisUtils.h | 71 V = getUnderlyingObject(V); in GetUnderlyingObjCPtr()
|
| H A D | ValueTracking.h | 680 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 D | MoveAutoInit.cpp | 54 if (isa<AllocaInst>(getUnderlyingObject(ML.Ptr))) in writeToAlloca()
|
| H A D | AssumeBundleBuilder.cpp | 76 RK.WasOn = getUnderlyingObject(RK.WasOn); in canonicalizedKnowledge() 150 Value *UnderlyingPtr = getUnderlyingObject(RK.WasOn); in isKnowledgeWorthPreserving()
|
| H A D | VNCoercion.cpp | 275 GlobalVariable *GV = dyn_cast<GlobalVariable>(getUnderlyingObject(Src)); in analyzeLoadFromClobberingMemInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 1310 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 D | SanitizerBinaryMetadata.cpp | 386 if (isa<AllocaInst>(getUnderlyingObject(Addr)) && in maybeSharedMutable()
|
| H A D | MemProfiler.cpp | 419 if (!ClStack && isa<AllocaInst>(getUnderlyingObject(Access.Addr))) { in instrumentMop()
|
| H A D | ThreadSanitizer.cpp | 450 if (isa<AllocaInst>(getUnderlyingObject(Addr)) && in chooseInstructionsToInstrument()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ShrinkWrap.cpp | 306 const Value *UO = getUnderlyingObject(Op->getValue()); in INITIALIZE_PASS_DEPENDENCY()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 888 auto *GV = dyn_cast<GlobalVariable>(getUnderlyingObject(PtrOp)); in foldPatternedLoads()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionSpecialization.cpp | 1090 if (auto *GV = dyn_cast<GlobalVariable>(getUnderlyingObject(C)); in getCandidateConstant()
|
| H A D | OpenMPOpt.cpp | 899 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()
|