Searched refs:MemOpLength (Results 1 – 3 of 3) sorted by relevance
47 ConstantInt *MemOpLength = dyn_cast<ConstantInt>(MI->getArgOperand(2)); in SimplifyMemTransfer() local48 if (MemOpLength == 0) return 0; in SimplifyMemTransfer()54 unsigned Size = MemOpLength->getZExtValue(); in SimplifyMemTransfer()119 MI->setArgOperand(2, Constant::getNullValue(MemOpLength->getType())); in SimplifyMemTransfer()
94 ConstantInt *MemOpLength = dyn_cast<ConstantInt>(MI->getArgOperand(2)); in SimplifyMemTransfer() local95 if (!MemOpLength) return nullptr; in SimplifyMemTransfer()101 uint64_t Size = MemOpLength->getLimitedValue(); in SimplifyMemTransfer()171 MI->setArgOperand(2, Constant::getNullValue(MemOpLength->getType())); in SimplifyMemTransfer()
126 ConstantInt *MemOpLength = dyn_cast<ConstantInt>(MI->getLength()); in SimplifyAnyMemTransfer() local127 if (!MemOpLength) return nullptr; in SimplifyAnyMemTransfer()133 uint64_t Size = MemOpLength->getLimitedValue(); in SimplifyAnyMemTransfer()198 MI->setLength(Constant::getNullValue(MemOpLength->getType())); in SimplifyAnyMemTransfer()