Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerIntrinsics.cpp106 auto *Memset = cast<MemSetInst>(Inst); in expandMemIntrinsicUses() local
107 if (shouldExpandOperationWithSize(Memset->getLength())) { in expandMemIntrinsicUses()
108 expandMemSetAsLoop(Memset); in expandMemIntrinsicUses()
110 Memset->eraseFromParent(); in expandMemIntrinsicUses()
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_string.cpp29 MainThread().Memset(data+1, 13, 5); in TEST_F()
77 t1.Memset(data, 1, 10); in TEST_F()
78 t2.Memset(data, 2, 10, true); in TEST_F()
H A Dtsan_test_util.h120 void Memset(void *dst, int val, int size, bool expect_race = false);
H A Dtsan_test_util_posix.cpp490 void ScopedThread::Memset(void *dst, int val, int size, in Memset() function in ScopedThread
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp131 } else if (MemSetInst *Memset = dyn_cast<MemSetInst>(MemCall)) { in runOnFunction() local
132 expandMemSetAsLoop(Memset); in runOnFunction()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp566 void llvm::expandMemSetAsLoop(MemSetInst *Memset) { in expandMemSetAsLoop() argument
567 createMemSetLoop(/* InsertBefore */ Memset, in expandMemSetAsLoop()
568 /* DstAddr */ Memset->getRawDest(), in expandMemSetAsLoop()
569 /* CopyLen */ Memset->getLength(), in expandMemSetAsLoop()
570 /* SetValue */ Memset->getValue(), in expandMemSetAsLoop()
571 /* Alignment */ Memset->getDestAlign().valueOrOne(), in expandMemSetAsLoop()
572 Memset->isVolatile()); in expandMemSetAsLoop()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Scalar/
H A DLoopIdiomRecognize.h33 static bool Memset; member
/openbsd-src/gnu/llvm/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
530 if (!UnorderedAtomic && HasMemset && SplatValue && !DisableLIRP::Memset && in isLegalStore()
535 return LegalStoreKind::Memset; in isLegalStore()
537 if (!UnorderedAtomic && HasMemsetPattern && !DisableLIRP::Memset && in isLegalStore()
599 case LegalStoreKind::Memset: { in collectStores()
904 if (!HasMemset || DisableLIRP::Memset) in processLoopMemSet()
H A DDeadStoreElimination.cpp1835 auto shouldCreateCalloc = [](CallInst *Malloc, CallInst *Memset) { in tryFoldIntoCalloc() argument
1839 *MemsetBB = Memset->getParent(); in tryFoldIntoCalloc()
1842 auto *Ptr = Memset->getArgOperand(0); in tryFoldIntoCalloc()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DBuiltinsNVPTX.def633 // Memcpy, Memset
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp5779 auto Memset = MIB.buildInstr(AArch64::MOPSMemorySetTaggingPseudo, in selectIntrinsicWithSideEffects() local
5781 Memset.cloneMemRefs(I); in selectIntrinsicWithSideEffects()
5782 constrainSelectedInstRegOperands(*Memset, TII, TRI, RBI); in selectIntrinsicWithSideEffects()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DIntrinsics.td665 // Memset version that is guaranteed to be inlined.
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.td533 // Memset[Length][Byte] pseudos.