Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp670 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 DInferAddressSpaces.cpp558 Value *NewPtr = operandWithNewAddressSpaceOrCreateUndef( in cloneInstructionWithNewAddressSpace() local
562 TTI->rewriteIntrinsicWithAddressSpace(II, II->getArgOperand(0), NewPtr); in cloneInstructionWithNewAddressSpace()
H A DSROA.cpp2722 Value *NewPtr = getNewAllocaSlicePtr(IRB, V->getType()->getPointerTo(AS)); in visitStoreInst() local
2724 IRB.CreateAlignedStore(V, NewPtr, getSliceAlign(), SI.isVolatile()); in visitStoreInst()
3185 Value *NewPtr = getNewAllocaSlicePtr(IRB, OldPtr->getType()); in visitPHINode() local
3187 std::replace(PN.op_begin(), PN.op_end(), cast<Value>(OldPtr), NewPtr); in visitPHINode()
3209 Value *NewPtr = getNewAllocaSlicePtr(IRB, OldPtr->getType()); in visitSelectInst() local
3212 SI.setOperand(1, NewPtr); in visitSelectInst()
3214 SI.setOperand(2, NewPtr); in visitSelectInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUOpenCLEnqueuedBlockLowering.cpp131 auto *NewPtr = ConstantExpr::getPointerCast(GV, BitCast->getType()); in runOnModule() local
132 BitCast->replaceAllUsesWith(NewPtr); in runOnModule()
H A DAMDGPULateCodeGenPrepare.cpp167 auto *NewPtr = IRB.CreateBitCast( in visitLoadInst() local
171 LoadInst *NewLd = IRB.CreateAlignedLoad(IRB.getInt32Ty(), NewPtr, Align(4)); in visitLoadInst()
H A DR600ISelLowering.cpp1727 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 DSIISelLowering.cpp8884 SDValue NewPtr = performSHLPtrCombine(Ptr.getNode(), N->getAddressSpace(), in performMemSDNodeCombine() local
8886 if (NewPtr) { in performMemSDNodeCombine()
8889 NewOps[PtrIdx] = NewPtr; in performMemSDNodeCombine()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DUser.cpp80 auto *NewPtr = reinterpret_cast<char *>(NewOps + NewNumUses); in growHungoffUses() local
81 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DMemoryLocation.h292 MemoryLocation getWithNewPtr(const Value *NewPtr) const { in getWithNewPtr() argument
294 Copy.Ptr = NewPtr; in getWithNewPtr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprCXX.cpp954 QualType AllocType, Address NewPtr, in StoreAnyExprIntoOneUnit() argument
960 CGF.MakeAddrLValue(NewPtr, AllocType), false); in StoreAnyExprIntoOneUnit()
963 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType), in StoreAnyExprIntoOneUnit()
968 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit()
1293 Address NewPtr, llvm::Value *NumElements, in EmitNewInitializer() argument
1297 CGF.EmitNewArrayInitializer(E, ElementType, ElementTy, NewPtr, NumElements, in EmitNewInitializer()
1300 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr, in EmitNewInitializer()
1488 Address NewPtr, in EnterNewDeleteCleanup() argument
1510 NewPtr.getPointer(), in EnterNewDeleteCleanup()
1524 DominatingValue<RValue>::save(CGF, RValue::get(NewPtr.getPointer())); in EnterNewDeleteCleanup()
H A DCGCXXABI.cpp176 Address NewPtr, in InitializeArrayCookie() argument
H A DItaniumCXXABI.cpp314 Address NewPtr,
481 Address NewPtr,
2185 Address NewPtr, in InitializeArrayCookie() argument
2191 unsigned AS = NewPtr.getAddressSpace(); in InitializeArrayCookie()
2202 Address CookiePtr = NewPtr; in InitializeArrayCookie()
2227 return CGF.Builder.CreateConstInBoundsByteGEP(NewPtr, CookieSize); in InitializeArrayCookie()
3841 llvm::Constant *NewPtr = in BuildTypeInfo() local
3843 OldGV->replaceAllUsesWith(NewPtr); in BuildTypeInfo()
H A DCGCXXABI.h529 Address NewPtr,
H A DCodeGenFunction.h2863 llvm::Type *ElementTy, Address NewPtr,
H A DMicrosoftCXXABI.cpp444 Address NewPtr,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp466 Value *NewPtr = nullptr; in combineLoadToNewType() local
467 if (!(match(Ptr, m_BitCast(m_Value(NewPtr))) && in combineLoadToNewType()
468 NewPtr->getType()->getPointerElementType() == NewTy && in combineLoadToNewType()
469 NewPtr->getType()->getPointerAddressSpace() == AS)) in combineLoadToNewType()
470 NewPtr = Builder.CreateBitCast(Ptr, NewTy->getPointerTo(AS)); in combineLoadToNewType()
473 NewTy, NewPtr, LI.getAlign(), LI.isVolatile(), LI.getName() + Suffix); in combineLoadToNewType()
/netbsd-src/sys/arch/mac68k/mac68k/
H A Dmacrom.h121 Ptr NewPtr(int);
H A Dmacromasm.s237 ENTRY(NewPtr)
H A Dmacrom.c971 ptr = (void *)NewPtr(1024); in mrg_init()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp608 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp516 auto *NewPtr = new BitCastInst(NewAI, Info.AI->getType(), "", Info.AI); in alignAndPadAlloca() local
517 Info.AI->replaceAllUsesWith(NewPtr); in alignAndPadAlloca()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1604 Value *NewPtr = (Inst && TheLoop->contains(Inst)) in expandBounds() local
1610 return {NewPtr, NewPtrPlusOne}; in expandBounds()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp9010 SDValue NewPtr = DAG.getMemBasePlusOffset( in visitFunnelShift() local
9012 AddToWorklist(NewPtr.getNode()); in visitFunnelShift()
9014 VT, DL, RHS->getChain(), NewPtr, in visitFunnelShift()
11749 SDValue NewPtr = DAG.getMemBasePlusOffset(LN0->getBasePtr(), in ReduceLoadWidth() local
11751 AddToWorklist(NewPtr.getNode()); in ReduceLoadWidth()
11755 Load = DAG.getLoad(VT, DL, LN0->getChain(), NewPtr, in ReduceLoadWidth()
11759 Load = DAG.getExtLoad(ExtType, DL, VT, LN0->getChain(), NewPtr, in ReduceLoadWidth()
16544 SDValue NewPtr = in ReduceLoadOpStoreWidth() local
16547 DAG.getLoad(NewVT, SDLoc(N0), LD->getChain(), NewPtr, in ReduceLoadOpStoreWidth()
16554 DAG.getStore(Chain, SDLoc(N), NewVal, NewPtr, in ReduceLoadOpStoreWidth()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5372 SDValue NewPtr = DAG.getNode(ISD::ADD, dl, in expandf64Toi32() local
5374 RetVal2 = DAG.getLoad(MVT::i32, dl, Ld->getChain(), NewPtr, in expandf64Toi32()
15305 SDValue NewPtr = in PerformSplittingToNarrowingStores() local
15320 Ch, DL, Extract, NewPtr, St->getPointerInfo().getWithOffset(NewOffset), in PerformSplittingToNarrowingStores()
16237 SDValue NewPtr = in PerformSplittingToWideningLoad() local
16241 DAG.getLoad(ISD::UNINDEXED, NewExtType, NewToVT, DL, Ch, NewPtr, Offset, in PerformSplittingToWideningLoad()