Lines Matching refs:isa
208 if (!isa<ConstantArray>(Init) && !isa<ConstantDataArray>(Init))
219 !isa<ConstantInt>(GEP->getOperand(1)) ||
221 isa<Constant>(GEP->getOperand(2)))
295 if (isa<UndefValue>(C)) {
307 if (!isa<ConstantInt>(C)) return 0;
641 if (!isa<Constant>(GEPLHS->getOperand(i)) ||
653 if (!isa<Constant>(GEPRHS->getOperand(i)) ||
696 (isa<ConstantExpr>(GEPLHS) || GEPLHS->hasOneUse()) &&
697 (isa<ConstantExpr>(GEPRHS) || GEPRHS->hasOneUse())) {
1103 if (LHSI->hasOneUse() && isa<ConstantInt>(LHSI->getOperand(1)) &&
1212 !isa<Constant>(Shift->getOperand(0))) {
1247 !LI->isVolatile() && isa<ConstantInt>(LHSI->getOperand(1))) {
1429 if (RHSV == 0 && isa<ConstantInt>(BO->getOperand(1)) &&BO->hasOneUse()){
1777 if (!isa<IntegerType>(OrigAddV->getType())) return 0;
2021 if (!isa<Constant>(Op0) && Op0Min == Op0Max)
2024 if (!isa<Constant>(Op1) && Op1Min == Op1Max)
2171 assert(!isa<ConstantInt>(Op1) && "ICMP_SGE with ConstantInt not folded!");
2178 assert(!isa<ConstantInt>(Op1) && "ICMP_SLE with ConstantInt not folded!");
2185 assert(!isa<ConstantInt>(Op1) && "ICMP_UGE with ConstantInt not folded!");
2192 assert(!isa<ConstantInt>(Op1) && "ICMP_ULE with ConstantInt not folded!");
2315 (isa<Constant>(Op1) || isa<BitCastInst>(Op1))) {
2338 if (isa<CastInst>(Op0)) {
2345 if (isa<Constant>(Op1) || isa<CastInst>(Op1))
2356 if (BO0 && isa<OverflowingBinaryOperator>(BO0))
2360 if (BO1 && isa<OverflowingBinaryOperator>(BO1))
2641 if (Pow2.isPowerOf2() && isa<IntegerType>(A->getType()) &&
2696 if (!isa<ConstantFP>(RHSC)) return 0;
2710 bool LHSUnsigned = isa<UIToFPInst>(LHSI);