| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/NativePDB/ |
| H A D | globals-fundamental.cpp | 49 short SMax = 32767; variable 330 short *PSMax = &SMax; 422 const short *CPSMax = &SMax; 504 short &RSMax = SMax; 584 const short &CRSMax = SMax;
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 118 APInt SMax(CR.getSignedMax()); in makeAllowedICmpRegion() local 119 if (SMax.isMinSignedValue()) in makeAllowedICmpRegion() 314 SMax.isStrictlyPositive() ? SignedMinVal - SMax : SignedMinVal); in makeGuaranteedNoWrapRegion() 324 SMax.isStrictlyPositive() ? SignedMinVal + SMax : SignedMinVal, in makeGuaranteedNoWrapRegion() 754 APInt SMax = APInt::getSignedMaxValue(BW); in castOp() local 757 SMax = SMax.sext(ResultBitWidth); in castOp() 1650 APInt SMin = getSignedMin(), SMax = getSignedMax(); in abs() local 1655 if (SMax.isMinSignedValue()) in abs() 1665 if (SMax.isNegative()) in abs() 1666 return ConstantRange(-SMax, -SMin + 1); in abs() [all …]
|
| /llvm-project-15.0.7/mlir/test/Conversion/SPIRVToLLVM/ |
| H A D | gl-ops-to-llvm.mlir | 121 // spv.GL.SMax 127 %0 = spv.GL.SMax %arg0, %arg0 : i16 129 %1 = spv.GL.SMax %arg1, %arg1 : vector<3xi32>
|
| /llvm-project-15.0.7/mlir/test/Target/SPIRV/ |
| H A D | gl-ops.mlir | 41 // CHECK: {{%.*}} = spv.GL.SMax {{%.*}}, {{%.*}} : i32 42 %2 = spv.GL.SMax %arg2, %arg3 : i32
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | IVDescriptors.h | 43 SMax, ///< Signed integer max implemented in terms of select(cmp()). enumerator 221 Kind == RecurKind::SMin || Kind == RecurKind::SMax; in isIntMinMaxRecurrenceKind()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | IVDescriptors.cpp | 51 case RecurKind::SMax: in isIntegerRecurrenceKind() 695 return InstDesc(Kind == RecurKind::SMax, I); in isMinMaxPattern() 863 if (AddReductionVar(Phi, RecurKind::SMax, TheLoop, FMF, RedDes, DB, AC, DT, in isReductionPHI() 1086 case RecurKind::SMax: in getRecurrenceIdentity() 1119 case RecurKind::SMax: in getOpcode()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | ExpandReductions.cpp | 61 return RecurKind::SMax; in getRK()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.h | 208 case RecurKind::SMax: in isLegalToVectorizeReduction()
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/ |
| H A D | gl-ops.mlir | 82 // CHECK: spv.GL.SMax {{%.*}}, {{%.*}} : i32 83 %1 = spv.GL.SMax %arg0, %arg1 : i32
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/NativePDB/Inputs/ |
| H A D | globals-fundamental.lldbinit | 13 target variable SMax
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVGLOps.td | 612 def SPV_GLSMaxOp : SPV_GLBinaryArithmeticOp<"SMax", 42, SPV_Integer> { 628 smax-op ::= ssa-id `=` `spv.GL.SMax` ssa-use `:` 634 %2 = spv.GL.SMax %0, %1 : i32 635 %3 = spv.GL.SMax %0, %1 : vector<3xi16>
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantRangeTest.cpp | 1044 TEST_F(ConstantRangeTest, SMax) { in TEST_F() argument 1193 APInt SMax(Bits, Results.find_last() - Bias); in TEST_F() local 1194 ConstantRange Envelope = ConstantRange::getNonEmpty(SMin, SMax + 1); in TEST_F() 1425 ConstantRange SMax = ConstantRange(APInt::getSignedMaxValue(32)); in TEST() local 1426 EXPECT_TRUE(ConstantRange::makeAllowedICmpRegion(ICmpInst::ICMP_SGT, SMax) in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 1109 APInt SMax = APInt::getSignedMaxValue(C.getBitWidth()); in foldICmpAddOpConst() local 1119 ConstantInt::get(X->getType(), SMax - C)); in foldICmpAddOpConst() 1130 ConstantInt::get(X->getType(), SMax - (C - 1))); in foldICmpAddOpConst() 2814 const APInt SMax = APInt::getSignedMaxValue(Ty->getScalarSizeInBits()); in foldICmpAddConstant() local 2819 if (Pred == CmpInst::ICMP_UGT && C == *C2 + SMax) in foldICmpAddConstant() 2828 return new ICmpInst(ICmpInst::ICMP_ULT, X, ConstantInt::get(Ty, SMax - C)); in foldICmpAddConstant() 2832 return new ICmpInst(ICmpInst::ICMP_UGT, X, ConstantInt::get(Ty, C ^ SMax)); in foldICmpAddConstant() 6492 APFloat SMax(RHS.getSemantics()); in foldFCmpIntToFPConst() local 6493 SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true, in foldFCmpIntToFPConst() 6495 if (SMax < RHS) { // smax < 13123.0 in foldFCmpIntToFPConst()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LoopUtils.cpp | 894 case RecurKind::SMax: in getMinMaxReductionPredicate() 1047 case RecurKind::SMax: in createSimpleTargetReduction()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVInstrInfo.td | 688 def OpGroupSMax: OpGroup<"SMax", 271>; 744 def OpGroupNonUniformSMax: OpGroupNUGroup<"SMax", 356>;
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/GlobalISel/ |
| H A D | LegalizerHelperTest.cpp | 1634 auto SMax = B.buildSMax(s64, Copies[0], Copies[1]); in TEST_F() local 1652 B.setInstr(*SMax); in TEST_F() 1654 Helper.lower(*SMax, 0, s64)); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelDAGToDAG.cpp | 1824 uint64_t SMax = SKnown.getMaxValue().getZExtValue(); in checkFlatScratchSVSSwizzleBug() local 1825 return (VMax & 3) + (SMax & 3) >= 4; in checkFlatScratchSVSSwizzleBug()
|
| H A D | AMDGPUInstructionSelector.cpp | 4196 uint64_t SMax = SKnown.getMaxValue().getZExtValue(); in checkFlatScratchSVSSwizzleBug() local 4197 return (VMax & 3) + (SMax & 3) >= 4; in checkFlatScratchSVSSwizzleBug()
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | SPIRVToLLVMDialectConversion.md | 743 `spv.GL.SMax` | `llvm.intr.smax`
|
| /llvm-project-15.0.7/llvm/test/Analysis/ScalarEvolution/ |
| H A D | ptrtoint.ll | 298 ; ptrtoint of SMax
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 10587 case RecurKind::SMax: in createOp() 10673 return RecurKind::SMax; in getRdxKind() 10724 return RecurKind::SMax; in getRdxKind() 11450 case RecurKind::SMax: in getReductionCost()
|
| /llvm-project-15.0.7/mlir/test/Conversion/ArithmeticToSPIRV/ |
| H A D | arithmetic-to-spirv.mlir | 1024 // CHECK: spv.GL.SMax %{{.*}}, %{{.*}}: i32
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 2599 case RecurKind::SMax: in isLegalToVectorizeReduction()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 48654 if (SDValue SMax = MatchMinMax(In, ISD::SMAX, C1)) in detectUSatPattern() local 48655 if (SDValue SMin = MatchMinMax(SMax, ISD::SMIN, C2)) in detectUSatPattern() 48697 if (SDValue SMax = MatchMinMax(SMin, ISD::SMAX, SignedMin)) in detectSSatPattern() local 48698 return SMax; in detectSSatPattern() 48700 if (SDValue SMax = MatchMinMax(In, ISD::SMAX, SignedMin)) in detectSSatPattern() local 48701 if (SDValue SMin = MatchMinMax(SMax, ISD::SMIN, SignedMax)) in detectSSatPattern()
|