Searched refs:MTI (Results 1 – 9 of 9) sorted by relevance
/external/llvm/lib/Analysis/ |
D | AliasAnalysis.cpp | 259 AliasAnalysis::getLocationForSource(const MemTransferInst *MTI) { in getLocationForSource() argument 261 if (ConstantInt *C = dyn_cast<ConstantInt>(MTI->getLength())) in getLocationForSource() 266 MDNode *TBAATag = MTI->getMetadata(LLVMContext::MD_tbaa); in getLocationForSource() 268 return Location(MTI->getRawSource(), Size, TBAATag); in getLocationForSource() 272 AliasAnalysis::getLocationForDest(const MemIntrinsic *MTI) { in getLocationForDest() argument 274 if (ConstantInt *C = dyn_cast<ConstantInt>(MTI->getLength())) in getLocationForDest() 279 MDNode *TBAATag = MTI->getMetadata(LLVMContext::MD_tbaa); in getLocationForDest() 281 return Location(MTI->getRawDest(), Size, TBAATag); in getLocationForDest()
|
D | LazyValueInfo.cpp | 578 if (MemTransferInst *MTI = dyn_cast<MemTransferInst>(MI)) in InstructionDereferencesPointer() local 579 if (MTI->getSourceAddressSpace() == 0) in InstructionDereferencesPointer() 580 if (MTI->getRawSource() == Ptr || MTI->getSource() == Ptr) in InstructionDereferencesPointer()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 562 if (MemTransferInst *MTI = dyn_cast<MemTransferInst>(User)) { in CanConvertToScalar() local 566 ConstantInt *Len = dyn_cast<ConstantInt>(MTI->getLength()); in CanConvertToScalar() 688 if (MemTransferInst *MTI = dyn_cast<MemTransferInst>(User)) { in ConvertUsesToScalar() local 697 if (GetUnderlyingObject(MTI->getSource(), &TD, 0) != OrigAI) { in ConvertUsesToScalar() 700 assert(MTI->getRawDest() == Ptr && "Neither use is of pointer?"); in ConvertUsesToScalar() 701 Value *SrcPtr = MTI->getSource(); in ConvertUsesToScalar() 711 SrcVal->setAlignment(MTI->getAlignment()); in ConvertUsesToScalar() 713 } else if (GetUnderlyingObject(MTI->getDest(), &TD, 0) != OrigAI) { in ConvertUsesToScalar() 716 assert(MTI->getRawSource() == Ptr && "Neither use is of pointer?"); in ConvertUsesToScalar() 719 PointerType* DPTy = cast<PointerType>(MTI->getDest()->getType()); in ConvertUsesToScalar() [all …]
|
D | DeadStoreElimination.cpp | 213 if (MemTransferInst *MTI = dyn_cast<MemTransferInst>(Inst)) in getLocForRead() local 214 return AA.getLocationForSource(MTI); in getLocForRead() 799 } else if (MemTransferInst *MTI = dyn_cast<MemTransferInst>(BBI)) { in handleEndBlock() local 800 LoadedLoc = AA->getLocationForSource(MTI); in handleEndBlock()
|
D | GVN.cpp | 977 MemTransferInst *MTI = cast<MemTransferInst>(MI); in AnalyzeLoadFromClobberingMemInst() local 979 Constant *Src = dyn_cast<Constant>(MTI->getSource()); in AnalyzeLoadFromClobberingMemInst() 1147 MemTransferInst *MTI = cast<MemTransferInst>(SrcInst); in GetMemInstValueForLoad() local 1148 Constant *Src = cast<Constant>(MTI->getSource()); in GetMemInstValueForLoad()
|
/external/llvm/lib/Target/ARM/ |
D | ARMFastISel.cpp | 2474 const MemTransferInst &MTI = cast<MemTransferInst>(I); in SelectIntrinsicCall() local 2476 if (MTI.isVolatile()) in SelectIntrinsicCall() 2482 if (isa<ConstantInt>(MTI.getLength()) && isMemCpy) { in SelectIntrinsicCall() 2485 uint64_t Len = cast<ConstantInt>(MTI.getLength())->getZExtValue(); in SelectIntrinsicCall() 2488 if (!ARMComputeAddress(MTI.getRawDest(), Dest) || in SelectIntrinsicCall() 2489 !ARMComputeAddress(MTI.getRawSource(), Src)) in SelectIntrinsicCall() 2496 if (!MTI.getLength()->getType()->isIntegerTy(32)) in SelectIntrinsicCall() 2499 if (MTI.getSourceAddressSpace() > 255 || MTI.getDestAddressSpace() > 255) in SelectIntrinsicCall()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 271 } else if (const MemTransferInst *MTI = dyn_cast<MemTransferInst>(I)) { in AnalyzeGlobal() local 272 if (MTI->isVolatile()) return true; in AnalyzeGlobal() 273 if (MTI->getArgOperand(0) == V) in AnalyzeGlobal() 275 if (MTI->getArgOperand(1) == V) in AnalyzeGlobal() 417 } else if (MemTransferInst *MTI = dyn_cast<MemTransferInst>(U)) { in CleanupPointerRootUsers() local 418 GlobalVariable *MemSrc = dyn_cast<GlobalVariable>(MTI->getSource()); in CleanupPointerRootUsers() 421 MTI->eraseFromParent(); in CleanupPointerRootUsers() 424 Dead.push_back(std::make_pair(I, MTI)); in CleanupPointerRootUsers()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 223 if (MemTransferInst *MTI = dyn_cast<MemTransferInst>(MI)) { in visitCallInst() local 225 if (MTI->getSource() == MTI->getDest()) in visitCallInst()
|
/external/llvm/include/llvm/Analysis/ |
D | AliasAnalysis.h | 149 static Location getLocationForSource(const MemTransferInst *MTI);
|