Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Target/AArch64/MCTargetDesc/
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()
346 static inline float getFPImmFloat(unsigned Imm) { in getFPImmFloat()
[all …]
/external/llvm/lib/Target/Mips/
DMipsAnalyzeImmediate.cpp29 void MipsAnalyzeImmediate::GetInstSeqLsADDiu(uint64_t Imm, unsigned RemSize, in GetInstSeqLsADDiu()
35 void MipsAnalyzeImmediate::GetInstSeqLsORi(uint64_t Imm, unsigned RemSize, in GetInstSeqLsORi()
41 void MipsAnalyzeImmediate::GetInstSeqLsSLL(uint64_t Imm, unsigned RemSize, in GetInstSeqLsSLL()
48 void MipsAnalyzeImmediate::GetInstSeqLs(uint64_t Imm, unsigned RemSize, in GetInstSeqLs()
93 int64_t Imm = SignExtend64<16>(Seq[0].ImmOpnd); in ReplaceADDiuSLLWithLUi() local
125 &MipsAnalyzeImmediate::Analyze(uint64_t Imm, unsigned Size, in Analyze()
DMipsISelDAGToDAG.h118 inline SDValue getImm(const SDNode *Node, uint64_t Imm) { in getImm()
DMipsFastISel.cpp323 int64_t Imm = CFP->getValueAPF().bitcastToAPInt().getZExtValue(); in MaterializeFP() local
362 int64_t Imm; in MaterializeInt() local
370 unsigned MipsFastISel::Materialize32BitInt(int64_t Imm, in Materialize32BitInt()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h112 static inline unsigned getSORegOpc(ShiftOpc ShOp, unsigned Imm) { in getSORegOpc()
124 static inline unsigned getSOImmValImm(unsigned Imm) { in getSOImmValImm()
129 static inline unsigned getSOImmValRot(unsigned Imm) { in getSOImmValRot()
137 static inline unsigned getSOImmValRotate(unsigned Imm) { in getSOImmValRotate()
218 static inline unsigned getThumbImmValShift(unsigned Imm) { in getThumbImmValShift()
237 static inline unsigned getThumbImm16ValShift(unsigned Imm) { in getThumbImm16ValShift()
271 unsigned u, Vs, Imm; in getT2SOImmValSplatVal() local
335 static inline bool isT2SOImmTwoPartVal (unsigned Imm) { in isT2SOImmTwoPartVal()
362 static inline unsigned getT2SOImmTwoPartFirst(unsigned Imm) { in getT2SOImmTwoPartFirst()
379 static inline unsigned getT2SOImmTwoPartSecond(unsigned Imm) { in getT2SOImmTwoPartSecond()
[all …]
/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp24 void DecodeINSERTPSMask(unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { in DecodeINSERTPSMask()
65 void DecodePALIGNRMask(MVT VT, unsigned Imm, in DecodePALIGNRMask()
86 void DecodePSHUFMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { in DecodePSHUFMask()
102 void DecodePSHUFHWMask(MVT VT, unsigned Imm, in DecodePSHUFHWMask()
118 void DecodePSHUFLWMask(MVT VT, unsigned Imm, in DecodePSHUFLWMask()
137 void DecodeSHUFPMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { in DecodeSHUFPMask()
196 void DecodeVPERM2X128Mask(MVT VT, unsigned Imm, in DecodeVPERM2X128Mask()
212 void DecodeVPERMMask(unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { in DecodeVPERMMask()
/external/llvm/lib/Target/SystemZ/Disassembler/
DSystemZDisassembler.cpp110 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) { in decodeUImmOperand()
117 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) { in decodeSImmOperand()
123 static DecodeStatus decodeAccessRegOperand(MCInst &Inst, uint64_t Imm, in decodeAccessRegOperand()
129 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU4ImmOperand()
134 static DecodeStatus decodeU6ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU6ImmOperand()
139 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU8ImmOperand()
144 static DecodeStatus decodeU16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU16ImmOperand()
149 static DecodeStatus decodeU32ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU32ImmOperand()
154 static DecodeStatus decodeS8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS8ImmOperand()
159 static DecodeStatus decodeS16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS16ImmOperand()
[all …]
/external/llvm/lib/Target/AArch64/Disassembler/
DAArch64Disassembler.cpp591 static DecodeStatus DecodeFixedPointScaleImm32(llvm::MCInst &Inst, unsigned Imm, in DecodeFixedPointScaleImm32()
600 static DecodeStatus DecodeFixedPointScaleImm64(llvm::MCInst &Inst, unsigned Imm, in DecodeFixedPointScaleImm64()
607 static DecodeStatus DecodePCRelLabel19(llvm::MCInst &Inst, unsigned Imm, in DecodePCRelLabel19()
623 static DecodeStatus DecodeMemExtend(llvm::MCInst &Inst, unsigned Imm, in DecodeMemExtend()
630 static DecodeStatus DecodeMRSSystemRegister(llvm::MCInst &Inst, unsigned Imm, in DecodeMRSSystemRegister()
647 static DecodeStatus DecodeMSRSystemRegister(llvm::MCInst &Inst, unsigned Imm, in DecodeMSRSystemRegister()
687 static DecodeStatus DecodeVecShiftRImm(llvm::MCInst &Inst, unsigned Imm, in DecodeVecShiftRImm()
693 static DecodeStatus DecodeVecShiftLImm(llvm::MCInst &Inst, unsigned Imm, in DecodeVecShiftLImm()
699 static DecodeStatus DecodeVecShiftR64Imm(llvm::MCInst &Inst, unsigned Imm, in DecodeVecShiftR64Imm()
704 static DecodeStatus DecodeVecShiftR64ImmNarrow(llvm::MCInst &Inst, unsigned Imm, in DecodeVecShiftR64ImmNarrow()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp82 inline SDValue getI32Imm(unsigned Imm) { in getI32Imm()
88 inline SDValue getI64Imm(uint64_t Imm) { in getI64Imm()
93 inline SDValue getSmallIPtrImm(unsigned Imm) { in getSmallIPtrImm()
295 static bool isIntS16Immediate(SDNode *N, short &Imm) { in isIntS16Immediate()
306 static bool isIntS16Immediate(SDValue Op, short &Imm) { in isIntS16Immediate()
313 static bool isInt32Immediate(SDNode *N, unsigned &Imm) { in isInt32Immediate()
323 static bool isInt64Immediate(SDNode *N, uint64_t &Imm) { in isInt64Immediate()
333 static bool isInt32Immediate(SDValue N, unsigned &Imm) { in isInt32Immediate()
341 static bool isOpcWithIntImmediate(SDNode *N, unsigned Opc, unsigned& Imm) { in isOpcWithIntImmediate()
498 unsigned Imm; in SelectCC() local
[all …]
DPPCTargetTransformInfo.cpp138 unsigned PPCTTI::getIntImmCost(const APInt &Imm, Type *Ty) const { in getIntImmCost() argument
168 const APInt &Imm, Type *Ty) const { in getIntImmCost() argument
191 unsigned PPCTTI::getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, in getIntImmCost()
/external/llvm/lib/Target/NVPTX/InstPrinter/
DNVPTXInstPrinter.cpp99 int64_t Imm = MO.getImm(); in printCvtMode() local
149 int64_t Imm = MO.getImm(); in printCmpMode() local
223 int Imm = (int) MO.getImm(); in printLdStCode() local
/external/llvm/lib/Target/PowerPC/Disassembler/
DPPCDisassembler.cpp243 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm, in decodeUImmOperand()
251 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm, in decodeSImmOperand()
258 static DecodeStatus decodeMemRIOperands(MCInst &Inst, uint64_t Imm, in decodeMemRIOperands()
293 static DecodeStatus decodeMemRIXOperands(MCInst &Inst, uint64_t Imm, in decodeMemRIXOperands()
314 static DecodeStatus decodeCRBitMOperand(MCInst &Inst, uint64_t Imm, in decodeCRBitMOperand()
/external/llvm/lib/Target/X86/InstPrinter/
DX86IntelInstPrinter.cpp55 int64_t Imm = MI->getOperand(Op).getImm() & 0xf; in printSSECC() local
79 int64_t Imm = MI->getOperand(Op).getImm() & 0x1f; in printAVXCC() local
119 int64_t Imm = MI->getOperand(Op).getImm() & 0x3; in printRoundingControl() local
DX86ATTInstPrinter.cpp65 int64_t Imm = MI->getOperand(Op).getImm() & 0xf; in printSSECC() local
89 int64_t Imm = MI->getOperand(Op).getImm() & 0x1f; in printAVXCC() local
129 int64_t Imm = MI->getOperand(Op).getImm() & 0x3; in printRoundingControl() local
/external/llvm/lib/MC/
DMCInstrAnalysis.cpp19 int64_t Imm = Inst.getOperand(0).getImm(); in evaluateBranch() local
/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.h77 inline SDValue getI32Imm(unsigned Imm) { in getI32Imm()
/external/llvm/lib/Target/R600/MCTargetDesc/
DSIMCCodeEmitter.cpp88 IntFloatUnion Imm; in getLitEncoding() local
157 IntFloatUnion Imm; in EncodeInstruction() local
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp158 unsigned AArch64TTI::getIntImmCost(const APInt &Imm, Type *Ty) const { in getIntImmCost() argument
183 const APInt &Imm, Type *Ty) const { in getIntImmCost() argument
248 const APInt &Imm, Type *Ty) const { in getIntImmCost() argument
DAArch64ExpandPseudoInsts.cpp65 static uint64_t getChunk(uint64_t Imm, unsigned ChunkIdx) { in getChunk()
73 static uint64_t replicateChunk(uint64_t Imm, unsigned FromIdx, unsigned ToIdx) { in replicateChunk()
245 static uint64_t updateImm(uint64_t Imm, unsigned Idx, bool Clear) { in updateImm()
394 uint64_t Imm = MI.getOperand(1).getImm(); in expandMOVImm() local
/external/llvm/lib/CodeGen/
DStackMaps.cpp90 int64_t Imm = (++MOI)->getImm(); in parseOperand() local
98 int64_t Imm = (++MOI)->getImm(); in parseOperand() local
105 int64_t Imm = MOI->getImm(); in parseOperand() local
/external/llvm/tools/llvm-readobj/
DARMWinEHPrinter.cpp238 uint8_t Imm = OC[Offset] & 0x7f; in opcode_0xxxxxxx() local
328 uint16_t Imm = ((OC[Offset + 0] & 0x03) << 8) | ((OC[Offset + 1] & 0xff) << 0); in opcode_111010xx() local
417 uint32_t Imm = (OC[Offset + 1] << 8) | (OC[Offset + 2] << 0); in opcode_11110111() local
430 uint32_t Imm = (OC[Offset + 1] << 16) in opcode_11111000() local
445 uint32_t Imm = (OC[Offset + 1] << 8) | (OC[Offset + 2] << 0); in opcode_11111001() local
458 uint32_t Imm = (OC[Offset + 1] << 16) in opcode_11111010() local
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp371 uint64_t Imm) { in FastEmitInst_ri()
398 uint64_t Imm) { in FastEmitInst_rri()
426 uint64_t Imm) { in FastEmitInst_i()
475 int Imm; in ARMMaterializeFP() local
532 unsigned Imm = (unsigned)~(CI->getSExtValue()); in ARMMaterializeInt() local
934 signed Imm = (Addr.Offset < 0) ? (0x100 | -Addr.Offset) : Addr.Offset; in AddLoadStoreOperands() local
948 signed Imm = (Addr.Offset < 0) ? (0x100 | -Addr.Offset) : Addr.Offset; in AddLoadStoreOperands() local
1310 uint64_t Imm = CI->getZExtValue(); in SelectBranch() local
1375 int Imm = 0; in ARMEmitCmp() local
1638 int Imm = 0; in SelectSelect() local
[all …]
/external/llvm/lib/Target/R600/InstPrinter/
DAMDGPUInstPrinter.cpp113 void AMDGPUInstPrinter::printImmediate(uint32_t Imm, raw_ostream &O) { in printImmediate()
175 unsigned Imm = MI->getOperand(OpNum).getImm(); in printInterpSlot() local
219 int32_t Imm = MI->getOperand(OpNo).getImm(); in printLiteral() local
/external/llvm/lib/Target/Sparc/
DSparcAsmPrinter.cpp121 MCOperand &Imm, MCOperand &RD, in EmitSETHI()
144 MCOperand &RS1, MCOperand &Imm, MCOperand &RD, in EmitOR()
156 MCOperand &RS1, MCOperand &Imm, MCOperand &RD, in EmitSHL()
/external/llvm/utils/TableGen/
DPseudoLoweringEmitter.cpp28 enum MapKind { Operand, Imm, Reg }; enumerator
32 uint64_t Imm; // Integer immedate value. member

12345