Home
last modified time | relevance | path

Searched refs:NewPtr (Results 1 – 25 of 61) sorted by relevance

123

/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dmemtag.h158 inline void resizeTaggedChunk(uptr OldPtr, uptr NewPtr, uptr BlockEnd) { in resizeTaggedChunk() argument
160 if (RoundOldPtr >= NewPtr) { in resizeTaggedChunk()
163 uptr RoundNewPtr = untagPointer(roundUpTo(NewPtr, 16)); in resizeTaggedChunk()
191 : [Cur] "+&r"(RoundOldPtr), [End] "+&r"(NewPtr) in resizeTaggedChunk()
246 inline void resizeTaggedChunk(uptr OldPtr, uptr NewPtr, uptr BlockEnd) { in resizeTaggedChunk() argument
248 (void)NewPtr; in resizeTaggedChunk()
Dcombined.h542 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment); variable
543 if (NewPtr)
544 memcpy(NewPtr, OldPtr, (NewSize < OldSize) ? NewSize : OldSize);
546 return NewPtr;
607 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment); variable
608 if (NewPtr) {
610 memcpy(NewPtr, OldTaggedPtr, Min(NewSize, OldSize));
613 return NewPtr;
/external/llvm/lib/Analysis/
DAliasSetTracker.cpp301 bool NewPtr; in add() local
302 addPointer(Ptr, Size, AAInfo, AliasSet::NoAccess, NewPtr); in add()
303 return NewPtr; in add()
314 bool NewPtr; in add() local
318 AAInfo, Access, NewPtr); in add()
320 return NewPtr; in add()
330 bool NewPtr; in add() local
335 AAInfo, Access, NewPtr); in add()
337 return NewPtr; in add()
344 bool NewPtr; in add() local
[all …]
/external/pdfium/third_party/lcms/src/
Dcmsnamed.c66 void *NewPtr; in GrowMLUpool() local
80 NewPtr = _cmsRealloc(mlu ->ContextID, mlu ->MemPool, size); in GrowMLUpool()
81 if (NewPtr == NULL) return FALSE; in GrowMLUpool()
84 mlu ->MemPool = NewPtr; in GrowMLUpool()
96 _cmsMLUentry *NewPtr; in GrowMLUtable() local
107NewPtr = (_cmsMLUentry*)_cmsRealloc(mlu ->ContextID, mlu ->Entries, AllocatedEntries*sizeof(_cmsML… in GrowMLUtable()
108 if (NewPtr == NULL) return FALSE; in GrowMLUtable()
110 mlu ->Entries = NewPtr; in GrowMLUtable()
511 _cmsNAMEDCOLOR * NewPtr; in GrowNamedColorList() local
527 NewPtr = (_cmsNAMEDCOLOR*) _cmsRealloc(v ->ContextID, v ->List, size * sizeof(_cmsNAMEDCOLOR)); in GrowNamedColorList()
[all …]
Dcmserr.c274 void *NewPtr; in _cmsSubAllocDup() local
280 NewPtr = _cmsSubAlloc(s, size); in _cmsSubAllocDup()
282 if (ptr != NULL && NewPtr != NULL) { in _cmsSubAllocDup()
283 memcpy(NewPtr, ptr, size); in _cmsSubAllocDup()
286 return NewPtr; in _cmsSubAllocDup()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp626 Value *NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, MemIndex); in scalarizeMaskedExpandLoad() local
628 Builder.CreateAlignedLoad(EltTy, NewPtr, 1, "Load" + Twine(Idx)); in scalarizeMaskedExpandLoad()
677 Value *NewPtr; in scalarizeMaskedExpandLoad() local
679 NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, 1); in scalarizeMaskedExpandLoad()
700 PtrPhi->addIncoming(NewPtr, CondBlock); in scalarizeMaskedExpandLoad()
738 Value *NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, MemIndex); in scalarizeMaskedCompressStore() local
739 Builder.CreateAlignedStore(OneElt, NewPtr, 1); in scalarizeMaskedCompressStore()
783 Value *NewPtr; in scalarizeMaskedCompressStore() local
785 NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, 1); in scalarizeMaskedCompressStore()
800 PtrPhi->addIncoming(NewPtr, CondBlock); in scalarizeMaskedCompressStore()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DScalarizeMaskedMemIntrin.cpp638 Value *NewPtr = in scalarizeMaskedExpandLoad() local
640 InsertElt = Builder.CreateAlignedLoad(EltTy, NewPtr, Align(1), in scalarizeMaskedExpandLoad()
693 Value *NewPtr; in scalarizeMaskedExpandLoad() local
695 NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, 1); in scalarizeMaskedExpandLoad()
716 PtrPhi->addIncoming(NewPtr, CondBlock); in scalarizeMaskedExpandLoad()
754 Value *NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, MemIndex); in scalarizeMaskedCompressStore() local
755 Builder.CreateAlignedStore(OneElt, NewPtr, Align(1)); in scalarizeMaskedCompressStore()
799 Value *NewPtr; in scalarizeMaskedCompressStore() local
801 NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, 1); in scalarizeMaskedCompressStore()
816 PtrPhi->addIncoming(NewPtr, CondBlock); in scalarizeMaskedCompressStore()
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator.cpp497 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate() local
498 if (NewPtr) in reallocate()
499 memcpy(NewPtr, OldPtr, (NewSize < OldSize) ? NewSize : OldSize); in reallocate()
501 return NewPtr; in reallocate()
531 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate() local
532 if (NewPtr) { in reallocate()
535 memcpy(NewPtr, OldPtr, Min(NewSize, UsableSize)); in reallocate()
538 return NewPtr; in reallocate()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUOpenCLEnqueuedBlockLowering.cpp136 auto *NewPtr = ConstantExpr::getPointerCast(GV, BitCast->getType()); in runOnModule() local
137 BitCast->replaceAllUsesWith(NewPtr); in runOnModule()
DAMDGPULateCodeGenPrepare.cpp170 auto *NewPtr = IRB.CreateBitCast( in visitLoadInst() local
174 LoadInst *NewLd = IRB.CreateAlignedLoad(NewPtr, Align(4)); in visitLoadInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUOpenCLEnqueuedBlockLowering.cpp135 auto *NewPtr = ConstantExpr::getPointerCast(GV, BitCast->getType()); in runOnModule() local
136 BitCast->replaceAllUsesWith(NewPtr); in runOnModule()
/external/llvm/include/llvm/Analysis/
DMemoryLocation.h100 MemoryLocation getWithNewPtr(const Value *NewPtr) const { in getWithNewPtr() argument
102 Copy.Ptr = NewPtr; in getWithNewPtr()
/external/scudo/standalone/
Dcombined.h586 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment); variable
587 if (NewPtr)
588 memcpy(NewPtr, OldPtr, (NewSize < OldSize) ? NewSize : OldSize);
594 return NewPtr;
660 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment); variable
661 if (LIKELY(NewPtr)) {
662 memcpy(NewPtr, OldTaggedPtr, Min(NewSize, OldSize));
665 return NewPtr;
1183 void resizeTaggedChunk(uptr OldPtr, uptr NewPtr, uptr NewSize, in resizeTaggedChunk() argument
1187 if (RoundOldPtr >= NewPtr) { in resizeTaggedChunk()
[all …]
/external/llvm-project/llvm/lib/IR/
DUser.cpp76 auto *NewPtr = reinterpret_cast<char *>(NewOps + NewNumUses); in growHungoffUses() local
77 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp403 GetElementPtrInst *NewPtr = GetElementPtrInst::Create( in runOnLoop() local
407 NewPtr->insertAfter(cast<Instruction>(PtrInc)); in runOnLoop()
408 NewPtr->setIsInBounds(IsPtrInBounds(Ptr)); in runOnLoop()
409 RealNewPtr = NewPtr; in runOnLoop()
/external/llvm/lib/IR/
DUser.cpp83 auto *NewPtr = in growHungoffUses() local
85 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DUser.cpp78 auto *NewPtr = in growHungoffUses() local
80 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp486 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate() local
487 if (NewPtr) { in reallocate()
489 memcpy(NewPtr, OldPtr, Min(NewSize, OldSize)); in reallocate()
502 return NewPtr; in reallocate()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DMemoryLocation.h248 MemoryLocation getWithNewPtr(const Value *NewPtr) const { in getWithNewPtr() argument
250 Copy.Ptr = NewPtr; in getWithNewPtr()
/external/llvm-project/llvm/include/llvm/Analysis/
DMemoryLocation.h292 MemoryLocation getWithNewPtr(const Value *NewPtr) const { in getWithNewPtr() argument
294 Copy.Ptr = NewPtr; in getWithNewPtr()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp807 QualType AllocType, Address NewPtr) { in StoreAnyExprIntoOneUnit() argument
812 CGF.MakeAddrLValue(NewPtr, AllocType), false); in StoreAnyExprIntoOneUnit()
815 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType), in StoreAnyExprIntoOneUnit()
820 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit()
1100 Address NewPtr, llvm::Value *NumElements, in EmitNewInitializer() argument
1104 CGF.EmitNewArrayInitializer(E, ElementType, ElementTy, NewPtr, NumElements, in EmitNewInitializer()
1107 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr); in EmitNewInitializer()
1279 Address NewPtr, in EnterNewDeleteCleanup() argument
1289 NewPtr.getPointer(), in EnterNewDeleteCleanup()
1299 DominatingValue<RValue>::save(CGF, RValue::get(NewPtr.getPointer())); in EnterNewDeleteCleanup()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCLoopInstrFormPrep.cpp639 GetElementPtrInst *NewPtr = GetElementPtrInst::Create( in rewriteLoadStores() local
643 NewPtr->insertAfter(cast<Instruction>(PtrInc)); in rewriteLoadStores()
644 NewPtr->setIsInBounds(IsPtrInBounds(Ptr)); in rewriteLoadStores()
645 RealNewPtr = NewPtr; in rewriteLoadStores()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCLoopInstrFormPrep.cpp648 GetElementPtrInst *NewPtr = GetElementPtrInst::Create( in rewriteLoadStores() local
652 NewPtr->insertAfter(cast<Instruction>(PtrInc)); in rewriteLoadStores()
653 NewPtr->setIsInBounds(IsPtrInBounds(Ptr)); in rewriteLoadStores()
654 RealNewPtr = NewPtr; in rewriteLoadStores()
/external/llvm-project/clang/lib/CodeGen/
DCGExprCXX.cpp952 QualType AllocType, Address NewPtr, in StoreAnyExprIntoOneUnit() argument
958 CGF.MakeAddrLValue(NewPtr, AllocType), false); in StoreAnyExprIntoOneUnit()
961 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType), in StoreAnyExprIntoOneUnit()
966 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit()
1288 Address NewPtr, llvm::Value *NumElements, in EmitNewInitializer() argument
1292 CGF.EmitNewArrayInitializer(E, ElementType, ElementTy, NewPtr, NumElements, in EmitNewInitializer()
1295 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr, in EmitNewInitializer()
1483 Address NewPtr, in EnterNewDeleteCleanup() argument
1505 NewPtr.getPointer(), in EnterNewDeleteCleanup()
1519 DominatingValue<RValue>::save(CGF, RValue::get(NewPtr.getPointer())); in EnterNewDeleteCleanup()
/external/python/cpython2/Mac/Modules/cg/
DCFMLateImport.c201 …fragToFix->sectionHeaders = (PEFSectionHeader *) NewPtr(fragToFix->containerHeader.sectionCount * … in ReadContainerBasics()
227 …fragToFix->loaderSection = (PEFLoaderInfoHeader *) NewPtr(fragToFix->sectionHeaders[sectionIndex].… in ReadContainerBasics()
558 packedDataSection = NewPtr(initSectionHeader->containerLength); in SetupSectionBaseAddresses()
562 unpackedDataSection = NewPtr(initSectionHeader->unpackedLength); in SetupSectionBaseAddresses()

123