Home
last modified time | relevance | path

Searched refs:PointerValue (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/
H A DDataflowEnvironmentTest.cpp85 PointerValue *PV = clang::dyn_cast<PointerValue>(Val); in TEST_F()
H A DTransferTest.cpp418 cast<PointerValue>(BarReferentVal->getChild(*FooPtrDecl)); in TEST()
428 cast<PointerValue>(BarReferentVal->getChild(*BazPtrDecl)); in TEST()
460 const PointerValue *FooVal = cast<PointerValue>(Env.getValue(*FooLoc)); in TEST()
560 const auto *FooVal = cast<PointerValue>(Env.getValue(*FooLoc)); in TEST()
565 cast<PointerValue>(FooPointeeVal->getChild(*BarDecl)); in TEST()
575 cast<PointerValue>(BarPointeeVal->getChild(*FooPtrDecl)); in TEST()
585 cast<PointerValue>(BarPointeeVal->getChild(*BazPtrDecl)); in TEST()
805 cast<PointerValue>(Env.getValue(*BarDecl, SkipPast::None)); in TEST()
1010 const PointerValue *FooVal = cast<PointerValue>(Env.getValue(*FooLoc)); in TEST()
2312 const auto *MemberPointerVal = cast<PointerValue>( in TEST()
[all …]
H A DTypeErasedDataflowAnalysisTest.cpp678 cast<PointerValue>(Env.getValue(*BarDecl, SkipPast::None)); in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h390 TrackingVH<Value> PointerValue; member
409 PointerInfo(Value *PointerValue, const SCEV *Start, const SCEV *End, in PointerInfo()
412 : PointerValue(PointerValue), Start(Start), End(End), in PointerInfo()
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp56 if (auto *IndVal1 = dyn_cast<PointerValue>(Val1)) { in areEquivalentIndirectionValues()
57 auto *IndVal2 = cast<PointerValue>(Val2); in areEquivalentIndirectionValues()
369 PointerValue &Environment::getOrCreateNullPointerValue(QualType PointeeType) { in getOrCreateNullPointerValue()
488 return &takeOwnership(std::make_unique<PointerValue>(PointeeLoc)); in createValueUnlessSelfReferential()
529 if (auto *Val = dyn_cast_or_null<PointerValue>(getValue(LocPastRef))) in skip()
H A DTransfer.cpp279 const auto *SubExprVal = cast_or_null<PointerValue>( in VisitUnaryOperator()
301 Env.takeOwnership(std::make_unique<PointerValue>(*PointeeLoc)); in VisitUnaryOperator()
332 std::make_unique<PointerValue>(*ThisPointeeLoc))); in VisitCXXThisExpr()
H A DDataflowAnalysisContext.cpp60 PointerValue &
68 &takeOwnership(std::make_unique<PointerValue>(PointeeLoc)); in getOrCreateNullPointerValue()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp180 .PointerValue->getType() in RuntimeCheckingPtrGroup()
268 DC.getOrderForAccess(Src->PointerValue, Src->IsWritePtr); in tryToCreateDiffCheck()
270 DC.getOrderForAccess(Sink->PointerValue, Sink->IsWritePtr); in tryToCreateDiffCheck()
292 DC.getInstructionsForAccess(Src->PointerValue, Src->IsWritePtr); in tryToCreateDiffCheck()
294 DC.getInstructionsForAccess(Sink->PointerValue, Sink->IsWritePtr); in tryToCreateDiffCheck()
304 IntegerType::get(Src->PointerValue->getContext(), in tryToCreateDiffCheck()
474 auto Iter = PositionMap.insert({Pointers[Index].PointerValue, {}}); in groupChecks()
491 MemoryDepChecker::MemAccessInfo Access(Pointers[I].PointerValue, in groupChecks()
581 OS.indent(Depth + 2) << *Pointers[First[K]].PointerValue << "\n"; in printChecks()
1109 Value *PtrI = RtCheck.Pointers[i].PointerValue; in canCheckPtrAtRT()
[all …]
/llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/
H A DValue.h244 class PointerValue final : public Value {
246 explicit PointerValue(StorageLocation &PointeeLoc) in PointerValue() function
H A DDataflowAnalysisContext.h160 PointerValue &getOrCreateNullPointerValue(QualType PointeeType);
330 llvm::DenseMap<QualType, PointerValue *, NullableQualTypeDenseMapInfo>
H A DDataflowEnvironment.h222 PointerValue &getOrCreateNullPointerValue(QualType PointeeType);
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp312 LAI.getRuntimePointerChecking()->getPointerInfo(PtrIdx1).PointerValue; in needsChecking()
314 LAI.getRuntimePointerChecking()->getPointerInfo(PtrIdx2).PointerValue; in needsChecking()
H A DLoopDistribute.cpp511 Value *Ptr = RtPtrCheck->Pointers[I].PointerValue; in computePartitionSetForPointers()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopVersioning.cpp197 PtrToGroup[RtPtrChecking->getPointerInfo(PtrIdx).PointerValue] = &Group; in prepareNoAliasMetadata()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DMachO.h329 uint64_t pointerValue() const { return PointerValue; } in pointerValue()
349 uint64_t PointerValue = 0; variable