Searched refs:PtrDiff (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGAddressAnalysis.cpp | 97 int64_t PtrDiff; in computeAliasing() local 99 BasePtr0.equalBaseIndex(BasePtr1, DAG, PtrDiff)) { in computeAliasing() 105 if (PtrDiff >= 0 && in computeAliasing() 110 IsAlias = !(*NumBytes0 <= PtrDiff); in computeAliasing() 113 if (PtrDiff < 0 && in computeAliasing() 118 IsAlias = !((PtrDiff + *NumBytes1) <= 0); in computeAliasing()
|
| H A D | DAGCombiner.cpp | 17186 int64_t PtrDiff; in getStoreMergeCandidates() local 17187 if (CandidateMatch(OtherStore, Ptr, PtrDiff) && in getStoreMergeCandidates() 17189 StoreNodes.push_back(MemOpLink(OtherStore, PtrDiff)); in getStoreMergeCandidates()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ItaniumCXXABI.cpp | 196 TargetInfo::IntType PtrDiff = Target.getPtrDiffType(0); in getMemberPointerInfo() local 198 MPI.Width = Target.getTypeWidth(PtrDiff); in getMemberPointerInfo() 199 MPI.Align = Target.getTypeAlign(PtrDiff); in getMemberPointerInfo()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopDataPrefetch.cpp | 252 int64_t PtrDiff = 0) { in addInstruction() 266 if (isa<StoreInst>(I) && PtrDiff == 0) in addInstruction() 352 const SCEV *PtrDiff = SE->getMinusSCEV(LSCEVAddRec, Pref.LSCEVAddRec); in runOnLoop() local 354 dyn_cast<SCEVConstant>(PtrDiff)) { in runOnLoop()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SourceMgr.cpp | 98 ptrdiff_t PtrDiff = Ptr - BufStart; in getLineNumberSpecialized() local 99 assert(PtrDiff >= 0 && in getLineNumberSpecialized() 100 static_cast<size_t>(PtrDiff) <= std::numeric_limits<T>::max()); in getLineNumberSpecialized() 101 T PtrOffset = static_cast<T>(PtrDiff); in getLineNumberSpecialized()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 2527 Value *PtrDiff = B.CreatePtrDiff(V, Dest); in optimizeSPrintFString() local 2528 return B.CreateIntCast(PtrDiff, CI->getType(), false); in optimizeSPrintFString()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 1779 llvm::Value *PtrDiff = Bld.CreatePtrDiff( in shuffleAndStore() local 1782 Bld.CreateCondBr(Bld.CreateICmpSGT(PtrDiff, Bld.getInt64(IntSize - 1)), in shuffleAndStore()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | OpenCLBuiltins.td | 310 def PtrDiff : Type<"ptrdiff_t", QualType<"Context.getPointerDiffType()">>; 1143 [AtomicUIntPtr, UIntPtr, PtrDiff]] in {
|