Home
last modified time | relevance | path

Searched refs:SMin (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/NativePDB/
H A Dglobals-fundamental.cpp52 short SMin = -32768; variable
333 short *PSMin = &SMin;
425 const short *CPSMin = &SMin;
507 short &RSMin = SMin;
587 const short &CRSMin = SMin;
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantRange.cpp134 APInt SMin(CR.getSignedMin()); in makeAllowedICmpRegion() local
135 if (SMin.isMaxSignedValue()) in makeAllowedICmpRegion()
313 SMin.isNegative() ? SignedMinVal - SMin : SignedMinVal, in makeGuaranteedNoWrapRegion()
325 SMin.isNegative() ? SignedMinVal + SMin : SignedMinVal); in makeGuaranteedNoWrapRegion()
753 APInt SMin = APInt::getSignedMinValue(BW); in castOp() local
756 SMin = SMin.sext(ResultBitWidth); in castOp()
1650 APInt SMin = getSignedMin(), SMax = getSignedMax(); in abs() local
1653 if (IntMinIsPoison && SMin.isMinSignedValue()) { in abs()
1657 ++SMin; in abs()
1661 if (SMin.isNonNegative()) in abs()
[all …]
/llvm-project-15.0.7/mlir/test/Conversion/SPIRVToLLVM/
H A Dgl-ops-to-llvm.mlir134 // spv.GL.SMin
140 %0 = spv.GL.SMin %arg0, %arg0 : i16
142 %1 = spv.GL.SMin %arg1, %arg1 : vector<3xi32>
/llvm-project-15.0.7/mlir/test/Target/SPIRV/
H A Dgl-ops.mlir48 // CHECK: {{%.*}} = spv.GL.SMin {{%.*}}, {{%.*}} : i32
49 %5 = spv.GL.SMin %arg2, %arg3 : i32
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DIVDescriptors.h42 SMin, ///< Signed integer min 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 DIVDescriptors.cpp52 case RecurKind::SMin: in isIntegerRecurrenceKind()
697 return InstDesc(Kind == RecurKind::SMin, I); in isMinMaxPattern()
868 if (AddReductionVar(Phi, RecurKind::SMin, TheLoop, FMF, RedDes, DB, AC, DT, in isReductionPHI()
1083 case RecurKind::SMin: in getRecurrenceIdentity()
1120 case RecurKind::SMin: in getOpcode()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DExpandReductions.cpp63 return RecurKind::SMin; in getRK()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h207 case RecurKind::SMin: in isLegalToVectorizeReduction()
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/
H A Dgl-ops.mlir86 // CHECK: spv.GL.SMin {{%.*}}, {{%.*}} : i32
87 %3 = spv.GL.SMin %arg0, %arg1 : i32
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/NativePDB/Inputs/
H A Dglobals-fundamental.lldbinit14 target variable SMin
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVGLOps.td703 def SPV_GLSMinOp : SPV_GLBinaryArithmeticOp<"SMin", 39, SPV_Integer> {
719 smin-op ::= ssa-id `=` `spv.GL.SMin` ssa-use `:`
725 %2 = spv.GL.SMin %0, %1 : i32
726 %3 = spv.GL.SMin %0, %1 : vector<3xi16>
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp892 case RecurKind::SMin: in getMinMaxReductionPredicate()
1049 case RecurKind::SMin: in createSimpleTargetReduction()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjC.cpp3914 Optional<unsigned> Min = Version.getMinor(), SMin = Version.getSubminor(); in emitIsPlatformVersionAtLeast() local
3919 Args.push_back(llvm::ConstantInt::get(CGM.Int32Ty, SMin.value_or(0))); in emitIsPlatformVersionAtLeast()
3952 Optional<unsigned> Min = Version.getMinor(), SMin = Version.getSubminor(); in EmitBuiltinAvailable() local
3956 llvm::ConstantInt::get(CGM.Int32Ty, SMin.value_or(0))}; in EmitBuiltinAvailable()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td685 def OpGroupSMin: OpGroup<"SMin", 268>;
741 def OpGroupNonUniformSMin: OpGroupNUGroup<"SMin", 353>;
/llvm-project-15.0.7/llvm/unittests/IR/
H A DConstantRangeTest.cpp1100 TEST_F(ConstantRangeTest, SMin) { in TEST_F() argument
1192 APInt SMin(Bits, Results.find_first() - Bias); in TEST_F() local
1194 ConstantRange Envelope = ConstantRange::getNonEmpty(SMin, SMax + 1); in TEST_F()
/llvm-project-15.0.7/llvm/unittests/CodeGen/GlobalISel/
H A DLegalizerHelperTest.cpp1633 auto SMin = B.buildSMin(s64, Copies[0], Copies[1]); in TEST_F() local
1649 B.setInstr(*SMin); in TEST_F()
1651 Helper.lower(*SMin, 0, s64)); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp2815 const APInt SMin = APInt::getSignedMinValue(Ty->getScalarSizeInBits()); in foldICmpAddConstant() local
2823 if (Pred == CmpInst::ICMP_ULT && C == *C2 + SMin) in foldICmpAddConstant()
6517 APFloat SMin(RHS.getSemantics()); in foldFCmpIntToFPConst() local
6518 SMin.convertFromAPInt(APInt::getSignedMinValue(IntWidth), true, in foldFCmpIntToFPConst()
6520 if (SMin > RHS) { // smin > 12312.0 in foldFCmpIntToFPConst()
/llvm-project-15.0.7/mlir/docs/
H A DSPIRVToLLVMDialectConversion.md744 `spv.GL.SMin` | `llvm.intr.smin`
/llvm-project-15.0.7/llvm/test/Analysis/ScalarEvolution/
H A Dptrtoint.ll346 ; ptrtoint of SMin
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp10593 case RecurKind::SMin: in createOp()
10675 return RecurKind::SMin; in getRdxKind()
10727 return RecurKind::SMin; in getRdxKind()
11451 case RecurKind::SMin: in getReductionCost()
/llvm-project-15.0.7/mlir/test/Conversion/ArithmeticToSPIRV/
H A Darithmetic-to-spirv.mlir1028 // CHECK: spv.GL.SMin %{{.*}}, %{{.*}}: i32
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp2598 case RecurKind::SMin: in isLegalToVectorizeReduction()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp48649 if (SDValue SMin = MatchMinMax(In, ISD::SMIN, C2)) in detectUSatPattern() local
48650 if (MatchMinMax(SMin, ISD::SMAX, C1)) in detectUSatPattern()
48652 return SMin; in detectUSatPattern()
48655 if (SDValue SMin = MatchMinMax(SMax, ISD::SMIN, C2)) in detectUSatPattern() local
48658 return DAG.getNode(ISD::SMAX, DL, InVT, SMin, In.getOperand(1)); in detectUSatPattern()
48696 if (SDValue SMin = MatchMinMax(In, ISD::SMIN, SignedMax)) in detectSSatPattern() local
48697 if (SDValue SMax = MatchMinMax(SMin, ISD::SMAX, SignedMin)) in detectSSatPattern()
48701 if (SDValue SMin = MatchMinMax(SMax, ISD::SMIN, SignedMax)) in detectSSatPattern() local
48702 return SMin; in detectSSatPattern()