Home
last modified time | relevance | path

Searched refs:SMAX (Results 1 - 25 of 27) sorted by relevance

12

/third_party/ltp/tools/sparse/sparse-src/validation/optim/
H A Dcanonical-cmpe-minmax.c1 #define SMAX __INT_MAX__ macro
4 int le_smax(int a) { return (a <= (SMAX - 1)) == (a != SMAX); } in le_smax()
5 int gt_smax(int a) { return (a > (SMAX - 1)) == (a == SMAX); } in gt_smax()
H A Dcanonical-cmps-minmax.c1 #define SMAX __INT_MAX__ macro
4 int lt_smax(int a) { return (a < SMAX) == (a != SMAX); } in lt_smax()
5 int ge_smax(int a) { return (a >= SMAX) == (a == SMAX); } in ge_smax()
H A Dcmps-minmax.c1 #define SMAX __INT_MAX__ macro
5 int le_smax(int a) { return (a <= SMAX) + 0; } in le_smax()
8 int gt_smax(int a) { return (a > SMAX) + 1; } in gt_smax()
/third_party/skia/third_party/externals/libwebp/src/utils/
H A Dfilters_utils.c21 #define SMAX 16 macro
22 #define SDIFF(a, b) (abs((a) - (b)) >> 4) // Scoring diff, in [0..SMAX)
32 int bins[WEBP_FILTER_LAST][SMAX]; in WebPEstimateBestFilter()
59 for (i = 0; i < SMAX; ++i) { in WebPEstimateBestFilter()
73 #undef SMAX macro
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h445 SMIN, SMAX, UMIN, UMAX, enumerator
H A DTargetLowering.h2240 case ISD::SMAX:
/third_party/backends/backend/
H A Ddc25.c723 #define SMAX (256 * SCALE - 1) macro
925 int r_min = SMAX, g_min = SMAX, b_min = SMAX; in adjust_color_and_saturation()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp267 case ISD::SMAX: return "smax"; in getOperationName()
H A DSelectionDAG.cpp3365 case ISD::SMAX: {
3368 bool IsMax = (Opcode == ISD::SMAX);
3371 if (Op.getOperand(0).getOpcode() == (IsMax ? ISD::SMIN : ISD::SMAX))
3698 case ISD::SMAX: {
3701 bool IsMax = (Opcode == ISD::SMAX);
3704 if (Op.getOperand(0).getOpcode() == (IsMax ? ISD::SMIN : ISD::SMAX))
4803 case ISD::SMAX: return C1.sge(C2) ? C1 : C2;
5200 case ISD::SMAX:
H A DLegalizeIntegerTypes.cpp82 case ISD::SMAX: Res = PromoteIntRes_SExtIntBinOp(N); break; in PromoteIntegerResult()
741 Result = DAG.getNode(ISD::SMAX, dl, PromotedType, Result, SatMin); in PromoteIntRes_ADDSUBSAT()
1879 case ISD::SMAX: in ExpandIntegerResult()
2208 case ISD::SMAX: in getExpandedMinMaxOps()
H A DLegalizeVectorTypes.cpp121 case ISD::SMAX: in ScalarizeVectorResult()
932 case ISD::SMAX: in SplitVectorResult()
2077 case ISD::VECREDUCE_SMAX: CombineOpc = ISD::SMAX; break; in SplitVecOp_VECREDUCE()
2724 case ISD::SMAX: in WidenVectorResult()
H A DLegalizeVectorOps.cpp443 case ISD::SMAX: in LegalizeOp()
H A DLegalizeDAG.cpp3168 case ISD::SMAX:
3175 case ISD::SMAX: Pred = ISD::SETGT; break;
H A DTargetLowering.cpp7618 case ISD::VECREDUCE_SMAX: BaseOpcode = ISD::SMAX; break;
H A DDAGCombiner.cpp1533 case ISD::SMAX: in visit()
4337 // Is sign bits are zero, flip between UMIN/UMAX and SMIN/SMAX. in visitIMINMAX()
4346 case ISD::SMAX: AltOpcode = ISD::UMAX; break; in visitIMINMAX()
4348 case ISD::UMAX: AltOpcode = ISD::SMAX; break; in visitIMINMAX()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
H A DARCISelLowering.cpp97 setOperationAction(ISD::SMAX, MVT::i32, Legal); in ARCTargetLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp450 setOperationAction(ISD::SMAX, MVT::i16, Legal); in SITargetLowering()
622 setOperationAction(ISD::SMAX, MVT::v2i16, Legal); in SITargetLowering()
648 setOperationAction(ISD::SMAX, MVT::v4i16, Custom); in SITargetLowering()
728 setTargetDAGCombine(ISD::SMAX); in SITargetLowering()
4096 case ISD::SMAX: in LowerOperation()
9023 case ISD::SMAX: in minMaxOpcToMin3Max3Opc()
9186 if (Opc == ISD::SMIN && Op0.getOpcode() == ISD::SMAX && Op0.hasOneUse()) { in performMinMaxCombine()
9318 case ISD::SMAX: in performExtractVectorEltCombine()
10007 case ISD::SMAX: in PerformDAGCombine()
H A DAMDGPUISelLowering.cpp348 setOperationAction(ISD::SMAX, MVT::i32, Legal); in AMDGPUTargetLowering()
2670 SDValue B = DAG.getNode(ISD::SMAX, DL, MVT::i32, OneSubExp, Zero); in LowerFP_TO_FP16()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp345 setOperationAction(ISD::SMAX, Ty, Legal); in addMSAIntType()
2010 return DAG.getNode(ISD::SMAX, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2022 return DAG.getNode(ISD::SMAX, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp647 setOperationAction(ISD::SMAX, VT, Expand); in initActions()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp186 for (auto Op : {ISD::SMIN, ISD::SMAX, ISD::UMIN, ISD::UMAX}) in WebAssemblyTargetLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp903 setOperationAction(ISD::SMAX, VT, VT == MVT::v8i16 ? Legal : Custom); in X86TargetLowering()
1083 setOperationAction(ISD::SMAX, MVT::v16i8, Legal); in X86TargetLowering()
1084 setOperationAction(ISD::SMAX, MVT::v4i32, Legal); in X86TargetLowering()
1284 setOperationAction(ISD::SMAX, MVT::v4i64, Custom); in X86TargetLowering()
1300 setOperationAction(ISD::SMAX, VT, HasInt256 ? Legal : Custom); in X86TargetLowering()
1559 setOperationAction(ISD::SMAX, VT, Legal); in X86TargetLowering()
1671 setOperationAction(ISD::SMAX, VT, Legal); in X86TargetLowering()
1816 setOperationAction(ISD::SMAX, VT, Legal); in X86TargetLowering()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp191 setOperationAction(ISD::SMAX, VT, Legal); in AArch64TargetLowering()
928 for (unsigned Opcode : {ISD::SMIN, ISD::SMAX, ISD::UMIN, ISD::UMAX}) in addTypeForNEON()
2966 return DAG.getNode(ISD::SMAX, dl, Op.getValueType(), in LowerINTRINSIC_WO_CHAIN()
12953 ReplaceReductionResults(N, Results, DAG, ISD::SMAX, AArch64ISD::SMAXV); in ReplaceNodeResults()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp498 setOperationAction(ISD::SMAX, Ty, Legal); in NVPTXTargetLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp580 setOperationAction(ISD::SMAX, VT, Legal); in PPCTargetLowering()
586 setOperationAction(ISD::SMAX, VT, Expand); in PPCTargetLowering()
681 setOperationAction(ISD::SMAX, MVT::v2i64, Expand); in PPCTargetLowering()
718 // Without hasP8Altivec set, v2i64 SMAX isn't available. in PPCTargetLowering()
719 // But ABS custom lowering requires SMAX support. in PPCTargetLowering()
10340 // SMAX patch https://reviews.llvm.org/D47332 in LowerABS()
10342 // TODO: Should use SMAX directly once SMAX patch landed in LowerABS()

Completed in 197 milliseconds

12