Searched refs:PtrDiff (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGAddressAnalysis.cpp | 107 int64_t PtrDiff; in computeAliasing() local 109 BasePtr0.equalBaseIndex(BasePtr1, DAG, PtrDiff)) { in computeAliasing() 115 if (PtrDiff >= 0 && in computeAliasing() 120 IsAlias = !(*NumBytes0 <= PtrDiff); in computeAliasing() 123 if (PtrDiff < 0 && in computeAliasing() 128 IsAlias = !((PtrDiff + *NumBytes1) <= 0); in computeAliasing()
|
H A D | DAGCombiner.cpp | 20159 int64_t PtrDiff; in getStoreMergeCandidates() local 20160 if (CandidateMatch(OtherStore, Ptr, PtrDiff) && in getStoreMergeCandidates() 20162 StoreNodes.push_back(MemOpLink(OtherStore, PtrDiff)); in getStoreMergeCandidates()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LoadStoreOpt.cpp | 122 int64_t PtrDiff; in aliasIsKnownForLoadStore() local 125 PtrDiff = BasePtr1.getOffset() - BasePtr0.getOffset(); in aliasIsKnownForLoadStore() 131 if (PtrDiff >= 0 && in aliasIsKnownForLoadStore() 136 IsAlias = !(Size1 <= PtrDiff); in aliasIsKnownForLoadStore() 139 if (PtrDiff < 0 && in aliasIsKnownForLoadStore() 144 IsAlias = !((PtrDiff + Size2) <= 0); in aliasIsKnownForLoadStore()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntimeGPU.cpp | 1513 llvm::Value *PtrDiff = Bld.CreatePtrDiff( in shuffleAndStore() local 1517 Bld.CreateCondBr(Bld.CreateICmpSGT(PtrDiff, Bld.getInt64(IntSize - 1)), in shuffleAndStore()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | OpenCLBuiltins.td | 373 def PtrDiff : Type<"ptrdiff_t", QualType<"Context.getPointerDiffType()">>; 1142 [AtomicUIntPtr, UIntPtr, PtrDiff]] in {
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 3107 Value *PtrDiff = B.CreatePtrDiff(B.getInt8Ty(), V, Dest); in optimizeSPrintFString() local 3108 return B.CreateIntCast(PtrDiff, CI->getType(), false); in optimizeSPrintFString()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 14855 using PtrDiff = std::pair<std::variant<int64_t, SDValue>, bool>; in performCONCAT_VECTORSCombine() typedef 14857 LoadSDNode *Ld2) -> std::optional<PtrDiff> { in performCONCAT_VECTORSCombine()
|