/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | GlobalsModRef.cpp | 443 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() 775 const Value *Ptr = getUnderlyingObject(LI->getPointerOperand()); in isNonEscapingGlobalNoAlias() 783 const Value *LHS = getUnderlyingObject(SI->getTrueValue()); in isNonEscapingGlobalNoAlias() 784 const Value *RHS = getUnderlyingObject(SI->getFalseValue()); in isNonEscapingGlobalNoAlias() 793 Op = getUnderlyingObject(Op); in isNonEscapingGlobalNoAlias() 826 getUnderlyingObject(LocA.Ptr->stripPointerCastsForAliasAnalysis()); in alias() [all …]
|
H A D | AssumptionCache.cpp | 79 AddAffectedVal(getUnderlyingObject(Bundle.Inputs[0]), Idx); in findAffectedValues() 80 AddAffectedVal(getUnderlyingObject(Bundle.Inputs[1]), Idx); in findAffectedValues()
|
H A D | BasicAliasAnalysis.cpp | 760 const Value *V = getUnderlyingObject(Worklist.pop_back_val()); in getModRefInfoMask() 915 const Value *Object = getUnderlyingObject(Loc.Ptr); in getModRefInfo() 1452 if (getUnderlyingObject(PV) == PN) { in aliasPHI() 1566 const Value *O1 = getUnderlyingObject(V1, MaxLookupSearchDepth); in aliasCheck() 1567 const Value *O2 = getUnderlyingObject(V2, MaxLookupSearchDepth); in aliasCheck() 1630 const Value *HintO1 = getUnderlyingObject(Hint1); in aliasCheck() 1631 const Value *HintO2 = getUnderlyingObject(Hint2); in aliasCheck()
|
H A D | AliasAnalysis.cpp | 656 const Value *Object = getUnderlyingObject(MemLoc.Ptr); in callCapturesBefore()
|
H A D | Lint.cpp | 641 V = OffsetOk ? getUnderlyingObject(V) : V->stripPointerCasts(); in findValueImpl()
|
/freebsd/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() 1268 const AllocaInst *AI = dyn_cast<AllocaInst>(getUnderlyingObject(PtrArg)); in getCallArgsTotalAllocaSize()
|
/freebsd/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 | 574 Value *UO = getUnderlyingObject(LI->getPointerOperand()); in runOnKernelFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | DeadStoreElimination.cpp | 959 const Value *DeadUndObj = getUnderlyingObject(DeadPtr); in isOverwrite() 960 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() 1724 const Value *UO = getUnderlyingObject(SI->getValueOperand()); in deleteDeadInstruction() 1830 const Value *UO = getUnderlyingObject(DefLoc->Ptr); in eliminateDeadWritesAtEndOfFunction() 2166 const Value *KillingUndObj = getUnderlyingObject(KillingLoc.Ptr); in eliminateDeadStores() 2229 const Value *DeadUndObj = getUnderlyingObject(DeadLoc.Ptr); in eliminateDeadStores()
|
H A D | MemCpyOptimizer.cpp | 275 if (isNotVisibleOnUnwind(getUnderlyingObject(V), in mayBeVisibleThroughUnwinding() 938 if (!isWritableObject(getUnderlyingObject(cpyDest), in performCallSlotOptzn() 1017 Value *DestObj = getUnderlyingObject(cpyDest); in performCallSlotOptzn() 1392 return isa<AllocaInst>(getUnderlyingObject(V)); in hasUndefContents() 1408 if (auto *Alloca = dyn_cast<AllocaInst>(getUnderlyingObject(V))) { in hasUndefContents() 1409 if (getUnderlyingObject(II->getArgOperand(1)) == Alloca) { in hasUndefContents()
|
H A D | LoopIdiomRecognize.cpp | 531 Value *Ptr = getUnderlyingObject(SI->getPointerOperand()); in collectStores() 536 Value *Ptr = getUnderlyingObject(SI->getPointerOperand()); in collectStores()
|
H A D | LICM.cpp | 2062 Value *Object = getUnderlyingObject(SomePtr); in promoteLoopAccessesToScalars() 2191 Value *Object = getUnderlyingObject(SomePtr); in promoteLoopAccessesToScalars()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ValueTracking.h | 732 const Value *getUnderlyingObject(const Value *V, unsigned MaxLookup = 6); 733 inline Value *getUnderlyingObject(Value *V, unsigned MaxLookup = 6) { 736 return const_cast<Value *>(getUnderlyingObject(VConst, MaxLookup));
|
H A D | ObjCARCAnalysisUtils.h | 66 /// This is a wrapper around getUnderlyingObject which also knows how to 71 V = getUnderlyingObject(V); in GetUnderlyingObjCPtr()
|
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoadStoreVectorizer.cpp | 1309 auto getUnderlyingObject = [](const Value *Ptr) -> const Value * { in collectEquivalenceClasses() local 1310 const Value *ObjPtr = llvm::getUnderlyingObject(Ptr); in collectEquivalenceClasses() 1370 Ret[{getUnderlyingObject(Ptr), AS, in collectEquivalenceClasses()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | SanitizerBinaryMetadata.cpp | 394 if (isa<AllocaInst>(getUnderlyingObject(Addr)) && in maybeSharedMutable()
|
H A D | ThreadSanitizer.cpp | 449 if (isa<AllocaInst>(getUnderlyingObject(Addr)) && in chooseInstructionsToInstrument()
|
H A D | MemProfiler.cpp | 457 if (!ClStack && isa<AllocaInst>(getUnderlyingObject(Access.Addr))) { in instrumentMop()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ShrinkWrap.cpp | 308 const Value *UO = getUnderlyingObject(Op->getValue()); in INITIALIZE_PASS_DEPENDENCY()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | FunctionSpecialization.cpp | 1092 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()
|