Home
last modified time | relevance | path

Searched refs:LegalSVT (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4930 EVT LegalSVT = SVT; in FoldConstantArithmetic() local
4931 if (NewNodesMustHaveLegalTypes && LegalSVT.isInteger()) { in FoldConstantArithmetic()
4932 LegalSVT = TLI->getTypeToTransformTo(*getContext(), LegalSVT); in FoldConstantArithmetic()
4933 if (LegalSVT.bitsLT(SVT)) in FoldConstantArithmetic()
4953 if (LegalSVT != SVT) in FoldConstantArithmetic()
4954 ScalarResult = getNode(ISD::SIGN_EXTEND, DL, LegalSVT, ScalarResult); in FoldConstantArithmetic()
5017 EVT LegalSVT = VT.getScalarType(); in FoldConstantVectorArithmetic() local
5018 if (NewNodesMustHaveLegalTypes && LegalSVT.isInteger()) { in FoldConstantVectorArithmetic()
5019 LegalSVT = TLI->getTypeToTransformTo(*getContext(), LegalSVT); in FoldConstantVectorArithmetic()
5020 if (LegalSVT.bitsLT(VT.getScalarType())) in FoldConstantVectorArithmetic()
[all …]
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4935 EVT LegalSVT = SVT; in FoldConstantArithmetic() local
4936 if (NewNodesMustHaveLegalTypes && LegalSVT.isInteger()) { in FoldConstantArithmetic()
4937 LegalSVT = TLI->getTypeToTransformTo(*getContext(), LegalSVT); in FoldConstantArithmetic()
4938 if (LegalSVT.bitsLT(SVT)) in FoldConstantArithmetic()
4958 if (LegalSVT != SVT) in FoldConstantArithmetic()
4959 ScalarResult = getNode(ISD::SIGN_EXTEND, DL, LegalSVT, ScalarResult); in FoldConstantArithmetic()
5029 EVT LegalSVT = VT.getScalarType(); in FoldConstantVectorArithmetic() local
5030 if (NewNodesMustHaveLegalTypes && LegalSVT.isInteger()) { in FoldConstantVectorArithmetic()
5031 LegalSVT = TLI->getTypeToTransformTo(*getContext(), LegalSVT); in FoldConstantVectorArithmetic()
5032 if (LegalSVT.bitsLT(VT.getScalarType())) in FoldConstantVectorArithmetic()
[all …]
DDAGCombiner.cpp3856 EVT LegalSVT = N1.getOperand(0).getValueType(); in visitMUL() local
3857 SDValue Zero = DAG.getConstant(0, DL, LegalSVT); in visitMUL()
3858 SDValue AllOnes = DAG.getAllOnesConstant(DL, LegalSVT); in visitMUL()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3409 EVT LegalSVT = VT.getScalarType(); in FoldConstantVectorArithmetic() local
3410 if (LegalSVT.isInteger()) { in FoldConstantVectorArithmetic()
3411 LegalSVT = TLI->getTypeToTransformTo(*getContext(), LegalSVT); in FoldConstantVectorArithmetic()
3412 if (LegalSVT.bitsLT(VT.getScalarType())) in FoldConstantVectorArithmetic()
3447 if (LegalSVT != SVT) in FoldConstantVectorArithmetic()
3448 ScalarResult = getNode(ISD::SIGN_EXTEND, DL, LegalSVT, ScalarResult); in FoldConstantVectorArithmetic()