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

/macosx-10.9.5/llvmCore-3425.0.33/lib/MC/MCDisassembler/
H A DDisassembler.h67 llvm::OwningPtr<const llvm::MCSubtargetInfo> MSI; member in class:llvm::LLVMDisasmContext
96 MSI.reset(mSI);
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp83 bool processLoopMemSet(MemSetInst *MSI, const SCEV *BECount);
258 if (MemSetInst *MSI = dyn_cast<MemSetInst>(Inst)) {
260 if (!processLoopMemSet(MSI, BECount)) continue;
335 processLoopMemSet(MemSetInst *MSI, const SCEV *BECount) { argument
337 if (MSI->isVolatile() || !isa<ConstantInt>(MSI->getLength())) return false;
343 Value *Pointer = MSI->getDest();
353 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue();
363 if (Stride == 0 || MSI->getLength() != Stride->getValue())
367 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
552 processMemSet(MemSetInst *MSI, BasicBlock::iterator &BBI) argument
[all...]
H A DScalarReplAggregates.cpp535 if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) {
540 if (!isa<ConstantInt>(MSI->getValue()))
544 ConstantInt *Len = dyn_cast<ConstantInt>(MSI->getLength());
655 if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) {
656 assert(MSI->getRawDest() == Ptr && "Consistency error!");
658 int64_t SNumBytes = cast<ConstantInt>(MSI->getLength())->getSExtValue();
661 unsigned Val = cast<ConstantInt>(MSI->getValue())->getZExtValue();
682 MSI->eraseFromParent();
H A DGVN.cpp1118 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) {
1121 Value *Val = MSI->getValue();
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/
H A DLint.cpp310 MemSetInst *MSI = cast<MemSetInst>(&I); local
312 visitMemoryReference(I, MSI->getDest(), AliasAnalysis::UnknownSize,
313 MSI->getAlignment(), 0,
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/IPO/
H A DGlobalOpt.cpp277 } else if (const MemSetInst *MSI = dyn_cast<MemSetInst>(I)) {
278 assert(MSI->getArgOperand(0) == V && "Memset only takes one pointer!");
279 if (MSI->isVolatile()) return true;
409 } else if (MemSetInst *MSI = dyn_cast<MemSetInst>(U)) {
410 if (isa<Constant>(MSI->getValue())) {
412 MSI->eraseFromParent();
413 } else if (Instruction *I = dyn_cast<Instruction>(MSI->getValue())) {
415 Dead.push_back(std::make_pair(I, MSI));
2691 if (MemSetInst *MSI = dyn_cast<MemSetInst>(II)) {
2692 if (MSI
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/X86/
H A DX86FastISel.cpp1428 const MemSetInst &MSI = cast<MemSetInst>(I); local
1430 if (MSI.isVolatile())
1434 if (!MSI.getLength()->getType()->isIntegerTy(SizeWidth))
1437 if (MSI.getDestAddressSpace() > 255)
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp257 } else if (MemSetInst *MSI = dyn_cast<MemSetInst>(MI)) {
258 if (Instruction *I = SimplifyMemSet(MSI))
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/ARM/
H A DARMFastISel.cpp2527 const MemSetInst &MSI = cast<MemSetInst>(I); local
2529 if (MSI.isVolatile())
2532 if (!MSI.getLength()->getType()->isIntegerTy(32))
2535 if (MSI.getDestAddressSpace() > 255)

Completed in 205 milliseconds