Lines Matching defs:OpN
251 static bool getUsedBits(unsigned Opc, unsigned OpN, BitVector &Bits,
644 // uses in a register in operand OpN. This only calculates the set of used
651 bool HexagonBitSimplify::getUsedBits(unsigned Opc, unsigned OpN,
657 if (OpN == D.getNumOperands()-1)
669 if (OpN == 1) {
682 if (OpN == 1) {
690 if (OpN == 1) {
700 if (OpN == 1) {
755 if (OpN == 1 || OpN == 2) {
808 if (OpN == 1) {
812 if (OpN == 2) {
860 if (OpN == 1) {
864 if (OpN == 2) {
912 if (OpN == 1 || OpN == 2) {
1088 bool isLossyShiftLeft(const MachineInstr &MI, unsigned OpN,
1090 bool isLossyShiftRight(const MachineInstr &MI, unsigned OpN,
1093 bool computeUsedBits(const MachineInstr &MI, unsigned OpN, BitVector &Bits,
1106 // shifted is the operand OpN of MI. If true, [LostB, LostE) is the range
1109 unsigned OpN, unsigned &LostB, unsigned &LostE) {
1153 if (RegN != OpN)
1166 // shifted is the operand OpN of MI. If true, [LostB, LostE) is the range
1169 unsigned OpN, unsigned &LostB, unsigned &LostE) {
1218 if (RegN != OpN)
1264 // Calculate the bits used by instruction MI in a register in operand OpN.
1272 // of the register used in operand OpN. For example, in instruction:
1279 unsigned OpN, BitVector &Bits, uint16_t Begin) {
1282 bool GotBits = HBS::getUsedBits(Opc, OpN, T, Begin, HII);
1287 if (isLossyShiftLeft(MI, OpN, LB, LE) || isLossyShiftRight(MI, OpN, LB, LE)) {
1288 assert(MI.getOperand(OpN).isReg());
1289 BitTracker::RegisterRef RR = MI.getOperand(OpN);