Lines Matching refs:Opc

221     static bool getUsedBitsInStore(unsigned Opc, BitVector &Bits,
223 static bool getUsedBits(unsigned Opc, unsigned OpN, BitVector &Bits,
465 bool HexagonBitSimplify::getUsedBitsInStore(unsigned Opc, BitVector &Bits, in getUsedBitsInStore() argument
469 switch (Opc) { in getUsedBitsInStore()
624 bool HexagonBitSimplify::getUsedBits(unsigned Opc, unsigned OpN, in getUsedBits() argument
628 const MCInstrDesc &D = HII.get(Opc); in getUsedBits()
631 return getUsedBitsInStore(Opc, Bits, Begin); in getUsedBits()
635 switch (Opc) { in getUsedBits()
1004 unsigned Opc = MI->getOpcode(); in runOnNode() local
1007 if (Opc == TargetOpcode::LIFETIME_START || in runOnNode()
1008 Opc == TargetOpcode::LIFETIME_END) in runOnNode()
1086 unsigned Opc = MI.getOpcode(); in isLossyShiftLeft() local
1088 switch (Opc) { in isLossyShiftLeft()
1146 unsigned Opc = MI.getOpcode(); in isLossyShiftRight() local
1148 switch (Opc) { in isLossyShiftRight()
1254 unsigned Opc = MI.getOpcode(); in computeUsedBits() local
1256 bool GotBits = HBS::getUsedBits(Opc, OpN, T, Begin, HII); in computeUsedBits()
1397 unsigned Opc = MI.getOpcode(); in isTfrConst() local
1398 switch (Opc) { in isTfrConst()
1432 unsigned Opc = isInt<8>(Lo) ? Hexagon::A2_combineii in genTfrConst() local
1434 BuildMI(B, At, DL, HII.get(Opc), Reg) in genTfrConst()
1446 unsigned Opc; in genTfrConst() local
1448 Opc = Hexagon::PS_false; in genTfrConst()
1450 Opc = Hexagon::PS_true; in genTfrConst()
1453 BuildMI(B, At, DL, HII.get(Opc), Reg); in genTfrConst()
1526 static bool isCopyReg(unsigned Opc, bool NoConv);
1600 unsigned Opc = I->getOpcode(); in processBlock() local
1601 if (CopyPropagation::isCopyReg(Opc, false) || in processBlock()
1649 bool CopyPropagation::isCopyReg(unsigned Opc, bool NoConv) { in isCopyReg() argument
1650 switch (Opc) { in isCopyReg()
1669 unsigned Opc = MI.getOpcode(); in propagateRegCopy() local
1673 switch (Opc) { in propagateRegCopy()
1709 unsigned SrcX = (Opc == Hexagon::A4_combineir) ? 2 : 1; in propagateRegCopy()
1710 unsigned Sub = (Opc == Hexagon::A4_combineir) ? Hexagon::isub_lo in propagateRegCopy()
1727 unsigned Opc = I->getOpcode(); in processBlock() local
1728 if (!CopyPropagation::isCopyReg(Opc, true)) in processBlock()
1758 bool validateReg(BitTracker::RegisterRef R, unsigned Opc, unsigned OpNum);
1877 bool BitSimplification::validateReg(BitTracker::RegisterRef R, unsigned Opc, in validateReg() argument
1879 auto *OpRC = HII.getRegClass(HII.get(Opc), OpNum, &HRI, MF); in validateReg()
1918 unsigned Opc = MI->getOpcode(); in genStoreUpperHalf() local
1919 if (Opc != Hexagon::S2_storerh_io) in genStoreUpperHalf()
1941 unsigned Opc = MI->getOpcode(); in genStoreImmediate() local
1943 switch (Opc) { in genStoreImmediate()
1978 switch (Opc) { in genStoreImmediate()
1997 switch (Opc) { in genStoreImmediate()
2018 unsigned Opc = MI->getOpcode(); in genPackhl() local
2019 if (Opc == Hexagon::S2_packhl) in genPackhl()
2050 unsigned Opc = MI->getOpcode(); in genExtractHalf() local
2059 if (L.Low && Opc != Hexagon::A2_zxth) { in genExtractHalf()
2065 } else if (!L.Low && Opc != Hexagon::S2_lsr_i_r) { in genExtractHalf()
2092 unsigned Opc = MI->getOpcode(); in genCombineHalf() local
2094 if (COpc == Opc) in genCombineHalf()
2116 unsigned Opc = MI->getOpcode(); in genExtractLow() local
2117 switch (Opc) { in genExtractLow()
2123 if (Opc == Hexagon::A2_andir && MI->getOperand(2).isImm()) { in genExtractLow()
2184 unsigned Opc = MI->getOpcode(); in genBitSplit() local
2185 switch (Opc) { in genBitSplit()
2329 unsigned Opc = MI->getOpcode(); in simplifyTstbit() local
2330 if (Opc != Hexagon::S2_tstbit_i) in simplifyTstbit()
2581 unsigned Opc = MI->getOpcode(); in simplifyRCmp0() local
2582 if (Opc != Hexagon::A4_rcmpeqi && Opc != Hexagon::A4_rcmpneqi) in simplifyRCmp0()
2658 return ReplaceWithConst(KnownZ == (Opc == Hexagon::A4_rcmpeqi)); in simplifyRCmp0()
2672 return ReplaceWithConst(Opc == Hexagon::A4_rcmpneqi); in simplifyRCmp0()
2676 return ReplaceWithConst(Opc == Hexagon::A4_rcmpeqi); in simplifyRCmp0()
2685 .addImm(KnownZ1 == (Opc == Hexagon::A4_rcmpeqi)) in simplifyRCmp0()
2686 .addImm(KnownZ2 == (Opc == Hexagon::A4_rcmpeqi)); in simplifyRCmp0()
2713 unsigned Opc = MI->getOpcode(); in processBlock() local
2714 if (Opc == TargetOpcode::COPY || Opc == TargetOpcode::REG_SEQUENCE) in processBlock()
2984 unsigned Opc = MI->getOpcode(); in isBitShuffle() local
2985 switch (Opc) { in isBitShuffle()
3279 unsigned Opc = DefPrehR->getOpcode(); in processLoop() local
3280 if (Opc != Hexagon::A2_tfrsi && Opc != Hexagon::A2_tfrpi) in processLoop()