Home
last modified time | relevance | path

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

/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/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()
DLazyValueInfo.cpp721 if (GetUnderlyingObject(MI->getRawDest(), in InstructionDereferencesPointer()
/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/lib/Target/X86/
DX86FastISel.cpp1374 if (!X86SelectAddress(MCI.getRawDest(), DestAM) || in X86VisitIntrinsicCall()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp301 if (MI->getRawDest() == V) { in CleanupConstantGlobalUsers()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DGlobalOpt.cpp360 if (MI->getRawDest() == V) { in CleanupConstantGlobalUsers()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1915 if (MI->isVolatile() || MI->getRawDest() != PI) in isAllocSiteRemovable()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp2521 if (!ARMComputeAddress(MTI.getRawDest(), Dest) || in SelectIntrinsicCall()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp2572 if (!X86SelectAddress(MCI->getRawDest(), DestAM) || in fastLowerIntrinsicCall()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp3374 if (!computeAddress(MTI->getRawDest(), Dest) || in fastLowerIntrinsicCall()