| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUOpenCLEnqueuedBlockLowering.cpp | 136 auto *NewPtr = ConstantExpr::getPointerCast(GV, BitCast->getType()); in runOnModule() local 137 BitCast->replaceAllUsesWith(NewPtr); in runOnModule()
|
| H A D | R600ISelLowering.cpp | 1817 SDValue NewPtr = DAG.getNode(ISD::ADD, DL, Ptr.getValueType(), Ptr, in constBufferLoad() local 1819 Slots[i] = DAG.getNode(AMDGPUISD::CONST_ADDRESS, DL, MVT::i32, NewPtr); in constBufferLoad()
|
| H A D | SIISelLowering.cpp | 7136 SDValue NewPtr = performSHLPtrCombine(Ptr.getNode(), N->getAddressSpace(), in performMemSDNodeCombine() local 7138 if (NewPtr) { in performMemSDNodeCombine() 7141 NewOps[N->getOpcode() == ISD::STORE ? 2 : 1] = NewPtr; in performMemSDNodeCombine()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | User.cpp | 79 auto *NewPtr = in growHungoffUses() local 81 std::copy(OldPtr, OldPtr + (OldNumUses * sizeof(BasicBlock *)), NewPtr); in growHungoffUses()
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopPreIncPrep.cpp | 496 GetElementPtrInst *NewPtr = GetElementPtrInst::Create( in runOnLoop() local 500 NewPtr->insertAfter(cast<Instruction>(PtrInc)); in runOnLoop() 501 NewPtr->setIsInBounds(IsPtrInBounds(Ptr)); in runOnLoop() 502 RealNewPtr = NewPtr; in runOnLoop()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | MemoryLocation.h | 249 MemoryLocation getWithNewPtr(const Value *NewPtr) const { in getWithNewPtr() argument 251 Copy.Ptr = NewPtr; in getWithNewPtr()
|
| /freebsd-12.1/contrib/compiler-rt/lib/scudo/ |
| H A D | scudo_allocator.cpp | 493 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate() local 494 if (NewPtr) { in reallocate() 497 memcpy(NewPtr, OldPtr, Min(NewSize, UsableSize)); in reallocate() 500 return NewPtr; in reallocate()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 943 QualType AllocType, Address NewPtr, in StoreAnyExprIntoOneUnit() argument 949 CGF.MakeAddrLValue(NewPtr, AllocType), false); in StoreAnyExprIntoOneUnit() 952 CGF.EmitComplexExprIntoLValue(Init, CGF.MakeAddrLValue(NewPtr, AllocType), in StoreAnyExprIntoOneUnit() 957 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit() 1279 Address NewPtr, llvm::Value *NumElements, in EmitNewInitializer() argument 1283 CGF.EmitNewArrayInitializer(E, ElementType, ElementTy, NewPtr, NumElements, in EmitNewInitializer() 1286 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr, in EmitNewInitializer() 1482 Address NewPtr, in EnterNewDeleteCleanup() argument 1504 NewPtr.getPointer(), in EnterNewDeleteCleanup() 1518 DominatingValue<RValue>::save(CGF, RValue::get(NewPtr.getPointer())); in EnterNewDeleteCleanup()
|
| H A D | CGCXXABI.cpp | 180 Address NewPtr, in InitializeArrayCookie() argument
|
| H A D | ItaniumCXXABI.cpp | 321 Address NewPtr, 450 Address NewPtr, 1926 Address NewPtr, in InitializeArrayCookie() argument 1932 unsigned AS = NewPtr.getAddressSpace(); in InitializeArrayCookie() 1943 Address CookiePtr = NewPtr; in InitializeArrayCookie() 1968 return CGF.Builder.CreateConstInBoundsByteGEP(NewPtr, CookieSize); in InitializeArrayCookie() 3406 llvm::Constant *NewPtr = in BuildTypeInfo() local 3408 OldGV->replaceAllUsesWith(NewPtr); in BuildTypeInfo()
|
| H A D | CGCXXABI.h | 494 Address NewPtr,
|
| H A D | CodeGenFunction.h | 2548 llvm::Type *ElementTy, Address NewPtr,
|
| H A D | MicrosoftCXXABI.cpp | 429 Address NewPtr,
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 462 Value *NewPtr = nullptr; in combineLoadToNewType() local 463 if (!(match(Ptr, m_BitCast(m_Value(NewPtr))) && in combineLoadToNewType() 464 NewPtr->getType()->getPointerElementType() == NewTy && in combineLoadToNewType() 465 NewPtr->getType()->getPointerAddressSpace() == AS)) in combineLoadToNewType() 466 NewPtr = IC.Builder.CreateBitCast(Ptr, NewTy->getPointerTo(AS)); in combineLoadToNewType() 469 NewPtr, LI.getAlignment(), LI.isVolatile(), LI.getName() + Suffix); in combineLoadToNewType()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 563 Value *NewPtr = NewGlobals[Val]; in SRAGlobal() local 573 NewPtr = in SRAGlobal() 574 ConstantExpr::getGetElementPtr(NewTy, cast<Constant>(NewPtr), Idxs); in SRAGlobal() 581 NewPtr = GetElementPtrInst::Create( in SRAGlobal() 582 NewTy, NewPtr, Idxs, GEPI->getName() + "." + Twine(Val), GEPI); in SRAGlobal() 585 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()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 2659 Value *NewPtr = getNewAllocaSlicePtr(IRB, V->getType()->getPointerTo(AS)); in visitStoreInst() local 2660 NewSI = IRB.CreateAlignedStore(V, NewPtr, getSliceAlign(V->getType()), in visitStoreInst() 3102 Value *NewPtr = getNewAllocaSlicePtr(PtrBuilder, OldPtr->getType()); in visitPHINode() local 3104 std::replace(PN.op_begin(), PN.op_end(), cast<Value>(OldPtr), NewPtr); in visitPHINode() 3126 Value *NewPtr = getNewAllocaSlicePtr(IRB, OldPtr->getType()); in visitSelectInst() local 3129 SI.setOperand(1, NewPtr); in visitSelectInst() 3131 SI.setOperand(2, NewPtr); in visitSelectInst()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | LoopAccessAnalysis.cpp | 2102 Value *NewPtr = (Inst && TheLoop->contains(Inst)) in expandBounds() local 2108 return {NewPtr, NewPtrPlusOne}; in expandBounds()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 2041 Value *NewPtr = getOrCreateScalarValue(Ptr, {Part, 0}); in vectorizeInterleaveGroup() local 2054 NewPtr = Builder.CreateGEP(NewPtr, Builder.getInt32(-Index)); in vectorizeInterleaveGroup() 2056 cast<GetElementPtrInst>(NewPtr)->setIsInBounds(true); in vectorizeInterleaveGroup() 2059 NewPtrs.push_back(Builder.CreateBitCast(NewPtr, PtrTy)); in vectorizeInterleaveGroup()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 9443 SDValue NewPtr = DAG.getNode(ISD::ADD, DL, in ReduceLoadWidth() local 9447 AddToWorklist(NewPtr.getNode()); in ReduceLoadWidth() 9451 Load = DAG.getLoad(VT, SDLoc(N0), LN0->getChain(), NewPtr, in ReduceLoadWidth() 9455 Load = DAG.getExtLoad(ExtType, SDLoc(N0), VT, LN0->getChain(), NewPtr, in ReduceLoadWidth() 14009 SDValue NewPtr = DAG.getNode(ISD::ADD, SDLoc(LD), in ReduceLoadOpStoreWidth() local 14014 DAG.getLoad(NewVT, SDLoc(N0), LD->getChain(), NewPtr, in ReduceLoadOpStoreWidth() 14021 DAG.getStore(Chain, SDLoc(N), NewVal, NewPtr, in ReduceLoadOpStoreWidth() 14024 AddToWorklist(NewPtr.getNode()); in ReduceLoadOpStoreWidth() 15604 SDValue NewPtr = OriginalLoad->getBasePtr(); in scalarizeExtractedVectorLoad() local 15606 EVT PtrType = NewPtr.getValueType(); in scalarizeExtractedVectorLoad() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 4580 SDValue NewPtr = DAG.getNode(ISD::ADD, dl, in expandf64Toi32() local 4582 RetVal2 = DAG.getLoad(MVT::i32, dl, Ld->getChain(), NewPtr, in expandf64Toi32()
|