| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParserCommon.h | 17 return isInt<8>(Value) || in isImmSExti16i8Value() 18 (isUInt<16>(Value) && isInt<8>(static_cast<int16_t>(Value))); in isImmSExti16i8Value() 22 return isInt<8>(Value) || in isImmSExti32i8Value() 23 (isUInt<32>(Value) && isInt<8>(static_cast<int32_t>(Value))); in isImmSExti32i8Value() 27 return isInt<8>(Value); in isImmSExti64i8Value() 31 return isInt<32>(Value); in isImmSExti64i32Value() 35 return isUInt<8>(Value) || isInt<8>(Value); in isImmUnsignedi8Value()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
| H A D | MipsAsmBackend.cpp | 81 if (!isInt<16>(Value)) { in adjustFixupValue() 91 if (!isInt<19>(Value)) { in adjustFixupValue() 130 if (!isInt<7>(Value)) { in adjustFixupValue() 140 if (!isInt<10>(Value)) { in adjustFixupValue() 150 if (!isInt<16>(Value)) { in adjustFixupValue() 159 if (!isInt<18>(Value)) { in adjustFixupValue() 172 if (!isInt<18>(Value)) { in adjustFixupValue() 181 if (!isInt<21>(Value)) { in adjustFixupValue() 190 if (!isInt<26>(Value)) { in adjustFixupValue() 199 if (!isInt<26>(Value)) { in adjustFixupValue() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsInstrInfo.cpp | 306 return isInt<18>(BrOffset); in isBranchOffsetInRange() 322 return isInt<17>(BrOffset); in isBranchOffsetInRange() 326 return isInt<11>(BrOffset); in isBranchOffsetInRange() 330 return isInt<8>(BrOffset); in isBranchOffsetInRange() 335 return isInt<28>(BrOffset); in isBranchOffsetInRange() 359 return isInt<18>(BrOffset); in isBranchOffsetInRange() 363 return isInt<23>(BrOffset); in isBranchOffsetInRange() 367 return isInt<11>(BrOffset); in isBranchOffsetInRange() 371 return isInt<8>(BrOffset); in isBranchOffsetInRange() 375 return isInt<27>(BrOffset); in isBranchOffsetInRange() [all …]
|
| H A D | Mips16InstrInfo.cpp | 232 if (isInt<16>(-Remainder)) in makeFrame() 258 if (isInt<16>(Remainder)) in restoreFrame() 312 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16> in adjustStackPtr() 485 return isInt<16>(Amount); in validImmediate() 488 return isInt<16>(Amount); in validImmediate() 489 return isInt<15>(Amount); in validImmediate()
|
| H A D | MipsSERegisterInfo.cpp | 216 if (OffsetBitSize < 16 && isInt<16>(Offset) && in eliminateFI() 236 } else if (!isInt<16>(Offset)) { in eliminateFI()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVMatInt.cpp | 31 Compressed = isInt<6>(Instr.Imm); in getInstSeqCost() 56 if (isInt<32>(Val)) { in generateInstSeqImpl() 109 if (ShiftAmount > 12 && !isInt<12>(Hi52) && isInt<32>((uint64_t)Hi52 << 12)) { in generateInstSeqImpl()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiISelDAGToDAG.cpp | 96 return isInt<21>(CN.getSExtValue()) && ((CN.getSExtValue() & 0x3) == 0); in canBeRepresentedAsSls() 129 if (isInt<16>(CN->getSExtValue())) { in selectAddrRiSpls() 142 if (isInt<10>(CN->getSExtValue())) { in selectAddrRiSpls() 173 if ((RiMode && isInt<16>(CN->getSExtValue())) || in selectAddrRiSpls() 174 (!RiMode && isInt<10>(CN->getSExtValue()))) { in selectAddrRiSpls() 228 if (isInt<16>(CN->getSExtValue())) in selectAddrRr()
|
| 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 | LanaiRegisterInfo.cpp | 165 if ((isSPLSOpcode(MI.getOpcode()) && !isInt<10>(Offset)) || in eliminateFrameIndex() 166 !isInt<16>(Offset)) { in eliminateFrameIndex() 181 if (!isInt<16>(Offset)) { in eliminateFrameIndex()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonOperands.td | 13 def s8_0Imm64Pred : PatLeaf<(i64 imm), [{ return isInt<8>(N->getSExtValue()); }]>; 20 return isInt<32>(v);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARC/ |
| H A D | ARCFrameLowering.cpp | 67 else if (isInt<12>(AbsAmount)) in generateStackAdjustment() 140 else if (isInt<12>(VarArgsBytes)) in emitPrologue() 285 else if (isInt<12>(MoveAmount)) in emitEpilogue() 300 else if (isInt<12>(4 * StackSlotsUsedByFunclet)) in emitEpilogue() 327 else if (isInt<12>(VarArgsBytes)) in emitEpilogue() 457 else if (isInt<12>(NumBytes)) in emitRegUpdate()
|
| H A D | ARCISelDAGToDAG.cpp | 111 if (!isInt<9>(RHSC)) in SelectAddrModeS9() 174 isInt<12>(CVal) ? ARC::MOV_rs12 : ARC::MOV_rlimm, in Select()
|
| /freebsd-13.1/contrib/llvm-project/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-13.1/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/ |
| H A D | M68kAsmBackend.cpp | 172 if (!isInt<16>(Value)) { in fixupNeedsRelaxation() 182 return Value == 0 || !isInt<8>(Value); in fixupNeedsRelaxation()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldCOFFAArch64.h | 318 assert(isInt<28>(PCRelVal) && "Branch target is out of range."); in resolveRelocation() 327 assert(isInt<21>(PCRelVal) && "Branch target is out of range."); in resolveRelocation() 336 assert(isInt<16>(PCRelVal) && "Branch target is out of range."); in resolveRelocation()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZOperands.td | 365 return isInt<8>(N->getSExtValue()); 379 return isInt<16>(N->getSExtValue()); 383 return isInt<16>(-N->getSExtValue()); 400 return isInt<32>(-N->getSExtValue()); 476 return isInt<8>(N->getSExtValue()); 484 return isInt<16>(N->getSExtValue()); 488 return isInt<16>(-N->getSExtValue()); 496 return isInt<32>(N->getSExtValue()); 500 return isInt<32>(-N->getSExtValue());
|
| H A D | SystemZTargetTransformInfo.cpp | 51 if (isInt<32>(Imm.getSExtValue())) in getIntImmCost() 97 if (isInt<16>(Imm.getSExtValue())) in getIntImmCostInst() 104 if (isInt<32>(Imm.getSExtValue())) in getIntImmCostInst() 125 if (isInt<32>(Imm.getSExtValue())) in getIntImmCostInst() 220 if (isInt<32>(Imm.getSExtValue())) in getIntImmCostIntrin() 225 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCostIntrin() 230 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && isInt<64>(Imm.getSExtValue()))) in getIntImmCostIntrin()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VEISelDAGToDAG.cpp | 231 if (isInt<32>(CN->getSExtValue())) { in selectADDRzii() 262 if (isInt<32>(CN->getSExtValue())) { in selectADDRzi() 314 if (isInt<32>(CN->getSExtValue())) { in matchADDRri()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86OptimizeLEAs.cpp | 357 if (!isInt<32>(AddrDispShiftTemp)) in chooseBestLEA() 379 if (BestLEA != nullptr && !isInt<8>(AddrDispShiftTemp) && in chooseBestLEA() 380 isInt<8>(AddrDispShift)) in chooseBestLEA() 472 !isInt<32>(MI.getOperand(MemOpNo + X86::AddrDisp).getImm() + in isReplaceable()
|
| H A D | X86WinAllocaExpander.cpp | 194 return isInt<8>(Amount) ? X86::SUB64ri8 : X86::SUB64ri32; in getSubOpcode() 195 return isInt<8>(Amount) ? X86::SUB32ri8 : X86::SUB32ri; in getSubOpcode()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | MathExtras.h | 363 template <unsigned N> constexpr inline bool isInt(int64_t x) { 367 template <> constexpr inline bool isInt<8>(int64_t x) { 370 template <> constexpr inline bool isInt<16>(int64_t x) { 373 template <> constexpr inline bool isInt<32>(int64_t x) { 383 return isInt<N + S>(x) && (x % (UINT64_C(1) << S) == 0);
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | ARM.cpp | 368 return llvm::isInt<26>(offset); in inBranchRange() 370 return llvm::isInt<21>(offset); in inBranchRange() 373 return config->armJ1J2BranchEncoding ? llvm::isInt<25>(offset) in inBranchRange() 374 : llvm::isInt<23>(offset); in inBranchRange()
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | Thunks.cpp | 306 if (!isInt<26>(computeOffset())) { in getMayUseShortThunk() 504 mayUseShortThunk = llvm::isInt<26>(offset); in getMayUseShortThunk() 542 mayUseShortThunk = llvm::isInt<25>(offset); in getMayUseShortThunk() 933 } else if (isInt<34>(offset)) { in writeTo() 979 if (!isInt<34>(offset)) in writeTo() 1017 if (!isInt<34>(offset)) in writeTo() 1066 if (!isInt<34>(offset)) in writeTo()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFTargetTransformInfo.h | 41 if (Imm.getBitWidth() <= 64 && isInt<32>(Imm.getSExtValue())) in getIntImmCost()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/ |
| H A D | PPCAsmParser.cpp | 326 bool isS5Imm() const { return Kind == Immediate && isInt<5>(getImm()); } in isS5Imm() 359 return isInt<16>(getImmS16Context()); in isS16Imm() 365 (Kind == Immediate && isInt<16>(getImm()) && in isS16ImmX4() 377 (Kind == Immediate && isInt<16>(getImm()) && in isS16ImmX16() 381 (Kind == Immediate && isInt<34>(getImm()) && (getImm() & 15) == 0); in isS34ImmX16() 386 return Kind == Expression || (Kind == Immediate && isInt<34>(getImm())); in isS34Imm() 395 return isInt<17>(getImmS16Context()); in isS17Imm() 409 if (isInt<26>(getImm())) in isDirectBr() 413 if (isUInt<32>(getImm()) && isInt<26>(static_cast<int32_t>(getImm()))) in isDirectBr() 419 (Kind == Immediate && isInt<16>(getImm()) && in isCondBr()
|