Home | History | Annotate | Download | only in Scalar

Lines Matching refs:getOpcode

64   dbgs() << Instruction::getOpcodeName(I->getOpcode()) << " "
132 if (I->getOpcode() == Instruction::PHI ||
133 I->getOpcode() == Instruction::Alloca ||
134 I->getOpcode() == Instruction::Load ||
135 I->getOpcode() == Instruction::Invoke ||
136 (I->getOpcode() == Instruction::Call &&
138 I->getOpcode() == Instruction::UDiv ||
139 I->getOpcode() == Instruction::SDiv ||
140 I->getOpcode() == Instruction::FDiv ||
141 I->getOpcode() == Instruction::URem ||
142 I->getOpcode() == Instruction::SRem ||
143 I->getOpcode() == Instruction::FRem)
205 cast<Instruction>(V)->getOpcode() == Opcode)
232 assert(isReassociableOp(LHS, I->getOpcode()) &&
233 isReassociableOp(RHS, I->getOpcode()) &&
258 if (isReassociableOp(I->getOperand(1), I->getOpcode()))
275 unsigned Opcode = I->getOpcode();
283 if (I->getOpcode() == Instruction::Mul) {
386 assert(LHS->getOpcode() == I->getOpcode() &&
416 if (I->getOpcode() == Instruction::Add && I->hasOneUse()) {
636 BO->getOpcode() != Instruction::Mul) {
794 if (BOp == 0 || BOp->getOpcode() != Instruction::Mul || !BOp->use_empty())
840 if (BOp == 0 || BOp->getOpcode() != Instruction::Mul || !BOp->use_empty())
898 unsigned Opcode = I->getOpcode();
973 if (BI->getOpcode() == Instruction::Shl &&
996 if (BI->getOpcode() == Instruction::Sub) {
1022 if (I->hasOneUse() && isReassociableOp(I->use_back(), I->getOpcode()))
1027 if (I->hasOneUse() && I->getOpcode() == Instruction::Add &&
1028 cast<Instruction>(I->use_back())->getOpcode() == Instruction::Sub)
1069 if (I->getOpcode() == Instruction::Mul && I->hasOneUse() &&
1070 cast<Instruction>(I->use_back())->getOpcode() == Instruction::Add &&