| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | AArch64SelectionDAGTest.cpp | 71 TargetLoweringBase::LegalizeTypeAction getTypeAction(EVT VT) { in getTypeAction() function in llvm::AArch64SelectionDAGTest 72 return DAG->getTargetLoweringInfo().getTypeAction(Context, VT); in getTypeAction() 546 EXPECT_EQ(getTypeAction(VT), TargetLoweringBase::TypeSplitVector); in TEST_F() 552 EXPECT_EQ(getTypeAction(VT), TargetLoweringBase::TypePromoteInteger); in TEST_F() 558 EXPECT_NE(getTypeAction(VT), TargetLoweringBase::TypeScalarizeVector); in TEST_F() 564 EXPECT_EQ(getTypeAction(VT), TargetLoweringBase::TypeSplitVector); in TEST_F() 572 EXPECT_EQ(getTypeAction(FromVT), TargetLoweringBase::TypeWidenVector); in TEST_F() 579 EXPECT_EQ(getTypeAction(VT), TargetLoweringBase::TypeScalarizeScalableVector); in TEST_F()
|
| H A D | SelectionDAGAddressAnalysisTest.cpp | 83 TargetLoweringBase::LegalizeTypeAction getTypeAction(EVT VT) { in getTypeAction() function in llvm::SelectionDAGAddressAnalysisTest 84 return DAG->getTargetLoweringInfo().getTypeAction(Context, VT); in getTypeAction()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeVectorTypes.cpp | 1273 switch (getTypeAction(InVT)) { in SplitVecRes_BITCAST() 2044 if (getTypeAction(Ops.Index.getValueType()) == in SplitVecRes_Gather() 2057 if (getTypeAction(PassThru.getValueType()) == in SplitVecRes_Gather() 3309 if (getTypeAction(Ops.Index.getValueType()) == in SplitVecOp_Scatter() 4535 switch (getTypeAction(InVT)) { in WidenVecRes_BITCAST() 4899 assert(getTypeAction(Mask.getValueType()) == in WidenVecRes_VP_LOAD() 5536 assert(getTypeAction(InOp.getValueType()) == in WidenVecOp_EXTEND() 5631 assert(getTypeAction(InOp.getValueType()) == in WidenVecOp_Convert() 5784 assert(getTypeAction(InOp.getValueType()) == in WidenVecOp_CONCAT_VECTORS() 5888 assert(getTypeAction(Mask.getValueType()) == in WidenVecOp_VP_STORE() [all …]
|
| H A D | LegalizeIntegerTypes.cpp | 385 switch (getTypeAction(InVT)) { in PromoteIntRes_BITCAST() 641 if (TLI.getTypeAction(*DAG.getContext(), Op0.getValueType()) in PromoteIntRes_EXTRACT_VECTOR_ELT() 743 if (getTypeAction(N->getOperand(0).getValueType()) in PromoteIntRes_INT_EXTEND() 1156 if (getTypeAction(SVT) == TargetLowering::TypePromoteInteger) { in PromoteIntRes_SETCC() 1346 switch (getTypeAction(InOp.getValueType())) { in PromoteIntRes_TRUNCATE() 3182 assert(getTypeAction(Op.getValueType()) == in ExpandIntRes_ANY_EXTEND() 4271 assert(getTypeAction(Op.getValueType()) == in ExpandIntRes_SIGN_EXTEND() 4580 assert(getTypeAction(Op.getValueType()) == in ExpandIntRes_ZERO_EXTEND() 5190 if (getTypeAction(InVT) == TargetLowering::TypeSplitVector || in PromoteIntRes_EXTRACT_SUBVECTOR() 5191 getTypeAction(InVT) == TargetLowering::TypeLegal) { in PromoteIntRes_EXTRACT_SUBVECTOR() [all …]
|
| H A D | LegalizeTypes.h | 61 TargetLowering::LegalizeTypeAction getTypeAction(EVT VT) const { in getTypeAction() function 62 return TLI.getTypeAction(*DAG.getContext(), VT); in getTypeAction() 67 return TLI.getTypeAction(*DAG.getContext(), VT) == TargetLowering::TypeLegal; in isTypeLegal() 929 assert(getTypeAction(Mask.getValueType()) == in GetWidenedMask()
|
| H A D | LegalizeTypesGeneric.cpp | 48 switch (getTypeAction(InVT)) { in ExpandRes_BITCAST() 523 else if (getTypeAction(Cond.getValueType()) == in SplitRes_Select()
|
| H A D | LegalizeTypes.cpp | 250 switch (getTypeAction(ResultVT)) { in run() 315 switch (getTypeAction(OpVT)) { in run()
|
| H A D | LegalizeFloatTypes.cpp | 505 if (getTypeAction(Op.getValueType()) == TargetLowering::TypePromoteFloat) { in SoftenFloatRes_FP_EXTEND() 2368 switch (getTypeAction(VecVT)) { in PromoteFloatRes_EXTRACT_VECTOR_ELT() 2574 if (getTypeAction(VT) == TargetLowering::TypePromoteFloat) { in BitcastToInt_ATOMIC_SWAP()
|
| H A D | LegalizeDAG.cpp | 968 assert(TLI.getTypeAction(*DAG.getContext(), Node->getValueType(i)) == in LegalizeOp() 973 assert((TLI.getTypeAction(*DAG.getContext(), Op.getValueType()) == in LegalizeOp()
|
| H A D | SelectionDAG.cpp | 1474 if (VT.isVector() && TLI->getTypeAction(*getContext(), EltVT) == in getConstant() 1487 TLI->getTypeAction(*getContext(), EltVT) == in getConstant() 5740 TLI->getTypeAction(*getContext(), InSVT) != in FoldConstantArithmetic()
|
| H A D | TargetLowering.cpp | 5790 if (getTypeAction(VT.getSimpleVT()) != TypePromoteInteger) in BuildSDIV() 5938 if (getTypeAction(VT.getSimpleVT()) != TypePromoteInteger) in BuildUDIV()
|
| H A D | SelectionDAGBuilder.cpp | 672 TLI.getTypeAction(*DAG.getContext(), ValueVT) == in getCopyToPartsVector() 3289 while (TLI.getTypeAction(Ctx, VT) != TargetLoweringBase::TypeLegal) in visitSelect()
|
| H A D | DAGCombiner.cpp | 7510 if (VT.isScalarInteger() && TLI.getTypeAction(*DAG.getContext(), VT) == in MatchRotate() 18375 } else if (TLI.getTypeAction(Context, StoreTy) == in tryStoreMergeOfConstants() 18656 } else if (TLI.getTypeAction(Context, StoreTy) == in tryStoreMergeOfLoads()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | TargetLoweringBase.cpp | 955 LegalizeTypeAction LA = ValueTypeActions.getTypeAction(SVT); in getTypeConversion() 960 ValueTypeActions.getTypeAction(NVT) != TypePromoteInteger)) && in getTypeConversion() 1043 if (NVT != MVT() && ValueTypeActions.getTypeAction(NVT) == TypeLegal) in getTypeConversion() 1069 if (ValueTypeActions.getTypeAction(LargerVector) == TypeLegal) in getTypeConversion() 1543 LegalizeTypeAction TA = getTypeAction(Context, VT); in getVectorTypeBreakdown()
|
| H A D | TypePromotion.cpp | 927 if (TLI->getTypeAction(*Ctx, SrcVT) != in runOnFunction()
|
| H A D | CodeGenPrepare.cpp | 1308 if (TLI.getTypeAction(CI->getContext(), SrcVT) == in OptimizeNoopCopyExpression() 1311 if (TLI.getTypeAction(CI->getContext(), DstVT) == in OptimizeNoopCopyExpression() 7928 if (TLI->getTypeAction(CI->getContext(), in optimizeInst()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 954 LegalizeTypeAction getTypeAction(MVT VT) const { in getTypeAction() function 971 LegalizeTypeAction getTypeAction(LLVMContext &Context, EVT VT) const { in getTypeAction() function 974 LegalizeTypeAction getTypeAction(MVT VT) const { in getTypeAction() function 975 return ValueTypeActions.getTypeAction(VT); in getTypeAction() 995 switch (getTypeAction(Context, VT)) { in getTypeToExpandTo() 2154 LegalizeTypeAction Action = getTypeAction(Context, VT); in shouldNormalizeToSelectSequence()
|
| H A D | BasicTTIImpl.h | 1038 TLI->getTypeAction(Src->getContext(), TLI->getValueType(DL, Src)) == 1041 TLI->getTypeAction(Dst->getContext(), TLI->getValueType(DL, Dst)) ==
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 2578 while (getTypeAction(Context, LegalVT) != TypeLegal) in getSetCCResultType() 5765 while (getTypeAction(Context, VT) != TypeLegal) in decomposeMulByConstant() 25705 assert(TLI.getTypeAction(*DAG.getContext(), StoreVT) == in LowerStore() 32427 assert(getTypeAction(*DAG.getContext(), VT) == TypeWidenVector && in ReplaceNodeResults() 32446 assert(getTypeAction(*DAG.getContext(), VT) == TypeWidenVector && in ReplaceNodeResults() 32488 assert(getTypeAction(*DAG.getContext(), VT) == TypeWidenVector && in ReplaceNodeResults() 32530 assert(getTypeAction(*DAG.getContext(), VT) == TypeWidenVector && in ReplaceNodeResults() 32555 if (getTypeAction(*DAG.getContext(), VT) != TypeWidenVector) in ReplaceNodeResults() 32603 getTypeAction(*DAG.getContext(), InVT) == TypeSplitVector && in ReplaceNodeResults() 32776 assert(getTypeAction(*DAG.getContext(), VT) == TypeWidenVector && in ReplaceNodeResults() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 5230 while (getTypeAction(*DAG.getContext(), VecEVT) == in lowerVECREDUCE() 6851 if (getTypeAction(*DAG.getContext(), Op0.getValueType()) != in ReplaceNodeResults()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 8925 if (getTypeAction(*DAG.getContext(), EltVT) == in LowerINSERT_VECTOR_ELT() 8935 assert(getTypeAction(*DAG.getContext(), IEltVT) != in LowerINSERT_VECTOR_ELT()
|