Home
last modified time | relevance | path

Searched refs:MemOpLength (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp47 ConstantInt *MemOpLength = dyn_cast<ConstantInt>(MI->getArgOperand(2)); in SimplifyMemTransfer() local
48 if (MemOpLength == 0) return 0; in SimplifyMemTransfer()
54 unsigned Size = MemOpLength->getZExtValue(); in SimplifyMemTransfer()
119 MI->setArgOperand(2, Constant::getNullValue(MemOpLength->getType())); in SimplifyMemTransfer()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp94 ConstantInt *MemOpLength = dyn_cast<ConstantInt>(MI->getArgOperand(2)); in SimplifyMemTransfer() local
95 if (!MemOpLength) return nullptr; in SimplifyMemTransfer()
101 uint64_t Size = MemOpLength->getLimitedValue(); in SimplifyMemTransfer()
171 MI->setArgOperand(2, Constant::getNullValue(MemOpLength->getType())); in SimplifyMemTransfer()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp126 ConstantInt *MemOpLength = dyn_cast<ConstantInt>(MI->getLength()); in SimplifyAnyMemTransfer() local
127 if (!MemOpLength) return nullptr; in SimplifyAnyMemTransfer()
133 uint64_t Size = MemOpLength->getLimitedValue(); in SimplifyAnyMemTransfer()
198 MI->setLength(Constant::getNullValue(MemOpLength->getType())); in SimplifyAnyMemTransfer()