Home
last modified time | relevance | path

Searched refs:MemSetInst (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/
H A DMemCpyOptimizer.h34 class MemSetInst; variable
59 bool processMemSet(MemSetInst *SI, BasicBlock::iterator &BBI);
66 bool processMemSetMemCpyDependence(MemCpyInst *MemCpy, MemSetInst *MemSet);
67 bool performMemCpyToMemSetOptzn(MemCpyInst *MemCpy, MemSetInst *MemSet);
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DLowerMemIntrinsics.h26 class MemSetInst; variable
58 void expandMemSetAsLoop(MemSetInst *MemSet);
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp131 } else if (MemSetInst *Memset = dyn_cast<MemSetInst>(MemCall)) { in runOnFunction()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp359 if (const auto *memset_inst = dyn_cast<MemSetInst>(MI)) { in analyzeLoadFromClobberingMemInst()
528 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) { in getMemInstValueForLoad()
573 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) { in getConstantMemInstValueForLoad()
H A DGlobalStatus.cpp169 } else if (const MemSetInst *MSI = dyn_cast<MemSetInst>(I)) { in analyzeGlobalAux()
H A DEvaluator.cpp392 if (MemSetInst *MSI = dyn_cast<MemSetInst>(II)) { in EvaluateBlock()
H A DLowerMemIntrinsics.cpp569 void llvm::expandMemSetAsLoop(MemSetInst *Memset) { in expandMemSetAsLoop()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp173 addMemSet(OffsetFromFirst, cast<MemSetInst>(Inst)); in addInst()
183 void addMemSet(int64_t OffsetFromFirst, MemSetInst *MSI) { in addMemSet()
422 if (!isa<StoreInst>(BI) && !isa<MemSetInst>(BI)) { in tryMergingIntoMemset()
461 auto *MSI = cast<MemSetInst>(BI); in tryMergingIntoMemset()
838 bool MemCpyOptPass::processMemSet(MemSetInst *MSI, BasicBlock::iterator &BBI) { in processMemSet()
1208 MemSetInst *MemSet) { in processMemSetMemCpyDependence()
1338 MemSetInst *MemSet) { in performMemCpyToMemSetOptzn()
1440 if (auto *MDep = dyn_cast_or_null<MemSetInst>(MD->getMemoryInst())) in processMemCpy()
1478 if (auto *MDep = dyn_cast<MemSetInst>(MI)) { in processMemCpy()
1621 else if (auto *M = dyn_cast<MemSetInst>(I)) in iterateOnFunction()
H A DDeadStoreElimination.cpp408 if (auto *MemSet = dyn_cast<MemSetInst>(SecondI)) in memoryIsNotModifiedBetween()
1723 MemSetInst *MemSet = dyn_cast<MemSetInst>(DefI); in tryFoldIntoCalloc()
1802 MemSetInst *MemSet = dyn_cast<MemSetInst>(DefI); in storeIsNoop()
1924 if (auto *MemSetI = dyn_cast<MemSetInst>(UpperInst)) { in eliminateRedundantStoresOfExistingValues()
H A DLoopIdiomRecognize.cpp217 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount);
650 MadeChange |= processLoopMemIntrinsic<MemSetInst>( in runOnLoopBlock()
895 bool LoopIdiomRecognize::processLoopMemSet(MemSetInst *MSI, in processLoopMemSet()
H A DInferAddressSpaces.cpp1023 if (auto *MSI = dyn_cast<MemSetInst>(MI)) { in handleMemIntrinsicPtrUse()
/llvm-project-15.0.7/polly/include/polly/Support/
H A DScopHelper.h311 bool isMemSetInst() const { return I && llvm::isa<llvm::MemSetInst>(I); } in isMemSetInst()
322 llvm::MemSetInst *asMemSetInst() const { in asMemSetInst()
323 return llvm::cast<llvm::MemSetInst>(I); in asMemSetInst()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp141 bool addMemSet(uint64_t Offset, MemSetInst *MSI) { in addMemSet()
372 if (!isa<StoreInst>(BI) && !isa<MemSetInst>(BI)) { in collectInitializers()
395 MemSetInst *MSI = cast<MemSetInst>(BI); in collectInitializers()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstVisitor.h209 RetTy visitMemSetInst(MemSetInst &I) { DELEGATE(MemIntrinsic); } in visitMemSetInst()
294 case Intrinsic::memset: DELEGATE(MemSetInst); in delegateCallInst()
H A DIntrinsicInst.h993 class MemSetInst : public MemSetBase<MemIntrinsic> {
1011 class MemSetInlineInst : public MemSetInst {
1014 return cast<ConstantInt>(MemSetInst::getLength()); in getLength()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerIntrinsics.cpp106 auto *Memset = cast<MemSetInst>(Inst); in expandMemIntrinsicUses()
H A DAMDGPUPromoteAlloca.cpp1010 MemSetInst *MemSet = cast<MemSetInst>(Intr); in handleAlloca()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DIRBuilder.cpp241 if (isa<CallInst>(Inst) && !isa<MemSetInst>(Inst)) in annotate()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLint.cpp333 MemSetInst *MSI = cast<MemSetInst>(&I); in visitCallBase()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp701 if (MemSetInst *M = dyn_cast<MemSetInst>(I)) { in instrumentMemIntrinsic()
H A DMemProfiler.cpp318 } else if (isa<MemSetInst>(MI)) { in instrumentMemIntrinsic()
H A DHWAddressSanitizer.cpp925 if (isa<MemSetInst>(MI)) in ignoreMemIntrinsic()
938 } else if (isa<MemSetInst>(MI)) { in instrumentMemIntrinsic()
/llvm-project-15.0.7/polly/lib/Transform/
H A DZoneAlgo.cpp435 if (auto *Memset = dyn_cast<MemSetInst>(AccInst)) { in getWrittenValue()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp221 } else if (MemSetInst *MSI = dyn_cast<MemSetInst>(U)) { in CleanupPointerRootUsers()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp1660 const MemSetInst *MSI = cast<MemSetInst>(II); in fastLowerIntrinsicCall()

12