Searched refs:MemSetInst (Results 1 – 24 of 24) sorted by relevance
220 addMemSet(OffsetFromFirst, cast<MemSetInst>(Inst)); in addInst()230 void addMemSet(int64_t OffsetFromFirst, MemSetInst *MSI) { in addMemSet()336 bool processMemSet(MemSetInst *SI, BasicBlock::iterator &BBI);342 bool processMemSetMemCpyDependence(MemCpyInst *M, MemSetInst *MDep);343 bool performMemCpyToMemSetOptzn(MemCpyInst *M, MemSetInst *MDep);384 if (!isa<StoreInst>(BI) && !isa<MemSetInst>(BI)) { in INITIALIZE_PASS_DEPENDENCY()409 MemSetInst *MSI = cast<MemSetInst>(BI); in INITIALIZE_PASS_DEPENDENCY()565 bool MemCpyOpt::processMemSet(MemSetInst *MSI, BasicBlock::iterator &BBI) { in processMemSet()855 MemSetInst *MemSet) { in processMemSetMemCpyDependence()920 MemSetInst *MemSet) { in performMemCpyToMemSetOptzn()[all …]
123 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount);366 if (MemSetInst *MSI = dyn_cast<MemSetInst>(Inst)) { in runOnLoopBlock()410 bool LoopIdiomRecognize::processLoopMemSet(MemSetInst *MSI, in processLoopMemSet()
543 if (MemSetInst *MSI = dyn_cast<MemSetInst>(UI)) { in CanConvertToScalar()663 if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) { in ConvertUsesToScalar()2281 assert(isa<MemSetInst>(MI)); in RewriteMemIntrinUserOfAlloca()2331 if (isa<MemSetInst>(MI)) { in RewriteMemIntrinUserOfAlloca()
391 assert((!isa<MemIntrinsic>(MI) || isa<MemSetInst>(MI)) && in processAssumption()
1240 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) { in GetMemInstValueForLoad()
786 void visitMemSetInst(MemSetInst &II) { in visitMemSetInst()2611 bool visitMemSetInst(MemSetInst &II) { in visitMemSetInst()
152 } else if (const MemSetInst *MSI = dyn_cast<MemSetInst>(I)) { in analyzeGlobalAux()
325 } else if (MemSetInst *Memset = dyn_cast<MemSetInst>(MemCall)) { in runOnFunction()
214 RetTy visitMemSetInst(MemSetInst &I) { DELEGATE(MemIntrinsic); } in visitMemSetInst()274 case Intrinsic::memset: DELEGATE(MemSetInst); in delegateCallInst()
220 class MemSetInst : public MemIntrinsic {
409 MemSetInst *MemSet = cast<MemSetInst>(Intr); in visitAlloca()
41 class MemSetInst; variable562 Instruction *SimplifyMemSet(MemSetInst *MI);
157 Instruction *InstCombiner::SimplifyMemSet(MemSetInst *MI) { in SimplifyMemSet()749 } else if (MemSetInst *MSI = dyn_cast<MemSetInst>(MI)) { in visitCallInst()
481 if (MemSetInst *M = dyn_cast<MemSetInst>(I)) { in instrumentMemIntrinsic()
352 void visitMemSetInst(MemSetInst &I);1348 void DFSanVisitor::visitMemSetInst(MemSetInst &I) { in visitMemSetInst()
841 } else if (isa<MemSetInst>(MI)) { in instrumentMemIntrinsic()
1887 void visitMemSetInst(MemSetInst &I) { in visitMemSetInst()
315 MemSetInst *MSI = cast<MemSetInst>(&I); in visitCallSite()
218 } else if (MemSetInst *MSI = dyn_cast<MemSetInst>(U)) { in CleanupPointerRootUsers()2593 if (MemSetInst *MSI = dyn_cast<MemSetInst>(II)) { in EvaluateBlock()
1409 const MemSetInst *MSI = cast<MemSetInst>(II); in fastLowerIntrinsicCall()
1103 macro(MemSetInst) \
2546 const MemSetInst &MSI = cast<MemSetInst>(I); in SelectIntrinsicCall()
2415 const MemSetInst *MSI = cast<MemSetInst>(II); in fastLowerIntrinsicCall()
3369 const MemSetInst *MSI = cast<MemSetInst>(II); in fastLowerIntrinsicCall()