| /freebsd-12.1/contrib/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParserCommon.h | 18 return isInt<8>(Value) || in isImmSExti16i8Value() 19 (isUInt<16>(Value) && isInt<8>(static_cast<int16_t>(Value))); in isImmSExti16i8Value() 23 return isInt<8>(Value) || in isImmSExti32i8Value() 24 (isUInt<32>(Value) && isInt<8>(static_cast<int32_t>(Value))); in isImmSExti32i8Value() 28 return isInt<8>(Value); in isImmSExti64i8Value() 32 return isInt<32>(Value); in isImmSExti64i32Value() 36 return isUInt<8>(Value) || isInt<8>(Value); in isImmUnsignedi8Value()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/MCTargetDesc/ |
| H A D | MipsAsmBackend.cpp | 82 if (!isInt<16>(Value)) { in adjustFixupValue() 92 if (!isInt<19>(Value)) { in adjustFixupValue() 131 if (!isInt<7>(Value)) { in adjustFixupValue() 141 if (!isInt<10>(Value)) { in adjustFixupValue() 151 if (!isInt<16>(Value)) { in adjustFixupValue() 160 if (!isInt<18>(Value)) { in adjustFixupValue() 173 if (!isInt<18>(Value)) { in adjustFixupValue() 182 if (!isInt<21>(Value)) { in adjustFixupValue() 191 if (!isInt<26>(Value)) { in adjustFixupValue() 200 if (!isInt<26>(Value)) { in adjustFixupValue() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | MipsInstrInfo.cpp | 305 return isInt<18>(BrOffset); in isBranchOffsetInRange() 321 return isInt<17>(BrOffset); in isBranchOffsetInRange() 325 return isInt<11>(BrOffset); in isBranchOffsetInRange() 329 return isInt<8>(BrOffset); in isBranchOffsetInRange() 334 return isInt<28>(BrOffset); in isBranchOffsetInRange() 358 return isInt<18>(BrOffset); in isBranchOffsetInRange() 362 return isInt<23>(BrOffset); in isBranchOffsetInRange() 366 return isInt<11>(BrOffset); in isBranchOffsetInRange() 370 return isInt<8>(BrOffset); in isBranchOffsetInRange() 374 return isInt<27>(BrOffset); in isBranchOffsetInRange() [all …]
|
| H A D | Mips16InstrInfo.cpp | 237 if (isInt<16>(-Remainder)) in makeFrame() 263 if (isInt<16>(Remainder)) in restoreFrame() 317 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16> in adjustStackPtr() 489 return isInt<16>(Amount); in validImmediate() 492 return isInt<16>(Amount); in validImmediate() 493 return isInt<15>(Amount); in validImmediate()
|
| H A D | MipsSERegisterInfo.cpp | 218 if (OffsetBitSize < 16 && isInt<16>(Offset) && in eliminateFI() 239 } else if (!isInt<16>(Offset)) { in eliminateFI()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetTransformInfo.h | 57 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost() 59 if (isInt<21>(Imm.getZExtValue())) in getIntImmCost() 61 if (isInt<32>(Imm.getSExtValue())) { in getIntImmCost()
|
| H A D | LanaiISelDAGToDAG.cpp | 97 return isInt<21>(CN.getSExtValue()) && ((CN.getSExtValue() & 0x3) == 0); in canBeRepresentedAsSls() 130 if (isInt<16>(CN->getSExtValue())) { in selectAddrRiSpls() 143 if (isInt<10>(CN->getSExtValue())) { in selectAddrRiSpls() 174 if ((RiMode && isInt<16>(CN->getSExtValue())) || in selectAddrRiSpls() 175 (!RiMode && isInt<10>(CN->getSExtValue()))) { in selectAddrRiSpls() 229 if (isInt<16>(CN->getSExtValue())) in selectAddrRr()
|
| H A D | LanaiRegisterInfo.cpp | 169 if ((isSPLSOpcode(MI.getOpcode()) && !isInt<10>(Offset)) || in eliminateFrameIndex() 170 !isInt<16>(Offset)) { in eliminateFrameIndex() 185 if (!isInt<16>(Offset)) { in eliminateFrameIndex()
|
| H A D | LanaiMemAluCombiner.cpp | 314 ((IsSpls && isInt<10>(Op2.getImm())) || in isSuitableAluInstr() 315 (!IsSpls && isInt<16>(Op2.getImm())))) || in isSuitableAluInstr()
|
| /freebsd-12.1/contrib/llvm/lib/Target/RISCV/ |
| H A D | RISCVRegisterInfo.cpp | 85 if (!isInt<32>(Offset)) { in eliminateFrameIndex() 93 if (!isInt<12>(Offset)) { in eliminateFrameIndex() 94 assert(isInt<32>(Offset) && "Int32 expected"); in eliminateFrameIndex()
|
| H A D | RISCVFrameLowering.cpp | 64 if (isInt<12>(Val)) { in adjustReg() 69 } else if (isInt<32>(Val)) { in adjustReg() 257 if (!isInt<11>(MFI.estimateStackSize(MF))) { in processFunctionBeforeFrameFinalized()
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 64 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost() 67 if (isInt<32>(Imm.getSExtValue())) { in getIntImmCost() 97 if ((Idx == 1) && Imm.getBitWidth() <= 64 && isInt<16>(Imm.getSExtValue())) in getIntImmCost() 101 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCost() 106 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCost() 172 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAddSub.cpp | 232 if (isInt()) { in set() 243 if (!isInt()) in convertToFpType() 267 if (That.isInt()) in operator =() 275 if (isInt() == That.isInt()) { in operator +=() 276 if (isInt()) in operator +=() 283 if (isInt()) { in operator +=() 303 if (isInt() && That.isInt()) { in operator *=() 313 if (isInt()) in operator *=() 317 if (That.isInt()) in operator *=() 325 if (isInt()) in negate() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonOperands.td | 14 def s8_0Imm64Pred : PatLeaf<(i64 imm), [{ return isInt<8>(N->getSExtValue()); }]>; 21 return isInt<32>(v);
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 51 if (isInt<32>(Imm.getSExtValue())) in getIntImmCost() 95 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost() 102 if (isInt<32>(Imm.getSExtValue())) in getIntImmCost() 123 if (isInt<32>(Imm.getSExtValue())) in getIntImmCost() 216 if (isInt<32>(Imm.getSExtValue())) in getIntImmCost() 221 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCost() 226 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCost()
|
| H A D | SystemZOperands.td | 334 return isInt<8>(N->getSExtValue()); 348 return isInt<16>(N->getSExtValue()); 352 return isInt<16>(-N->getSExtValue()); 369 return isInt<32>(-N->getSExtValue()); 436 return isInt<8>(N->getSExtValue()); 444 return isInt<16>(N->getSExtValue()); 448 return isInt<16>(-N->getSExtValue()); 456 return isInt<32>(N->getSExtValue()); 460 return isInt<32>(-N->getSExtValue());
|
| H A D | SystemZInstrInfo.cpp | 1072 isInt<8>(MI.getOperand(2).getImm()) && !MI.getOperand(3).getReg()) { in foldMemoryOperandImpl() 1108 isInt<8>(MI.getOperand(2).getImm())) { in foldMemoryOperandImpl() 1121 isInt<8>((int32_t)MI.getOperand(2).getImm())) || in foldMemoryOperandImpl() 1123 isInt<8>((int64_t)MI.getOperand(2).getImm()))) { in foldMemoryOperandImpl() 1136 isInt<8>((int32_t)-MI.getOperand(2).getImm())) || in foldMemoryOperandImpl() 1138 isInt<8>((int64_t)-MI.getOperand(2).getImm()))) { in foldMemoryOperandImpl() 1549 if (isInt<20>(Offset) && isInt<20>(Offset2)) { in getOpcodeForOffset() 1638 if (!(MI && isInt<8>(MI->getOperand(1).getImm()))) in getFusedCompare() 1771 if (isInt<16>(Value)) in loadImmediate() 1779 assert(isInt<32>(Value) && "Huge values not handled yet"); in loadImmediate()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARC/ |
| H A D | ARCISelDAGToDAG.cpp | 112 if (!isInt<9>(RHSC)) in SelectAddrModeS9() 175 isInt<12>(CVal) ? ARC::MOV_rs12 : ARC::MOV_rlimm, in Select()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | MathExtras.h | 299 template <unsigned N> constexpr inline bool isInt(int64_t x) { 303 template <> constexpr inline bool isInt<8>(int64_t x) { 306 template <> constexpr inline bool isInt<16>(int64_t x) { 309 template <> constexpr inline bool isInt<32>(int64_t x) { 319 return isInt<N + S>(x) && (x % (UINT64_C(1) << S) == 0);
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86OptimizeLEAs.cpp | 349 if (!isInt<32>(AddrDispShiftTemp)) in chooseBestLEA() 371 if (BestLEA != nullptr && !isInt<8>(AddrDispShiftTemp) && in chooseBestLEA() 372 isInt<8>(AddrDispShift)) in chooseBestLEA() 463 !isInt<32>(MI.getOperand(MemOpNo + X86::AddrDisp).getImm() + in isReplaceable()
|
| H A D | X86WinAllocaExpander.cpp | 198 return isInt<8>(Amount) ? X86::SUB64ri8 : X86::SUB64ri32; in getSubOpcode() 199 return isInt<8>(Amount) ? X86::SUB32ri8 : X86::SUB32ri; in getSubOpcode()
|
| /freebsd-12.1/contrib/llvm/lib/Target/RISCV/Utils/ |
| H A D | RISCVMatInt.cpp | 21 if (isInt<32>(Val)) { in generateInstSeq()
|
| /freebsd-12.1/contrib/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVAsmBackend.cpp | 192 if (!isInt<21>(Value)) in adjustFixupValue() 209 if (!isInt<13>(Value)) in adjustFixupValue()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | SIShrinkInstructions.cpp | 86 if (MovSrc.isImm() && (isInt<32>(MovSrc.getImm()) || in foldImmediates() 124 return isInt<16>(Src.getImm()) && in isKImmOperand() 138 if (isInt<16>(Src.getImm())) { in isKImmOrKUImmOperand() 156 if (!isInt<32>(Src.getImm()) || TII->isInlineConstant(Src)) in isReverseInlineImm()
|
| /freebsd-12.1/contrib/llvm/tools/lld/COFF/ |
| H A D | Chunks.cpp | 167 if (!isInt<21>(V)) in applyBranch20T() 177 if (!isInt<25>(V)) in applyBranch24T() 278 if (!isInt<28>(V)) in applyArm64Branch26() 284 if (!isInt<21>(V)) in applyArm64Branch19() 290 if (!isInt<16>(V)) in applyArm64Branch14()
|