| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGAddressAnalysis.cpp | 98 int64_t PtrDiff; in computeAliasing() local 100 BasePtr0.equalBaseIndex(BasePtr1, DAG, PtrDiff)) { in computeAliasing() 106 if (PtrDiff >= 0 && in computeAliasing() 111 IsAlias = !(*NumBytes0 <= PtrDiff); in computeAliasing() 114 if (PtrDiff < 0 && in computeAliasing() 119 IsAlias = !((PtrDiff + *NumBytes1) <= 0); in computeAliasing()
|
| H A D | DAGCombiner.cpp | 18165 int64_t PtrDiff; in getStoreMergeCandidates() local 18166 if (CandidateMatch(OtherStore, Ptr, PtrDiff) && in getStoreMergeCandidates() 18168 StoreNodes.push_back(MemOpLink(OtherStore, PtrDiff)); in getStoreMergeCandidates()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LoadStoreOpt.cpp | 121 int64_t PtrDiff; in aliasIsKnownForLoadStore() local 123 PtrDiff = BasePtr1.Offset - BasePtr0.Offset; in aliasIsKnownForLoadStore() 129 if (PtrDiff >= 0 && in aliasIsKnownForLoadStore() 134 IsAlias = !(Size1 <= PtrDiff); in aliasIsKnownForLoadStore() 137 if (PtrDiff < 0 && in aliasIsKnownForLoadStore() 142 IsAlias = !((PtrDiff + Size2) <= 0); in aliasIsKnownForLoadStore()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopDataPrefetch.cpp | 254 int64_t PtrDiff = 0) { in addInstruction() 268 if (isa<StoreInst>(I) && PtrDiff == 0) in addInstruction() 358 const SCEV *PtrDiff = SE->getMinusSCEV(LSCEVAddRec, Pref.LSCEVAddRec); in runOnLoop() local 360 dyn_cast<SCEVConstant>(PtrDiff)) { in runOnLoop()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ItaniumCXXABI.cpp | 227 TargetInfo::IntType PtrDiff = Target.getPtrDiffType(0); in getMemberPointerInfo() local 229 MPI.Width = Target.getTypeWidth(PtrDiff); in getMemberPointerInfo() 230 MPI.Align = Target.getTypeAlign(PtrDiff); in getMemberPointerInfo()
|
| /llvm-project-15.0.7/clang/unittests/Sema/ |
| H A D | CodeCompleteTest.cpp | 209 std::string PtrDiff; in TEST() local 210 auto Types = collectPreferredTypes(Code, &PtrDiff); in TEST() 211 EXPECT_THAT(Types, Each(PtrDiff)); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | SourceMgr.cpp | 106 ptrdiff_t PtrDiff = Ptr - BufStart; in getLineNumberSpecialized() local 107 assert(PtrDiff >= 0 && in getLineNumberSpecialized() 108 static_cast<size_t>(PtrDiff) <= std::numeric_limits<T>::max()); in getLineNumberSpecialized() 109 T PtrOffset = static_cast<T>(PtrDiff); in getLineNumberSpecialized()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/ |
| H A D | identifier-naming-hungarian-notation-cfgfile.cpp | 393 ptrdiff_t PtrDiff = NULL; variable
|
| H A D | identifier-naming-hungarian-notation.cpp | 393 ptrdiff_t PtrDiff = NULL; variable
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | OpenCLBuiltins.td | 372 def PtrDiff : Type<"ptrdiff_t", QualType<"Context.getPointerDiffType()">>; 1141 [AtomicUIntPtr, UIntPtr, PtrDiff]] in {
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 2852 Value *PtrDiff = B.CreatePtrDiff(B.getInt8Ty(), V, Dest); in optimizeSPrintFString() local 2853 return B.CreateIntCast(PtrDiff, CI->getType(), false); in optimizeSPrintFString()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 1811 llvm::Value *PtrDiff = Bld.CreatePtrDiff( in shuffleAndStore() local 1815 Bld.CreateCondBr(Bld.CreateICmpSGT(PtrDiff, Bld.getInt64(IntSize - 1)), in shuffleAndStore()
|