Home
last modified time | relevance | path

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

12

/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/swiftshader/third_party/LLVM/lib/Analysis/
DAliasSetTracker.cpp291 bool NewPtr; in add() local
292 addPointer(Ptr, Size, TBAAInfo, AliasSet::NoModRef, NewPtr); in add()
293 return NewPtr; in add()
301 bool NewPtr; in add() local
305 ATy, NewPtr); in add()
307 return NewPtr; in add()
314 bool NewPtr; in add() local
319 ATy, NewPtr); in add()
321 return NewPtr; in add()
325 bool NewPtr; in add() local
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DJITCodeEmitter.h152 uint8_t *NewPtr = (uint8_t*)RoundUpToAlignment((uintptr_t)CurBufferPtr, in emitAlignment() local
154 CurBufferPtr = std::min(NewPtr, BufferEnd); in emitAlignment()
161 uint8_t *NewPtr = (uint8_t*)RoundUpToAlignment((uintptr_t)CurBufferPtr, in emitAlignmentWithFill() local
164 if (NewPtr > BufferEnd) { in emitAlignmentWithFill()
168 while (CurBufferPtr < NewPtr) { in emitAlignmentWithFill()
/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()
510 _cmsNAMEDCOLOR * NewPtr; in GrowNamedColorList() local
522 NewPtr = (_cmsNAMEDCOLOR*) _cmsRealloc(v ->ContextID, v ->List, size * sizeof(_cmsNAMEDCOLOR)); in GrowNamedColorList()
[all …]
Dcmserr.c272 void *NewPtr; in _cmsSubAllocDup() local
278 NewPtr = _cmsSubAlloc(s, size); in _cmsSubAllocDup()
280 if (ptr != NULL && NewPtr != NULL) { in _cmsSubAllocDup()
281 memcpy(NewPtr, ptr, size); in _cmsSubAllocDup()
284 return NewPtr; in _cmsSubAllocDup()
/external/llvm/include/llvm/Analysis/
DMemoryLocation.h100 MemoryLocation getWithNewPtr(const Value *NewPtr) const { in getWithNewPtr() argument
102 Copy.Ptr = NewPtr; in getWithNewPtr()
/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/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/llvm/lib/IR/
DUser.cpp83 auto *NewPtr = in growHungoffUses() local
85 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
/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()
DItaniumCXXABI.cpp304 Address NewPtr,
418 Address NewPtr,
1737 Address NewPtr, in InitializeArrayCookie() argument
1743 unsigned AS = NewPtr.getAddressSpace(); in InitializeArrayCookie()
1754 Address CookiePtr = NewPtr; in InitializeArrayCookie()
1778 return CGF.Builder.CreateConstInBoundsByteGEP(NewPtr, CookieSize); in InitializeArrayCookie()
3044 llvm::Constant *NewPtr = in BuildTypeInfo() local
3046 OldGV->replaceAllUsesWith(NewPtr); in BuildTypeInfo()
DCGCXXABI.cpp205 Address NewPtr, in InitializeArrayCookie() argument
DCGCXXABI.h476 Address NewPtr,
DCodeGenFunction.h2011 llvm::Type *ElementTy, Address NewPtr,
DMicrosoftCXXABI.cpp422 Address NewPtr,
/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()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DAliasAnalysis.h115 Location getWithNewPtr(const Value *NewPtr) const { in getWithNewPtr()
117 Copy.Ptr = NewPtr; in getWithNewPtr()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp531 Value *NewPtr = NewGlobals[Val]; in SRAGlobal() local
541 NewPtr = in SRAGlobal()
542 ConstantExpr::getGetElementPtr(NewTy, cast<Constant>(NewPtr), Idxs); in SRAGlobal()
549 NewPtr = GetElementPtrInst::Create( in SRAGlobal()
550 NewTy, NewPtr, Idxs, GEPI->getName() + "." + Twine(Val), GEPI); in SRAGlobal()
553 GEP->replaceAllUsesWith(NewPtr); in SRAGlobal()
1176 Value *NewPtr = GetHeapSROAValue(GEPI->getOperand(0), FieldNo, in RewriteHeapSROALoadUser() local
1184 Value *NGEPI = GetElementPtrInst::Create(GEPI->getResultElementType(), NewPtr, GEPIdx, in RewriteHeapSROALoadUser()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DGlobalOpt.cpp592 Value *NewPtr = NewGlobals[Val]; in SRAGlobal() local
601 NewPtr = ConstantExpr::getGetElementPtr(cast<Constant>(NewPtr), Idxs); in SRAGlobal()
608 NewPtr = GetElementPtrInst::Create(NewPtr, Idxs, in SRAGlobal()
612 GEP->replaceAllUsesWith(NewPtr); in SRAGlobal()
1240 Value *NewPtr = GetHeapSROAValue(GEPI->getOperand(0), FieldNo, in RewriteHeapSROALoadUser() local
1248 Value *NGEPI = GetElementPtrInst::Create(NewPtr, GEPIdx, in RewriteHeapSROALoadUser()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2456 SDValue NewPtr = LN0->getBasePtr(); in visitAND() local
2465 NewPtr = DAG.getNode(ISD::ADD, LN0->getDebugLoc(), PtrType, in visitAND()
2466 NewPtr, DAG.getConstant(PtrOff, PtrType)); in visitAND()
2470 AddToWorkList(NewPtr.getNode()); in visitAND()
2475 LN0->getChain(), NewPtr, in visitAND()
4699 SDValue NewPtr = DAG.getNode(ISD::ADD, LN0->getDebugLoc(), in ReduceLoadWidth() local
4702 AddToWorkList(NewPtr.getNode()); in ReduceLoadWidth()
4706 Load = DAG.getLoad(VT, N0.getDebugLoc(), LN0->getChain(), NewPtr, in ReduceLoadWidth()
4710 Load = DAG.getExtLoad(ExtType, N0.getDebugLoc(), VT, LN0->getChain(),NewPtr, in ReduceLoadWidth()
6482 SDValue NewPtr = DAG.getNode(ISD::ADD, LD->getDebugLoc(), in ReduceLoadOpStoreWidth() local
[all …]
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2548 Value *NewPtr = getNewAllocaSlicePtr(IRB, V->getType()->getPointerTo()); in visitStoreInst() local
2549 NewSI = IRB.CreateAlignedStore(V, NewPtr, getSliceAlign(V->getType()), in visitStoreInst()
2912 Value *NewPtr = getNewAllocaSlicePtr(PtrBuilder, OldPtr->getType()); in visitPHINode() local
2914 std::replace(PN.op_begin(), PN.op_end(), cast<Value>(OldPtr), NewPtr); in visitPHINode()
2933 Value *NewPtr = getNewAllocaSlicePtr(IRB, OldPtr->getType()); in visitSelectInst() local
2936 SI.setOperand(1, NewPtr); in visitSelectInst()
2938 SI.setOperand(2, NewPtr); in visitSelectInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3259 SDValue NewPtr = LN0->getBasePtr(); in visitAND() local
3269 NewPtr = DAG.getNode(ISD::ADD, DL, PtrType, in visitAND()
3270 NewPtr, DAG.getConstant(PtrOff, DL, PtrType)); in visitAND()
3274 AddToWorklist(NewPtr.getNode()); in visitAND()
3278 LN0->getChain(), NewPtr, in visitAND()
6896 SDValue NewPtr = DAG.getNode(ISD::ADD, DL, in ReduceLoadWidth() local
6900 AddToWorklist(NewPtr.getNode()); in ReduceLoadWidth()
6904 Load = DAG.getLoad(VT, SDLoc(N0), LN0->getChain(), NewPtr, in ReduceLoadWidth()
6909 Load = DAG.getExtLoad(ExtType, SDLoc(N0), VT, LN0->getChain(),NewPtr, in ReduceLoadWidth()
10949 SDValue NewPtr = DAG.getNode(ISD::ADD, SDLoc(LD), in ReduceLoadOpStoreWidth() local
[all …]
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2296 Value *NewPtr = Builder.CreateExtractElement( in vectorizeInterleaveGroup() local
2311 NewPtr = Builder.CreateGEP(NewPtr, Builder.getInt32(-Index)); in vectorizeInterleaveGroup()
2314 NewPtrs.push_back(Builder.CreateBitCast(NewPtr, PtrTy)); in vectorizeInterleaveGroup()
/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp3031 SDValue NewPtr = performSHLPtrCombine(Ptr.getNode(), AS, DCI); in PerformDAGCombine() local
3032 if (NewPtr) { in PerformDAGCombine()
3035 NewOps[N->getOpcode() == ISD::STORE ? 2 : 1] = NewPtr; in PerformDAGCombine()
DR600ISelLowering.cpp1604 SDValue NewPtr = DAG.getNode(ISD::ADD, DL, Ptr.getValueType(), Ptr, in LowerLOAD() local
1606 Slots[i] = DAG.getNode(AMDGPUISD::CONST_ADDRESS, DL, MVT::i32, NewPtr); in LowerLOAD()

12