Home
last modified time | relevance | path

Searched refs:getOperationAction (Results 1 – 16 of 16) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp352 switch (TLI.getOperationAction(Node->getOpcode(), QueryType)) { in LegalizeOp()
730 if (TLI.getOperationAction(ISD::AND, VT) == TargetLowering::Expand || in ExpandSELECT()
731 TLI.getOperationAction(ISD::XOR, VT) == TargetLowering::Expand || in ExpandSELECT()
732 TLI.getOperationAction(ISD::OR, VT) == TargetLowering::Expand || in ExpandSELECT()
733 TLI.getOperationAction(ISD::BUILD_VECTOR, VT) == TargetLowering::Expand) in ExpandSELECT()
771 if (TLI.getOperationAction(ISD::SRA, VT) == TargetLowering::Expand || in ExpandSEXTINREG()
772 TLI.getOperationAction(ISD::SHL, VT) == TargetLowering::Expand) in ExpandSEXTINREG()
949 if (TLI.getOperationAction(ISD::AND, VT) == TargetLowering::Expand || in ExpandVSELECT()
950 TLI.getOperationAction(ISD::XOR, VT) == TargetLowering::Expand || in ExpandVSELECT()
951 TLI.getOperationAction(ISD::OR, VT) == TargetLowering::Expand || in ExpandVSELECT()
[all …]
DLegalizeDAG.cpp464 switch (TLI.getOperationAction(ISD::STORE, VT)) { in LegalizeStoreOps()
631 switch (TLI.getOperationAction(Node->getOpcode(), VT)) { in LegalizeLoadOps()
951 Action = TLI.getOperationAction(Node->getOpcode(), MVT::Other); in LegalizeOp()
954 Action = TLI.getOperationAction(Node->getOpcode(), in LegalizeOp()
958 Action = TLI.getOperationAction(Node->getOpcode(), in LegalizeOp()
961 Action = TLI.getOperationAction(Node->getOpcode(), MVT::Other); in LegalizeOp()
967 Action = TLI.getOperationAction(Node->getOpcode(), in LegalizeOp()
973 Action = TLI.getOperationAction(Node->getOpcode(), InnerType); in LegalizeOp()
977 Action = TLI.getOperationAction(Node->getOpcode(), in LegalizeOp()
994 Action = TLI.getOperationAction(Node->getOpcode(), in LegalizeOp()
[all …]
DLegalizeTypes.cpp947 if (TLI.getOperationAction(N->getOpcode(), VT) != TargetLowering::Custom) in CustomLowerNode()
985 if (TLI.getOperationAction(N->getOpcode(), VT) != TargetLowering::Custom) in CustomWidenLowerNode()
DLegalizeIntegerTypes.cpp2302 if (TLI.getOperationAction(ISD::SDIVREM, VT) == TargetLowering::Custom) { in ExpandIntRes_SDIV()
2351 TargetLowering::LegalizeAction Action = TLI.getOperationAction(PartsOpc, NVT); in ExpandIntRes_Shift()
2487 if (TLI.getOperationAction(ISD::SDIVREM, VT) == TargetLowering::Custom) { in ExpandIntRes_SREM()
2634 if (TLI.getOperationAction(ISD::UDIVREM, VT) == TargetLowering::Custom) { in ExpandIntRes_UDIV()
2660 if (TLI.getOperationAction(ISD::UDIVREM, VT) == TargetLowering::Custom) { in ExpandIntRes_UREM()
2894 if (TLI.getOperationAction( in IntegerExpandSetCCOperands()
3141 TLI.getOperationAction(ISD::SINT_TO_FP, SrcVT) == TargetLowering::Custom){ in ExpandIntOp_UINT_TO_FP()
DDAGCombiner.cpp9221 TLI.getOperationAction(ISD::FP16_TO_FP, VT) == TargetLowering::Legal) in visitFP_EXTEND()
14210 (TLI.getOperationAction(ISD::ConstantFP, N2.getValueType()) != in SimplifySelectCC()
/external/llvm/include/llvm/Target/
DTargetLowering.h286 if (getOperationAction(ISD::LOAD, LoadMVT) == Promote && in isLoadBitCastBeneficial()
598 LegalizeAction getOperationAction(unsigned Op, EVT VT) const { in getOperationAction() function
611 (getOperationAction(Op, VT) == Legal || in isOperationLegalOrCustom()
612 getOperationAction(Op, VT) == Custom); in isOperationLegalOrCustom()
620 (getOperationAction(Op, VT) == Legal || in isOperationLegalOrPromote()
621 getOperationAction(Op, VT) == Promote); in isOperationLegalOrPromote()
629 (getOperationAction(Op, VT) == Legal || in isOperationLegalOrCustomOrPromote()
630 getOperationAction(Op, VT) == Custom || in isOperationLegalOrCustomOrPromote()
631 getOperationAction(Op, VT) == Promote); in isOperationLegalOrCustomOrPromote()
638 return (!isTypeLegal(VT) && getOperationAction(Op, VT) == Custom); in isOperationCustom()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetLowering.h370 LegalizeAction getOperationAction(unsigned Op, EVT VT) const { in getOperationAction() function
382 (getOperationAction(Op, VT) == Legal || in isOperationLegalOrCustom()
383 getOperationAction(Op, VT) == Custom); in isOperationLegalOrCustom()
390 getOperationAction(Op, VT) == Legal; in isOperationLegal()
496 assert(getOperationAction(Op, VT) == Promote && in getTypeToPromoteTo()
514 getOperationAction(Op, NVT) == Promote); in getTypeToPromoteTo()
/external/llvm/test/CodeGen/AMDGPU/
Ddagcombiner-bug-illegal-vec4-int-to-fp.ll6 ; TargetLowering::getOperationAction() when checking the legality of
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp803 Action = TLI.getOperationAction(Node->getOpcode(), MVT::Other); in LegalizeOp()
808 Action = TLI.getOperationAction(Node->getOpcode(), in LegalizeOp()
814 Action = TLI.getOperationAction(Node->getOpcode(), InnerType); in LegalizeOp()
818 Action = TLI.getOperationAction(Node->getOpcode(), in LegalizeOp()
834 Action = TLI.getOperationAction(Node->getOpcode(), in LegalizeOp()
837 Action = TLI.getOperationAction(Node->getOpcode(), OpVT); in LegalizeOp()
871 Action = TLI.getOperationAction(Node->getOpcode(), Node->getValueType(0)); in LegalizeOp()
881 Action = TLI.getOperationAction(Node->getOpcode(), Node->getValueType(0)); in LegalizeOp()
900 Action = TLI.getOperationAction(Node->getOpcode(), Node->getValueType(0)); in LegalizeOp()
1018 switch (TLI.getOperationAction(ISD::BUILD_VECTOR, Node->getValueType(0))) { in LegalizeOp()
[all …]
DLegalizeVectorOps.cpp201 switch (TLI.getOperationAction(Node->getOpcode(), QueryType)) { in LegalizeOp()
DLegalizeTypes.cpp905 if (TLI.getOperationAction(N->getOpcode(), VT) != TargetLowering::Custom) in CustomLowerNode()
931 if (TLI.getOperationAction(N->getOpcode(), VT) != TargetLowering::Custom) in CustomWidenLowerNode()
DFastISel.cpp586 if (TLI.getOperationAction(ISD::EXCEPTIONADDR, VT)!=TargetLowering::Expand) in SelectCall()
601 if (TLI.getOperationAction(ISD::EHSELECTION, VT) != TargetLowering::Expand) in SelectCall()
DLegalizeIntegerTypes.cpp2069 TargetLowering::LegalizeAction Action = TLI.getOperationAction(PartsOpc, NVT); in ExpandIntRes_Shift()
2763 TLI.getOperationAction(ISD::SINT_TO_FP, SrcVT) == TargetLowering::Custom){ in ExpandIntOp_UINT_TO_FP()
DLegalizeFloatTypes.cpp1248 if (TLI.getOperationAction(N->getOpcode(), N->getOperand(OpNo).getValueType()) in ExpandFloatOperand()
DDAGCombiner.cpp7476 (TLI.getOperationAction(ISD::ConstantFP, N2.getValueType()) != in SimplifySelectCC()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp272 if (getOperationAction(Opcode, VT) == Legal) in SystemZTargetLowering()