Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp626 Value *NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, MemIndex); in scalarizeMaskedExpandLoad() local
628 Builder.CreateAlignedLoad(EltTy, NewPtr, 1, "Load" + Twine(Idx)); in scalarizeMaskedExpandLoad()
677 Value *NewPtr; in scalarizeMaskedExpandLoad() local
679 NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, 1); in scalarizeMaskedExpandLoad()
700 PtrPhi->addIncoming(NewPtr, CondBlock); in scalarizeMaskedExpandLoad()
738 Value *NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, MemIndex); in scalarizeMaskedCompressStore() local
739 Builder.CreateAlignedStore(OneElt, NewPtr, 1); in scalarizeMaskedCompressStore()
783 Value *NewPtr; in scalarizeMaskedCompressStore() local
785 NewPtr = Builder.CreateConstInBoundsGEP1_32(EltTy, Ptr, 1); in scalarizeMaskedCompressStore()
800 PtrPhi->addIncoming(NewPtr, CondBlock); in scalarizeMaskedCompressStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUOpenCLEnqueuedBlockLowering.cpp135 auto *NewPtr = ConstantExpr::getPointerCast(GV, BitCast->getType()); in runOnModule() local
136 BitCast->replaceAllUsesWith(NewPtr); in runOnModule()
DR600ISelLowering.cpp1816 SDValue NewPtr = DAG.getNode(ISD::ADD, DL, Ptr.getValueType(), Ptr, in constBufferLoad() local
1818 Slots[i] = DAG.getNode(AMDGPUISD::CONST_ADDRESS, DL, MVT::i32, NewPtr); in constBufferLoad()
DSIISelLowering.cpp8128 SDValue NewPtr = performSHLPtrCombine(Ptr.getNode(), N->getAddressSpace(), in performMemSDNodeCombine() local
8130 if (NewPtr) { in performMemSDNodeCombine()
8133 NewOps[N->getOpcode() == ISD::STORE ? 2 : 1] = NewPtr; in performMemSDNodeCombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DUser.cpp78 auto *NewPtr = in growHungoffUses() local
80 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DMemoryLocation.h248 MemoryLocation getWithNewPtr(const Value *NewPtr) const { in getWithNewPtr() argument
250 Copy.Ptr = NewPtr; in getWithNewPtr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCLoopInstrFormPrep.cpp639 GetElementPtrInst *NewPtr = GetElementPtrInst::Create( in rewriteLoadStores() local
643 NewPtr->insertAfter(cast<Instruction>(PtrInc)); in rewriteLoadStores()
644 NewPtr->setIsInBounds(IsPtrInBounds(Ptr)); in rewriteLoadStores()
645 RealNewPtr = NewPtr; in rewriteLoadStores()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp459 Value *NewPtr = nullptr; in combineLoadToNewType() local
460 if (!(match(Ptr, m_BitCast(m_Value(NewPtr))) && in combineLoadToNewType()
461 NewPtr->getType()->getPointerElementType() == NewTy && in combineLoadToNewType()
462 NewPtr->getType()->getPointerAddressSpace() == AS)) in combineLoadToNewType()
463 NewPtr = Builder.CreateBitCast(Ptr, NewTy->getPointerTo(AS)); in combineLoadToNewType()
473 NewTy, NewPtr, Align, LI.isVolatile(), LI.getName() + Suffix); in combineLoadToNewType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp585 Value *NewPtr = NewGlobals[ElementIdx]; in SRAGlobal() local
595 NewPtr = in SRAGlobal()
596 ConstantExpr::getGetElementPtr(NewTy, cast<Constant>(NewPtr), Idxs); in SRAGlobal()
603 NewPtr = GetElementPtrInst::Create( in SRAGlobal()
604 NewTy, NewPtr, Idxs, GEPI->getName() + "." + Twine(ElementIdx), in SRAGlobal()
608 GEP->replaceAllUsesWith(NewPtr); in SRAGlobal()
1236 Value *NewPtr = GetHeapSROAValue(GEPI->getOperand(0), FieldNo, in RewriteHeapSROALoadUser() local
1244 Value *NGEPI = GetElementPtrInst::Create(GEPI->getResultElementType(), NewPtr, GEPIdx, in RewriteHeapSROALoadUser()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64StackTagging.cpp490 auto *NewPtr = new BitCastInst(NewAI, Info.AI->getType(), "", Info.AI); in alignAndPadAlloca() local
491 Info.AI->replaceAllUsesWith(NewPtr); in alignAndPadAlloca()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSROA.cpp2704 Value *NewPtr = getNewAllocaSlicePtr(IRB, V->getType()->getPointerTo(AS)); in visitStoreInst() local
2705 NewSI = IRB.CreateAlignedStore(V, NewPtr, getSliceAlign(V->getType()), in visitStoreInst()
3160 Value *NewPtr = getNewAllocaSlicePtr(PtrBuilder, OldPtr->getType()); in visitPHINode() local
3162 std::replace(PN.op_begin(), PN.op_end(), cast<Value>(OldPtr), NewPtr); in visitPHINode()
3184 Value *NewPtr = getNewAllocaSlicePtr(IRB, OldPtr->getType()); in visitSelectInst() local
3187 SI.setOperand(1, NewPtr); in visitSelectInst()
3189 SI.setOperand(2, NewPtr); in visitSelectInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp2164 Value *NewPtr = (Inst && TheLoop->contains(Inst)) in expandBounds() local
2170 return {NewPtr, NewPtrPlusOne}; in expandBounds()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp10505 SDValue NewPtr = in ReduceLoadWidth() local
10507 AddToWorklist(NewPtr.getNode()); in ReduceLoadWidth()
10511 Load = DAG.getLoad(VT, DL, LN0->getChain(), NewPtr, in ReduceLoadWidth()
10515 Load = DAG.getExtLoad(ExtType, DL, VT, LN0->getChain(), NewPtr, in ReduceLoadWidth()
15189 SDValue NewPtr = DAG.getMemBasePlusOffset(Ptr, PtrOff, SDLoc(LD)); in ReduceLoadOpStoreWidth() local
15191 DAG.getLoad(NewVT, SDLoc(N0), LD->getChain(), NewPtr, in ReduceLoadOpStoreWidth()
15198 DAG.getStore(Chain, SDLoc(N), NewVal, NewPtr, in ReduceLoadOpStoreWidth()
15201 AddToWorklist(NewPtr.getNode()); in ReduceLoadOpStoreWidth()
16958 SDValue NewPtr = OriginalLoad->getBasePtr(); in scalarizeExtractedVectorLoad() local
16960 EVT PtrType = NewPtr.getValueType(); in scalarizeExtractedVectorLoad()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp5145 SDValue NewPtr = DAG.getNode(ISD::ADD, dl, in expandf64Toi32() local
5147 RetVal2 = DAG.getLoad(MVT::i32, dl, Ld->getChain(), NewPtr, in expandf64Toi32()
13574 SDValue NewPtr = DAG.getObjectPtrOffset(DL, BasePtr, NewOffset); in PerformSplittingToNarrowingStores() local
13580 Ch, DL, Extract, NewPtr, St->getPointerInfo().getWithOffset(NewOffset), in PerformSplittingToNarrowingStores()
14068 SDValue NewPtr = DAG.getObjectPtrOffset(DL, BasePtr, NewOffset); in PerformSplittingToWideningLoad() local
14078 DAG.getLoad(ISD::UNINDEXED, NewExtType, NewToVT, DL, Ch, NewPtr, Offset, in PerformSplittingToWideningLoad()