Searched refs:ConstIdx (Results 1 – 2 of 2) sorted by relevance
250 if (ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I)) { in isGEPFoldable() local251 BaseOffset += ConstIdx->getSExtValue() * ElementSize; in isGEPFoldable()291 ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I); in hasOnlyOneNonZeroIndex() local292 if (ConstIdx == nullptr || !ConstIdx->isZero()) in hasOnlyOneNonZeroIndex()
1990 unsigned ConstIdx = C0 ? 0 : 1; in canonicalizeNegConstExpr() local2017 I->setOperand(ConstIdx, ConstantInt::get(CI->getContext(), -CI->getValue())); in canonicalizeNegConstExpr()2022 I->setOperand(ConstIdx, ConstantFP::get(CF->getContext(), Val)); in canonicalizeNegConstExpr()