Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DMemCpyOptimizer.h36 class MemSetInst; variable
66 bool processMemSet(MemSetInst *SI, BasicBlock::iterator &BBI);
75 bool processMemSetMemCpyDependence(MemCpyInst *MemCpy, MemSetInst *MemSet,
77 bool performMemCpyToMemSetOptzn(MemCpyInst *MemCpy, MemSetInst *MemSet,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLowerMemIntrinsics.h27 class MemSetInst; variable
58 void expandMemSetAsLoop(MemSetInst *MemSet);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp256 if (const auto *memset_inst = dyn_cast<MemSetInst>(MI)) { in analyzeLoadFromClobberingMemInst()
369 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) { in getMemInstValueForLoad()
414 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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp131 } else if (MemSetInst *Memset = dyn_cast<MemSetInst>(MemCall)) { in runOnFunction()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstVisitor.h209 RetTy visitMemSetInst(MemSetInst &I) { DELEGATE(MemIntrinsic); } in visitMemSetInst()
210 RetTy visitMemSetInlineInst(MemSetInlineInst &I){ DELEGATE(MemSetInst); } in visitMemSetInlineInst()
295 case Intrinsic::memset: DELEGATE(MemSetInst); in delegateCallInst()
H A DIntrinsicInst.h1182 class MemSetInst : public MemSetBase<MemIntrinsic> {
1200 class MemSetInlineInst : public MemSetInst {
1203 return cast<ConstantInt>(MemSetInst::getLength()); in getLength()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp174 addMemSet(OffsetFromFirst, cast<MemSetInst>(Inst)); in addInst()
184 void addMemSet(int64_t OffsetFromFirst, MemSetInst *MSI) { in addMemSet()
389 if (!isa<StoreInst>(BI) && !isa<MemSetInst>(BI)) { in tryMergingIntoMemset()
428 auto *MSI = cast<MemSetInst>(BI); in tryMergingIntoMemset()
835 bool MemCpyOptPass::processMemSet(MemSetInst *MSI, BasicBlock::iterator &BBI) { in processMemSet()
1232 MemSetInst *MemSet, in processMemSetMemCpyDependence()
1367 MemSetInst *MemSet, in performMemCpyToMemSetOptzn()
1710 if (auto *MDep = dyn_cast_or_null<MemSetInst>(MD->getMemoryInst())) in processMemCpy()
1746 if (auto *MDep = dyn_cast<MemSetInst>(MI)) { in processMemCpy()
1997 else if (auto *M = dyn_cast<MemSetInst>(I)) in iterateOnFunction()
H A DDeadStoreElimination.cpp417 if (auto *MemSet = dyn_cast<MemSetInst>(SecondI)) in memoryIsNotModifiedBetween()
1851 MemSetInst *MemSet = dyn_cast<MemSetInst>(DefI); in tryFoldIntoCalloc()
1931 MemSetInst *MemSet = dyn_cast<MemSetInst>(DefI); in storeIsNoop()
2053 if (auto *MemSetI = dyn_cast<MemSetInst>(UpperInst)) { in eliminateRedundantStoresOfExistingValues()
H A DLoopIdiomRecognize.cpp208 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount);
577 MadeChange |= processLoopMemIntrinsic<MemSetInst>( in runOnLoopBlock()
822 bool LoopIdiomRecognize::processLoopMemSet(MemSetInst *MSI, in processLoopMemSet()
H A DInferAddressSpaces.cpp1046 if (auto *MSI = dyn_cast<MemSetInst>(MI)) { in handleMemIntrinsicPtrUse()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp96 if (auto *MSI = dyn_cast<MemSetInst>(Intrinsic)) in lowerIntrinsicToFunction()
121 auto *MSI = static_cast<MemSetInst *>(Intrinsic); in lowerIntrinsicToFunction()
135 expandMemSetAsLoop(cast<MemSetInst>(MemSet)); in lowerIntrinsicToFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp137 bool addMemSet(uint64_t Offset, MemSetInst *MSI) { in addMemSet()
366 if (!isa<StoreInst>(BI) && !isa<MemSetInst>(BI)) { in collectInitializers()
389 MemSetInst *MSI = cast<MemSetInst>(BI); in collectInitializers()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp274 static bool isSupportedMemset(MemSetInst *I, AllocaInst *AI, in isSupportedMemset()
520 if (auto *MSI = dyn_cast<MemSetInst>(Inst)) { in promoteAllocaUserToVector()
745 if (MemSetInst *MSI = dyn_cast<MemSetInst>(Inst); in tryPromoteAllocaToVector()
1473 MemSetInst *MemSet = cast<MemSetInst>(Intr); in tryPromoteAllocaToLDS()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp335 MemSetInst *MSI = cast<MemSetInst>(&I); in visitCallBase()
H A DLoads.cpp542 if (auto *MSI = dyn_cast<MemSetInst>(Inst)) { in getAvailableLoadStore()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp688 if (MemSetInst *M = dyn_cast<MemSetInst>(I)) { in instrumentMemIntrinsic()
H A DMemProfiler.cpp275 } else if (isa<MemSetInst>(MI)) { in instrumentMemIntrinsic()
H A DHWAddressSanitizer.cpp1007 if (isa<MemSetInst>(MI)) in ignoreMemIntrinsic()
1022 } else if (isa<MemSetInst>(MI)) { in instrumentMemIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp251 auto *Memset = cast<MemSetInst>(Inst); in expandMemIntrinsicUses()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp1660 const MemSetInst *MSI = cast<MemSetInst>(II); in fastLowerIntrinsicCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp219 } else if (MemSetInst *MSI = dyn_cast<MemSetInst>(U)) { in CleanupPointerRootUsers()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFastISel.cpp2558 const MemSetInst &MSI = cast<MemSetInst>(I); in SelectIntrinsicCall()

12