Home
last modified time | relevance | path

Searched defs:Imm (Results 1 – 25 of 218) sorted by relevance

123456789

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AddressingModes.h73 static inline AArch64_AM::ShiftExtendType getShiftType(unsigned Imm) { in getShiftType()
85 static inline unsigned getShiftValue(unsigned Imm) { in getShiftValue()
99 unsigned Imm) { in getShifterImm()
118 static inline unsigned getArithShiftValue(unsigned Imm) { in getArithShiftValue()
123 static inline AArch64_AM::ShiftExtendType getExtendType(unsigned Imm) { in getExtendType()
138 static inline AArch64_AM::ShiftExtendType getArithExtendType(unsigned Imm) { in getArithExtendType()
171 unsigned Imm) { in getArithExtendImm()
178 static inline bool getMemDoShift(unsigned Imm) { in getMemDoShift()
184 static inline AArch64_AM::ShiftExtendType getMemExtendType(unsigned Imm) { in getMemExtendType()
213 static inline bool processLogicalImmediate(uint64_t Imm, unsigned RegSize, in processLogicalImmediate()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsAnalyzeImmediate.cpp32 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAddressingModes.h112 inline unsigned getSORegOpc(ShiftOpc ShOp, unsigned Imm) { in getSORegOpc()
120 inline unsigned getSOImmValImm(unsigned Imm) { return Imm & 0xFF; } in getSOImmValImm()
123 inline unsigned getSOImmValRot(unsigned Imm) { return (Imm >> 8) * 2; } in getSOImmValRot()
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()
385 inline unsigned getT2SOImmTwoPartSecond(unsigned Imm) { in getT2SOImmTwoPartSecond()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/Disassembler/
H A DSystemZDisassembler.cpp171 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) { in decodeUImmOperand()
179 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) { in decodeSImmOperand()
186 static DecodeStatus decodeU1ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU1ImmOperand()
191 static DecodeStatus decodeU2ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU2ImmOperand()
196 static DecodeStatus decodeU3ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU3ImmOperand()
201 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU4ImmOperand()
206 static DecodeStatus decodeU6ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU6ImmOperand()
211 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU8ImmOperand()
216 static DecodeStatus decodeU12ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU12ImmOperand()
221 static DecodeStatus decodeU16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU16ImmOperand()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/Disassembler/
H A DPPCDisassembler.cpp65 static DecodeStatus decodeCondBrTarget(MCInst &Inst, unsigned Imm, in decodeCondBrTarget()
72 static DecodeStatus decodeDirectBrTarget(MCInst &Inst, unsigned Imm, in decodeDirectBrTarget()
194 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm, in decodeUImmOperand()
202 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm, in decodeSImmOperand()
209 static DecodeStatus decodeImmZeroOperand(MCInst &Inst, uint64_t Imm, in decodeImmZeroOperand()
226 static DecodeStatus decodeMemRIOperands(MCInst &Inst, uint64_t Imm, in decodeMemRIOperands()
261 static DecodeStatus decodeMemRIXOperands(MCInst &Inst, uint64_t Imm, in decodeMemRIXOperands()
282 static DecodeStatus decodeMemRIHashOperands(MCInst &Inst, uint64_t Imm, in decodeMemRIHashOperands()
299 static DecodeStatus decodeMemRIX16Operands(MCInst &Inst, uint64_t Imm, in decodeMemRIX16Operands()
314 static DecodeStatus decodeMemRI34PCRelOperands(MCInst &Inst, uint64_t Imm, in decodeMemRI34PCRelOperands()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.cpp71 static DecodeStatus decodeSoppBrTarget(MCInst &Inst, unsigned Imm, in decodeSoppBrTarget()
85 static DecodeStatus decodeSMEMOffset(MCInst &Inst, unsigned Imm, in decodeSMEMOffset()
156 unsigned Imm, in decodeOperand_VSrcV216()
164 unsigned Imm, in decodeOperand_VSrcV232()
172 unsigned Imm, in decodeOperand_VS_16()
180 unsigned Imm, in decodeOperand_VS_32()
188 unsigned Imm, in decodeOperand_AReg_64()
196 unsigned Imm, in decodeOperand_AReg_128()
204 unsigned Imm, in decodeOperand_AReg_256()
212 unsigned Imm, in decodeOperand_AReg_512()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp293 ImmOp Imm; member
359 int64_t Imm; in isBareSimmNLsb0() local
375 int64_t Imm; in isBareSymbol() local
385 int64_t Imm; in isCallSymbol() local
396 int64_t Imm; in isPseudoJumpSymbol() local
406 int64_t Imm; in isTPRelAddSymbol() local
459 int64_t Imm; in isImmXLenLI() local
473 int64_t Imm; in isUImmLog2XLen() local
484 int64_t Imm; in isUImmLog2XLenNonZero() local
497 int64_t Imm; in isUImmLog2XLenHalf() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/
H A DX86InstPrinterCommon.cpp30 int64_t Imm = MI->getOperand(Op).getImm(); in printCondCode() local
54 int64_t Imm = MI->getOperand(Op).getImm(); in printSSEAVXCC() local
96 int64_t Imm = MI->getOperand(MI->getNumOperands() - 1).getImm(); in printVPCOMMnemonic() local
272 int64_t Imm = MI->getOperand(Op).getImm(); in printRoundingControl() local
H A DX86ShuffleDecode.cpp25 void DecodeINSERTPSMask(unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { in DecodeINSERTPSMask()
98 void DecodePSLLDQMask(unsigned NumElts, unsigned Imm, in DecodePSLLDQMask()
110 void DecodePSRLDQMask(unsigned NumElts, unsigned Imm, in DecodePSRLDQMask()
123 void DecodePALIGNRMask(unsigned NumElts, unsigned Imm, in DecodePALIGNRMask()
137 void DecodeVALIGNMask(unsigned NumElts, unsigned Imm, in DecodeVALIGNMask()
146 void DecodePSHUFMask(unsigned NumElts, unsigned ScalarBits, unsigned Imm, in DecodePSHUFMask()
162 void DecodePSHUFHWMask(unsigned NumElts, unsigned Imm, in DecodePSHUFHWMask()
176 void DecodePSHUFLWMask(unsigned NumElts, unsigned Imm, in DecodePSHUFLWMask()
200 unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { in DecodeSHUFPMask()
263 unsigned Imm, in decodeVSHUF64x2FamilyMask()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp85 inline SDValue getI32Imm(unsigned Imm, const SDLoc &DL) { in getI32Imm()
108 int32_t Imm = CN->getSExtValue(); in selectAddrSls() local
130 int16_t Imm = CN->getSExtValue(); in selectAddrRiSpls() local
143 int16_t Imm = CN->getSExtValue(); in selectAddrRiSpls() local
317 SDValue Imm = CurDAG->getTargetConstant(0, DL, MVT::i32); in selectFrameIndex() local
H A DLanaiTargetTransformInfo.h52 InstructionCost getIntImmCost(const APInt &Imm, Type *Ty, in getIntImmCost()
78 const APInt &Imm, Type *Ty, in getIntImmCostIntrin()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXInstPrinter.cpp101 int64_t Imm = MO.getImm(); in printCvtMode() local
151 int64_t Imm = MO.getImm(); in printCmpMode() local
225 int Imm = (int) MO.getImm(); in printLdStCode() local
276 int Imm = (int)MO.getImm(); in printMmaCode() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonAsmPrinter.cpp181 MCStreamer &OutStreamer, const MCOperand &Imm, in smallData()
328 const MCOperand &Imm = MappedInst.getOperand(1); in HexagonProcessInstruction() local
346 MCOperand &Imm = MappedInst.getOperand(1); in HexagonProcessInstruction() local
426 int64_t Imm; in HexagonProcessInstruction() local
454 int64_t Imm; in HexagonProcessInstruction() local
490 int64_t Imm; in HexagonProcessInstruction() local
521 int64_t Imm; in HexagonProcessInstruction() local
578 MCOperand &Imm = MappedInst.getOperand(2); in HexagonProcessInstruction() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp18 InstructionCost RISCVTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty, in getIntImmCost()
34 const APInt &Imm, Type *Ty, in getIntImmCostInst()
93 const APInt &Imm, Type *Ty, in getIntImmCostIntrin()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64Disassembler.cpp827 static DecodeStatus DecodeFixedPointScaleImm32(MCInst &Inst, unsigned Imm, in DecodeFixedPointScaleImm32()
836 static DecodeStatus DecodeFixedPointScaleImm64(MCInst &Inst, unsigned Imm, in DecodeFixedPointScaleImm64()
843 static DecodeStatus DecodePCRelLabel19(MCInst &Inst, unsigned Imm, in DecodePCRelLabel19()
859 static DecodeStatus DecodeMemExtend(MCInst &Inst, unsigned Imm, in DecodeMemExtend()
866 static DecodeStatus DecodeMRSSystemRegister(MCInst &Inst, unsigned Imm, in DecodeMRSSystemRegister()
876 static DecodeStatus DecodeMSRSystemRegister(MCInst &Inst, unsigned Imm, in DecodeMSRSystemRegister()
907 static DecodeStatus DecodeVecShiftRImm(MCInst &Inst, unsigned Imm, in DecodeVecShiftRImm()
913 static DecodeStatus DecodeVecShiftLImm(MCInst &Inst, unsigned Imm, in DecodeVecShiftLImm()
919 static DecodeStatus DecodeVecShiftR64Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR64Imm()
924 static DecodeStatus DecodeVecShiftR64ImmNarrow(MCInst &Inst, unsigned Imm, in DecodeVecShiftR64ImmNarrow()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUInstPrinter.cpp73 int64_t Imm = MI->getOperand(OpNo).getImm(); in printU16ImmOperand() local
134 uint16_t Imm = MI->getOperand(OpNo).getImm(); in printOffset() local
144 uint16_t Imm = MI->getOperand(OpNo).getImm(); in printFlatOffset() local
207 auto Imm = MI->getOperand(OpNo).getImm(); in printCPol() local
418 void AMDGPUInstPrinter::printImmediateInt16(uint32_t Imm, in printImmediateInt16()
430 void AMDGPUInstPrinter::printImmediate16(uint32_t Imm, in printImmediate16()
464 void AMDGPUInstPrinter::printImmediateV216(uint32_t Imm, in printImmediateV216()
471 void AMDGPUInstPrinter::printImmediate32(uint32_t Imm, in printImmediate32()
505 void AMDGPUInstPrinter::printImmediate64(uint64_t Imm, in printImmediate64()
547 unsigned Imm = MI->getOperand(OpNo).getImm(); in printBLGP() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ExpandImm.cpp22 static uint64_t getChunk(uint64_t Imm, unsigned ChunkIdx) { in getChunk()
125 static uint64_t updateImm(uint64_t Imm, unsigned Idx, bool Clear) { in updateImm()
245 static inline void expandMOVImmSimple(uint64_t Imm, unsigned BitSize, in expandMOVImmSimple()
304 void AArch64_IMM::expandMOVImm(uint64_t Imm, unsigned BitSize, in expandMOVImm()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMIRFormatter.h42 Optional<unsigned> OpIdx, int64_t Imm) const { in printImm()
49 StringRef Src, int64_t &Imm, in parseImmMnemonic()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86EvexToVex.cpp162 MachineOperand &Imm = MI.getOperand(MI.getNumExplicitOperands()-1); in performCustomAdjustments() local
177 MachineOperand &Imm = MI.getOperand(MI.getNumExplicitOperands()-1); in performCustomAdjustments() local
199 const MachineOperand &Imm = MI.getOperand(MI.getNumExplicitOperands()-1); in performCustomAdjustments() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/Disassembler/
H A DRISCVDisassembler.cpp270 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm, in decodeUImmOperand()
279 static DecodeStatus decodeUImmNonZeroOperand(MCInst &Inst, uint64_t Imm, in decodeUImmNonZeroOperand()
288 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm, in decodeSImmOperand()
298 static DecodeStatus decodeSImmNonZeroOperand(MCInst &Inst, uint64_t Imm, in decodeSImmNonZeroOperand()
307 static DecodeStatus decodeSImmOperandAndLsl1(MCInst &Inst, uint64_t Imm, in decodeSImmOperandAndLsl1()
318 static DecodeStatus decodeCLUIImmOperand(MCInst &Inst, uint64_t Imm, in decodeCLUIImmOperand()
329 static DecodeStatus decodeFRMArg(MCInst &Inst, uint64_t Imm, in decodeFRMArg()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFInstPrinter.cpp76 auto Imm = OffsetOp.getImm(); in printMemOperand() local
101 int16_t Imm = Op.getImm(); in printBrTargetOperand() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/
H A DVEAsmPrinter.cpp103 static void emitLEAzzi(MCStreamer &OutStreamer, MCOperand &Imm, MCOperand &RD, in emitLEAzzi()
115 static void emitLEASLzzi(MCStreamer &OutStreamer, MCOperand &Imm, MCOperand &RD, in emitLEASLzzi()
127 static void emitLEAzii(MCStreamer &OutStreamer, MCOperand &RS1, MCOperand &Imm, in emitLEAzii()
140 MCOperand &RS2, MCOperand &Imm, MCOperand &RD, in emitLEASLrri()
162 static void emitANDrm(MCStreamer &OutStreamer, MCOperand &RS1, MCOperand &Imm, in emitANDrm()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCTargetDesc.cpp103 int64_t Imm = Inst.getOperand(0).getImm(); in evaluateBranch() local
107 int64_t Imm = Inst.getOperand(0).getImm(); in evaluateBranch() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp102 ImmOp Imm; member
143 int64_t Imm; in isUImm() local
152 int64_t Imm; in isOImm() local
161 int64_t Imm; in isSImm() local
180 int64_t Imm; in isCSKYSymbol() local
186 int64_t Imm; in isConstpoolSymbol() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.h78 inline SDValue getI32Imm(unsigned Imm, const SDLoc &DL) { in getI32Imm()

123456789