/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
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()
|
D | DAGCombiner.cpp | 16668 int64_t PtrDiff; in getStoreMergeCandidates() local 16669 if (CandidateMatch(OtherStore, Ptr, PtrDiff) && in getStoreMergeCandidates() 16671 StoreNodes.push_back(MemOpLink(OtherStore, PtrDiff)); in getStoreMergeCandidates()
|
/external/clang/lib/AST/ |
D | ItaniumCXXABI.cpp | 106 TargetInfo::IntType PtrDiff = Target.getPtrDiffType(0); in getMemberPointerWidthAndAlign() local 107 uint64_t Width = Target.getTypeWidth(PtrDiff); in getMemberPointerWidthAndAlign() 108 unsigned Align = Target.getTypeAlign(PtrDiff); in getMemberPointerWidthAndAlign()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGAddressAnalysis.cpp | 96 int64_t PtrDiff; in computeAliasing() local 98 BasePtr0.equalBaseIndex(BasePtr1, DAG, PtrDiff)) { in computeAliasing() 105 (*NumBytes0 <= PtrDiff) || in computeAliasing() 109 (PtrDiff + *NumBytes1 <= 0)); // i.e. *NumBytes1 < -PtrDiff. in computeAliasing()
|
D | DAGCombiner.cpp | 15652 int64_t PtrDiff; in getStoreMergeCandidates() local 15653 if (CandidateMatch(OtherST, Ptr, PtrDiff) && in getStoreMergeCandidates() 15655 StoreNodes.push_back(MemOpLink(OtherST, PtrDiff)); in getStoreMergeCandidates() 15663 int64_t PtrDiff; in getStoreMergeCandidates() local 15664 if (CandidateMatch(OtherST, Ptr, PtrDiff) && in getStoreMergeCandidates() 15666 StoreNodes.push_back(MemOpLink(OtherST, PtrDiff)); in getStoreMergeCandidates()
|
/external/llvm-project/clang/lib/AST/ |
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()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LoopDataPrefetch.cpp | 250 int64_t PtrDiff = 0) { in addInstruction() 264 if (isa<StoreInst>(I) && PtrDiff == 0) in addInstruction() 350 const SCEV *PtrDiff = SE->getMinusSCEV(LSCEVAddRec, Pref.LSCEVAddRec); in runOnLoop() local 352 dyn_cast<SCEVConstant>(PtrDiff)) { in runOnLoop()
|
/external/llvm-project/clang/unittests/Sema/ |
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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | SourceMgr.cpp | 94 ptrdiff_t PtrDiff = Ptr - BufStart; in getLineNumber() local 95 assert(PtrDiff >= 0 && static_cast<size_t>(PtrDiff) <= std::numeric_limits<T>::max()); in getLineNumber() 96 T PtrOffset = static_cast<T>(PtrDiff); in getLineNumber()
|
/external/llvm-project/llvm/lib/Support/ |
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()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopDataPrefetch.cpp | 257 const SCEV *PtrDiff = SE->getMinusSCEV(LSCEVAddRec, PrefLoad.second); in runOnLoop() local 259 dyn_cast<SCEVConstant>(PtrDiff)) { in runOnLoop()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopDataPrefetch.cpp | 288 const SCEV *PtrDiff = SE->getMinusSCEV(LSCEVAddRec, PrefLoad.second); in runOnLoop() local 290 dyn_cast<SCEVConstant>(PtrDiff)) { in runOnLoop()
|
/external/llvm-project/clang/lib/Sema/ |
D | OpenCLBuiltins.td | 266 def PtrDiff : Type<"ptrdiff_t", QualType<"getPointerDiffType()">>; 1025 [AtomicIntPtr, IntPtr, PtrDiff], 1026 [AtomicUIntPtr, UIntPtr, PtrDiff]] in {
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 2522 Value *PtrDiff = B.CreatePtrDiff(V, CI->getArgOperand(0)); in optimizeSPrintFString() local 2523 return B.CreateIntCast(PtrDiff, CI->getType(), false); in optimizeSPrintFString()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGOpenMPRuntimeGPU.cpp | 2540 llvm::Value *PtrDiff = Bld.CreatePtrDiff( in shuffleAndStore() local 2543 Bld.CreateCondBr(Bld.CreateICmpSGT(PtrDiff, Bld.getInt64(IntSize - 1)), in shuffleAndStore()
|