Home
last modified time | relevance | path

Searched refs:UMin (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp304 for (User *UMin : ZextGroupSize->users()) { in processUse()
305 if (match(UMin, in processUse()
312 UMin->replaceAllUsesWith(ConstantFoldIntegerCast( in processUse()
313 KnownSize, UMin->getType(), false, DL)); in processUse()
315 UMin->replaceAllUsesWith(ZextGroupSize); in processUse()
H A DAMDGPUAtomicOptimizer.cpp205 case AtomicRMWInst::UMin: in visitAtomicRMWInst()
294 Op = AtomicRMWInst::UMin; in visitIntrinsicInst()
372 case AtomicRMWInst::UMin: in buildNonAtomicBinOp()
619 case AtomicRMWInst::UMin: in getIdentityValueForAtomicOp()
793 case AtomicRMWInst::UMin: in optimizeAtomic()
929 case AtomicRMWInst::UMin: in optimizeAtomic()
H A DAMDGPULowerBufferFatPointers.cpp1735 case AtomicRMWInst::UMin: in handleMemoryInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp51 case AtomicRMWInst::UMin: in isIdempotentRMW()
95 case AtomicRMWInst::UMin: in isSaturating()
H A DInstCombineCompares.cpp8085 APFloat UMin(RHS->getSemantics()); in foldFCmpIntToFPConst() local
8086 UMin.convertFromAPInt(APInt::getMinValue(IntWidth), false, in foldFCmpIntToFPConst()
8088 if (UMin > *RHS) { // umin > 12312.0 in foldFCmpIntToFPConst()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DIVDescriptors.h44 UMin, ///< Unsigned integer min implemented in terms of select(cmp()). enumerator
248 return Kind == RecurKind::UMin || Kind == RecurKind::UMax || in isIntMinMaxRecurrenceKind()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerAtomic.cpp80 case AtomicRMWInst::UMin: in buildAtomicRMWValue()
H A DLoopUtils.cpp938 case RecurKind::UMin: in getReductionIntrinsicID()
1033 case RecurKind::UMin: in getMinMaxReductionIntrinsicOp()
1067 return RecurKind::UMin; in getMinMaxReductionRecurKind()
1081 case RecurKind::UMin: in getMinMaxReductionPredicate()
1312 case RecurKind::UMin: in createSimpleReduction()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchExpandAtomicPseudoInsts.cpp129 return expandAtomicMinMaxOp(MBB, MBBI, AtomicRMWInst::UMin, false, 32, in expandMI()
141 return expandAtomicMinMaxOp(MBB, MBBI, AtomicRMWInst::UMin, true, 32, in expandMI()
433 case AtomicRMWInst::UMin: in expandAtomicMinMaxOp()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp51 case RecurKind::UMin: in isIntegerRecurrenceKind()
812 return InstDesc(Kind == RecurKind::UMin, I); in isMinMaxPattern()
1041 if (AddReductionVar(Phi, RecurKind::UMin, TheLoop, FMF, RedDes, DB, AC, DT, in isReductionPHI()
1227 case RecurKind::UMin: in getOpcode()
H A DScalarEvolution.cpp11297 if (auto *UMin = dyn_cast<SCEVUMinExpr>(MaxIter)) in getLoopInvariantExitCondDuringFirstIterations() local
11303 for (auto *Op : UMin->operands()) in getLoopInvariantExitCondDuringFirstIterations()
15731 if (auto *UMin = dyn_cast<SCEVUMinExpr>(FromRewritten)) in collectFromBlock() local
15732 EnqueueOperands(UMin); in collectFromBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVExpandAtomicPseudoInsts.cpp138 return expandAtomicMinMaxOp(MBB, MBBI, AtomicRMWInst::UMin, true, 32, in expandMI()
519 case AtomicRMWInst::UMin: in expandAtomicMinMaxOp()
H A DRISCVTargetTransformInfo.h372 case RecurKind::UMin: in isLegalToVectorizeReduction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp940 case AtomicRMWInst::UMin: in performMaskedAtomicOp()
1601 case AtomicRMWInst::UMin: in isIdempotentRMW()
1839 case AtomicRMWInst::UMin: in GetRMWLibcall()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp141 APInt UMin(CR.getUnsignedMin()); in makeAllowedICmpRegion() local
142 if (UMin.isMaxValue()) in makeAllowedICmpRegion()
144 return ConstantRange(std::move(UMin) + 1, APInt::getZero(W)); in makeAllowedICmpRegion()
H A DCore.cpp3964 case LLVMAtomicRMWBinOpUMin: return AtomicRMWInst::UMin; in mapFromLLVMRMWBinOp()
3998 case AtomicRMWInst::UMin: return LLVMAtomicRMWBinOpUMin; in mapToLLVMRMWBinOp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp1277 if (auto *UMin = dyn_cast<SCEVUMinExpr>(MaxIter)) { in createReplacement() local
1278 for (const SCEV *Op : UMin->operands()) in createReplacement()
H A DLoopInterchange.cpp834 case RecurKind::UMin: in findInnerReductionPhi()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXIL.td751 def UMin : DXILOp<40, binary> {
752 let Doc = "Unsigned integer minimum. UMin(a,b) = a < b ? a : b";
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td733 def OpGroupUMin: OpGroup<"UMin", 267>;
802 def OpGroupNonUniformUMin: OpGroupNUGroup<"UMin", 354>;
H A DSPIRVBuiltins.td422 defm : DemangledExtendedBuiltin<"UMin", GLSL_std_450, 38>;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DNVPTX.cpp465 return MakeBinaryAtomicValue(*this, llvm::AtomicRMWInst::UMin, E); in EmitNVPTXBuiltinExpr()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp8980 (RMWOp != AtomicRMWInst::UMax) && (RMWOp != AtomicRMWInst::UMin) && in createAtomicUpdate()
9016 case AtomicRMWInst::UMin: in emitRMWOpAsInstruction()
9346 NewOp = Op == OMPAtomicCompareOp::MAX ? AtomicRMWInst::UMin in createAtomicCompare()
9359 : AtomicRMWInst::UMin; in createAtomicCompare()
9387 case AtomicRMWInst::UMin: in createAtomicCompare()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp667 : llvm::AtomicRMWInst::UMin); in EmitAtomicOp()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp575 case AtomicRMWInst::UMin: in getEncodedRMWOperation()

12