Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp251 auto *Memset = cast<MemSetInst>(Inst); in expandMemIntrinsicUses() local
252 Function *ParentFunc = Memset->getFunction(); in expandMemIntrinsicUses()
254 if (shouldExpandMemIntrinsicWithSize(Memset->getLength(), TTI)) { in expandMemIntrinsicUses()
259 expandMemSetAsLoop(Memset); in expandMemIntrinsicUses()
261 Memset->eraseFromParent(); in expandMemIntrinsicUses()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp131 } else if (MemSetInst *Memset = dyn_cast<MemSetInst>(MemCall)) { in runOnFunction() local
132 expandMemSetAsLoop(Memset); in runOnFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp569 void llvm::expandMemSetAsLoop(MemSetInst *Memset) { in expandMemSetAsLoop() argument
570 createMemSetLoop(/* InsertBefore */ Memset, in expandMemSetAsLoop()
571 /* DstAddr */ Memset->getRawDest(), in expandMemSetAsLoop()
572 /* CopyLen */ Memset->getLength(), in expandMemSetAsLoop()
573 /* SetValue */ Memset->getValue(), in expandMemSetAsLoop()
574 /* Alignment */ Memset->getDestAlign().valueOrOne(), in expandMemSetAsLoop()
575 Memset->isVolatile()); in expandMemSetAsLoop()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DLoopIdiomRecognize.h33 static bool Memset; member
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp116 bool DisableLIRP::Memset; member in DisableLIRP
121 cl::location(DisableLIRP::Memset), cl::init(false),
181 Memset, enumerator
455 if (!UnorderedAtomic && HasMemset && SplatValue && !DisableLIRP::Memset && in isLegalStore()
460 return LegalStoreKind::Memset; in isLegalStore()
462 if (!UnorderedAtomic && HasMemsetPattern && !DisableLIRP::Memset && in isLegalStore()
524 case LegalStoreKind::Memset: { in collectStores()
829 if (!HasMemset || DisableLIRP::Memset) in processLoopMemSet()
H A DDeadStoreElimination.cpp1883 auto shouldCreateCalloc = [](CallInst *Malloc, CallInst *Memset) { in tryFoldIntoCalloc() argument
1887 *MemsetBB = Memset->getParent(); in tryFoldIntoCalloc()
1890 auto *Ptr = Memset->getArgOperand(0); in tryFoldIntoCalloc()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DBuiltinsNVPTX.def681 // Memcpy, Memset
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp6661 auto Memset = MIB.buildInstr(AArch64::MOPSMemorySetTaggingPseudo, in selectIntrinsicWithSideEffects() local
6663 Memset.cloneMemRefs(I); in selectIntrinsicWithSideEffects()
6664 constrainSelectedInstRegOperands(*Memset, TII, TRI, RBI); in selectIntrinsicWithSideEffects()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsics.td984 // Memset version that is guaranteed to be inlined.
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.td549 // Memset[Length][Byte] pseudos.