Home
last modified time | relevance | path

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

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