Home
last modified time | relevance | path

Searched refs:isOperationLegal (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp718 if (!TLI.isOperationLegal(ISD::ANY_EXTEND, PVT)) in PromoteOperand()
724 if (!TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, PVT)) in SExtPromoteOperand()
1472 !TLI.isOperationLegal(ISD::SIGN_EXTEND, MVT::i1)) { in visitADD()
1550 if (!LegalOperations || TLI.isOperationLegal(ISD::BUILD_VECTOR, VT)) { in tryFoldToZero()
2001 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitMULHS()
2037 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitMULHU()
2060 TLI.isOperationLegal(LoOp, N->getValueType(0)))) { in SimplifyNodeWithTwoResults()
2070 TLI.isOperationLegal(HiOp, N->getValueType(1)))) { in SimplifyNodeWithTwoResults()
2088 TLI.isOperationLegal(LoOpt.getOpcode(), LoOpt.getValueType()))) in SimplifyNodeWithTwoResults()
2099 TLI.isOperationLegal(HiOpt.getOpcode(), HiOpt.getValueType()))) in SimplifyNodeWithTwoResults()
[all …]
DTargetLowering.cpp2111 (isOperationLegal(ISD::SETCC, newVT) && in SimplifySetCC()
DLegalizeIntegerTypes.cpp359 !TLI.isOperationLegal(ISD::FP_TO_UINT, NVT) && in PromoteIntRes_FP_TO_XINT()
DSelectionDAGBuilder.cpp2265 if (!TLI.isOperationLegal(ISD::SHL, TLI.getPointerTy())) in handleBitTestsSwitchCase()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp988 if (!TLI.isOperationLegal(ISD::ANY_EXTEND, PVT)) in PromoteOperand()
994 if (!TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, PVT)) in SExtPromoteOperand()
1726 if ((!LegalOperations || TLI.isOperationLegal(ISD::OR, VT)) && in visitADD()
1760 !TLI.isOperationLegal(ISD::SIGN_EXTEND, MVT::i1)) { in visitADD()
1847 if (!LegalOperations || TLI.isOperationLegal(ISD::BUILD_VECTOR, VT)) in tryFoldToZero()
2494 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitMULHS()
2530 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitMULHU()
2562 TLI.isOperationLegal(HiOp, N->getValueType(1)))) { in SimplifyNodeWithTwoResults()
2578 TLI.isOperationLegal(LoOpt.getOpcode(), LoOpt.getValueType()))) in SimplifyNodeWithTwoResults()
2588 TLI.isOperationLegal(HiOpt.getOpcode(), HiOpt.getValueType()))) in SimplifyNodeWithTwoResults()
[all …]
DTargetLowering.cpp1606 (isOperationLegal(ISD::SETCC, newVT) && in SimplifySetCC()
2853 if (IsAfterLegalization ? isOperationLegal(ISD::MULHS, VT) : in BuildSDIV()
2857 else if (IsAfterLegalization ? isOperationLegal(ISD::SMUL_LOHI, VT) : in BuildSDIV()
2931 if (IsAfterLegalization ? isOperationLegal(ISD::MULHU, VT) : in BuildUDIV()
2934 else if (IsAfterLegalization ? isOperationLegal(ISD::UMUL_LOHI, VT) : in BuildUDIV()
DLegalizeIntegerTypes.cpp426 !TLI.isOperationLegal(ISD::FP_TO_UINT, NVT) && in PromoteIntRes_FP_TO_XINT()
DSelectionDAGBuilder.cpp8585 if (!TLI.isOperationLegal(ISD::SHL, PTy)) in findBitTestClusters()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetLowering.h388 bool isOperationLegal(unsigned Op, EVT VT) const { in isOperationLegal() function
/external/llvm/include/llvm/Target/
DTargetLowering.h649 bool isOperationLegal(unsigned Op, EVT VT) const { in isOperationLegal() function
/external/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp2009 if (!isOperationLegal(ISD::BUILD_VECTOR, VT)) in PerformDAGCombine()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp5663 if (isAfterLegalize && !TLI.isOperationLegal(ISD::LOAD, VT)) in EltsFromConsecutiveLoads()
14832 if (TLI.isOperationLegal(WideVal.getOpcode(), WideVT)) { in EmitTest()
26087 TLI.isOperationLegal(Opcode, VT)) { in combineShuffle()
26376 if (TLI.isOperationLegal(ISD::SRA, MVT::i64)) { in combineExtractVectorElt()
30507 if (TLI.isOperationLegal(ISD::UINT_TO_FP, DstVT)) in combineUIntToFP()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp4298 if (isOperationLegal(ISD::SCALAR_TO_VECTOR, VT) && isScalarToVector(Op)) in lowerBUILD_VECTOR()