Lines Matching refs:OpN
181 static bool getUsedBits(unsigned Opc, unsigned OpN, BitVector &Bits,
581 // uses in a register in operand OpN. This only calculates the set of used
588 bool HexagonBitSimplify::getUsedBits(unsigned Opc, unsigned OpN,
594 if (OpN == D.getNumOperands()-1)
606 if (OpN == 1) {
619 if (OpN == 1) {
627 if (OpN == 1) {
637 if (OpN == 1) {
692 if (OpN == 1 || OpN == 2) {
745 if (OpN == 1) {
749 if (OpN == 2) {
797 if (OpN == 1) {
801 if (OpN == 2) {
849 if (OpN == 1 || OpN == 2) {
1014 bool isLossyShiftLeft(const MachineInstr &MI, unsigned OpN,
1016 bool isLossyShiftRight(const MachineInstr &MI, unsigned OpN,
1019 bool computeUsedBits(const MachineInstr &MI, unsigned OpN, BitVector &Bits,
1031 // shifted is the operand OpN of MI. If true, [LostB, LostE) is the range
1034 unsigned OpN, unsigned &LostB, unsigned &LostE) {
1077 if (RegN != OpN)
1091 // shifted is the operand OpN of MI. If true, [LostB, LostE) is the range
1094 unsigned OpN, unsigned &LostB, unsigned &LostE) {
1142 if (RegN != OpN)
1190 // Calculate the bits used by instruction MI in a register in operand OpN.
1198 // of the register used in operand OpN. For example, in instruction:
1205 unsigned OpN, BitVector &Bits, uint16_t Begin) {
1208 bool GotBits = HBS::getUsedBits(Opc, OpN, T, Begin, HII);
1213 if (isLossyShiftLeft(MI, OpN, LB, LE) || isLossyShiftRight(MI, OpN, LB, LE)) {
1214 assert(MI.getOperand(OpN).isReg());
1215 BitTracker::RegisterRef RR = MI.getOperand(OpN);