Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4271 EVT LegalSVT = SVT; in FoldConstantArithmetic() local
4272 if (NewNodesMustHaveLegalTypes && LegalSVT.isInteger()) { in FoldConstantArithmetic()
4273 LegalSVT = TLI->getTypeToTransformTo(*getContext(), LegalSVT); in FoldConstantArithmetic()
4274 if (LegalSVT.bitsLT(SVT)) in FoldConstantArithmetic()
4294 if (LegalSVT != SVT) in FoldConstantArithmetic()
4295 ScalarResult = getNode(ISD::SIGN_EXTEND, DL, LegalSVT, ScalarResult); in FoldConstantArithmetic()
4358 EVT LegalSVT = VT.getScalarType(); in FoldConstantVectorArithmetic() local
4359 if (NewNodesMustHaveLegalTypes && LegalSVT.isInteger()) { in FoldConstantVectorArithmetic()
4360 LegalSVT = TLI->getTypeToTransformTo(*getContext(), LegalSVT); in FoldConstantVectorArithmetic()
4361 if (LegalSVT.bitsLT(VT.getScalarType())) in FoldConstantVectorArithmetic()
[all …]
/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()