Home
last modified time | relevance | path

Searched refs:OldPtr (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/IR/
DUser.cpp81 auto *OldPtr = in growHungoffUses() local
85 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DUser.cpp77 auto *OldPtr = in growHungoffUses() local
81 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp465 void *reallocate(void *OldPtr, uptr NewSize) { in reallocate()
469 uptr Size = getUsableSize(OldPtr, &OldHeader); in reallocate()
470 uptr ChunkBeg = reinterpret_cast<uptr>(OldPtr); in reallocate()
482 return OldPtr; in reallocate()
489 memcpy(NewPtr, OldPtr, Min(NewSize, OldSize)); in reallocate()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2188 Instruction *OldPtr; member in llvm::sroa::AllocaSliceRewriter
2219 OldPtr(), PHIUsers(PHIUsers), SelectUsers(SelectUsers), in AllocaSliceRewriter()
2249 OldPtr = cast<Instruction>(OldUse->get()); in visit()
2279 StringRef OldName = OldPtr->getName(); in getNewAllocaSlicePtr()
2373 assert(OldOp == OldPtr); in visitLoadInst()
2498 assert(OldOp == OldPtr); in visitStoreInst()
2597 assert(II.getRawDest() == OldPtr); in visitMemSetInst()
2604 II.setDest(getNewAllocaSlicePtr(IRB, OldPtr->getType())); in visitMemSetInst()
2608 deleteIfTriviallyDead(OldPtr); in visitMemSetInst()
2629 getNewAllocaSlicePtr(IRB, OldPtr->getType()), II.getValue(), Size, in visitMemSetInst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp2269 Instruction *OldPtr = nullptr; member in llvm::sroa::AllocaSliceRewriter
2329 OldPtr = cast<Instruction>(OldUse->get()); in visit()
2359 StringRef OldName = OldPtr->getName(); in getNewAllocaSlicePtr()
2454 assert(OldOp == OldPtr); in visitLoadInst()
2607 assert(OldOp == OldPtr); in visitStoreInst()
2713 assert(II.getRawDest() == OldPtr); in visitMemSetInst()
2723 II.setDest(getNewAllocaSlicePtr(IRB, OldPtr->getType())); in visitMemSetInst()
2726 deleteIfTriviallyDead(OldPtr); in visitMemSetInst()
2747 getNewAllocaSlicePtr(IRB, OldPtr->getType()), II.getValue(), Size, in visitMemSetInst()
2831 assert((IsDest && II.getRawDest() == OldPtr) || in visitMemTransferInst()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/
DJITEventListener.h74 virtual void NotifyFreeingMachineCode(void *OldPtr) {} in NotifyFreeingMachineCode() argument
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/
DJITEventListenerTest.cpp59 virtual void NotifyFreeingMachineCode(void *OldPtr) { in NotifyFreeingMachineCode()
60 FunctionFreedEvent Event = {NextIndex++, OldPtr}; in NotifyFreeingMachineCode()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJIT.h203 void NotifyFreeingMachineCode(void *OldPtr);
DOProfileJITEventListener.cpp49 virtual void NotifyFreeingMachineCode(void *OldPtr);
DJIT.cpp580 void JIT::NotifyFreeingMachineCode(void *OldPtr) { in NotifyFreeingMachineCode() argument
583 EventListeners[I]->NotifyFreeingMachineCode(OldPtr); in NotifyFreeingMachineCode()
/external/clang/lib/Lex/
DLexer.cpp2096 const char *OldPtr = CurPtr; in SkipLineComment() local
2104 if (C != 0 && CurPtr == OldPtr+1) { in SkipLineComment()
2112 if (CurPtr != OldPtr+1 && C != '/' && CurPtr[0] != '/') { in SkipLineComment()
2113 for (; OldPtr != CurPtr; ++OldPtr) in SkipLineComment()
2114 if (OldPtr[0] == '\n' || OldPtr[0] == '\r') { in SkipLineComment()
2126 Diag(OldPtr-1, diag::ext_multi_line_line_comment); in SkipLineComment()