• Home
  • Raw
  • Download

Lines Matching refs:isOperationLegal

861   if (!TLI.isOperationLegal(ISD::ANY_EXTEND, PVT))  in PromoteOperand()
867 if (!TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, PVT)) in SExtPromoteOperand()
1591 if (!LegalOperations || TLI.isOperationLegal(ISD::OR, VT)) in visitADD()
1644 !TLI.isOperationLegal(ISD::SIGN_EXTEND, MVT::i1)) { in visitADD()
1720 if (!LegalOperations || TLI.isOperationLegal(ISD::BUILD_VECTOR, VT)) in tryFoldToZero()
2240 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitMULHS()
2276 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitMULHU()
2309 TLI.isOperationLegal(HiOp, N->getValueType(1)))) { in SimplifyNodeWithTwoResults()
2327 TLI.isOperationLegal(LoOpt.getOpcode(), LoOpt.getValueType()))) in SimplifyNodeWithTwoResults()
2338 TLI.isOperationLegal(HiOpt.getOpcode(), HiOpt.getValueType()))) in SimplifyNodeWithTwoResults()
2358 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitSMUL_LOHI()
2388 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitUMUL_LOHI()
2469 (!LegalOperations || TLI.isOperationLegal(N->getOpcode(), Op0VT))) { in SimplifyBinOpWithSameOpcodeHands()
2813 TLI.isOperationLegal(ISD::SETCC, in visitAND()
2989 if (!TLI.isOperationLegal(ISD::BSWAP, VT)) in MatchBSwapHWordLow()
3165 if (!TLI.isOperationLegal(ISD::BSWAP, VT)) in MatchBSwapHWord()
3393 TLI.isOperationLegal(ISD::SETCC, in visitOR()
4153 TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, ExtVT))) in visitSRA()
4585 TLI.isOperationLegal(ISD::SELECT_CC, VT)) in visitSELECT()
4992 if (!LegalOperations || TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, in visitSIGN_EXTEND()
5059 (!LegalOperations && TLI.isOperationLegal(N0.getOpcode(), VT))) { in visitSIGN_EXTEND()
5134 if (!LegalOperations || TLI.isOperationLegal(ISD::SETCC, SetCCVT)) { in visitSIGN_EXTEND()
5150 if ((!LegalOperations || TLI.isOperationLegal(ISD::ZERO_EXTEND, VT)) && in visitSIGN_EXTEND()
5250 (!LegalOperations || TLI.isOperationLegal(ISD::AND, VT))) { in visitZERO_EXTEND()
5333 (!LegalOperations && TLI.isOperationLegal(N0.getOpcode(), VT))) { in visitZERO_EXTEND()
5856 (!LegalOperations || TLI.isOperationLegal(ISD::SIGN_EXTEND, VT))) in visitSIGN_EXTEND_INREG()
6170 (!LegalOperations || TLI.isOperationLegal(ISD::LOAD, VT))) in CombineConsecutiveLoads()
6204 TLI.isOperationLegal(Res.getNode()->getOpcode(), VT)) in visitBITCAST()
6229 (!LegalOperations || TLI.isOperationLegal(ISD::LOAD, VT)) && in visitBITCAST()
6699 if (!LegalOperations || TLI.isOperationLegal(ISD::FNEG, VT)) in visitFSUB()
6800 if (!LegalOperations || TLI.isOperationLegal(ISD::FNEG, VT)) in visitFMUL()
6879 (!LegalOperations || TLI.isOperationLegal(ISD::FNEG, VT))) { in visitFMA()
6934 TLI.isOperationLegal(llvm::ISD::ConstantFP, VT) || in visitFDIV()
6986 if (!LegalOperations || TLI.isOperationLegal(ISD::FABS, VT)) in visitFCOPYSIGN()
6989 if (!LegalOperations || TLI.isOperationLegal(ISD::FNEG, VT)) in visitFCOPYSIGN()
7272 TLI.isOperationLegal(ISD::ConstantFP, N->getValueType(0)))) in visitFNEG()
8239 if (!TLI.isOperationLegal(ISD::LOAD, SliceType)) in isLegal()
8253 if (!TLI.isOperationLegal(ISD::ADD, PtrType)) in isLegal()
8259 !TLI.isOperationLegal(ISD::ZERO_EXTEND, TruncateType)) in isLegal()
8340 if (ArgRC == ResRC || !TLI.isOperationLegal(ISD::LOAD, ResVT)) in canMergeExpensiveCrossRegisterBankCopy()
8360 if (!TLI.isOperationLegal(ISD::LOAD, ResVT)) in canMergeExpensiveCrossRegisterBankCopy()
8887 if (!TLI.isOperationLegal(ISD::LOAD, IntVT) || in TransformFPLoadStorePair()
8888 !TLI.isOperationLegal(ISD::STORE, IntVT) || in TransformFPLoadStorePair()
9721 if (LegalOperations && !TLI.isOperationLegal(ISD::BUILD_VECTOR, VT)) in visitINSERT_VECTOR_ELT()
11289 TLI.isOperationLegal(ISD::SETCC, in SimplifySelectCC()
11328 TLI.isOperationLegal(ISD::SETCC, getSetCCResultType(XType))) { in SimplifySelectCC()
11338 TLI.isOperationLegal(ISD::CTLZ, XType))) { in SimplifySelectCC()