Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp266 auto *Memset = cast<MemSetInst>(Inst); in expandMemIntrinsicUses() local
267 Function *ParentFunc = Memset->getFunction(); in expandMemIntrinsicUses()
269 if (shouldExpandMemIntrinsicWithSize(Memset->getLength(), TTI)) { in expandMemIntrinsicUses()
274 expandMemSetAsLoop(Memset); in expandMemIntrinsicUses()
276 Memset->eraseFromParent(); in expandMemIntrinsicUses()
285 auto *Memset = cast<MemSetInlineInst>(Inst); in expandMemIntrinsicUses() local
286 if (isa<ConstantInt>(Memset->getLength())) in expandMemIntrinsicUses()
289 expandMemSetAsLoop(Memset); in expandMemIntrinsicUses()
291 Memset->eraseFromParent(); in expandMemIntrinsicUses()
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp596 void llvm::expandMemSetAsLoop(MemSetInst *Memset) { in expandMemSetAsLoop() argument
597 createMemSetLoop(/* InsertBefore */ Memset, in expandMemSetAsLoop()
598 /* DstAddr */ Memset->getRawDest(), in expandMemSetAsLoop()
599 /* CopyLen */ Memset->getLength(), in expandMemSetAsLoop()
600 /* SetValue */ Memset->getValue(), in expandMemSetAsLoop()
601 /* Alignment */ Memset->getDestAlign().valueOrOne(), in expandMemSetAsLoop()
602 Memset->isVolatile()); in expandMemSetAsLoop()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DLoopIdiomRecognize.h33 static bool Memset; member
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp114 bool DisableLIRP::Memset; member in DisableLIRP
119 cl::location(DisableLIRP::Memset), cl::init(false),
179 Memset, enumerator
460 if (!UnorderedAtomic && HasMemset && SplatValue && !DisableLIRP::Memset && in isLegalStore()
465 return LegalStoreKind::Memset; in isLegalStore()
467 if (!UnorderedAtomic && HasMemsetPattern && !DisableLIRP::Memset && in isLegalStore()
529 case LegalStoreKind::Memset: { in collectStores()
834 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/contrib/llvm-project/clang/include/clang/Basic/
H A DBuiltinsNVPTX.def694 // Memcpy, Memset
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp6502 auto Memset = MIB.buildInstr(AArch64::MOPSMemorySetTaggingPseudo, in selectIntrinsicWithSideEffects() local
6504 Memset.cloneMemRefs(I); in selectIntrinsicWithSideEffects()
6505 constrainSelectedInstRegOperands(*Memset, TII, TRI, RBI); in selectIntrinsicWithSideEffects()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsics.td994 // Memset version that is guaranteed to be inlined.
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.td551 // Memset[Length][Byte] pseudos.