| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ScalarizeMaskedMemIntrin.cpp | 670 Value *NewPtr = in scalarizeMaskedExpandLoad() local 672 InsertElt = Builder.CreateAlignedLoad(EltTy, NewPtr, Align(1), in scalarizeMaskedExpandLoad() 730 Value *NewPtr; in scalarizeMaskedExpandLoad() local 732 NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, 1); in scalarizeMaskedExpandLoad() 750 PtrPhi->addIncoming(NewPtr, CondBlock); in scalarizeMaskedExpandLoad() 790 Value *NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, MemIndex); in scalarizeMaskedCompressStore() local 791 Builder.CreateAlignedStore(OneElt, NewPtr, Align(1)); in scalarizeMaskedCompressStore() 840 Value *NewPtr; in scalarizeMaskedCompressStore() local 842 NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, 1); in scalarizeMaskedCompressStore() 855 PtrPhi->addIncoming(NewPtr, CondBlock); in scalarizeMaskedCompressStore()
|
| H A D | InferAddressSpaces.cpp | 558 Value *NewPtr = operandWithNewAddressSpaceOrCreateUndef( in cloneInstructionWithNewAddressSpace() local 562 TTI->rewriteIntrinsicWithAddressSpace(II, II->getArgOperand(0), NewPtr); in cloneInstructionWithNewAddressSpace()
|
| H A D | SROA.cpp | 2730 Value *NewPtr = getNewAllocaSlicePtr(IRB, V->getType()->getPointerTo(AS)); in visitStoreInst() local 2732 IRB.CreateAlignedStore(V, NewPtr, getSliceAlign(), SI.isVolatile()); in visitStoreInst() 3200 Value *NewPtr = getNewAllocaSlicePtr(IRB, OldPtr->getType()); in visitPHINode() local 3202 std::replace(PN.op_begin(), PN.op_end(), cast<Value>(OldPtr), NewPtr); in visitPHINode() 3224 Value *NewPtr = getNewAllocaSlicePtr(IRB, OldPtr->getType()); in visitSelectInst() local 3227 SI.setOperand(1, NewPtr); in visitSelectInst() 3229 SI.setOperand(2, NewPtr); in visitSelectInst()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/ |
| H A D | scudo_allocator.cpp | 500 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate() local 501 if (NewPtr) in reallocate() 502 memcpy(NewPtr, OldPtr, (NewSize < OldSize) ? NewSize : OldSize); in reallocate() 504 return NewPtr; in reallocate() 534 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate() local 535 if (NewPtr) { in reallocate() 538 memcpy(NewPtr, OldPtr, Min(NewSize, UsableSize)); in reallocate() 541 return NewPtr; in reallocate()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUOpenCLEnqueuedBlockLowering.cpp | 131 auto *NewPtr = ConstantExpr::getPointerCast(GV, BitCast->getType()); in runOnModule() local 132 BitCast->replaceAllUsesWith(NewPtr); in runOnModule()
|
| H A D | AMDGPULateCodeGenPrepare.cpp | 167 auto *NewPtr = IRB.CreateBitCast( in visitLoadInst() local 173 LoadInst *NewLd = IRB.CreateAlignedLoad(IRB.getInt32Ty(), NewPtr, Align(4)); in visitLoadInst()
|
| H A D | R600ISelLowering.cpp | 1727 SDValue NewPtr = DAG.getNode(ISD::ADD, DL, Ptr.getValueType(), Ptr, in constBufferLoad() local 1729 Slots[i] = DAG.getNode(AMDGPUISD::CONST_ADDRESS, DL, MVT::i32, NewPtr); in constBufferLoad()
|
| H A D | SIISelLowering.cpp | 8926 SDValue NewPtr = performSHLPtrCombine(Ptr.getNode(), N->getAddressSpace(), in performMemSDNodeCombine() local 8928 if (NewPtr) { in performMemSDNodeCombine() 8931 NewOps[PtrIdx] = NewPtr; in performMemSDNodeCombine()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | combined.h | 580 if (NewPtr) 581 memcpy(NewPtr, OldPtr, (NewSize < OldSize) ? NewSize : OldSize); 587 return NewPtr; 656 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment); variable 657 if (LIKELY(NewPtr)) { 658 memcpy(NewPtr, OldTaggedPtr, Min(NewSize, OldSize)); 661 return NewPtr; 1182 void resizeTaggedChunk(uptr OldPtr, uptr NewPtr, uptr NewSize, in resizeTaggedChunk() argument 1186 if (RoundOldPtr >= NewPtr) { in resizeTaggedChunk() 1189 RoundNewPtr = roundUpTo(NewPtr, archMemoryTagGranuleSize()); in resizeTaggedChunk() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | User.cpp | 80 auto *NewPtr = reinterpret_cast<char *>(NewOps + NewNumUses); in growHungoffUses() local 81 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | MemoryLocation.h | 292 MemoryLocation getWithNewPtr(const Value *NewPtr) const { in getWithNewPtr() argument 294 Copy.Ptr = NewPtr; in getWithNewPtr()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 648 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()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 957 QualType AllocType, Address NewPtr, in StoreAnyExprIntoOneUnit() argument 963 CGF.MakeAddrLValue(NewPtr, AllocType), false); in StoreAnyExprIntoOneUnit() 966 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType), in StoreAnyExprIntoOneUnit() 971 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit() 1296 Address NewPtr, llvm::Value *NumElements, in EmitNewInitializer() argument 1300 CGF.EmitNewArrayInitializer(E, ElementType, ElementTy, NewPtr, NumElements, in EmitNewInitializer() 1303 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr, in EmitNewInitializer() 1491 Address NewPtr, in EnterNewDeleteCleanup() argument 1513 NewPtr.getPointer(), in EnterNewDeleteCleanup() 1527 DominatingValue<RValue>::save(CGF, RValue::get(NewPtr.getPointer())); in EnterNewDeleteCleanup()
|
| H A D | CGCXXABI.cpp | 176 Address NewPtr, in InitializeArrayCookie() argument
|
| H A D | CGCXXABI.h | 529 Address NewPtr,
|
| H A D | ItaniumCXXABI.cpp | 314 Address NewPtr, 487 Address NewPtr, 2199 Address NewPtr, in InitializeArrayCookie() argument 2205 unsigned AS = NewPtr.getAddressSpace(); in InitializeArrayCookie() 2216 Address CookiePtr = NewPtr; in InitializeArrayCookie() 2241 return CGF.Builder.CreateConstInBoundsByteGEP(NewPtr, CookieSize); in InitializeArrayCookie() 3881 llvm::Constant *NewPtr = in BuildTypeInfo() local 3883 OldGV->replaceAllUsesWith(NewPtr); in BuildTypeInfo()
|
| H A D | CodeGenFunction.h | 2863 llvm::Type *ElementTy, Address NewPtr,
|
| H A D | MicrosoftCXXABI.cpp | 444 Address NewPtr,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 479 Value *NewPtr = nullptr; in combineLoadToNewType() local 480 if (!(match(Ptr, m_BitCast(m_Value(NewPtr))) && in combineLoadToNewType() 481 NewPtr->getType() == NewPtrTy)) in combineLoadToNewType() 482 NewPtr = Builder.CreateBitCast(Ptr, NewPtrTy); in combineLoadToNewType() 485 NewTy, NewPtr, LI.getAlign(), LI.isVolatile(), LI.getName() + Suffix); in combineLoadToNewType()
|
| H A D | InstCombineVectorOps.cpp | 474 Value *NewPtr = GEP->getPointerOperand(); in visitExtractElementInst() local 475 if (isa<VectorType>(NewPtr->getType())) in visitExtractElementInst() 476 NewPtr = Builder.CreateExtractElement(NewPtr, IndexC); in visitExtractElementInst() 488 cast<PointerType>(NewPtr->getType())->getElementType(), NewPtr, in visitExtractElementInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 608 Value *NewPtr = NewGlobals[ElementIdx]; in SRAGlobal() local 618 NewPtr = in SRAGlobal() 619 ConstantExpr::getGetElementPtr(NewTy, cast<Constant>(NewPtr), Idxs); in SRAGlobal() 626 NewPtr = GetElementPtrInst::Create( in SRAGlobal() 627 NewTy, NewPtr, Idxs, GEPI->getName() + "." + Twine(ElementIdx), in SRAGlobal() 631 GEP->replaceAllUsesWith(NewPtr); in SRAGlobal() 634 for (User *U : NewPtr->users()) { in SRAGlobal()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64StackTagging.cpp | 518 auto *NewPtr = new BitCastInst(NewAI, Info.AI->getType(), "", Info.AI); in alignAndPadAlloca() local 519 Info.AI->replaceAllUsesWith(NewPtr); in alignAndPadAlloca()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 9053 SDValue NewPtr = DAG.getMemBasePlusOffset( in visitFunnelShift() local 9055 AddToWorklist(NewPtr.getNode()); in visitFunnelShift() 9057 VT, DL, RHS->getChain(), NewPtr, in visitFunnelShift() 11946 SDValue NewPtr = DAG.getMemBasePlusOffset(LN0->getBasePtr(), in ReduceLoadWidth() local 11948 AddToWorklist(NewPtr.getNode()); in ReduceLoadWidth() 11952 Load = DAG.getLoad(VT, DL, LN0->getChain(), NewPtr, in ReduceLoadWidth() 11956 Load = DAG.getExtLoad(ExtType, DL, VT, LN0->getChain(), NewPtr, in ReduceLoadWidth() 16739 SDValue NewPtr = in ReduceLoadOpStoreWidth() local 16742 DAG.getLoad(NewVT, SDLoc(N0), LD->getChain(), NewPtr, in ReduceLoadOpStoreWidth() 16749 DAG.getStore(Chain, SDLoc(N), NewVal, NewPtr, in ReduceLoadOpStoreWidth() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 5524 SDValue NewPtr = DAG.getNode(ISD::ADD, dl, in expandf64Toi32() local 5526 RetVal2 = DAG.getLoad(MVT::i32, dl, Ld->getChain(), NewPtr, in expandf64Toi32() 15674 SDValue NewPtr = in PerformSplittingToNarrowingStores() local 15687 Ch, DL, Extract, NewPtr, St->getPointerInfo().getWithOffset(NewOffset), in PerformSplittingToNarrowingStores() 15723 SDValue NewPtr = in PerformSplittingMVETruncToNarrowingStores() local 15728 Ch, DL, Extract, NewPtr, St->getPointerInfo().getWithOffset(NewOffset), in PerformSplittingMVETruncToNarrowingStores() 16671 SDValue NewPtr = in PerformSplittingToWideningLoad() local 16675 DAG.getLoad(ISD::UNINDEXED, NewExtType, NewToVT, DL, Ch, NewPtr, Offset, in PerformSplittingToWideningLoad() 17533 SDValue NewPtr = in PerformSplittingMVEEXTToWideningLoad() local 17537 DAG.getLoad(ISD::UNINDEXED, NewExtType, NewToVT, DL, Ch, NewPtr, Offset, in PerformSplittingMVEEXTToWideningLoad()
|