Lines Matching refs:isOperationLegalOrCustom
611 !TLI.isOperationLegalOrCustom(ISD::FSUB, Op.getValueType())) in isNegatibleForFree()
2171 if (!TLI.isOperationLegalOrCustom(DivRemOpc, VT) && in useDivRem()
2179 if (TLI.isOperationLegalOrCustom(Opcode, VT)) in useDivRem()
2183 if (TLI.isOperationLegalOrCustom(OtherOpcode, VT)) in useDivRem()
2553 TLI.isOperationLegalOrCustom(LoOp, N->getValueType(0)))) { in SimplifyNodeWithTwoResults()
3602 if (TLI.isOperationLegalOrCustom(ISD::ROTL, VT)) in MatchBSwapHWord()
3604 if (TLI.isOperationLegalOrCustom(ISD::ROTR, VT)) in MatchBSwapHWord()
4008 bool HasPos = TLI.isOperationLegalOrCustom(PosOpcode, VT); in MatchRotatePosNeg()
4025 bool HasROTL = TLI.isOperationLegalOrCustom(ISD::ROTL, VT); in MatchRotate()
4026 bool HasROTR = TLI.isOperationLegalOrCustom(ISD::ROTR, VT); in MatchRotate()
4270 if (TLI.isOperationLegalOrCustom(ISD::ROTL, VT) && N0.getOpcode() == ISD::SHL in visitXOR()
4695 TLI.isOperationLegalOrCustom(ISD::SIGN_EXTEND, TruncVT) && in visitSRA()
4696 TLI.isOperationLegalOrCustom(ISD::TRUNCATE, VT) && in visitSRA()
5243 TLI.isOperationLegalOrCustom(ISD::SELECT_CC, VT)) || in visitSELECT()
7155 (!LegalOperations || TLI.isOperationLegalOrCustom(ISD::SHL, VT)) && in visitTRUNCATE()
7777 (!LegalOperations || TLI.isOperationLegalOrCustom(ISD::FMA, VT)); in visitFADDForFMACombine()
7965 (!LegalOperations || TLI.isOperationLegalOrCustom(ISD::FMA, VT)); in visitFSUBForFMACombine()
8235 (!LegalOperations || TLI.isOperationLegalOrCustom(ISD::FMA, VT)); in visitFMULForFMACombine()
8322 if ((!LegalOperations || TLI.isOperationLegalOrCustom(ISD::FSUB, VT)) && in visitFADD()
8328 if ((!LegalOperations || TLI.isOperationLegalOrCustom(ISD::FSUB, VT)) && in visitFADD()
8363 if (TLI.isOperationLegalOrCustom(ISD::FMUL, VT) && !N0CFP && !N1CFP) { in visitFADD()
8988 TLI.isOperationLegalOrCustom(llvm::ISD::ConstantFP, VT))) in visitSINT_TO_FP()
8993 if (!TLI.isOperationLegalOrCustom(ISD::SINT_TO_FP, OpVT) && in visitSINT_TO_FP()
8994 TLI.isOperationLegalOrCustom(ISD::UINT_TO_FP, OpVT)) { in visitSINT_TO_FP()
9001 if (TLI.isOperationLegalOrCustom(ISD::SELECT_CC, VT) || !LegalOperations) { in visitSINT_TO_FP()
9006 TLI.isOperationLegalOrCustom(llvm::ISD::ConstantFP, VT))) { in visitSINT_TO_FP()
9020 TLI.isOperationLegalOrCustom(llvm::ISD::ConstantFP, VT))) { in visitSINT_TO_FP()
9042 TLI.isOperationLegalOrCustom(llvm::ISD::ConstantFP, VT))) in visitUINT_TO_FP()
9047 if (!TLI.isOperationLegalOrCustom(ISD::UINT_TO_FP, OpVT) && in visitUINT_TO_FP()
9048 TLI.isOperationLegalOrCustom(ISD::SINT_TO_FP, OpVT)) { in visitUINT_TO_FP()
9055 if (TLI.isOperationLegalOrCustom(ISD::SELECT_CC, VT) || !LegalOperations) { in visitUINT_TO_FP()
9060 TLI.isOperationLegalOrCustom(llvm::ISD::ConstantFP, VT))) { in visitUINT_TO_FP()
9450 TLI.isOperationLegalOrCustom(ISD::BR_CC, in visitBRCOND()
10920 !TLI.isOperationLegalOrCustom(Opc, NewVT) || in ReduceLoadOpStoreWidth()
11958 TLI.isOperationLegalOrCustom(ISD::STORE, MVT::i32)) { in replaceStoreOfFPConstant()
11970 TLI.isOperationLegalOrCustom(ISD::STORE, MVT::i64)) { in replaceStoreOfFPConstant()
11979 TLI.isOperationLegalOrCustom(ISD::STORE, MVT::i32)) { in replaceStoreOfFPConstant()
12025 TLI.isOperationLegalOrCustom(ISD::STORE, SVT)) && in visitSTORE()
12265 if (NewAlign > Align || !TLI.isOperationLegalOrCustom(ISD::LOAD, VecEltVT)) in ReplaceExtractVectorEltOfLoadWithNarrowedLoad()
12700 if (!TLI.isOperationLegalOrCustom(Opcode, NVT)) in reduceBuildVecConvertToConvertBuildVec()
14082 !TLI.isOperationLegalOrCustom(TheSelect->getOpcode(), in SimplifySelectOps()