Lines Matching refs:isOperationLegal
995 if (!TLI.isOperationLegal(ISD::ANY_EXTEND, PVT)) in PromoteOperand()
1001 if (!TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, PVT)) in SExtPromoteOperand()
1737 if ((!LegalOperations || TLI.isOperationLegal(ISD::OR, VT)) && in visitADD()
1771 !TLI.isOperationLegal(ISD::SIGN_EXTEND, MVT::i1)) { in visitADD()
1858 if (!LegalOperations || TLI.isOperationLegal(ISD::BUILD_VECTOR, VT)) in tryFoldToZero()
2501 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitMULHS()
2537 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitMULHU()
2569 TLI.isOperationLegal(HiOp, N->getValueType(1)))) { in SimplifyNodeWithTwoResults()
2585 TLI.isOperationLegal(LoOpt.getOpcode(), LoOpt.getValueType()))) in SimplifyNodeWithTwoResults()
2595 TLI.isOperationLegal(HiOpt.getOpcode(), HiOpt.getValueType()))) in SimplifyNodeWithTwoResults()
2615 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitSMUL_LOHI()
2646 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitUMUL_LOHI()
2740 (!LegalOperations || TLI.isOperationLegal(N->getOpcode(), Op0VT))) { in SimplifyBinOpWithSameOpcodeHands()
2929 TLI.isOperationLegal(ISD::SETCC, LL.getValueType())))) { in visitANDLike()
3325 if (!TLI.isOperationLegal(ISD::BSWAP, VT)) in MatchBSwapHWordLow()
3510 if (!TLI.isOperationLegal(ISD::BSWAP, VT)) in MatchBSwapHWord()
3620 TLI.isOperationLegal(ISD::SETCC, LL.getValueType())))) { in visitORLike()
4607 TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, ExtVT))) in visitSRA()
4995 if (TLI.isOperationLegal(Opcode, VT)) in combineMinNumMaxNum()
5006 if (TLI.isOperationLegal(Opcode, VT)) in combineMinNumMaxNum()
5189 TLI.isOperationLegal(ISD::SELECT_CC, VT)) in visitSELECT()
6012 if (!LegalOperations || TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, in visitSIGN_EXTEND()
6085 (!LegalOperations && TLI.isOperationLegal(N0.getOpcode(), VT))) { in visitSIGN_EXTEND()
6163 TLI.isOperationLegal(ISD::SETCC, N0.getOperand(0).getValueType())) { in visitSIGN_EXTEND()
6175 if ((!LegalOperations || TLI.isOperationLegal(ISD::ZERO_EXTEND, VT)) && in visitSIGN_EXTEND()
6290 if (!LegalOperations || (TLI.isOperationLegal(ISD::AND, SrcVT) && in visitZERO_EXTEND()
6291 TLI.isOperationLegal(ISD::ZERO_EXTEND, VT))) { in visitZERO_EXTEND()
6299 if (!LegalOperations || TLI.isOperationLegal(ISD::AND, VT)) { in visitZERO_EXTEND()
6377 (!LegalOperations && TLI.isOperationLegal(N0.getOpcode(), VT))) { in visitZERO_EXTEND()
6921 (!LegalOperations || TLI.isOperationLegal(ISD::SIGN_EXTEND, VT))) in visitSIGN_EXTEND_INREG()
7084 if ((!LegalOperations || TLI.isOperationLegal(ISD::SELECT, SrcVT)) && in visitTRUNCATE()
7239 (!LegalOperations || TLI.isOperationLegal(ISD::LOAD, VT))) in CombineConsecutiveLoads()
7281 TLI.isOperationLegal(ISD::ConstantFP, VT)) || in visitBITCAST()
7283 TLI.isOperationLegal(ISD::Constant, VT))) in visitBITCAST()
7300 (!LegalOperations || TLI.isOperationLegal(ISD::LOAD, VT)) && in visitBITCAST()
7642 bool HasFMAD = (LegalOperations && TLI.isOperationLegal(ISD::FMAD, VT)); in visitFADDForFMACombine()
7825 bool HasFMAD = (LegalOperations && TLI.isOperationLegal(ISD::FMAD, VT)); in visitFSUBForFMACombine()
8091 bool HasFMAD = (LegalOperations && TLI.isOperationLegal(ISD::FMAD, VT)); in visitFMULForFMACombine()
8342 if (!LegalOperations || TLI.isOperationLegal(ISD::FNEG, VT)) in visitFSUB()
8451 if (!LegalOperations || TLI.isOperationLegal(ISD::FNEG, VT)) in visitFMUL()
8545 (!LegalOperations || TLI.isOperationLegal(ISD::FNEG, VT))) { in visitFMA()
8671 TLI.isOperationLegal(llvm::ISD::ConstantFP, VT) || in visitFDIV()
8825 if (!LegalOperations || TLI.isOperationLegal(ISD::FABS, VT)) in visitFCOPYSIGN()
8828 if (!LegalOperations || TLI.isOperationLegal(ISD::FNEG, VT)) in visitFCOPYSIGN()
9220 TLI.isOperationLegal(ISD::ConstantFP, VT))) in visitFNEG()
10228 if (!TLI.isOperationLegal(ISD::LOAD, SliceType)) in isLegal()
10242 if (!TLI.isOperationLegal(ISD::ADD, PtrType)) in isLegal()
10248 !TLI.isOperationLegal(ISD::ZERO_EXTEND, TruncateType)) in isLegal()
10329 if (ArgRC == ResRC || !TLI.isOperationLegal(ISD::LOAD, ResVT)) in canMergeExpensiveCrossRegisterBankCopy()
10349 if (!TLI.isOperationLegal(ISD::LOAD, ResVT)) in canMergeExpensiveCrossRegisterBankCopy()
10883 if (!TLI.isOperationLegal(ISD::LOAD, IntVT) || in TransformFPLoadStorePair()
10884 !TLI.isOperationLegal(ISD::STORE, IntVT) || in TransformFPLoadStorePair()
12016 if (LegalOperations && !TLI.isOperationLegal(ISD::BUILD_VECTOR, VT)) in visitINSERT_VECTOR_ELT()
12546 if (LegalOperations && !TLI.isOperationLegal(ISD::VECTOR_SHUFFLE, VT)) in visitBUILD_VECTOR()
14155 TLI.isOperationLegal(ISD::SETCC, N0.getValueType())) { in SimplifySelectCC()