/openbsd/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64AddressingModes.h | 86 static inline unsigned getShiftValue(unsigned Imm) { in getShiftValue() 100 unsigned Imm) { in getShifterImm() 119 static inline unsigned getArithShiftValue(unsigned Imm) { in getArithShiftValue() 172 unsigned Imm) { in getArithExtendImm() 179 static inline bool getMemDoShift(unsigned Imm) { in getMemDoShift() 344 static inline float getFPImmFloat(unsigned Imm) { in getFPImmFloat() 368 static inline int getFP16Imm(const APInt &Imm) { in getFP16Imm() 394 static inline int getFP32Imm(const APInt &Imm) { in getFP32Imm() 422 static inline int getFP64Imm(const APInt &Imm) { in getFP64Imm() 763 static inline bool isSVECpyImm(int64_t Imm) { in isSVECpyImm() [all …]
|
/openbsd/gnu/llvm/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 …]
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMAddressingModes.h | 129 inline unsigned getSOImmValRotate(unsigned Imm) { in getSOImmValRotate() 224 inline unsigned getThumbImmValShift(unsigned Imm) { in getThumbImmValShift() 243 inline unsigned getThumbImm16ValShift(unsigned Imm) { in getThumbImm16ValShift() 277 unsigned u, Vs, Imm; in getT2SOImmValSplatVal() local 341 inline bool isT2SOImmTwoPartVal(unsigned Imm) { in isT2SOImmTwoPartVal() 368 inline unsigned getT2SOImmTwoPartFirst(unsigned Imm) { in getT2SOImmTwoPartFirst() 644 inline float getFPImmFloat(unsigned Imm) { in getFPImmFloat() 667 inline int getFP16Imm(const APInt &Imm) { in getFP16Imm() 692 inline int getFP32FP16Imm(const APInt &Imm) { in getFP32FP16Imm() 705 inline int getFP32Imm(const APInt &Imm) { in getFP32Imm() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/Disassembler/ |
H A D | SystemZDisassembler.cpp | 170 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) { in decodeUImmOperand() 178 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) { in decodeSImmOperand() 185 static DecodeStatus decodeU1ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU1ImmOperand() 191 static DecodeStatus decodeU2ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU2ImmOperand() 197 static DecodeStatus decodeU3ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU3ImmOperand() 203 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU4ImmOperand() 209 static DecodeStatus decodeU6ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU6ImmOperand() 215 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU8ImmOperand() 221 static DecodeStatus decodeU12ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU12ImmOperand() 239 static DecodeStatus decodeS8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS8ImmOperand() [all …]
|
/openbsd/gnu/llvm/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 …]
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/Disassembler/ |
H A D | AMDGPUDisassembler.cpp | 77 static DecodeStatus decodeSoppBrTarget(MCInst &Inst, unsigned Imm, in decodeSoppBrTarget() 167 static DecodeStatus decodeOperand_VSrcV216(MCInst &Inst, unsigned Imm, in decodeOperand_VSrcV216() 174 static DecodeStatus decodeOperand_VSrcV232(MCInst &Inst, unsigned Imm, in decodeOperand_VSrcV232() 181 static DecodeStatus decodeOperand_VS_16(MCInst &Inst, unsigned Imm, in decodeOperand_VS_16() 188 static DecodeStatus decodeOperand_VS_32(MCInst &Inst, unsigned Imm, in decodeOperand_VS_32() 195 static DecodeStatus decodeOperand_AReg_64(MCInst &Inst, unsigned Imm, in decodeOperand_AReg_64() 230 static DecodeStatus decodeOperand_VReg_64(MCInst &Inst, unsigned Imm, in decodeOperand_VReg_64() 1400 MCOperand AMDGPUDisassembler::decodeIntImmed(unsigned Imm) { in decodeIntImmed() 1410 static int64_t getInlineImmVal32(unsigned Imm) { in getInlineImmVal32() 1435 static int64_t getInlineImmVal64(unsigned Imm) { in getInlineImmVal64() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/AsmParser/ |
H A D | RISCVAsmParser.cpp | 309 ImmOp Imm; member 382 int64_t Imm; in isBareSimmNLsb0() local 398 int64_t Imm; in isBareSymbol() local 408 int64_t Imm; in isCallSymbol() local 419 int64_t Imm; in isPseudoJumpSymbol() local 429 int64_t Imm; in isTPRelAddSymbol() local 441 int64_t Imm; in isVTypeImm() local 468 int64_t Imm; in isFenceArg() local 510 int64_t Imm; in isImmXLenLI() local 524 int64_t Imm; in isUImmLog2XLen() local [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelDAGToDAG.h | 121 bool isInlineImmediate16(int64_t Imm) const { in isInlineImmediate16() 125 bool isInlineImmediate32(int64_t Imm) const { in isInlineImmediate32() 129 bool isInlineImmediate64(int64_t Imm) const { in isInlineImmediate64() 133 bool isInlineImmediate(const APFloat &Imm) const { in isInlineImmediate()
|
/openbsd/gnu/llvm/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() 239 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm, in decodeUImmOperand() 248 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm, in decodeSImmOperand() 256 static DecodeStatus decodeImmZeroOperand(MCInst &Inst, uint64_t Imm, in decodeImmZeroOperand() 274 static DecodeStatus decodeMemRIOperands(MCInst &Inst, uint64_t Imm, in decodeMemRIOperands() 310 static DecodeStatus decodeMemRIXOperands(MCInst &Inst, uint64_t Imm, in decodeMemRIXOperands() 394 static DecodeStatus decodeSPE8Operands(MCInst &Inst, uint64_t Imm, in decodeSPE8Operands() 410 static DecodeStatus decodeSPE4Operands(MCInst &Inst, uint64_t Imm, in decodeSPE4Operands() 426 static DecodeStatus decodeSPE2Operands(MCInst &Inst, uint64_t Imm, in decodeSPE2Operands() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/ |
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 …]
|
H A D | X86InstPrinterCommon.cpp | 31 int64_t Imm = MI->getOperand(Op).getImm(); in printCondCode() local 57 int64_t Imm = MI->getOperand(Op).getImm(); in printSSEAVXCC() local 99 int64_t Imm = MI->getOperand(MI->getNumOperands() - 1).getImm(); in printVPCOMMnemonic() local 293 int64_t Imm = MI->getOperand(Op).getImm(); in printRoundingControl() local
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/Disassembler/ |
H A D | AArch64Disassembler.cpp | 865 static DecodeStatus DecodePCRelLabel19(MCInst &Inst, unsigned Imm, in DecodePCRelLabel19() 880 static DecodeStatus DecodeMemExtend(MCInst &Inst, unsigned Imm, in DecodeMemExtend() 929 static DecodeStatus DecodeVecShiftRImm(MCInst &Inst, unsigned Imm, in DecodeVecShiftRImm() 935 static DecodeStatus DecodeVecShiftLImm(MCInst &Inst, unsigned Imm, in DecodeVecShiftLImm() 941 static DecodeStatus DecodeVecShiftR64Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR64Imm() 953 static DecodeStatus DecodeVecShiftR32Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR32Imm() 965 static DecodeStatus DecodeVecShiftR16Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR16Imm() 977 static DecodeStatus DecodeVecShiftR8Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR8Imm() 1001 static DecodeStatus DecodeVecShiftL8Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftL8Imm() 1777 unsigned Imm = fieldFromInstruction(insn, 10, 14); in DecodeAddSubImmShift() local [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/Lanai/ |
H A D | LanaiISelDAGToDAG.cpp | 85 inline SDValue getI32Imm(unsigned Imm, const SDLoc &DL) { in getI32Imm() 112 int32_t Imm = CN->getSExtValue(); in INITIALIZE_PASS() local 134 int16_t Imm = CN->getSExtValue(); in selectAddrRiSpls() local 147 int16_t Imm = CN->getSExtValue(); in selectAddrRiSpls() local 321 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()
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUInstPrinter.cpp | 73 int64_t Imm = MI->getOperand(OpNo).getImm(); in printU16ImmOperand() local 126 uint16_t Imm = MI->getOperand(OpNo).getImm(); in printOffset() local 136 uint16_t Imm = MI->getOperand(OpNo).getImm(); in printFlatOffset() local 206 auto Imm = MI->getOperand(OpNo).getImm(); in printCPol() local 556 unsigned Imm = MI->getOperand(OpNo).getImm(); in printBLGP() local 578 unsigned Imm = MI->getOperand(OpNo).getImm(); in printCBSZ() local 588 unsigned Imm = MI->getOperand(OpNo).getImm(); in printABID() local 611 uint8_t Imm = MI->getOperand(OpNo).getImm(); in printWaitVDST() local 621 uint8_t Imm = MI->getOperand(OpNo).getImm(); in printWaitEXP() local 909 unsigned Imm = MI->getOperand(OpNo).getImm(); in printDPP8() local [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/ |
H A D | HexagonAsmPrinter.cpp | 181 MCStreamer &OutStreamer, const MCOperand &Imm, in smallData() 328 const MCOperand &Imm = MappedInst.getOperand(1); in HexagonProcessInstruction() local 347 MCOperand &Imm = MappedInst.getOperand(1); in HexagonProcessInstruction() local 428 int64_t Imm; in HexagonProcessInstruction() local 456 int64_t Imm; in HexagonProcessInstruction() local 492 int64_t Imm; in HexagonProcessInstruction() local 523 int64_t Imm; in HexagonProcessInstruction() local 580 MCOperand &Imm = MappedInst.getOperand(2); in HexagonProcessInstruction() local
|
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/MCTargetDesc/ |
H A D | NVPTXInstPrinter.cpp | 101 int64_t Imm = MO.getImm(); in printCvtMode() local 158 int64_t Imm = MO.getImm(); in printCmpMode() local 232 int Imm = (int) MO.getImm(); in printLdStCode() local 283 int Imm = (int)MO.getImm(); in printMmaCode() local
|
/openbsd/gnu/llvm/llvm/lib/Target/LoongArch/AsmParser/ |
H A D | LoongArchAsmParser.cpp | 210 int64_t Imm; in isUImm() local 221 int64_t Imm; in isSImm() local 229 int64_t Imm; in isBareSymbol() local 250 int64_t Imm; in isSImm12addlike() local 267 int64_t Imm; in isSImm12lu52id() local 290 int64_t Imm; in isUImm12ori() local 317 int64_t Imm; in isSImm16lsl2() local 335 int64_t Imm; in isSImm20pcalau12i() local 354 int64_t Imm; in isSImm20lu12iw() local 374 int64_t Imm; in isSImm20lu32id() local [all …]
|
/openbsd/gnu/llvm/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
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | AArch64MIPeepholeOpt.cpp | 123 static bool splitBitmaskImm(T Imm, unsigned RegSize, T &Imm1Enc, T &Imm2Enc) { in splitBitmaskImm() 176 T &Imm1) -> std::optional<OpcodePair> { in visitAND() 302 static bool splitAddSubImm(T Imm, unsigned RegSize, T &Imm0, T &Imm1) { in splitAddSubImm() 340 T &Imm1) -> std::optional<OpcodePair> { in visitADDSUB() 372 T &Imm1) -> std::optional<OpcodePair> { in visitADDSSUBS() 458 T Imm = static_cast<T>(MovMI->getOperand(1).getImm()), Imm0, Imm1; in splitTwoPartImm() local
|
H A D | AArch64ExpandImm.cpp | 22 static uint64_t getChunk(uint64_t Imm, unsigned ChunkIdx) { in getChunk() 124 static uint64_t updateImm(uint64_t Imm, unsigned Idx, bool Clear) { in updateImm() 244 static inline void expandMOVImmSimple(uint64_t Imm, unsigned BitSize, in expandMOVImmSimple() 303 void AArch64_IMM::expandMOVImm(uint64_t Imm, unsigned BitSize, in expandMOVImm()
|
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/Disassembler/ |
H A D | RISCVDisassembler.cpp | 281 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm, in decodeUImmOperand() 291 static DecodeStatus decodeUImmNonZeroOperand(MCInst &Inst, uint64_t Imm, in decodeUImmNonZeroOperand() 300 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm, in decodeSImmOperand() 311 static DecodeStatus decodeSImmNonZeroOperand(MCInst &Inst, uint64_t Imm, in decodeSImmNonZeroOperand() 320 static DecodeStatus decodeSImmOperandAndLsl1(MCInst &Inst, uint64_t Imm, in decodeSImmOperandAndLsl1() 331 static DecodeStatus decodeCLUIImmOperand(MCInst &Inst, uint64_t Imm, in decodeCLUIImmOperand() 342 static DecodeStatus decodeFRMArg(MCInst &Inst, uint64_t Imm, int64_t Address, in decodeFRMArg()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86EvexToVex.cpp | 163 MachineOperand &Imm = MI.getOperand(MI.getNumExplicitOperands()-1); in performCustomAdjustments() local 178 MachineOperand &Imm = MI.getOperand(MI.getNumExplicitOperands()-1); in performCustomAdjustments() local 200 const MachineOperand &Imm = MI.getOperand(MI.getNumExplicitOperands()-1); in performCustomAdjustments() local
|
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/ |
H A D | MIRFormatter.h | 40 std::optional<unsigned> OpIdx, int64_t Imm) const { in printImm() 47 StringRef Src, int64_t &Imm, in parseImmMnemonic()
|