Lines Matching refs:Opc
179 static bool getUsedBitsInStore(unsigned Opc, BitVector &Bits,
181 static bool getUsedBits(unsigned Opc, unsigned OpN, BitVector &Bits,
428 bool HexagonBitSimplify::getUsedBitsInStore(unsigned Opc, BitVector &Bits, in getUsedBitsInStore() argument
432 switch (Opc) { in getUsedBitsInStore()
588 bool HexagonBitSimplify::getUsedBits(unsigned Opc, unsigned OpN, in getUsedBits() argument
592 const MCInstrDesc &D = HII.get(Opc); in getUsedBits()
595 return getUsedBitsInStore(Opc, Bits, Begin); in getUsedBits()
599 switch (Opc) { in getUsedBits()
957 unsigned Opc = MI->getOpcode(); in runOnNode() local
960 if (Opc == TargetOpcode::LIFETIME_START || in runOnNode()
961 Opc == TargetOpcode::LIFETIME_END) in runOnNode()
1036 unsigned Opc = MI.getOpcode(); in isLossyShiftLeft() local
1038 switch (Opc) { in isLossyShiftLeft()
1096 unsigned Opc = MI.getOpcode(); in isLossyShiftRight() local
1098 switch (Opc) { in isLossyShiftRight()
1206 unsigned Opc = MI.getOpcode(); in computeUsedBits() local
1208 bool GotBits = HBS::getUsedBits(Opc, OpN, T, Begin, HII); in computeUsedBits()
1357 unsigned Opc = MI->getOpcode(); in isTfrConst() local
1358 switch (Opc) { in isTfrConst()
1393 unsigned Opc = isInt<8>(Lo) ? Hexagon::A2_combineii in genTfrConst() local
1395 BuildMI(B, At, DL, HII.get(Opc), Reg) in genTfrConst()
1407 unsigned Opc; in genTfrConst() local
1409 Opc = Hexagon::TFR_PdFalse; in genTfrConst()
1411 Opc = Hexagon::TFR_PdTrue; in genTfrConst()
1414 BuildMI(B, At, DL, HII.get(Opc), Reg); in genTfrConst()
1484 static bool isCopyReg(unsigned Opc);
1552 unsigned Opc = I->getOpcode(); in processBlock() local
1553 if (CopyPropagation::isCopyReg(Opc)) in processBlock()
1574 bool CopyPropagation::isCopyReg(unsigned Opc) { in isCopyReg() argument
1575 switch (Opc) { in isCopyReg()
1593 unsigned Opc = MI.getOpcode(); in propagateRegCopy() local
1597 switch (Opc) { in propagateRegCopy()
1630 unsigned SrcX = (Opc == Hexagon::A4_combineir) ? 2 : 1; in propagateRegCopy()
1631 unsigned Sub = (Opc == Hexagon::A4_combineir) ? Hexagon::subreg_loreg in propagateRegCopy()
1649 unsigned Opc = I->getOpcode(); in processBlock() local
1650 if (!CopyPropagation::isCopyReg(Opc)) in processBlock()
1822 unsigned Opc = MI->getOpcode(); in genStoreUpperHalf() local
1823 if (Opc != Hexagon::S2_storerh_io) in genStoreUpperHalf()
1846 unsigned Opc = MI->getOpcode(); in genStoreImmediate() local
1848 switch (Opc) { in genStoreImmediate()
1881 switch (Opc) { in genStoreImmediate()
1896 switch (Opc) { in genStoreImmediate()
1918 unsigned Opc = MI->getOpcode(); in genPackhl() local
1919 if (Opc == Hexagon::S2_packhl) in genPackhl()
1946 unsigned Opc = MI->getOpcode(); in genExtractHalf() local
1953 if (L.Low && Opc != Hexagon::A2_zxth) { in genExtractHalf()
1957 } else if (!L.Low && Opc != Hexagon::S2_extractu) { in genExtractHalf()
1984 unsigned Opc = MI->getOpcode(); in genCombineHalf() local
1986 if (COpc == Opc) in genCombineHalf()
2005 unsigned Opc = MI->getOpcode(); in genExtractLow() local
2006 switch (Opc) { in genExtractLow()
2012 if (Opc == Hexagon::A2_andir && MI->getOperand(2).isImm()) { in genExtractLow()
2068 unsigned Opc = MI->getOpcode(); in simplifyTstbit() local
2069 if (Opc != Hexagon::S2_tstbit_i) in simplifyTstbit()
2131 unsigned Opc = MI->getOpcode(); in processBlock() local
2132 if (Opc == TargetOpcode::COPY || Opc == TargetOpcode::REG_SEQUENCE) in processBlock()
2391 unsigned Opc = MI->getOpcode(); in isBitShuffle() local
2392 switch (Opc) { in isBitShuffle()
2690 unsigned Opc = DefPredR->getOpcode(); in processLoop() local
2691 if (Opc != Hexagon::A2_tfrsi && Opc != Hexagon::A2_tfrpi) in processLoop()