Searched refs:ConstIdx (Results 1 - 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp250 if (ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I)) {
251 BaseOffset += ConstIdx->getSExtValue() * ElementSize;
291 ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I); local
292 if (ConstIdx == nullptr || !ConstIdx->isZero())
H A DReassociate.cpp1990 unsigned ConstIdx = C0 ? 0 : 1;
2017 I->setOperand(ConstIdx, ConstantInt::get(CI->getContext(), -CI->getValue()));
2022 I->setOperand(ConstIdx, ConstantFP::get(CF->getContext(), Val));

Completed in 53 milliseconds