Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:isa

201 	      (!Op0 || (isa<BinaryOperator>(Op0) && Op0->hasNoSignedWrap()))) {
282 isa<Constant>(Op0->getOperand(1)) &&
283 isa<Constant>(Op1->getOperand(1)) &&
526 bool ConstIsRHS = isa<Constant>(I.getOperand(1));
561 if (isa<Constant>(TV) || isa<Constant>(FV)) {
620 if (isa<Constant>(InVal) && !isa<ConstantExpr>(InVal))
623 if (isa<PHINode>(InVal)) return 0; // Itself a phi.
685 else if (isa<ICmpInst>(CI))
824 if (!isa<Constant>(*I) || !cast<Constant>(*I)->isNullValue()) {
895 } else if (isa<Constant>(*GEP.idx_begin()) &&
995 isa<ConstantInt>(Inst->getOperand(1))) {
1002 isa<ConstantInt>(Inst->getOperand(1))) {
1043 !isa<BitCastInst>(BCI->getOperand(0)) && GEP.hasAllConstantIndices() &&
1056 if (isa<AllocaInst>(BCI->getOperand(0)) ||
1108 if (ICI->isEquality() && isa<ConstantPointerNull>(ICI->getOperand(1))) {
1151 } else if (isa<BitCastInst>(I) || isa<GetElementPtrInst>(I)) {
1167 if (isa<UndefValue>(Op)) {
1176 if (isa<ConstantPointerNull>(Op))
1190 !isa<Constant>(X)) {
1244 assert(isa<ConstantInt>(NewCaseVal) &&
1263 if (isa<UndefValue>(C))
1266 if (isa<ConstantAggregateZero>(C))
1269 if (isa<ConstantArray>(C) || isa<ConstantStruct>(C)) {
1522 if (isa<ConstantAggregateZero>(FilterClause)) {
1606 if (!isa<ArrayType>(NewClauses[j]->getType()))
1670 if (isa<ConstantAggregateZero>(LFilter)) { // LFilter only contains zeros.
1673 if (isa<ConstantAggregateZero>(Filter)) {
1683 if (isa<ConstantAggregateZero>(Filter)) { // Filter only contains zeros.
1764 if (isa<PHINode>(I) || isa<LandingPadInst>(I) || I->mayHaveSideEffects() ||
1765 isa<TerminatorInst>(I))
1769 if (isa<AllocaInst>(I) && I->getParent() ==
1827 if (!Inst->use_empty() && isa<Constant>(Inst->getOperand(0)))
1864 if (BI->isConditional() && isa<ConstantInt>(BI->getCondition())) {
1929 if (isa<LandingPadInst>(Inst)) {
1933 if (!isa<DbgInfoIntrinsic>(Inst)) {
1956 if (!I->use_empty() && isa<Constant>(I->getOperand(0)))
2031 if (!isa<PHINode>(Result)) // If combining a PHI, don't insert
2032 while (isa<PHINode>(InsertPos)) // middle of a block of PHIs.