reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/PowerPC/PPCMIPeephole.cpp
 1121         !isSupportedCmpOp(CMPI2->getOpcode()) ||
 1122         is64bitCmpOp(CMPI1->getOpcode()) != is64bitCmpOp(CMPI2->getOpcode()))
 1130     if (CMPI1->getOpcode() != CMPI2->getOpcode()) {
 1146       if (isEqOrNe(BI2) && !CmpAgainstImmWithSignBit(CMPI2) &&
 1147           CMPI1->getOpcode() == getSignedCmpOpCode(CMPI2->getOpcode()))
 1150                getSignedCmpOpCode(CMPI1->getOpcode()) == CMPI2->getOpcode())
 1151         NewOpCode = CMPI2->getOpcode();
 1155     if (CMPI1->getOperand(2).isReg() && CMPI2->getOperand(2).isReg()) {
 1162       unsigned Cmp2Operand1 = getSrcVReg(CMPI2->getOperand(1).getReg(),
 1164       unsigned Cmp2Operand2 = getSrcVReg(CMPI2->getOperand(2).getReg(),
 1181     else if (CMPI1->getOperand(2).isImm() && CMPI2->getOperand(2).isImm()) {
 1186       unsigned Cmp2Operand1 = getSrcVReg(CMPI2->getOperand(1).getReg(),
 1192       NewImm2 = Imm2 = (int16_t)CMPI2->getOperand(2).getImm();
 1203         unsigned PredToInc2 = getPredicateToIncImm(BI2, CMPI2);
 1204         unsigned PredToDec2 = getPredicateToDecImm(BI2, CMPI2);
 1251     LLVM_DEBUG(CMPI2->dump());
 1272         Register Op1 = CMPI2->getOperand(1).getReg();
 1273         Register Op2 = CMPI2->getOperand(2).getReg();
 1274         CMPI2->getOperand(1).setReg(Op2);
 1275         CMPI2->getOperand(2).setReg(Op1);
 1278         CMPI2->getOperand(2).setImm(NewImm2);
 1281         if (CMPI2->getOperand(I).isReg()) {
 1282           MachineInstr *Inst = MRI->getVRegDef(CMPI2->getOperand(I).getReg());
 1289           CMPI2->getOperand(I).setReg(SrcReg);
 1293       MBBtoMoveCmp->splice(I, &MBB2, MachineBasicBlock::iterator(CMPI2));
 1295       DebugLoc DL = CMPI2->getDebugLoc();
 1306       CMPI2->eraseFromParent();
 1319       LLVM_DEBUG(CMPI2->dump());