Searched refs:PointerValue (Results 1 – 15 of 15) sorted by relevance
| /llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/ |
| H A D | DataflowEnvironmentTest.cpp | 85 PointerValue *PV = clang::dyn_cast<PointerValue>(Val); in TEST_F()
|
| H A D | TransferTest.cpp | 418 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 D | TypeErasedDataflowAnalysisTest.cpp | 678 cast<PointerValue>(Env.getValue(*BarDecl, SkipPast::None)); in TEST_F()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | LoopAccessAnalysis.h | 390 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 D | DataflowEnvironment.cpp | 56 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 D | Transfer.cpp | 279 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 D | DataflowAnalysisContext.cpp | 60 PointerValue & 68 &takeOwnership(std::make_unique<PointerValue>(PointeeLoc)); in getOrCreateNullPointerValue()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | LoopAccessAnalysis.cpp | 180 .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 D | Value.h | 244 class PointerValue final : public Value { 246 explicit PointerValue(StorageLocation &PointeeLoc) in PointerValue() function
|
| H A D | DataflowAnalysisContext.h | 160 PointerValue &getOrCreateNullPointerValue(QualType PointeeType); 330 llvm::DenseMap<QualType, PointerValue *, NullableQualTypeDenseMapInfo>
|
| H A D | DataflowEnvironment.h | 222 PointerValue &getOrCreateNullPointerValue(QualType PointeeType);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopLoadElimination.cpp | 312 LAI.getRuntimePointerChecking()->getPointerInfo(PtrIdx1).PointerValue; in needsChecking() 314 LAI.getRuntimePointerChecking()->getPointerInfo(PtrIdx2).PointerValue; in needsChecking()
|
| H A D | LoopDistribute.cpp | 511 Value *Ptr = RtPtrCheck->Pointers[I].PointerValue; in computePartitionSetForPointers()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LoopVersioning.cpp | 197 PtrToGroup[RtPtrChecking->getPointerInfo(PtrIdx).PointerValue] = &Group; in prepareNoAliasMetadata()
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | MachO.h | 329 uint64_t pointerValue() const { return PointerValue; } in pointerValue() 349 uint64_t PointerValue = 0; variable
|