Home
last modified time | relevance | path

Searched refs:minIntN (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCAsmBackend.cpp45 if (!checkFixupInRange(minIntN(W) * 2, maxIntN(W) * 2)) in extractBitsForFixup()
66 if (!checkFixupInRange(minIntN(20), maxIntN(20))) in extractBitsForFixup()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DMathExtrasTest.cpp152 TEST(MathExtras, minIntN) { in TEST() argument
153 EXPECT_EQ(-32768LL, minIntN(16)); in TEST()
154 EXPECT_EQ(-64LL, minIntN(7)); in TEST()
155 EXPECT_EQ(std::numeric_limits<int32_t>::min(), minIntN(32)); in TEST()
156 EXPECT_EQ(std::numeric_limits<int64_t>::min(), minIntN(64)); in TEST()
/llvm-project-15.0.7/lld/ELF/
H A DTarget.h254 reportRangeError(loc, rel, Twine(v), llvm::minIntN(n), llvm::maxIntN(n)); in checkInt()
269 reportRangeError(loc, rel, Twine((int64_t)v), llvm::minIntN(n), in checkIntUInt()
H A DRelocations.cpp125 " is not in [" + Twine(llvm::minIntN(n)) + ", " + in reportRangeError()
/llvm-project-15.0.7/lld/MachO/
H A DRelocations.h102 reportRangeError(loc, d, llvm::Twine(v), bits, llvm::minIntN(bits), in checkInt()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DQuantTypes.h73 return llvm::minIntN(integralWidth); in getDefaultMinimumForInteger()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DMathExtras.h439 inline int64_t minIntN(int64_t N) {
461 return N >= 64 || (minIntN(N) <= x && x <= maxIntN(N));
/llvm-project-15.0.7/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRAsmBackend.cpp43 int64_t Min = minIntN(Width); in signed_width()