Home
last modified time | relevance | path

Searched refs:PtrDiff (Results 1 – 9 of 9) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGAddressAnalysis.cpp98 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 DDAGCombiner.cpp18822 int64_t PtrDiff; in getStoreMergeCandidates() local
18823 if (CandidateMatch(OtherStore, Ptr, PtrDiff) && in getStoreMergeCandidates()
18825 StoreNodes.push_back(MemOpLink(OtherStore, PtrDiff)); in getStoreMergeCandidates()
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp121 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()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopDataPrefetch.cpp254 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()
/openbsd/gnu/llvm/clang/lib/AST/
H A DItaniumCXXABI.cpp228 TargetInfo::IntType PtrDiff = Target.getPtrDiffType(LangAS::Default); in getMemberPointerInfo() local
230 MPI.Width = Target.getTypeWidth(PtrDiff); in getMemberPointerInfo()
231 MPI.Align = Target.getTypeAlign(PtrDiff); in getMemberPointerInfo()
/openbsd/gnu/llvm/llvm/lib/Support/
H A DSourceMgr.cpp110 ptrdiff_t PtrDiff = Ptr - BufStart; in getLineNumberSpecialized() local
111 assert(PtrDiff >= 0 && in getLineNumberSpecialized()
112 static_cast<size_t>(PtrDiff) <= std::numeric_limits<T>::max()); in getLineNumberSpecialized()
113 T PtrOffset = static_cast<T>(PtrDiff); in getLineNumberSpecialized()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp1459 llvm::Value *PtrDiff = Bld.CreatePtrDiff( in shuffleAndStore() local
1463 Bld.CreateCondBr(Bld.CreateICmpSGT(PtrDiff, Bld.getInt64(IntSize - 1)), in shuffleAndStore()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DOpenCLBuiltins.td373 def PtrDiff : Type<"ptrdiff_t", QualType<"Context.getPointerDiffType()">>;
1142 [AtomicUIntPtr, UIntPtr, PtrDiff]] in {
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2987 Value *PtrDiff = B.CreatePtrDiff(B.getInt8Ty(), V, Dest); in optimizeSPrintFString() local
2988 return B.CreateIntCast(PtrDiff, CI->getType(), false); in optimizeSPrintFString()