reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
111 unsigned DstAlign = getKnownAlignment(MI->getRawDest(), DL, MI, &AC, &DT); 111 unsigned DstAlign = getKnownAlignment(MI->getRawDest(), DL, MI, &AC, &DT); 112 unsigned CopyDstAlign = MI->getDestAlignment(); 114 MI->setDestAlignment(DstAlign); 115 return MI; 118 unsigned SrcAlign = getKnownAlignment(MI->getRawSource(), DL, MI, &AC, &DT); 118 unsigned SrcAlign = getKnownAlignment(MI->getRawSource(), DL, MI, &AC, &DT); 119 unsigned CopySrcAlign = MI->getSourceAlignment(); 121 MI->setSourceAlignment(SrcAlign); 122 return MI; 128 if (AA->pointsToConstantMemory(MI->getDest())) { 130 MI->setLength(Constant::getNullValue(MI->getLength()->getType())); 130 MI->setLength(Constant::getNullValue(MI->getLength()->getType())); 131 return MI; 136 ConstantInt *MemOpLength = dyn_cast<ConstantInt>(MI->getLength()); 153 if (isa<AtomicMemTransferInst>(MI)) 159 cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace(); 161 cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace(); 163 IntegerType* IntType = IntegerType::get(MI->getContext(), Size<<3); 170 if (MDNode *M = MI->getMetadata(LLVMContext::MD_tbaa)) { 172 } else if (MDNode *M = MI->getMetadata(LLVMContext::MD_tbaa_struct)) { 184 Value *Src = Builder.CreateBitCast(MI->getArgOperand(1), NewSrcPtrTy); 185 Value *Dest = Builder.CreateBitCast(MI->getArgOperand(0), NewDstPtrTy); 193 MI->getMetadata(LLVMContext::MD_mem_parallel_loop_access); 196 MDNode *AccessGroupMD = MI->getMetadata(LLVMContext::MD_access_group); 211 if (auto *MT = dyn_cast<MemTransferInst>(MI)) { 216 if (isa<AtomicMemTransferInst>(MI)) { 223 MI->setLength(Constant::getNullValue(MemOpLength->getType())); 224 return MI;