Searched refs:PtrDiff (Results 1 – 9 of 9) sorted by relevance
/openbsd/gnu/llvm/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 | 18822 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 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()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | ItaniumCXXABI.cpp | 228 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 D | SourceMgr.cpp | 110 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 D | CGOpenMPRuntimeGPU.cpp | 1459 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 D | OpenCLBuiltins.td | 373 def PtrDiff : Type<"ptrdiff_t", QualType<"Context.getPointerDiffType()">>; 1142 [AtomicUIntPtr, UIntPtr, PtrDiff]] in {
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 2987 Value *PtrDiff = B.CreatePtrDiff(B.getInt8Ty(), V, Dest); in optimizeSPrintFString() local 2988 return B.CreateIntCast(PtrDiff, CI->getType(), false); in optimizeSPrintFString()
|