Home
last modified time | relevance | path

Searched refs:getTypeAction (Results 1 – 25 of 53) sorted by relevance

123

/external/llvm-project/llvm/unittests/CodeGen/
DAArch64SelectionDAGTest.cpp71 TargetLoweringBase::LegalizeTypeAction getTypeAction(EVT VT) { in getTypeAction() function in llvm::AArch64SelectionDAGTest
72 return DAG->getTargetLoweringInfo().getTypeAction(Context, VT); in getTypeAction()
601 EXPECT_EQ(getTypeAction(VT), TargetLoweringBase::TypeSplitVector); in TEST_F()
610 EXPECT_EQ(getTypeAction(VT), TargetLoweringBase::TypePromoteInteger); in TEST_F()
619 EXPECT_NE(getTypeAction(VT), TargetLoweringBase::TypeScalarizeVector); in TEST_F()
628 EXPECT_EQ(getTypeAction(VT), TargetLoweringBase::TypeSplitVector); in TEST_F()
639 EXPECT_EQ(getTypeAction(FromVT), TargetLoweringBase::TypeWidenVector); in TEST_F()
648 EXPECT_DEATH(getTypeAction(FromVT), "Cannot legalize this vector"); in TEST_F()
DSelectionDAGAddressAnalysisTest.cpp79 TargetLoweringBase::LegalizeTypeAction getTypeAction(EVT VT) { in getTypeAction() function in llvm::SelectionDAGAddressAnalysisTest
80 return DAG->getTargetLoweringInfo().getTypeAction(Context, VT); in getTypeAction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp239 if (getTypeAction(ResVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_OverflowOp()
258 if (getTypeAction(OtherVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_OverflowOp()
356 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_UnaryOp()
383 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_VecInregOp()
420 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_VSELECT()
521 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_SETCC()
1029 switch (getTypeAction(InVT)) { in SplitVecRes_BITCAST()
1193 if (getTypeAction(RHSVT) == TargetLowering::TypeSplitVector) in SplitVecRes_FCOPYSIGN()
1227 if (getTypeAction(N0.getValueType()) == TargetLowering::TypeSplitVector) in SplitVecRes_ExtVecInRegOp()
1282 if (getTypeAction(InVT) == TargetLowering::TypeSplitVector) in SplitVecRes_StrictFPOp()
[all …]
DLegalizeIntegerTypes.cpp295 switch (getTypeAction(InVT)) { in PromoteIntRes_BITCAST()
492 if (TLI.getTypeAction(*DAG.getContext(), Op0.getValueType()) in PromoteIntRes_EXTRACT_VECTOR_ELT()
568 if (getTypeAction(N->getOperand(0).getValueType()) in PromoteIntRes_INT_EXTEND()
912 if (getTypeAction(SVT) == TargetLowering::TypePromoteInteger) { in PromoteIntRes_SETCC()
913 if (getTypeAction(InVT) == TargetLowering::TypePromoteInteger) { in PromoteIntRes_SETCC()
947 if (getTypeAction(RHS.getValueType()) == TargetLowering::TypePromoteInteger) in PromoteIntRes_SHL()
988 if (getTypeAction(RHS.getValueType()) == TargetLowering::TypePromoteInteger) in PromoteIntRes_SRA()
997 if (getTypeAction(RHS.getValueType()) == TargetLowering::TypePromoteInteger) in PromoteIntRes_SRL()
1008 switch (getTypeAction(InOp.getValueType())) { in PromoteIntRes_TRUNCATE()
2515 assert(getTypeAction(Op.getValueType()) == in ExpandIntRes_ANY_EXTEND()
[all …]
DLegalizeTypesGeneric.cpp48 switch (getTypeAction(InVT)) { in ExpandRes_BITCAST()
518 else if (getTypeAction(Cond.getValueType()) == in SplitRes_SELECT()
DLegalizeTypes.h62 TargetLowering::LegalizeTypeAction getTypeAction(EVT VT) const { in getTypeAction() function
63 return TLI.getTypeAction(*DAG.getContext(), VT); in getTypeAction()
68 return TLI.getTypeAction(*DAG.getContext(), VT) == TargetLowering::TypeLegal; in isTypeLegal()
DLegalizeTypes.cpp238 switch (getTypeAction(ResultVT)) { in run()
296 switch (getTypeAction(OpVT)) { in run()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp251 if (getTypeAction(ResVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_OverflowOp()
271 if (getTypeAction(OtherVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_OverflowOp()
368 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_UnaryOp()
394 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_VecInregOp()
430 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_VSELECT()
530 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_SETCC()
1124 switch (getTypeAction(InVT)) { in SplitVecRes_BITCAST()
1297 if (getTypeAction(RHSVT) == TargetLowering::TypeSplitVector) in SplitVecRes_FCOPYSIGN()
1331 if (getTypeAction(N0.getValueType()) == TargetLowering::TypeSplitVector) in SplitVecRes_ExtVecInRegOp()
1386 if (getTypeAction(InVT) == TargetLowering::TypeSplitVector) in SplitVecRes_StrictFPOp()
[all …]
DLegalizeIntegerTypes.cpp334 switch (getTypeAction(InVT)) { in PromoteIntRes_BITCAST()
541 if (TLI.getTypeAction(*DAG.getContext(), Op0.getValueType()) in PromoteIntRes_EXTRACT_VECTOR_ELT()
623 if (getTypeAction(N->getOperand(0).getValueType()) in PromoteIntRes_INT_EXTEND()
1037 if (getTypeAction(SVT) == TargetLowering::TypePromoteInteger) { in PromoteIntRes_SETCC()
1038 if (getTypeAction(InVT) == TargetLowering::TypePromoteInteger) { in PromoteIntRes_SETCC()
1072 if (getTypeAction(RHS.getValueType()) == TargetLowering::TypePromoteInteger) in PromoteIntRes_SHL()
1122 if (getTypeAction(RHS.getValueType()) == TargetLowering::TypePromoteInteger) in PromoteIntRes_SRA()
1131 if (getTypeAction(RHS.getValueType()) == TargetLowering::TypePromoteInteger) in PromoteIntRes_SRL()
1196 switch (getTypeAction(InOp.getValueType())) { in PromoteIntRes_TRUNCATE()
2792 assert(getTypeAction(Op.getValueType()) == in ExpandIntRes_ANY_EXTEND()
[all …]
DLegalizeTypesGeneric.cpp48 switch (getTypeAction(InVT)) { in ExpandRes_BITCAST()
522 else if (getTypeAction(Cond.getValueType()) == in SplitRes_SELECT()
DLegalizeTypes.cpp244 switch (getTypeAction(ResultVT)) { in run()
309 switch (getTypeAction(OpVT)) { in run()
DLegalizeTypes.h62 TargetLowering::LegalizeTypeAction getTypeAction(EVT VT) const { in getTypeAction() function
63 return TLI.getTypeAction(*DAG.getContext(), VT); in getTypeAction()
68 return TLI.getTypeAction(*DAG.getContext(), VT) == TargetLowering::TypeLegal; in isTypeLegal()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp257 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_UnaryOp()
390 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_VSETCC()
750 switch (getTypeAction(InVT)) { in SplitVecRes_BITCAST()
918 if (getTypeAction(RHSVT) == TargetLowering::TypeSplitVector) in SplitVecRes_FCOPYSIGN()
1106 if (getTypeAction(Mask.getValueType()) == TargetLowering::TypeSplitVector) in SplitVecRes_MLOAD()
1116 if (getTypeAction(Src0.getValueType()) == TargetLowering::TypeSplitVector) in SplitVecRes_MLOAD()
1168 if (getTypeAction(Mask.getValueType()) == TargetLowering::TypeSplitVector) in SplitVecRes_MGATHER()
1179 if (getTypeAction(Src0.getValueType()) == TargetLowering::TypeSplitVector) in SplitVecRes_MGATHER()
1185 if (getTypeAction(Index.getValueType()) == TargetLowering::TypeSplitVector) in SplitVecRes_MGATHER()
1242 if (getTypeAction(InVT) == TargetLowering::TypeSplitVector) in SplitVecRes_UnaryOp()
[all …]
DLegalizeIntegerTypes.cpp257 switch (getTypeAction(InVT)) { in PromoteIntRes_BITCAST()
451 if (getTypeAction(N->getOperand(0).getValueType()) in PromoteIntRes_INT_EXTEND()
611 if (getTypeAction(LHS.getValueType()) == TargetLowering::TypePromoteInteger && in PromoteIntRes_SETCC()
614 if (getTypeAction(RHS.getValueType()) == TargetLowering::TypePromoteInteger && in PromoteIntRes_SETCC()
631 if (getTypeAction(LHS.getValueType()) == TargetLowering::TypePromoteInteger) in PromoteIntRes_SHL()
633 if (getTypeAction(RHS.getValueType()) == TargetLowering::TypePromoteInteger) in PromoteIntRes_SHL()
674 if (getTypeAction(LHS.getValueType()) == TargetLowering::TypePromoteInteger) in PromoteIntRes_SRA()
676 if (getTypeAction(RHS.getValueType()) == TargetLowering::TypePromoteInteger) in PromoteIntRes_SRA()
685 if (getTypeAction(LHS.getValueType()) == TargetLowering::TypePromoteInteger) in PromoteIntRes_SRL()
687 if (getTypeAction(RHS.getValueType()) == TargetLowering::TypePromoteInteger) in PromoteIntRes_SRL()
[all …]
DLegalizeTypesGeneric.cpp49 switch (getTypeAction(InVT)) { in ExpandRes_BITCAST()
535 if (getTypeAction(Cond.getValueType()) == TargetLowering::TypeSplitVector) in SplitRes_SELECT()
DLegalizeTypes.h63 TargetLowering::LegalizeTypeAction getTypeAction(EVT VT) const { in getTypeAction() function
64 return TLI.getTypeAction(*DAG.getContext(), VT); in getTypeAction()
69 return TLI.getTypeAction(*DAG.getContext(), VT) == TargetLowering::TypeLegal; in isTypeLegal()
DLegalizeTypes.cpp224 switch (getTypeAction(ResultVT)) { in run()
283 switch (getTypeAction(OpVT)) { in run()
DLegalizeFloatTypes.cpp461 if (getTypeAction(MVT::f32) == TargetLowering::TypeSoftenFloat) in SoftenFloatRes_FP_EXTEND()
465 if (getTypeAction(Op.getValueType()) == TargetLowering::TypePromoteFloat) { in SoftenFloatRes_FP_EXTEND()
475 if (getTypeAction(Op.getValueType()) == TargetLowering::TypeSoftenFloat) in SoftenFloatRes_FP_EXTEND()
1964 switch (getTypeAction(VecVT)) { in PromoteFloatRes_EXTRACT_VECTOR_ELT()
/external/llvm/include/llvm/Target/
DTargetLowering.h474 LegalizeTypeAction getTypeAction(MVT VT) const { in getTypeAction() function
491 LegalizeTypeAction getTypeAction(LLVMContext &Context, EVT VT) const { in getTypeAction() function
494 LegalizeTypeAction getTypeAction(MVT VT) const { in getTypeAction() function
495 return ValueTypeActions.getTypeAction(VT); in getTypeAction()
515 switch (getTypeAction(Context, VT)) { in getTypeToExpandTo()
1292 LegalizeTypeAction Action = getTypeAction(Context, VT); in shouldNormalizeToSelectSequence()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp810 LegalizeTypeAction LA = ValueTypeActions.getTypeAction(SVT); in getTypeConversion()
814 ValueTypeActions.getTypeAction(NVT) != TypePromoteInteger)) && in getTypeConversion()
896 if (NVT != MVT() && ValueTypeActions.getTypeAction(NVT) == TypeLegal) in getTypeConversion()
922 if (ValueTypeActions.getTypeAction(LargerVector) == TypeLegal) in getTypeConversion()
1386 LegalizeTypeAction TA = getTypeAction(Context, VT); in getVectorTypeBreakdown()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h767 LegalizeTypeAction getTypeAction(MVT VT) const { in getTypeAction() function
784 LegalizeTypeAction getTypeAction(LLVMContext &Context, EVT VT) const { in getTypeAction() function
787 LegalizeTypeAction getTypeAction(MVT VT) const { in getTypeAction() function
788 return ValueTypeActions.getTypeAction(VT); in getTypeAction()
808 switch (getTypeAction(Context, VT)) { in getTypeToExpandTo()
1879 LegalizeTypeAction Action = getTypeAction(Context, VT); in shouldNormalizeToSelectSequence()
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp989 LegalizeTypeAction LA = ValueTypeActions.getTypeAction(SVT); in getTypeConversion()
992 ValueTypeActions.getTypeAction(NVT) != TypePromoteInteger) && in getTypeConversion()
1074 if (NVT != MVT() && ValueTypeActions.getTypeAction(NVT) == TypeLegal) in getTypeConversion()
1100 if (ValueTypeActions.getTypeAction(LargerVector) == TypeLegal) in getTypeConversion()
1511 LegalizeTypeAction TA = getTypeAction(Context, VT); in getVectorTypeBreakdown()
/external/llvm-project/llvm/lib/CodeGen/
DTargetLoweringBase.cpp938 LegalizeTypeAction LA = ValueTypeActions.getTypeAction(SVT); in getTypeConversion()
943 ValueTypeActions.getTypeAction(NVT) != TypePromoteInteger)) && in getTypeConversion()
1026 if (NVT != MVT() && ValueTypeActions.getTypeAction(NVT) == TypeLegal) in getTypeConversion()
1052 if (ValueTypeActions.getTypeAction(LargerVector) == TypeLegal) in getTypeConversion()
1543 LegalizeTypeAction TA = getTypeAction(Context, VT); in getVectorTypeBreakdown()
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetLowering.h902 LegalizeTypeAction getTypeAction(MVT VT) const { in getTypeAction() function
919 LegalizeTypeAction getTypeAction(LLVMContext &Context, EVT VT) const { in getTypeAction() function
922 LegalizeTypeAction getTypeAction(MVT VT) const { in getTypeAction() function
923 return ValueTypeActions.getTypeAction(VT); in getTypeAction()
943 switch (getTypeAction(Context, VT)) { in getTypeToExpandTo()
2028 LegalizeTypeAction Action = getTypeAction(Context, VT); in shouldNormalizeToSelectSequence()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h428 if ((TLI->getTypeAction(Src->getContext(), TLI->getValueType(DL, Src)) == in getCastInstrCost()
430 (TLI->getTypeAction(Dst->getContext(), TLI->getValueType(DL, Dst)) == in getCastInstrCost()

123