/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonDepOperands.td | 24 defm u10_0ImmPred : ImmOpPred<[{ return isShiftedUInt<10, 0>(N->getSExtValue());}]>; 27 defm u32_0ImmPred : ImmOpPred<[{ return isShiftedUInt<32, 0>(N->getSExtValue());}]>; 75 defm u1_0ImmPred : ImmOpPred<[{ return isShiftedUInt<1, 0>(N->getSExtValue());}]>; 78 defm u11_3ImmPred : ImmOpPred<[{ return isShiftedUInt<11, 3>(N->getSExtValue());}]>; 81 defm u16_0ImmPred : ImmOpPred<[{ return isShiftedUInt<16, 0>(N->getSExtValue());}]>; 84 defm u2_0ImmPred : ImmOpPred<[{ return isShiftedUInt<2, 0>(N->getSExtValue());}]>; 87 defm u26_6ImmPred : ImmOpPred<[{ return isShiftedUInt<26, 6>(N->getSExtValue());}]>; 90 defm u3_0ImmPred : ImmOpPred<[{ return isShiftedUInt<3, 0>(N->getSExtValue());}]>; 93 defm u3_1ImmPred : ImmOpPred<[{ return isShiftedUInt<3, 1>(N->getSExtValue());}]>; 96 defm u4_0ImmPred : ImmOpPred<[{ return isShiftedUInt<4, 0>(N->getSExtValue());}]>; [all …]
|
H A D | HexagonInstrInfo.cpp | 2828 return isShiftedUInt<6,1>(Offset); in isValidOffset() 2833 return isShiftedUInt<6,2>(Offset); in isValidOffset() 2929 return isShiftedUInt<6,1>(Offset); in isValidOffset() 2935 return isShiftedUInt<6,2>(Offset); in isValidOffset() 2941 return isShiftedUInt<6,3>(Offset); in isValidOffset() 3946 isShiftedUInt<5,2>(MI.getOperand(2).getImm())) in getDuplexCandidateGroup() 3951 isShiftedUInt<4,2>(MI.getOperand(2).getImm()))) in getDuplexCandidateGroup() 3983 isShiftedUInt<3,1>(MI.getOperand(2).getImm())) in getDuplexCandidateGroup() 4005 isShiftedUInt<5,3>(MI.getOperand(2).getImm())) in getDuplexCandidateGroup() 4068 isShiftedUInt<5,2>(MI.getOperand(1).getImm())) in getDuplexCandidateGroup() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfoXwch.td | 48 ImmLeaf<XLenVT, [{return isShiftedUInt<4, 1>(Imm);}]> { 57 return isShiftedUInt<4, 1>(Imm); 63 ImmLeaf<XLenVT, [{return isShiftedUInt<5, 1>(Imm);}]> { 72 return isShiftedUInt<5, 1>(Imm);
|
H A D | RISCVInstrInfoZc.td | 19 ImmLeaf<XLenVT, [{return isShiftedUInt<1, 1>(Imm);}]> { 28 return isShiftedUInt<1, 1>(Imm); 83 return isShiftedUInt<2, 4>(Imm); 96 return isShiftedUInt<2, 4>(Imm);
|
H A D | RISCVMakeCompressible.cpp | 158 return isShiftedUInt<6, 2>(Offset); in compressibleSPOffset() 160 return isShiftedUInt<6, 3>(Offset); in compressibleSPOffset()
|
H A D | RISCVInstrInfoC.td | 100 ImmLeaf<XLenVT, [{return isShiftedUInt<5, 2>(Imm);}]> { 109 return isShiftedUInt<5, 2>(Imm); 115 ImmLeaf<XLenVT, [{return isShiftedUInt<6, 2>(Imm);}]> { 124 return isShiftedUInt<6, 2>(Imm); 130 ImmLeaf<XLenVT, [{return isShiftedUInt<5, 3>(Imm);}]> { 139 return isShiftedUInt<5, 3>(Imm); 162 ImmLeaf<XLenVT, [{return isShiftedUInt<6, 3>(Imm);}]> { 171 return isShiftedUInt<6, 3>(Imm); 179 [{return isShiftedUInt<8, 2>(Imm) && (Imm != 0);}]> { 188 return isShiftedUInt<8, 2>(Imm) && (Imm != 0);
|
H A D | RISCVInstrInfo.cpp | 2385 Ok = isShiftedUInt<1, 1>(Imm); in verifyInstruction() 2388 Ok = isShiftedUInt<4, 1>(Imm); in verifyInstruction() 2391 Ok = isShiftedUInt<5, 1>(Imm); in verifyInstruction() 2394 Ok = isShiftedUInt<5, 2>(Imm); in verifyInstruction() 2397 Ok = isShiftedUInt<6, 2>(Imm); in verifyInstruction() 2400 Ok = isShiftedUInt<5, 3>(Imm); in verifyInstruction() 2406 Ok = isShiftedUInt<6, 3>(Imm); in verifyInstruction() 2412 Ok = isShiftedUInt<8, 2>(Imm) && (Imm != 0); in verifyInstruction()
|
H A D | RISCVInstrInfoXTHead.td | 673 return isShiftedUInt<2, 3>(Imm); 682 return isShiftedUInt<2, 4>(Imm);
|
H A D | RISCVISelLowering.cpp | 15256 if ((Offset1 + 4 == Offset2) && isShiftedUInt<2, 3>(Offset1)) in performMemPairCombine() 15260 if ((Offset1 + 8 == Offset2) && isShiftedUInt<2, 4>(Offset1)) in performMemPairCombine()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYInstrInfo.td | 114 ImmLeaf<i32, "return isShiftedUInt<"#num#", "#shift#">(Imm);"> { 124 ImmLeaf<i32, "return isShiftedUInt<"#num#", "#shift#">(-Imm);"> { 150 ImmLeaf<i32, "return isShiftedUInt<16, 16>(Imm);", uimm32_hi16> { 333 return isShiftedUInt<5, 0>(Imm); 345 return isShiftedUInt<5, 1>(Imm); 353 return isShiftedUInt<5, 2>(Imm); 364 return isShiftedUInt<7, 2>(Imm); 373 return isShiftedUInt<8, 0>(Imm); 381 return isShiftedUInt<8, 2>(Imm); 393 return isShiftedUInt<1 [all...] |
H A D | CSKYFrameLowering.cpp | 555 } else if (!STI.hasE2() && isShiftedUInt<7, 2>(std::abs(Val))) { in adjustReg()
|
H A D | CSKYInstrInfo.cpp | 241 } else if (isShiftedUInt<16, 16>(Val)) { in movImm()
|
H A D | CSKYInstrInfoF1.td | 68 "return isShiftedUInt<"#width#", "#shift#">(N->getValueAPF().bitcastToAPInt().getZExtValue());">;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/ |
H A D | RISCVAsmParser.cpp | 808 return IsConstantImm && isShiftedUInt<1, 1>(Imm) && in isUImm2Lsb0() 818 return IsConstantImm && isShiftedUInt<4, 1>(Imm) && in isUImm5Lsb0() 828 return IsConstantImm && isShiftedUInt<5, 1>(Imm) && in isUImm6Lsb0() 838 return IsConstantImm && isShiftedUInt<5, 2>(Imm) && in isUImm7Lsb00() 848 return IsConstantImm && isShiftedUInt<6, 2>(Imm) && in isUImm8Lsb00() 858 return IsConstantImm && isShiftedUInt<5, 3>(Imm) && in isUImm8Lsb000() 870 return IsConstantImm && isShiftedUInt<6, 3>(Imm) && in isUImm9Lsb000() 880 return IsConstantImm && isShiftedUInt<8, 2>(Imm) && (Imm != 0) && in isUImm10Lsb00NonZero()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCInstrInfo.h | 205 return isShiftedUInt<N, S>(minConstant(MCI, Index)); in inRange()
|
H A D | HexagonMCDuplexInfo.cpp | 561 if (!isShiftedUInt<6, 0>(Value)) in subInstWouldBeExtended()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/ |
H A D | LanaiAsmParser.cpp | 218 return isShiftedUInt<23, 2>(static_cast<int32_t>(Value)); in isBrImm() 232 return Value != 0 && isShiftedUInt<16, 16>(Value); in isHiImm16()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | MathExtras.h | 210 constexpr bool isShiftedUInt(uint64_t x) { in isShiftedUInt() function
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/ |
H A D | CSKYAsmParser.cpp | 247 return IsConstantImm && isShiftedUInt<num, shift>(Imm); in isUImm() 395 return isShiftedUInt<6, 0>(Imm) && uimm4 >= 0 && uimm4 <= 14; in isExtImm6()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcInstrInfo.td | 109 return isShiftedUInt<22, 10>(N->getZExtValue()); 115 return N->hasOneUse() && isShiftedUInt<22, 10>(~(unsigned)N->getZExtValue());
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 19547 return isShiftedUInt<7,2>(V); in isLegalT2AddressImmediate() 19550 return isShiftedUInt<7,1>(V); in isLegalT2AddressImmediate() 19560 return isShiftedUInt<8, 1>(V); in isLegalT2AddressImmediate() 19563 return isShiftedUInt<8, 2>(V); in isLegalT2AddressImmediate() 19608 return isShiftedUInt<8, 2>(V); in isLegalAddressImmediate()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/ |
H A D | MipsAsmParser.cpp | 1403 isShiftedUInt<Bits, ShiftLeftAmount>(getConstantImm()); in isScaledUImm()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 11839 if (isUInt<12>(CVal) || isShiftedUInt<12, 12>(CVal)) in LowerAsmOperandForConstraint() 11844 if (isUInt<12>(NVal) || isShiftedUInt<12, 12>(NVal)) { in LowerAsmOperandForConstraint()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 16969 if (isShiftedUInt<16, 16>(Value)) in LowerAsmOperandForConstraint()
|