Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DAliasSetTracker.cpp296 bool NewPtr; in add() local
297 addPointer(Ptr, Size, AAInfo, AliasSet::NoAccess, NewPtr); in add()
298 return NewPtr; in add()
309 bool NewPtr; in add() local
313 AAInfo, Access, NewPtr); in add()
315 return NewPtr; in add()
325 bool NewPtr; in add() local
330 AAInfo, Access, NewPtr); in add()
332 return NewPtr; in add()
339 bool NewPtr; in add() local
[all …]
/external/pdfium/third_party/lcms2-2.6/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()
485 _cmsNAMEDCOLOR * NewPtr; in GrowNamedColorList() local
497 NewPtr = (_cmsNAMEDCOLOR*) _cmsRealloc(v ->ContextID, v ->List, size * sizeof(_cmsNAMEDCOLOR)); in GrowNamedColorList()
[all …]
Dcmserr.c460 void *NewPtr; in _cmsSubAllocDup() local
466 NewPtr = _cmsSubAlloc(s, size); in _cmsSubAllocDup()
468 if (ptr != NULL && NewPtr != NULL) { in _cmsSubAllocDup()
469 memcpy(NewPtr, ptr, size); in _cmsSubAllocDup()
472 return NewPtr; in _cmsSubAllocDup()
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/
Dmove_convert.pass.cpp53 template <class OrigPtr, class NewPtr>
54 void checkDeleter(OrigPtr& O, NewPtr& N, int OrigState, int NewState) { in checkDeleter()
55 typedef typename NewPtr::deleter_type NewDel; in checkDeleter()
/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.cpp400 GetElementPtrInst *NewPtr = GetElementPtrInst::Create( in runOnLoop() local
404 NewPtr->insertAfter(cast<Instruction>(PtrInc)); in runOnLoop()
405 NewPtr->setIsInBounds(IsPtrInBounds(Ptr)); in runOnLoop()
406 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/mesa3d/src/gallium/drivers/radeon/
DR600KernelParameters.cpp286 Value* NewPtr = OrigPtr; in Propagate() local
289 NewPtr = new BitCastInst(OrigPtr, NewPtrType, "prop_cast", Load); in Propagate()
292 Value* new_Load = new LoadInst(NewPtr, Name, Load); in Propagate()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp802 QualType AllocType, Address NewPtr) { in StoreAnyExprIntoOneUnit() argument
807 CGF.MakeAddrLValue(NewPtr, AllocType), false); in StoreAnyExprIntoOneUnit()
810 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType), in StoreAnyExprIntoOneUnit()
815 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit()
1092 Address NewPtr, llvm::Value *NumElements, in EmitNewInitializer() argument
1096 CGF.EmitNewArrayInitializer(E, ElementType, ElementTy, NewPtr, NumElements, in EmitNewInitializer()
1099 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr); in EmitNewInitializer()
1271 Address NewPtr, in EnterNewDeleteCleanup() argument
1281 NewPtr.getPointer(), in EnterNewDeleteCleanup()
1291 DominatingValue<RValue>::save(CGF, RValue::get(NewPtr.getPointer())); in EnterNewDeleteCleanup()
DCGCXXABI.cpp205 Address NewPtr, in InitializeArrayCookie() argument
DItaniumCXXABI.cpp312 Address NewPtr,
426 Address NewPtr,
1739 Address NewPtr, in InitializeArrayCookie() argument
1745 unsigned AS = NewPtr.getAddressSpace(); in InitializeArrayCookie()
1756 Address CookiePtr = NewPtr; in InitializeArrayCookie()
1780 return CGF.Builder.CreateConstInBoundsByteGEP(NewPtr, CookieSize); in InitializeArrayCookie()
3008 llvm::Constant *NewPtr = in BuildTypeInfo() local
3010 OldGV->replaceAllUsesWith(NewPtr); in BuildTypeInfo()
DCGCXXABI.h460 Address NewPtr,
DCodeGenFunction.h1882 llvm::Type *ElementTy, Address NewPtr,
DMicrosoftCXXABI.cpp422 Address NewPtr,
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp570 Value *NewPtr = NewGlobals[Val]; in SRAGlobal() local
580 NewPtr = in SRAGlobal()
581 ConstantExpr::getGetElementPtr(NewTy, cast<Constant>(NewPtr), Idxs); in SRAGlobal()
588 NewPtr = GetElementPtrInst::Create( in SRAGlobal()
589 NewTy, NewPtr, Idxs, GEPI->getName() + "." + Twine(Val), GEPI); in SRAGlobal()
592 GEP->replaceAllUsesWith(NewPtr); in SRAGlobal()
1219 Value *NewPtr = GetHeapSROAValue(GEPI->getOperand(0), FieldNo, in RewriteHeapSROALoadUser() local
1227 Value *NGEPI = GetElementPtrInst::Create(GEPI->getResultElementType(), NewPtr, GEPIdx, in RewriteHeapSROALoadUser()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2564 Value *NewPtr = getNewAllocaSlicePtr(IRB, V->getType()->getPointerTo()); in visitStoreInst() local
2565 NewSI = IRB.CreateAlignedStore(V, NewPtr, getSliceAlign(V->getType()), in visitStoreInst()
2928 Value *NewPtr = getNewAllocaSlicePtr(PtrBuilder, OldPtr->getType()); in visitPHINode() local
2930 std::replace(PN.op_begin(), PN.op_end(), cast<Value>(OldPtr), NewPtr); in visitPHINode()
2949 Value *NewPtr = getNewAllocaSlicePtr(IRB, OldPtr->getType()); in visitSelectInst() local
2952 SI.setOperand(1, NewPtr); in visitSelectInst()
2954 SI.setOperand(2, NewPtr); in visitSelectInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3221 SDValue NewPtr = LN0->getBasePtr(); in visitAND() local
3231 NewPtr = DAG.getNode(ISD::ADD, DL, PtrType, in visitAND()
3232 NewPtr, DAG.getConstant(PtrOff, DL, PtrType)); in visitAND()
3236 AddToWorklist(NewPtr.getNode()); in visitAND()
3240 LN0->getChain(), NewPtr, in visitAND()
6847 SDValue NewPtr = DAG.getNode(ISD::ADD, DL, in ReduceLoadWidth() local
6850 AddToWorklist(NewPtr.getNode()); in ReduceLoadWidth()
6854 Load = DAG.getLoad(VT, SDLoc(N0), LN0->getChain(), NewPtr, in ReduceLoadWidth()
6859 Load = DAG.getExtLoad(ExtType, SDLoc(N0), VT, LN0->getChain(),NewPtr, in ReduceLoadWidth()
10831 SDValue NewPtr = DAG.getNode(ISD::ADD, SDLoc(LD), in ReduceLoadOpStoreWidth() local
[all …]
/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp2139 SDValue NewPtr = performSHLPtrCombine(Ptr.getNode(), AS, DCI); in PerformDAGCombine() local
2140 if (NewPtr) { in PerformDAGCombine()
2143 NewOps[N->getOpcode() == ISD::STORE ? 2 : 1] = NewPtr; in PerformDAGCombine()
DR600ISelLowering.cpp1519 SDValue NewPtr = DAG.getNode(ISD::ADD, DL, Ptr.getValueType(), Ptr, in LowerLOAD() local
1521 Slots[i] = DAG.getNode(AMDGPUISD::CONST_ADDRESS, DL, MVT::i32, NewPtr); in LowerLOAD()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2256 Value *NewPtr = Builder.CreateExtractElement( in vectorizeInterleaveGroup() local
2271 NewPtr = Builder.CreateGEP(NewPtr, Builder.getInt32(-Index)); in vectorizeInterleaveGroup()
2274 NewPtrs.push_back(Builder.CreateBitCast(NewPtr, PtrTy)); in vectorizeInterleaveGroup()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp3730 SDValue NewPtr = DAG.getNode(ISD::ADD, dl, in expandf64Toi32() local
3733 Ld->getChain(), NewPtr, in expandf64Toi32()