/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | ScalarizeMaskedMemIntrin.cpp | 668 Value *NewPtr = in scalarizeMaskedExpandLoad() local 670 InsertElt = Builder.CreateAlignedLoad(EltTy, NewPtr, Align(1), in scalarizeMaskedExpandLoad() 728 Value *NewPtr; in scalarizeMaskedExpandLoad() local 730 NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, 1); in scalarizeMaskedExpandLoad() 748 PtrPhi->addIncoming(NewPtr, CondBlock); in scalarizeMaskedExpandLoad() 788 Value *NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, MemIndex); in scalarizeMaskedCompressStore() local 789 Builder.CreateAlignedStore(OneElt, NewPtr, Align(1)); in scalarizeMaskedCompressStore() 838 Value *NewPtr; in scalarizeMaskedCompressStore() local 840 NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, 1); in scalarizeMaskedCompressStore() 853 PtrPhi->addIncoming(NewPtr, CondBlock); in scalarizeMaskedCompressStore()
|
H A D | SROA.cpp | 2790 Value *NewPtr = in visitLoadInst() local 2792 LoadInst *NewLI = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), NewPtr, in visitLoadInst() 2987 Value *NewPtr = in visitStoreInst() local 2996 IRB.CreateAlignedStore(V, NewPtr, getSliceAlign(), SI.isVolatile()); in visitStoreInst() 3176 Value *NewPtr = getPtrToNewAI(II.getDestAddressSpace(), II.isVolatile()); in visitMemSetInst() local 3178 IRB.CreateAlignedStore(V, NewPtr, NewAI.getAlign(), II.isVolatile()); in visitMemSetInst() 3499 Value *NewPtr = getNewAllocaSlicePtr(IRB, OldPtr->getType()); in visitPHINode() local 3501 std::replace(PN.op_begin(), PN.op_end(), cast<Value>(OldPtr), NewPtr); in visitPHINode() 3523 Value *NewPtr = getNewAllocaSlicePtr(IRB, OldPtr->getType()); in visitSelectInst() local 3526 SI.setOperand(1, NewPtr); in visitSelectInst() [all …]
|
H A D | InferAddressSpaces.cpp | 593 Value *NewPtr = operandWithNewAddressSpaceOrCreateUndef( in cloneInstructionWithNewAddressSpace() local 597 TTI->rewriteIntrinsicWithAddressSpace(II, II->getArgOperand(0), NewPtr); in cloneInstructionWithNewAddressSpace()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | MemoryTaggingSupport.cpp | 207 Value *NewPtr = NewAI; in alignAndPadAlloca() local 211 NewPtr = new BitCastInst(NewAI, Info.AI->getType(), "", Info.AI); in alignAndPadAlloca() 213 Info.AI->replaceAllUsesWith(NewPtr); in alignAndPadAlloca()
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULateCodeGenPrepare.cpp | 165 auto *NewPtr = IRB.CreateBitCast( in visitLoadInst() local 171 LoadInst *NewLd = IRB.CreateAlignedLoad(IRB.getInt32Ty(), NewPtr, Align(4)); in visitLoadInst()
|
H A D | R600ISelLowering.cpp | 1698 SDValue NewPtr = DAG.getNode(ISD::ADD, DL, Ptr.getValueType(), Ptr, in constBufferLoad() local 1700 Slots[i] = DAG.getNode(AMDGPUISD::CONST_ADDRESS, DL, MVT::i32, NewPtr); in constBufferLoad()
|
H A D | SIISelLowering.cpp | 9520 SDValue NewPtr = performSHLPtrCombine(Ptr.getNode(), N->getAddressSpace(), in performMemSDNodeCombine() local 9522 if (NewPtr) { in performMemSDNodeCombine() 9525 NewOps[PtrIdx] = NewPtr; in performMemSDNodeCombine()
|
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
H A D | combined.h | 611 if (NewPtr) 612 memcpy(NewPtr, OldPtr, (NewSize < OldSize) ? NewSize : OldSize); 618 return NewPtr; 687 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment); 688 if (LIKELY(NewPtr)) { 689 memcpy(NewPtr, OldTaggedPtr, Min(NewSize, OldSize)); 692 return NewPtr; 1242 void resizeTaggedChunk(uptr OldPtr, uptr NewPtr, uptr NewSize, in resizeTaggedChunk() argument 1246 if (RoundOldPtr >= NewPtr) { in resizeTaggedChunk() 1249 RoundNewPtr = roundUpTo(NewPtr, archMemoryTagGranuleSize()); in resizeTaggedChunk() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/ |
H A D | PPCLoopInstrFormPrep.cpp | 612 Instruction *NewPtr = rewriteForBucketElement(Base, Bucket.Elements[Idx], in rewriteLoadStoresForCommoningChains() local 615 assert(NewPtr && "Wrong rewrite!\n"); in rewriteLoadStoresForCommoningChains() 616 NewPtrs.insert(NewPtr); in rewriteLoadStoresForCommoningChains() 807 GetElementPtrInst *NewPtr = GetElementPtrInst::Create( in rewriteForBucketElement() local 811 NewPtr->insertAfter(cast<Instruction>(PtrInc)); in rewriteForBucketElement() 812 NewPtr->setIsInBounds(IsPtrInBounds(Ptr)); in rewriteForBucketElement() 813 RealNewPtr = NewPtr; in rewriteForBucketElement() 1059 Instruction *NewPtr = rewriteForBucketElement( in rewriteLoadStores() local 1063 assert(NewPtr && "wrong rewrite!\n"); in rewriteLoadStores() 1064 NewPtrs.insert(NewPtr); in rewriteLoadStores()
|
/openbsd/gnu/llvm/llvm/lib/IR/ |
H A D | User.cpp | 86 auto *NewPtr = reinterpret_cast<char *>(NewOps + NewNumUses); in growHungoffUses() local 87 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
|
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | MemoryLocation.h | 295 MemoryLocation getWithNewPtr(const Value *NewPtr) const { in getWithNewPtr() argument 297 Copy.Ptr = NewPtr; in getWithNewPtr()
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 961 QualType AllocType, Address NewPtr, in StoreAnyExprIntoOneUnit() argument 967 CGF.MakeAddrLValue(NewPtr, AllocType), false); in StoreAnyExprIntoOneUnit() 970 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType), in StoreAnyExprIntoOneUnit() 975 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit() 1295 Address NewPtr, llvm::Value *NumElements, in EmitNewInitializer() argument 1299 CGF.EmitNewArrayInitializer(E, ElementType, ElementTy, NewPtr, NumElements, in EmitNewInitializer() 1302 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr, in EmitNewInitializer() 1489 Address NewPtr, in EnterNewDeleteCleanup() argument 1511 NewPtr.getPointer(), in EnterNewDeleteCleanup() 1525 DominatingValue<RValue>::save(CGF, RValue::get(NewPtr.getPointer())); in EnterNewDeleteCleanup()
|
H A D | CGCXXABI.cpp | 220 Address NewPtr, in InitializeArrayCookie() argument
|
H A D | ItaniumCXXABI.cpp | 314 Address NewPtr, 443 Address NewPtr, 2160 Address NewPtr, in InitializeArrayCookie() argument 2166 unsigned AS = NewPtr.getAddressSpace(); in InitializeArrayCookie() 2177 Address CookiePtr = NewPtr; in InitializeArrayCookie() 2202 return CGF.Builder.CreateConstInBoundsByteGEP(NewPtr, CookieSize); in InitializeArrayCookie() 3873 llvm::Constant *NewPtr = in BuildTypeInfo() local 3875 OldGV->replaceAllUsesWith(NewPtr); in BuildTypeInfo()
|
H A D | CGCXXABI.h | 554 Address NewPtr,
|
H A D | CodeGenFunction.h | 2920 llvm::Type *ElementTy, Address NewPtr,
|
H A D | MicrosoftCXXABI.cpp | 463 Address NewPtr,
|
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 560 Value *NewPtr = nullptr; in combineLoadToNewType() local 561 if (!(match(Ptr, m_BitCast(m_Value(NewPtr))) && in combineLoadToNewType() 562 NewPtr->getType() == NewPtrTy)) in combineLoadToNewType() 563 NewPtr = Builder.CreateBitCast(Ptr, NewPtrTy); in combineLoadToNewType() 566 NewTy, NewPtr, LI.getAlign(), LI.isVolatile(), LI.getName() + Suffix); in combineLoadToNewType()
|
H A D | InstCombineVectorOps.cpp | 515 Value *NewPtr = GEP->getPointerOperand(); in visitExtractElementInst() local 516 if (isa<VectorType>(NewPtr->getType())) in visitExtractElementInst() 517 NewPtr = Builder.CreateExtractElement(NewPtr, IndexC); in visitExtractElementInst() 529 GEP->getSourceElementType(), NewPtr, NewOps); in visitExtractElementInst()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 805 Value *NewPtr = Builder.CreateBitCast(Load1Ptr, WiderType->getPointerTo(AS)); in foldConsecutiveLoads() local 806 NewLoad = Builder.CreateAlignedLoad(WiderType, NewPtr, LI1->getAlign(), in foldConsecutiveLoads()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 10066 SDValue NewPtr = DAG.getMemBasePlusOffset( in visitFunnelShift() local 10068 AddToWorklist(NewPtr.getNode()); in visitFunnelShift() 10070 VT, DL, RHS->getChain(), NewPtr, in visitFunnelShift() 13433 SDValue NewPtr = DAG.getMemBasePlusOffset(LN0->getBasePtr(), in reduceLoadWidth() local 13435 AddToWorklist(NewPtr.getNode()); in reduceLoadWidth() 13439 Load = DAG.getLoad(VT, DL, LN0->getChain(), NewPtr, in reduceLoadWidth() 18354 SDValue NewPtr = in ReduceLoadOpStoreWidth() local 18357 DAG.getLoad(NewVT, SDLoc(N0), LD->getChain(), NewPtr, in ReduceLoadOpStoreWidth() 18364 DAG.getStore(Chain, SDLoc(N), NewVal, NewPtr, in ReduceLoadOpStoreWidth() 18367 AddToWorklist(NewPtr.getNode()); in ReduceLoadOpStoreWidth() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 5616 SDValue NewPtr = DAG.getNode(ISD::ADD, dl, in expandf64Toi32() local 5618 RetVal2 = DAG.getLoad(MVT::i32, dl, Ld->getChain(), NewPtr, in expandf64Toi32() 16579 SDValue NewPtr = in PerformSplittingToNarrowingStores() local 16592 Ch, DL, Extract, NewPtr, St->getPointerInfo().getWithOffset(NewOffset), in PerformSplittingToNarrowingStores() 16628 SDValue NewPtr = in PerformSplittingMVETruncToNarrowingStores() local 16633 Ch, DL, Extract, NewPtr, St->getPointerInfo().getWithOffset(NewOffset), in PerformSplittingMVETruncToNarrowingStores() 17611 SDValue NewPtr = in PerformSplittingToWideningLoad() local 17615 DAG.getLoad(ISD::UNINDEXED, NewExtType, NewToVT, DL, Ch, NewPtr, Offset, in PerformSplittingToWideningLoad() 18535 SDValue NewPtr = in PerformSplittingMVEEXTToWideningLoad() local 18539 DAG.getLoad(ISD::UNINDEXED, NewExtType, NewToVT, DL, Ch, NewPtr, Offset, in PerformSplittingMVEEXTToWideningLoad()
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 19272 SDValue NewPtr = DAG.getMemBasePlusOffset( in performLOADCombine() local 19276 NewVT, DL, Chain, NewPtr, LD->getPointerInfo().getWithOffset(PtrOffset), in performLOADCombine() 19291 SDValue NewPtr = in performLOADCombine() local 19295 DAG.getLoad(RemainingVT, DL, Chain, NewPtr, in performLOADCombine()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 45242 SDValue NewPtr = in combineExtractVectorElt() local 45248 DAG.getLoad(VT, dl, LoadVec->getChain(), NewPtr, MPI, Alignment, in combineExtractVectorElt()
|