Home
last modified time | relevance | path

Searched refs:Memset (Results 1 – 12 of 12) sorted by relevance

/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerIntrinsics.cpp108 auto *Memset = cast<MemSetInst>(Inst); in expandMemIntrinsicUses() local
109 if (shouldExpandOperationWithSize(Memset->getLength())) { in expandMemIntrinsicUses()
110 expandMemSetAsLoop(Memset); in expandMemIntrinsicUses()
112 Memset->eraseFromParent(); in expandMemIntrinsicUses()
/netbsd/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/
H A Dtsan_string.cc30 MainThread().Memset(data+1, 13, 5); in TEST()
78 t1.Memset(data, 1, 10); in TEST()
79 t2.Memset(data, 2, 10, true); in TEST()
H A Dtsan_test_util.h114 void Memset(void *dst, int val, int size, bool expect_race = false);
H A Dtsan_test_util_posix.cc472 void ScopedThread::Memset(void *dst, int val, int size, in Memset() function in ScopedThread
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp460 void llvm::expandMemSetAsLoop(MemSetInst *Memset) { in expandMemSetAsLoop() argument
461 createMemSetLoop(/* InsertBefore */ Memset, in expandMemSetAsLoop()
462 /* DstAddr */ Memset->getRawDest(), in expandMemSetAsLoop()
463 /* CopyLen */ Memset->getLength(), in expandMemSetAsLoop()
464 /* SetValue */ Memset->getValue(), in expandMemSetAsLoop()
465 /* Alignment */ Memset->getDestAlign().valueOrOne(), in expandMemSetAsLoop()
466 Memset->isVolatile()); in expandMemSetAsLoop()
H A DSimplifyLibCalls.cpp1159 Value *LibCallSimplifier::foldMallocMemset(CallInst *Memset, IRBuilderBase &B) { in foldMallocMemset() argument
1161 auto *FillValue = dyn_cast<ConstantInt>(Memset->getArgOperand(1)); in foldMallocMemset()
1169 auto *Malloc = dyn_cast<CallInst>(Memset->getArgOperand(0)); in foldMallocMemset()
1184 if (Memset->getArgOperand(2) != Malloc->getArgOperand(0)) in foldMallocMemset()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp131 } else if (MemSetInst *Memset = dyn_cast<MemSetInst>(MemCall)) { in runOnFunction() local
132 expandMemSetAsLoop(Memset); in runOnFunction()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
H A DLoopIdiomRecognize.h33 static bool Memset; member
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp125 bool DisableLIRP::Memset; member in DisableLIRP
130 cl::location(DisableLIRP::Memset), cl::init(false),
190 Memset, enumerator
528 if (!UnorderedAtomic && HasMemset && SplatValue && !DisableLIRP::Memset && in isLegalStore()
533 return LegalStoreKind::Memset; in isLegalStore()
535 if (!UnorderedAtomic && HasMemsetPattern && !DisableLIRP::Memset && in isLegalStore()
597 case LegalStoreKind::Memset: { in collectStores()
902 if (!HasMemset || DisableLIRP::Memset) in processLoopMemSet()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DSimplifyLibCalls.h135 Value *foldMallocMemset(CallInst *Memset, IRBuilderBase &B);
/netbsd/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DBuiltinsNVPTX.def498 // Memcpy, Memset
/netbsd/external/gpl3/gcc/dist/gcc/
H A DChangeLog-2008188 * dse.c (scan_insn): Memset and bzero can just read their arguments.