Home
last modified time | relevance | path

Searched refs:isIntN (Results 1 – 25 of 69) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZOperands.td324 return N->getAPIntValue().isIntN(32) && SystemZ::isImmLL(N->getZExtValue());
328 return N->getAPIntValue().isIntN(32) && SystemZ::isImmLH(N->getZExtValue());
334 return N->getAPIntValue().isIntN(32) &&
339 return N->getAPIntValue().isIntN(32) &&
345 return N->getAPIntValue().isIntN(1);
349 return N->getAPIntValue().isIntN(2);
353 return N->getAPIntValue().isIntN(3);
357 return N->getAPIntValue().isIntN(4);
363 return N->getAPIntValue().isIntN(4);
371 return N->getAPIntValue().isIntN(8);
[all …]
H A DSystemZISelLowering.h477 return Mask && Mask->getValue().isIntN(16); in isMaskAndCmp0FoldingBeneficial()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYAsmBackend.cpp92 if (!isIntN(17, Value)) in adjustFixupValue()
106 if (!isIntN(27, Value)) in adjustFixupValue()
113 if (!isIntN(19, Value)) in adjustFixupValue()
132 if (!isIntN(11, Value)) in adjustFixupValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonAsmBackend.cpp686 if (!(isIntN(7, sValue))) in applyFixup()
696 if (!(isIntN(9, sValue))) in applyFixup()
708 if (!(isIntN(13, sValue))) in applyFixup()
719 if (!(isIntN(15, sValue))) in applyFixup()
731 if (!(isIntN(22, sValue))) in applyFixup()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSymbolEnumerator.cpp99 assert(Record.Value.isIntN(BT.getLength() * 8)); in getValue()
114 assert(Record.Value.isIntN(BT.getLength() * 8)); in getValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRAsmBackend.cpp71 if (!isIntN(Size, Value) && STI->hasFeature(AVR::FeatureWrappingRjmp)) { in adjustRelativeBranch()
78 if (isIntN(Size, WrappedValue)) { in adjustRelativeBranch()
83 if (!isIntN(Size, Value)) { in adjustRelativeBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelDAGToDAG.cpp183 if (isIntN(12, CN->getSExtValue())) { in SelectInlineAsmMemoryOperand()
197 if (isIntN(16, CN->getSExtValue()) && in SelectInlineAsmMemoryOperand()
406 if (!IsSigned && ImmValue.isIntN(ImmBitSize)) { in selectVSplatImm()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaInstrInfo.cpp316 return isIntN(18, BrOffset); in isBranchOffsetInRange()
334 return isIntN(8, BrOffset); in isBranchOffsetInRange()
340 return isIntN(12, BrOffset); in isBranchOffsetInRange()
344 return isIntN(8, BrOffset); in isBranchOffsetInRange()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DPlaceSafepoints.cpp450 SE->getUnsignedRange(MaxTrips).getUnsignedMax().isIntN( in mustBeFiniteCountedLoop()
462 SE->getUnsignedRange(MaxExec).getUnsignedMax().isIntN( in mustBeFiniteCountedLoop()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DRecordSerialization.cpp119 if (N.isSigned() || !N.isIntN(64)) in consume_numeric()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.cpp408 return isIntN(22, Offset >> 2); in isBranchOffsetInRange()
424 return isIntN(BPccDisplacementBits, Offset >> 2); in isBranchOffsetInRange()
430 return isIntN(BPrDisplacementBits, Offset >> 2); in isBranchOffsetInRange()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kAsmBackend.cpp93 assert(isIntN(Size * 8 + 1, static_cast<int64_t>(Value)) && in applyFixup()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSERegisterInfo.cpp213 (!isIntN(OffsetBitSize, Offset) || !isAligned(OffsetAlign, Offset))) { in eliminateFI()
H A DMipsISelDAGToDAG.cpp206 auto IsInlineConstant = [](const APInt &Imm) { return Imm.isIntN(5); }; in selectVecAddAsVecSubIfProfitable()
H A DMipsSEISelDAGToDAG.cpp282 if (isIntN(OffsetBits + ShiftAmount, CN->getSExtValue())) { in selectAddrFrameIndexOffset()
559 (!Signed && ImmValue.isIntN(ImmBitSize))) { in selectVSplatCommon()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRInstrInfo.cpp542 return isIntN(13, BrOffset); in isBranchOffsetInRange()
553 return isIntN(7, BrOffset); in isBranchOffsetInRange()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCStringSyntaxChecker.cpp68 return (IL->getValue().isIntN(1)); in isOne()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelDAGToDAG.cpp372 return isIntN(AM.getDispSize() - 1, AM.Disp); in doesDispFitFI()
378 return isIntN(AM.getDispSize(), Val); in doesDispFit()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h95 return isSigned() ? isSignedIntN(64) : isIntN(63); in isRepresentableByInt64()
H A DAPInt.h120 assert(llvm::isIntN(BitWidth, val) && in BitWidth()
432 bool isIntN(unsigned N) const { return getActiveBits() <= N; } in isIntN() function
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp732 if (Size > 0 && !isIntN(Size * 8, SignedValue)) in applyFixup()
742 assert((Size == 0 || isIntN(Size * 8 + 1, SignedValue)) && in applyFixup()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectStreamer.cpp183 if (!isUIntN(8 * Size, AbsValue) && !isIntN(8 * Size, AbsValue)) { in emitValueImpl()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp660 fits = integer.isIntN(byte_size * 8); in SetValueFromCString()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp378 if (Value.isIntN(64)) in intToken()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DMathExtras.h261 inline constexpr bool isIntN(unsigned N, int64_t x) { in isIntN() function

123