Home
last modified time | relevance | path

Searched refs:MemSet (Results 1 – 20 of 20) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1007 MemSetInst *MemSet) { in processMemSetMemCpyDependence() argument
1009 if (MemSet->getDest() != MemCpy->getDest()) in processMemSetMemCpyDependence()
1014 MD->getPointerDependencyFrom(MemoryLocation::getForDest(MemSet), false, in processMemSetMemCpyDependence()
1016 if (DstDepInfo.getInst() != MemSet) in processMemSetMemCpyDependence()
1021 Value *DestSize = MemSet->getLength(); in processMemSetMemCpyDependence()
1029 std::max(MemSet->getDestAlignment(), MemCpy->getDestAlignment()); in processMemSetMemCpyDependence()
1052 MemSet->getOperand(1), MemsetLen, MaybeAlign(Align)); in processMemSetMemCpyDependence()
1054 MD->removeInstruction(MemSet); in processMemSetMemCpyDependence()
1055 MemSet->eraseFromParent(); in processMemSetMemCpyDependence()
1089 MemSetInst *MemSet) { in performMemCpyToMemSetOptzn() argument
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1138 MemSetInst *MemSet) { in processMemSetMemCpyDependence() argument
1140 if (MemSet->getDest() != MemCpy->getDest()) in processMemSetMemCpyDependence()
1155 if (accessedBetween(*AA, MemoryLocation::getForDest(MemSet), in processMemSetMemCpyDependence()
1156 MSSA->getMemoryAccess(MemSet), in processMemSetMemCpyDependence()
1164 MemoryLocation::getForDest(MemSet), false, MemCpy->getIterator(), in processMemSetMemCpyDependence()
1166 if (DstDepInfo.getInst() != MemSet) in processMemSetMemCpyDependence()
1172 Value *DestSize = MemSet->getLength(); in processMemSetMemCpyDependence()
1175 if (mayBeVisibleThroughUnwinding(Dest, MemSet, MemCpy)) in processMemSetMemCpyDependence()
1183 std::max(MemSet->getDestAlignment(), MemCpy->getDestAlignment()); in processMemSetMemCpyDependence()
1206 MemSet->getOperand(1), MemsetLen, MaybeAlign(Align)); in processMemSetMemCpyDependence()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DCFLAndersAliasAnalysis.cpp202 using MemSet = DenseSet<InstantiatedValue>; typedef in __anon725470ba0111::AliasMemSet
203 using MemMapType = DenseMap<InstantiatedValue, MemSet>;
208 using const_mem_iterator = MemSet::const_iterator;
217 const MemSet *getMemoryAliases(InstantiatedValue V) const { in getMemoryAliases()
637 ReachabilitySet &ReachSet, AliasMemSet &MemSet, in processWorkListItem() argument
656 MemSet.insert(*FromNodeBelow, *ToNodeBelow)) { in processWorkListItem()
692 if (auto AliasSet = MemSet.getMemoryAliases(ToNode)) { in processWorkListItem()
790 AliasMemSet MemSet; in buildInfoFrom() local
797 processWorkListItem(Item, Graph, ReachSet, MemSet, NextList); in buildInfoFrom()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCFLAndersAliasAnalysis.cpp202 using MemSet = DenseSet<InstantiatedValue>; typedef in __anon86bed5ae0111::AliasMemSet
203 using MemMapType = DenseMap<InstantiatedValue, MemSet>;
208 using const_mem_iterator = MemSet::const_iterator;
217 const MemSet *getMemoryAliases(InstantiatedValue V) const { in getMemoryAliases()
638 ReachabilitySet &ReachSet, AliasMemSet &MemSet, in processWorkListItem() argument
657 MemSet.insert(*FromNodeBelow, *ToNodeBelow)) { in processWorkListItem()
693 if (auto AliasSet = MemSet.getMemoryAliases(ToNode)) { in processWorkListItem()
791 AliasMemSet MemSet; in buildInfoFrom() local
798 processWorkListItem(Item, Graph, ReachSet, MemSet, NextList); in buildInfoFrom()
/external/llvm-project/llvm/include/llvm/Transforms/Scalar/
DMemCpyOptimizer.h71 bool processMemSetMemCpyDependence(MemCpyInst *MemCpy, MemSetInst *MemSet);
72 bool performMemCpyToMemSetOptzn(MemCpyInst *MemCpy, MemSetInst *MemSet);
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1047 MemSetInst *MemSet) { in processMemSetMemCpyDependence() argument
1049 if (MemSet->getDest() != MemCpy->getDest()) in processMemSetMemCpyDependence()
1054 MD->getPointerDependencyFrom(MemoryLocation::getForDest(MemSet), false, in processMemSetMemCpyDependence()
1056 if (DstDepInfo.getInst() != MemSet) in processMemSetMemCpyDependence()
1061 Value *DestSize = MemSet->getLength(); in processMemSetMemCpyDependence()
1069 std::max(MemSet->getAlignment(), MemCpy->getAlignment()); in processMemSetMemCpyDependence()
1089 Builder.CreateMemSet(Builder.CreateGEP(Dest, SrcSize), MemSet->getOperand(1), in processMemSetMemCpyDependence()
1092 MD->removeInstruction(MemSet); in processMemSetMemCpyDependence()
1093 MemSet->eraseFromParent(); in processMemSetMemCpyDependence()
1112 MemSetInst *MemSet) { in performMemCpyToMemSetOptzn() argument
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp816 MemSetInst *MemSet = cast<MemSetInst>(Intr); in handleAlloca() local
817 Builder.CreateMemSet(MemSet->getRawDest(), MemSet->getValue(), in handleAlloca()
818 MemSet->getLength(), MemSet->getAlignment(), in handleAlloca()
819 MemSet->isVolatile()); in handleAlloca()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp902 MemSetInst *MemSet = cast<MemSetInst>(Intr); in handleAlloca() local
904 MemSet->getRawDest(), MemSet->getValue(), MemSet->getLength(), in handleAlloca()
905 MaybeAlign(MemSet->getDestAlignment()), MemSet->isVolatile()); in handleAlloca()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DLowerMemIntrinsics.h51 void expandMemSetAsLoop(MemSetInst *MemSet);
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DLowerMemIntrinsics.h51 void expandMemSetAsLoop(MemSetInst *MemSet);
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp1047 MemSetInst *MemSet = cast<MemSetInst>(Intr); in handleAlloca() local
1049 MemSet->getRawDest(), MemSet->getValue(), MemSet->getLength(), in handleAlloca()
1050 MaybeAlign(MemSet->getDestAlignment()), MemSet->isVolatile()); in handleAlloca()
/external/llvm-project/llvm/test/Transforms/LICM/
DAliasSetMemSet.ll2 ; Check no assertion when loop-idiom deletes the MemSet already analyzed by licm
/external/llvm/test/Transforms/LICM/
DAliasSetMemSet.ll2 ; Check no assertion when loop-idiom deletes the MemSet already analyzed by licm
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp832 for (auto &&MemSet : TypeMembers) in buildBitSetsFromDisjointSet()
833 GLB.addFragment(MemSet); in buildBitSetsFromDisjointSet()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dir_builder_mixin.h361 llvm::Value* MemSet(Args&&... args) { in MemSet() function
/external/llvm/test/Instrumentation/MemorySanitizer/
Dmsan_basic.ll201 define void @MemSet(i8* nocapture %x) nounwind uwtable sanitize_memory {
209 ; CHECK-LABEL: @MemSet
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp1631 for (auto &&MemSet : TypeMembers) in buildBitSetsFromDisjointSet()
1632 GLB.addFragment(MemSet); in buildBitSetsFromDisjointSet()
/external/llvm-project/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp1662 for (auto &&MemSet : TypeMembers) in buildBitSetsFromDisjointSet()
1663 GLB.addFragment(MemSet); in buildBitSetsFromDisjointSet()
/external/llvm-project/llvm/test/Instrumentation/MemorySanitizer/
Dmsan_basic.ll209 define void @MemSet(i8* nocapture %x) nounwind uwtable sanitize_memory {
217 ; CHECK-LABEL: @MemSet
/external/llvm-project/llvm/unittests/Analysis/
DMemorySSATest.cpp1616 Instruction *MemSet = B.CreateMemSet(Pointer2, B.getInt8(0), 1, Align(1)); in TEST_F() local
1624 MemoryUseOrDef *MemSetAccess = MSSA.getMemoryAccess(MemSet); in TEST_F()