Searched refs:MSI (Results 1 - 10 of 10) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp83 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount);
251 if (MemSetInst *MSI = dyn_cast<MemSetInst>(Inst)) {
253 if (!processLoopMemSet(MSI, BECount)) continue;
328 processLoopMemSet(MemSetInst *MSI, const SCEV *BECount) { argument
330 if (MSI->isVolatile() || !isa<ConstantInt>(MSI->getLength())) return false;
336 Value *Pointer = MSI->getDest();
346 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue();
356 if (Stride == 0 || MSI->getLength() != Stride->getValue())
360 MSI
[all...]
H A DMemCpyOptimizer.cpp218 void addMemSet(int64_t OffsetFromFirst, MemSetInst *MSI) { argument
219 int64_t Size = cast<ConstantInt>(MSI->getLength())->getZExtValue();
220 addRange(OffsetFromFirst, Size, MSI->getDest(), MSI->getAlignment(), MSI);
401 MemSetInst *MSI = cast<MemSetInst>(BI); local
403 if (MSI->isVolatile() || ByteVal != MSI->getValue() ||
404 !isa<ConstantInt>(MSI->getLength()))
409 if (!IsPointerOffset(StartPtr, MSI
544 processMemSet(MemSetInst *MSI, BasicBlock::iterator &BBI) argument
[all...]
H A DScalarReplAggregates.cpp468 if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) {
470 if (!isa<ConstantInt>(MSI->getValue()))
474 ConstantInt *Len = dyn_cast<ConstantInt>(MSI->getLength());
573 if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) {
574 assert(MSI->getRawDest() == Ptr && "Consistency error!");
575 unsigned NumBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue();
577 unsigned Val = cast<ConstantInt>(MSI->getValue())->getZExtValue();
598 MSI->eraseFromParent();
H A DGVN.cpp1051 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) {
1054 Value *Val = MSI->getValue();
/external/clang/lib/AST/
H A DDecl.cpp558 } else if (MemberSpecializationInfo *MSI =
560 TSK = MSI->getTemplateSpecializationKind();
1351 if (MemberSpecializationInfo *MSI = getMemberSpecializationInfo())
1352 return cast<VarDecl>(MSI->getInstantiatedFrom());
1358 if (MemberSpecializationInfo *MSI = getMemberSpecializationInfo())
1359 return MSI->getTemplateSpecializationKind();
1370 MemberSpecializationInfo *MSI = getMemberSpecializationInfo(); local
1371 assert(MSI && "Not an instantiated static data member?");
1372 MSI->setTemplateSpecializationKind(TSK);
1375 MSI
[all...]
/external/llvm/lib/Analysis/
H A DLint.cpp305 MemSetInst *MSI = cast<MemSetInst>(&I); local
307 visitMemoryReference(I, MSI->getDest(), AliasAnalysis::UnknownSize,
308 MSI->getAlignment(), 0,
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp252 } else if (const MemSetInst *MSI = dyn_cast<MemSetInst>(I)) {
253 assert(MSI->getArgOperand(0) == V && "Memset only takes one pointer!");
254 if (MSI->isVolatile()) return true;
2437 if (MemSetInst *MSI = dyn_cast<MemSetInst>(CI)) {
2438 if (MSI->isVolatile()) return false;
2439 Constant *Ptr = getVal(Values, MSI->getDest());
2440 Constant *Val = getVal(Values, MSI->getValue());
/external/llvm/lib/Target/X86/
H A DX86FastISel.cpp1411 const MemSetInst &MSI = cast<MemSetInst>(I); local
1413 if (MSI.isVolatile())
1417 if (!MSI.getLength()->getType()->isIntegerTy(SizeWidth))
1420 if (MSI.getDestAddressSpace() > 255)
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp980 MemberSpecializationInfo *MSI = new (C) MemberSpecializationInfo(RD, TSK); local
981 MSI->setPointOfInstantiation(POI);
982 D->TemplateOrInstantiation = MSI;
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp238 } else if (MemSetInst *MSI = dyn_cast<MemSetInst>(MI)) {
239 if (Instruction *I = SimplifyMemSet(MSI))

Completed in 210 milliseconds