Home
last modified time | relevance | path

Searched refs:udiv (Results 1 – 25 of 79) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUImageIntrinsicOptimizer.cpp121 AllEqual = FragIdList->getValue().udiv(4) == FragId->getValue().udiv(4); in addInstToMergeableList()
224 const APInt &NewFragIdVal = FragId->getValue().udiv(4) * 4; in optimizeSection()
/freebsd/tools/regression/compat32/aarch64/
H A Dswp_test_impl.S291 udiv r5, r0, r6
307 udiv r0, r4, r6
339 udiv r6, r6, r3
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp1249 x_new = (this->udiv(x_old) + x_old).udiv(two); in sqrt()
1266 APInt midpoint((nextSquare - square).udiv(two)); in sqrt()
1573 APInt APInt::udiv(const APInt &RHS) const { in udiv() function in APInt
1611 APInt APInt::udiv(uint64_t RHS) const { in udiv() function in APInt
1647 return (-(*this)).udiv(-RHS); in sdiv()
1648 return -((-(*this)).udiv(RHS)); in sdiv()
1651 return -(this->udiv(-RHS)); in sdiv()
1652 return this->udiv(RHS); in sdiv()
1658 return (-(*this)).udiv(-RHS); in sdiv()
1659 return -((-(*this)).udiv(RHS)); in sdiv()
[all …]
H A DKnownBits.cpp957 return udiv(LHS, RHS, Exact); in sdiv()
1009 KnownBits KnownBits::udiv(const KnownBits &LHS, const KnownBits &RHS, in udiv() function in KnownBits
1026 APInt MaxRes = MinDenom.isZero() ? MaxNum : MaxNum.udiv(MinDenom); in udiv()
H A DAPFixedPoint.cpp340 Result = ThisVal.udiv(OtherVal); in div()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/HLSL/
H A DCBuffer.cpp70 return Offset.udiv(TypeSize) * RoundUp; in translateCBufArrayOffset()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DProfDataUtils.cpp304 Type::getInt32Ty(C), Val.udiv(APT).getLimitedValue(UINT32_MAX)))); in scaleProfData()
322 Type::getInt64Ty(C), Val.udiv(APT).getLimitedValue()))); in scaleProfData()
H A DConstantRange.cpp957 return udiv(Other); in binaryOp()
1348 ConstantRange::udiv(const ConstantRange &RHS) const { in udiv() function in ConstantRange
1352 APInt Lower = getUnsignedMin().udiv(RHS.getUnsignedMax()); in udiv()
1364 APInt Upper = getUnsignedMax().udiv(RHS_umin) + 1; in udiv()
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/arm/
H A Dumodsi3.S28 udiv r2, r0, r1
H A Dudivmodsi4.S31 udiv r0, r3, r1
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h138 *this = udiv(RHS);
149 return IsUnsigned ? APSInt(udiv(RHS), true) : APSInt(sdiv(RHS), false);
H A DAPInt.h962 LLVM_ABI APInt udiv(const APInt &RHS) const;
963 LLVM_ABI APInt udiv(uint64_t RHS) const;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DEVLIndVarSimplify.cpp86 uint64_t VF = V.udiv(*Fixed).getLimitedValue(); in getVFFromIndVar()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoM.td83 def : PatGprGpr<udiv, DIVU>;
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfo.cpp247 BBFreq = BBFreq.udiv(OldFreq); in setBlockFreqAndScale()
H A DHashRecognize.cpp163 return KnownBits::udiv(KnownL, KnownR); in computeBinOp()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips64r6InstrInfo.td68 class DDIVU_DESC : DIVMOD_DESC_BASE<"ddivu", GPR64Opnd, II_DDIVU, udiv>;
313 def : MipsPat<(i64 (sext (i32 (udiv GPR32:$src, GPR32:$src2)))),
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h472 LLVM_ABI ConstantRange udiv(const ConstantRange &Other) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrArithmetic.td637 def UDIVd32d32 : MxDiMuOp_DD_Long<"divu.l", udiv, 0x131, /*SIGNED*/false>;
651 def : Pat<(udiv i8:$dst, i8:$opd),
672 def : Pat<(udiv i16:$dst, i16:$opd),
693 def : Pat<(udiv i8:$dst, Mxi8immSExt8:$opd),
714 def : Pat<(udiv i16:$dst, Mxi16immSExt16:$opd),
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILResourceAccess.cpp41 APInt Scaled = ConstantOffset.udiv(ScalarSize); in calculateGEPOffset()
H A DDXILFlattenArrays.cpp317 Info.ConstantOffset.udiv(BytesPerElem).getZExtValue(); in visitGetElementPtrInst()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DIntegralAP.h268 R->copy(A.getValue().udiv(B.getValue())); in div()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h398 LLVM_ABI static KnownBits udiv(const KnownBits &LHS, const KnownBits &RHS,
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInteger.td57 defm DIV_U : BinaryInt<udiv, "div_u", 0x6e, 0x80>;
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/
H A DSelectionDAGCompat.td70 def : GINodeEquiv<G_UDIV, udiv>;

1234