Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/include/llvm/
DIntrinsicInst.h124 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0)); } in getRawDest() function
143 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace()
149 Value *getDest() const { return getRawDest()->stripPointerCasts(); } in getDest()
154 assert(getRawDest()->getType() == Ptr->getType() && in setDest()
/external/llvm/include/llvm/IR/
DIntrinsicInst.h143 Value *getRawDest() const { return const_cast<Value*>(getArgOperand(0)); } in getRawDest() function
167 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace()
173 Value *getDest() const { return getRawDest()->stripPointerCasts(); } in getDest()
177 assert(getRawDest()->getType() == Ptr->getType() && in setDest()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp309 /* DstAddr */ Memcpy->getRawDest(), in runOnFunction()
318 /* DstAddr */ Memmove->getRawDest(), in runOnFunction()
327 /* DstAddr */ Memset->getRawDest(), in runOnFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DIntrinsicInst.h256 Value *getRawDest() const { in getRawDest() function
271 Value *getDest() const { return getRawDest()->stripPointerCasts(); } in getDest()
274 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace()
281 assert(getRawDest()->getType() == Ptr->getType() && in setDest()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp410 /* DstAddr */ Memcpy->getRawDest(), in expandMemCpyAsLoop()
420 /* DstAddr */ Memcpy->getRawDest(), in expandMemCpyAsLoop()
433 /* DstAddr */ Memmove->getRawDest(), in expandMemMoveAsLoop()
443 /* DstAddr */ Memset->getRawDest(), in expandMemSetAsLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1064 Builder.CreateMemMove(M->getRawDest(), M->getDestAlignment(), in processMemCpyMemCpyDependence()
1068 Builder.CreateMemCpy(M->getRawDest(), M->getDestAlignment(), in processMemCpyMemCpyDependence()
1107 Value *Dest = MemCpy->getRawDest(); in processMemSetMemCpyDependence()
1164 if (!AA.isMustAlias(MemSet->getRawDest(), MemCpy->getRawSource())) in performMemCpyToMemSetOptzn()
1175 Builder.CreateMemSet(MemCpy->getRawDest(), MemSet->getOperand(1), in performMemCpyToMemSetOptzn()
1201 Builder.CreateMemSet(M->getRawDest(), ByteVal, M->getLength(), in processMemCpy()
1301 Type *ArgTys[3] = { M->getRawDest()->getType(), in processMemMove()
DInferAddressSpaces.cpp372 PushPtrOperand(MI->getRawDest()); in collectFlatAddressExpressions()
793 Value *Dest = MTI->getRawDest(); in handleMemIntrinsicPtrUse()
DSROA.cpp824 assert(II.getRawDest() == *U && "Pointer use is not the destination?"); in visitMemSetInst()
871 if (*U == II.getRawDest() && *U == II.getRawSource()) { in visitMemTransferInst()
2713 assert(II.getRawDest() == OldPtr); in visitMemSetInst()
2831 assert((IsDest && II.getRawDest() == OldPtr) || in visitMemTransferInst()
2890 Value *OtherPtr = IsDest ? II.getRawSource() : II.getRawDest(); in visitMemTransferInst()
DDeadStoreElimination.cpp947 EarlierIntrinsic->getRawDest(), Indices, "", EarlierWrite); in tryToShorten()
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1019 Builder.CreateMemMove(M->getRawDest(), MDep->getRawSource(), M->getLength(), in processMemCpyMemCpyDependence()
1022 Builder.CreateMemCpy(M->getRawDest(), MDep->getRawSource(), M->getLength(), in processMemCpyMemCpyDependence()
1060 Value *Dest = MemCpy->getRawDest(); in processMemSetMemCpyDependence()
1114 if (MemSet->getRawDest() != MemCpy->getRawSource()) in performMemCpyToMemSetOptzn()
1125 Builder.CreateMemSet(MemCpy->getRawDest(), MemSet->getOperand(1), in performMemCpyToMemSetOptzn()
1151 Builder.CreateMemSet(M->getRawDest(), ByteVal, M->getLength(), in processMemCpy()
1248 Type *ArgTys[3] = { M->getRawDest()->getType(), in processMemMove()
DSROA.cpp774 assert(II.getRawDest() == *U && "Pointer use is not the destination?"); in visitMemSetInst()
821 if (*U == II.getRawDest() && *U == II.getRawSource()) { in visitMemTransferInst()
2597 assert(II.getRawDest() == OldPtr); in visitMemSetInst()
2708 assert((IsDest && II.getRawDest() == OldPtr) || in visitMemTransferInst()
2769 Value *OtherPtr = IsDest ? II.getRawSource() : II.getRawDest(); in visitMemTransferInst()
DDeadStoreElimination.cpp988 DepIntrinsic->getRawDest(), Indices, "", DepWrite); in eliminateDeadStores()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp761 Builder.CreateMemMove(M->getRawDest(), MDep->getRawSource(), M->getLength(), in processMemCpyMemCpyDependence()
764 Builder.CreateMemCpy(M->getRawDest(), MDep->getRawSource(), M->getLength(), in processMemCpyMemCpyDependence()
797 Builder.CreateMemSet(M->getRawDest(), ByteVal, CopySize, in processMemCpy()
843 Type *ArgTys[3] = { M->getRawDest()->getType(), in processMemMove()
DScalarReplAggregates.cpp574 assert(MSI->getRawDest() == Ptr && "Consistency error!"); in ConvertUsesToScalar()
615 assert(MTI->getRawDest() == Ptr && "Neither use is of pointer?"); in ConvertUsesToScalar()
2024 if (Inst == MTI->getRawDest()) in RewriteMemIntrinUserOfAlloca()
2028 OtherPtr = MTI->getRawDest(); in RewriteMemIntrinUserOfAlloca()
2067 bool SROADest = MI->getRawDest() == Inst; in RewriteMemIntrinUserOfAlloca()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp801 Builder.CreateMemCpy(MemCpy->getRawDest(), MemCpy->getRawSource(), in handleAlloca()
809 Builder.CreateMemMove(MemMove->getRawDest(), MemMove->getRawSource(), in handleAlloca()
817 Builder.CreateMemSet(MemSet->getRawDest(), MemSet->getValue(), in handleAlloca()
/external/llvm/lib/Analysis/
DMemoryLocation.cpp90 return MemoryLocation(MTI->getRawDest(), Size, AATags); in getForDest()
DAliasSetTracker.cpp363 addPointer(MSI->getRawDest(), Len, AAInfo, AliasSet::ModAccess, NewPtr); in add()
517 AliasSet *AS = mergeAliasSetsForPointer(MSI->getRawDest(), Len, AAInfo); in remove()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp861 Builder.CreateMemCpy(MemCpy->getRawDest(), MemCpy->getDestAlignment(), in handleAlloca()
869 Builder.CreateMemMove(MemMove->getRawDest(), MemMove->getDestAlignment(), in handleAlloca()
877 Builder.CreateMemSet(MemSet->getRawDest(), MemSet->getValue(), in handleAlloca()
DAMDGPUPerfHintAnalysis.cpp140 return MI->getRawDest(); in getMemoryInstrPtr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemoryLocation.cpp106 return MemoryLocation(MI->getRawDest(), Size, AATags); in getForDest()
DAliasSetTracker.cpp404 addPointer(MSI->getRawDest(), Len, AAInfo, AliasSet::ModAccess); in add()
424 addPointer(MTI->getRawDest(), Len, AAInfo, AliasSet::ModAccess); in add()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DAliasAnalysis.cpp277 return Location(MTI->getRawDest(), Size, TBAATag); in getLocationForDest()
DLazyValueInfo.cpp598 if (MI->getRawDest() == Ptr || MI->getDest() == Ptr) in InstructionDereferencesPointer()
/external/llvm/lib/CodeGen/
DSafeStack.cpp256 if (MI->getRawDest() != U) return true; in IsMemIntrinsicSafe()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DSafeStack.cpp264 if (MI->getRawDest() != U) return true; in IsMemIntrinsicSafe()

12