Searched refs:OldPtr (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | combined.h | 483 void *reallocate(void *OldPtr, uptr NewSize, uptr Alignment = MinAlignment) { 494 DCHECK_NE(OldPtr, nullptr); 498 if (UNLIKELY(GuardedAlloc.pointerIsMine(OldPtr))) { 499 uptr OldSize = GuardedAlloc.getSize(OldPtr); 502 memcpy(NewPtr, OldPtr, (NewSize < OldSize) ? NewSize : OldSize); 503 GuardedAlloc.deallocate(OldPtr); 512 void *OldTaggedPtr = OldPtr; 513 OldPtr = getHeaderTaggedPointer(OldPtr); 515 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(OldPtr), MinAlignment))) 516 reportMisalignedPointer(AllocatorAction::Reallocating, OldPtr); [all …]
|
H A D | wrappers_c.inc | 209 reportReallocAllocation(/*OldPtr=*/ptr, NewPtr, size); 213 reportReallocAllocation(/*OldPtr=*/ptr, /*NewPtr=*/ptr,
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | User.cpp | 85 auto *OldPtr = reinterpret_cast<char *>(OldOps + OldNumUses); in growHungoffUses() local 87 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 2652 Instruction *OldPtr = nullptr; member in __anondf5662880d11::AllocaSliceRewriter 2729 OldPtr = cast<Instruction>(OldUse->get()); in visit() 2760 StringRef OldName = OldPtr->getName(); in getNewAllocaSlicePtr() 2856 assert(OldOp == OldPtr); in visitLoadInst() 3038 assert(OldOp == OldPtr); in visitStoreInst() 3139 assert(II.getRawDest() == OldPtr); in visitMemSetInst() 3148 II.setDest(getNewAllocaSlicePtr(IRB, OldPtr->getType())); in visitMemSetInst() 3156 deleteIfTriviallyDead(OldPtr); in visitMemSetInst() 3189 getNewAllocaSlicePtr(IRB, OldPtr->getType()), II.getValue(), Size, in visitMemSetInst() 3288 assert((IsDest && II.getRawDest() == OldPtr) || in visitMemTransferInst() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | Lexer.cpp | 2643 const char *OldPtr = CurPtr; in SkipLineComment() local 2651 if (C != 0 && CurPtr == OldPtr+1) { in SkipLineComment() 2659 if (CurPtr != OldPtr + 1 && C != '/' && in SkipLineComment() 2661 for (; OldPtr != CurPtr; ++OldPtr) in SkipLineComment() 2662 if (OldPtr[0] == '\n' || OldPtr[0] == '\r') { in SkipLineComment() 2674 Diag(OldPtr-1, diag::ext_multi_line_line_comment); in SkipLineComment()
|
/freebsd/contrib/ntp/util/ |
H A D | tg2.c | 599 int OldPtr = 0; local 1526 OldPtr = 0;
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Interp.h | 2819 const FromT &OldPtr = S.Stk.pop<FromT>(); in DecayPtr() local 2820 S.Stk.push<ToT>(ToT(OldPtr.getIntegerRepresentation(), nullptr)); in DecayPtr()
|