/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64AddressingModes.h | 85 static inline unsigned getShiftValue(unsigned Imm) { in getShiftValue() 99 unsigned Imm) { in getShifterImm() 118 static inline unsigned getArithShiftValue(unsigned Imm) { in getArithShiftValue() 171 unsigned Imm) { in getArithExtendImm() 178 static inline bool getMemDoShift(unsigned Imm) { in getMemDoShift() 343 static inline float getFPImmFloat(unsigned Imm) { in getFPImmFloat() 367 static inline int getFP16Imm(const APInt &Imm) { in getFP16Imm() 393 static inline int getFP32Imm(const APInt &Imm) { in getFP32Imm() 421 static inline int getFP64Imm(const APInt &Imm) { in getFP64Imm() 784 static inline bool isSVECpyImm(int64_t Imm) { in isSVECpyImm() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/Disassembler/ |
H A D | XtensaDisassembler.cpp | 106 static DecodeStatus decodeCallOperand(MCInst &Inst, uint64_t Imm, in decodeCallOperand() 113 static DecodeStatus decodeJumpOperand(MCInst &Inst, uint64_t Imm, in decodeJumpOperand() 120 static DecodeStatus decodeBranchOperand(MCInst &Inst, uint64_t Imm, in decodeBranchOperand() 141 static DecodeStatus decodeL32ROperand(MCInst &Inst, uint64_t Imm, in decodeL32ROperand() 150 static DecodeStatus decodeImm8Operand(MCInst &Inst, uint64_t Imm, in decodeImm8Operand() 165 static DecodeStatus decodeImm12Operand(MCInst &Inst, uint64_t Imm, in decodeImm12Operand() 172 static DecodeStatus decodeUimm4Operand(MCInst &Inst, uint64_t Imm, in decodeUimm4Operand() 179 static DecodeStatus decodeUimm5Operand(MCInst &Inst, uint64_t Imm, in decodeUimm5Operand() 222 static DecodeStatus decodeMem8Operand(MCInst &Inst, uint64_t Imm, in decodeMem8Operand() 230 static DecodeStatus decodeMem16Operand(MCInst &Inst, uint64_t Imm, in decodeMem16Operand() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/Disassembler/ |
H A D | SystemZDisassembler.cpp | 182 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) { in decodeUImmOperand() 190 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) { in decodeSImmOperand() 197 static DecodeStatus decodeU1ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU1ImmOperand() 203 static DecodeStatus decodeU2ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU2ImmOperand() 209 static DecodeStatus decodeU3ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU3ImmOperand() 215 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU4ImmOperand() 221 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU8ImmOperand() 227 static DecodeStatus decodeU12ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU12ImmOperand() 245 static DecodeStatus decodeS8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS8ImmOperand() 270 static DecodeStatus decodeLenOperand(MCInst &Inst, uint64_t Imm, in decodeLenOperand() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsAnalyzeImmediate.cpp | 32 void MipsAnalyzeImmediate::GetInstSeqLsADDiu(uint64_t Imm, unsigned RemSize, in GetInstSeqLsADDiu() 38 void MipsAnalyzeImmediate::GetInstSeqLsORi(uint64_t Imm, unsigned RemSize, in GetInstSeqLsORi() 44 void MipsAnalyzeImmediate::GetInstSeqLsSLL(uint64_t Imm, unsigned RemSize, in GetInstSeqLsSLL() 51 void MipsAnalyzeImmediate::GetInstSeqLs(uint64_t Imm, unsigned RemSize, in GetInstSeqLs() 97 int64_t Imm = SignExtend64<16>(Seq[0].ImmOpnd); in ReplaceADDiuSLLWithLUi() local 129 &MipsAnalyzeImmediate::Analyze(uint64_t Imm, unsigned Size, in Analyze()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelDAGToDAG.h | 110 bool isInlineImmediate16(int64_t Imm) const { in isInlineImmediate16() 114 bool isInlineImmediate32(int64_t Imm) const { in isInlineImmediate32() 118 bool isInlineImmediate64(int64_t Imm) const { in isInlineImmediate64() 122 bool isInlineImmediate(const APFloat &Imm) const { in isInlineImmediate()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMAddressingModes.h | 115 inline unsigned getSOImmValRotate(unsigned Imm) { in getSOImmValRotate() 210 inline unsigned getThumbImmValShift(unsigned Imm) { in getThumbImmValShift() 229 inline unsigned getThumbImm16ValShift(unsigned Imm) { in getThumbImm16ValShift() 263 unsigned u, Vs, Imm; in getT2SOImmValSplatVal() local 328 inline bool isT2SOImmTwoPartVal(unsigned Imm) { in isT2SOImmTwoPartVal() 355 inline unsigned getT2SOImmTwoPartFirst(unsigned Imm) { in getT2SOImmTwoPartFirst() 631 inline float getFPImmFloat(unsigned Imm) { in getFPImmFloat() 654 inline int getFP16Imm(const APInt &Imm) { in getFP16Imm() 679 inline int getFP32FP16Imm(const APInt &Imm) { in getFP32FP16Imm() 692 inline int getFP32Imm(const APInt &Imm) { in getFP32Imm() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/Disassembler/ |
H A D | CSKYDisassembler.cpp | 227 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm, in decodeUImmOperand() 236 static DecodeStatus decodeOImmOperand(MCInst &Inst, uint64_t Imm, in decodeOImmOperand() 244 static DecodeStatus decodeLRW16Imm8(MCInst &Inst, uint64_t Imm, int64_t Address, in decodeLRW16Imm8() 257 static DecodeStatus decodeJMPIXImmOperand(MCInst &Inst, uint64_t Imm, in decodeJMPIXImmOperand() 276 static DecodeStatus DecodeRegSeqOperand(MCInst &Inst, uint64_t Imm, in DecodeRegSeqOperand() 293 static DecodeStatus DecodeRegSeqOperandF1(MCInst &Inst, uint64_t Imm, in DecodeRegSeqOperandF1() 310 static DecodeStatus DecodeRegSeqOperandD1(MCInst &Inst, uint64_t Imm, in DecodeRegSeqOperandD1() 327 static DecodeStatus DecodeRegSeqOperandF2(MCInst &Inst, uint64_t Imm, in DecodeRegSeqOperandF2() 344 static DecodeStatus DecodeRegSeqOperandD2(MCInst &Inst, uint64_t Imm, in DecodeRegSeqOperandD2() 361 static DecodeStatus decodeImmShiftOpValue(MCInst &Inst, uint64_t Imm, in decodeImmShiftOpValue() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/ |
H A D | NVPTXInstPrinter.cpp | 95 int64_t Imm = MO.getImm(); in printCvtMode() local 152 int64_t Imm = MO.getImm(); in printCmpMode() local 226 int Imm = (int) MO.getImm(); in printLdStCode() local 277 int Imm = (int)MO.getImm(); in printMmaCode() local 316 int64_t Imm = MO.getImm(); in printPrmtMode() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/Disassembler/ |
H A D | PPCDisassembler.cpp | 65 static DecodeStatus decodeCondBrTarget(MCInst &Inst, unsigned Imm, in decodeCondBrTarget() 72 static DecodeStatus decodeDirectBrTarget(MCInst &Inst, unsigned Imm, in decodeDirectBrTarget() 248 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm, in decodeUImmOperand() 258 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm, in decodeSImmOperand() 267 static DecodeStatus decodeImmZeroOperand(MCInst &Inst, uint64_t Imm, in decodeImmZeroOperand() 285 static DecodeStatus decodeDispRIXOperand(MCInst &Inst, uint64_t Imm, in decodeDispRIXOperand() 306 static DecodeStatus decodeDispRIX16Operand(MCInst &Inst, uint64_t Imm, in decodeDispRIX16Operand() 314 static DecodeStatus decodeDispSPE8Operand(MCInst &Inst, uint64_t Imm, in decodeDispSPE8Operand() 325 static DecodeStatus decodeDispSPE4Operand(MCInst &Inst, uint64_t Imm, in decodeDispSPE4Operand() 336 static DecodeStatus decodeDispSPE2Operand(MCInst &Inst, uint64_t Imm, in decodeDispSPE2Operand() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86InstPrinterCommon.cpp | 31 int64_t Imm = MI->getOperand(Op).getImm(); in printCondCode() local 59 int64_t Imm = MI->getOperand(Op).getImm(); in printSSEAVXCC() local 101 int64_t Imm = MI->getOperand(MI->getNumOperands() - 1).getImm(); in printVPCOMMnemonic() local 295 int64_t Imm = MI->getOperand(Op).getImm(); in printRoundingControl() local
|
H A D | X86ShuffleDecode.cpp | 26 void DecodeINSERTPSMask(unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { in DecodeINSERTPSMask() 99 void DecodePSLLDQMask(unsigned NumElts, unsigned Imm, in DecodePSLLDQMask() 111 void DecodePSRLDQMask(unsigned NumElts, unsigned Imm, in DecodePSRLDQMask() 124 void DecodePALIGNRMask(unsigned NumElts, unsigned Imm, in DecodePALIGNRMask() 138 void DecodeVALIGNMask(unsigned NumElts, unsigned Imm, in DecodeVALIGNMask() 163 void DecodePSHUFHWMask(unsigned NumElts, unsigned Imm, in DecodePSHUFHWMask() 177 void DecodePSHUFLWMask(unsigned NumElts, unsigned Imm, in DecodePSHUFLWMask() 264 unsigned Imm, in decodeVSHUF64x2FamilyMask() 280 void DecodeVPERM2X128Mask(unsigned NumElts, unsigned Imm, in DecodeVPERM2X128Mask() 314 void DecodeBLENDMask(unsigned NumElts, unsigned Imm, in DecodeBLENDMask() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/ |
H A D | RISCVAsmParser.cpp | 390 ImmOp Imm; member 502 int64_t Imm; in isBareSimmNLsb0() local 518 int64_t Imm; in isBareSymbol() local 528 int64_t Imm; in isCallSymbol() local 539 int64_t Imm; in isPseudoJumpSymbol() local 549 int64_t Imm; in isTPRelAddSymbol() local 559 int64_t Imm; in isTLSDESCCallSymbol() local 571 int64_t Imm; in isVTypeImm() local 615 int64_t Imm; in isImmXLenLI() local 636 int64_t Imm; in isImmXLenLI_Restricted() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUInstPrinter.cpp | 62 int64_t Imm = MI->getOperand(OpNo).getImm(); in printU16ImmOperand() local 100 uint32_t Imm = MI->getOperand(OpNo).getImm(); in printOffset() local 117 uint32_t Imm = MI->getOperand(OpNo).getImm(); in printFlatOffset() local 178 auto Imm = MI->getOperand(OpNo).getImm(); in printCPol() local 628 unsigned Imm = MI->getOperand(OpNo).getImm(); in printBLGP() local 650 unsigned Imm = MI->getOperand(OpNo).getImm(); in printCBSZ() local 660 unsigned Imm = MI->getOperand(OpNo).getImm(); in printABID() local 991 unsigned Imm = MI->getOperand(OpNo).getImm(); in printDPP8() local 1004 unsigned Imm = MI->getOperand(OpNo).getImm(); in printDPPCtrl() local 1110 unsigned Imm = MI->getOperand(OpNo).getImm(); in printDppBoundCtrl() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMatInt.h | 23 Imm, // LUI enumerator 30 int32_t Imm; // The largest value we need to store is 20 bits. variable
|
H A D | RISCVInstPrinter.cpp | 123 unsigned Imm = MI->getOperand(OpNo).getImm(); in printCSRSystemRegister() local 174 unsigned Imm = MI->getOperand(OpNo).getImm(); in printFPImmOperand() local 207 unsigned Imm = MI->getOperand(OpNo).getImm(); in printVTypeI() local 221 unsigned Imm = MI->getOperand(OpNo).getImm(); in printRlist() local 297 int64_t Imm = MI->getOperand(OpNo).getImm(); in printSpimm() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiISelDAGToDAG.cpp | 86 inline SDValue getI32Imm(unsigned Imm, const SDLoc &DL) { in getI32Imm() 113 int32_t Imm = CN->getSExtValue(); in INITIALIZE_PASS() local 135 int16_t Imm = CN->getSExtValue(); in selectAddrRiSpls() local 148 int16_t Imm = CN->getSExtValue(); in selectAddrRiSpls() local 354 SDValue Imm = CurDAG->getTargetConstant(0, DL, MVT::i32); in selectFrameIndex() local
|
H A D | LanaiTargetTransformInfo.h | 52 InstructionCost getIntImmCost(const APInt &Imm, Type *Ty, in getIntImmCost() 88 const APInt &Imm, Type *Ty, in getIntImmCostIntrin()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/ |
H A D | BPFInstPrinter.cpp | 81 auto Imm = OffsetOp.getImm(); in printMemOperand() local 107 int32_t Imm = Op.getImm(); in printBrTargetOperand() local 110 int16_t Imm = Op.getImm(); in printBrTargetOperand() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonAsmPrinter.cpp | 180 MCStreamer &OutStreamer, const MCOperand &Imm, in smallData() 327 const MCOperand &Imm = MappedInst.getOperand(1); in HexagonProcessInstruction() local 346 MCOperand &Imm = MappedInst.getOperand(1); in HexagonProcessInstruction() local 427 int64_t Imm; in HexagonProcessInstruction() local 455 int64_t Imm; in HexagonProcessInstruction() local 491 int64_t Imm; in HexagonProcessInstruction() local 522 int64_t Imm; in HexagonProcessInstruction() local 579 MCOperand &Imm = MappedInst.getOperand(2); in HexagonProcessInstruction() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/ |
H A D | AArch64Disassembler.cpp | 893 static DecodeStatus DecodePCRelLabel16(MCInst &Inst, unsigned Imm, in DecodePCRelLabel16() 908 static DecodeStatus DecodePCRelLabel19(MCInst &Inst, unsigned Imm, in DecodePCRelLabel19() 923 static DecodeStatus DecodeMemExtend(MCInst &Inst, unsigned Imm, in DecodeMemExtend() 972 static DecodeStatus DecodeVecShiftRImm(MCInst &Inst, unsigned Imm, in DecodeVecShiftRImm() 978 static DecodeStatus DecodeVecShiftLImm(MCInst &Inst, unsigned Imm, in DecodeVecShiftLImm() 984 static DecodeStatus DecodeVecShiftR64Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR64Imm() 996 static DecodeStatus DecodeVecShiftR32Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR32Imm() 1020 static DecodeStatus DecodeVecShiftR8Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR8Imm() 1044 static DecodeStatus DecodeVecShiftL8Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftL8Imm() 1820 unsigned Imm = fieldFromInstruction(insn, 10, 14); in DecodeAddSubImmShift() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchISelDAGToDAG.cpp | 48 int64_t Imm = cast<ConstantSDNode>(Node)->getSExtValue(); in INITIALIZE_PASS() local 71 SDValue Imm = CurDAG->getTargetConstant(0, DL, GRLenVT); in INITIALIZE_PASS() local 129 SDValue Imm = CurDAG->getTargetConstant(SplatValue, DL, in INITIALIZE_PASS() local 265 uint64_t Imm = N.getConstantOperandVal(0); in selectShiftMask() local 324 bool LoongArchDAGToDAGISel::selectVSplat(SDNode *N, APInt &Imm, in selectVSplat()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/AsmParser/ |
H A D | LoongArchAsmParser.cpp | 212 int64_t Imm; in isUImm() local 223 int64_t Imm; in isSImm() local 231 int64_t Imm; in isBareSymbol() local 264 int64_t Imm; in isSImm12addlike() local 281 int64_t Imm; in isSImm12lu52id() local 304 int64_t Imm; in isUImm12ori() local 332 int64_t Imm; in isSImm16lsl2() local 350 int64_t Imm; in isSImm20pcalau12i() local 369 int64_t Imm; in isSImm20lu12iw() local 389 int64_t Imm; in isSImm20lu32id() local [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MIRFormatter.h | 44 std::optional<unsigned> OpIdx, int64_t Imm) const { in printImm() 51 StringRef Src, int64_t &Imm, in parseImmMnemonic()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/ |
H A D | AMDGPUDisassembler.cpp | 75 static DecodeStatus decodeSOPPBrTarget(MCInst &Inst, unsigned Imm, in decodeSOPPBrTarget() 325 static DecodeStatus decodeOperand_VSrcT16(MCInst &Inst, unsigned Imm, in decodeOperand_VSrcT16() 341 static DecodeStatus decodeOperand_KImmFP(MCInst &Inst, unsigned Imm, in decodeOperand_KImmFP() 402 static DecodeStatus decodeOperand_VSrc_f64(MCInst &Inst, unsigned Imm, in decodeOperand_VSrc_f64() 412 DecodeAVLdSt_32RegisterClass(MCInst &Inst, unsigned Imm, uint64_t Addr, in DecodeAVLdSt_32RegisterClass() 419 DecodeAVLdSt_64RegisterClass(MCInst &Inst, unsigned Imm, uint64_t Addr, in DecodeAVLdSt_64RegisterClass() 426 DecodeAVLdSt_96RegisterClass(MCInst &Inst, unsigned Imm, uint64_t Addr, in DecodeAVLdSt_96RegisterClass() 1367 MCOperand AMDGPUDisassembler::decodeIntImmed(unsigned Imm) { in decodeIntImmed() 1377 static int64_t getInlineImmVal32(unsigned Imm) { in getInlineImmVal32() 1402 static int64_t getInlineImmVal64(unsigned Imm) { in getInlineImmVal64() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64MIPeepholeOpt.cpp | 151 static bool splitBitmaskImm(T Imm, unsigned RegSize, T &Imm1Enc, T &Imm2Enc) { in splitBitmaskImm() 204 T &Imm1) -> std::optional<OpcodePair> { in visitAND() 330 static bool splitAddSubImm(T Imm, unsigned RegSize, T &Imm0, T &Imm1) { in splitAddSubImm() 375 T &Imm1) -> std::optional<OpcodePair> { in visitADDSUB() 412 T &Imm1) -> std::optional<OpcodePair> { in visitADDSSUBS() 498 T Imm = static_cast<T>(MovMI->getOperand(1).getImm()), Imm0, Imm1; in splitTwoPartImm() local
|