HomeSort by relevance Sort by last modified time
    Searched defs:Imm (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/llvm/lib/Target/NVPTX/InstPrinter/
NVPTXInstPrinter.cpp 89 O << markup("<imm:") << formatImm(Op.getImm()) << markup(">");
99 int64_t Imm = MO.getImm();
103 if (Imm & NVPTX::PTXCvtMode::FTZ_FLAG)
107 if (Imm & NVPTX::PTXCvtMode::SAT_FLAG)
111 switch (Imm & NVPTX::PTXCvtMode::BASE_MASK) {
149 int64_t Imm = MO.getImm();
153 if (Imm & NVPTX::PTXCmpMode::FTZ_FLAG)
156 switch (Imm & NVPTX::PTXCmpMode::BASE_MASK) {
223 int Imm = (int) MO.getImm();
225 if (Imm)
    [all...]
  /external/llvm/lib/Target/SystemZ/InstPrinter/
SystemZInstPrinter.cpp 162 uint64_t Imm = MI->getOperand(OpNum).getImm();
163 assert(Imm > 0 && Imm < 15 && "Invalid condition");
164 O << CondNames[Imm - 1];
  /external/llvm/lib/Target/R600/MCTargetDesc/
SIMCCodeEmitter.cpp 88 IntFloatUnion Imm;
90 Imm.I = MO.getImm();
92 Imm.F = MO.getFPImm();
96 if (Imm.I >= 0 && Imm.I <= 64)
97 return 128 + Imm.I;
99 if (Imm.I >= -16 && Imm.I <= -1)
100 return 192 + abs(Imm.I);
102 if (Imm.F == 0.5f
    [all...]
  /external/llvm/lib/Target/X86/InstPrinter/
X86ATTInstPrinter.cpp 65 int64_t Imm = MI->getOperand(Op).getImm() & 0xf;
66 switch (Imm) {
89 int64_t Imm = MI->getOperand(Op).getImm() & 0x1f;
90 switch (Imm) {
129 int64_t Imm = MI->getOperand(Op).getImm() & 0x3;
130 switch (Imm) {
169 O << markup("<imm:")
174 *CommentStream << format("imm = 0x%" PRIX64 "\n", (uint64_t)Op.getImm());
178 O << markup("<imm:")
219 << markup("<imm:"
    [all...]
X86IntelInstPrinter.cpp 55 int64_t Imm = MI->getOperand(Op).getImm() & 0xf;
56 switch (Imm) {
79 int64_t Imm = MI->getOperand(Op).getImm() & 0x1f;
80 switch (Imm) {
119 int64_t Imm = MI->getOperand(Op).getImm() & 0x3;
120 switch (Imm) {
  /external/llvm/utils/TableGen/
PseudoLoweringEmitter.cpp 28 enum MapKind { Operand, Imm, Reg };
32 uint64_t Imm; // Integer immedate value.
105 OperandMap[BaseIdx + i].Kind = OpData::Imm;
106 OperandMap[BaseIdx + i].Data.Imm = II->getValue();
234 case OpData::Imm:
236 << Expansion.OperandMap[MIOpNo + i].Data.Imm << "));\n";
CodeGenInstruction.h 307 int64_t Imm;
316 ResultOperand(int64_t I) : Imm(I), Kind(K_Imm) {}
325 int64_t getImm() const { assert(isImm()); return Imm; }
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/MCTargetDesc/
SIMCCodeEmitter.cpp 194 /// IMM = bits{8}
245 } Imm;
248 Imm.f = MO.getFPImm();
249 Value |= ((uint64_t)Imm.i) << 32;
  /external/llvm/lib/CodeGen/
StackMaps.cpp 90 int64_t Imm = (++MOI)->getImm();
91 Locs.push_back(Location(StackMaps::Location::Direct, Size, Reg, Imm));
98 int64_t Imm = (++MOI)->getImm();
99 Locs.push_back(Location(StackMaps::Location::Indirect, Size, Reg, Imm));
105 int64_t Imm = MOI->getImm();
106 Locs.push_back(Location(Location::Constant, sizeof(int64_t), 0, Imm));
  /external/llvm/lib/Target/AArch64/
AArch64AsmPrinter.cpp 223 int64_t Imm = MO.getImm();
224 O << '#' << Imm;
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMAddressingModes.h 106 // reg [asr|lsl|lsr|ror|rrx] imm
109 // reg, the second is the shift amount (or reg0 if not present or imm). The
110 // third operand encodes the shift opcode and the imm if a reg isn't present.
112 static inline unsigned getSORegOpc(ShiftOpc ShOp, unsigned Imm) {
113 return ShOp | (Imm << 3);
122 /// getSOImmValImm - Given an encoded imm field for the reg/imm form, return
123 /// the 8-bit imm value.
124 static inline unsigned getSOImmValImm(unsigned Imm) {
125 return Imm & 0xFF
    [all...]
ARMMCCodeEmitter.cpp 86 unsigned &Reg, unsigned &Imm,
184 /// getLdStSORegOpValue - Return encoding info for 'reg +/- reg shop imm'
536 /// getAddrModeImmOpValue - Return encoding info for 'reg +/- imm' operand.
539 unsigned &Imm, SmallVectorImpl<MCFixup> &Fixups,
561 Imm = SImm;
    [all...]
  /external/llvm/lib/Target/Mips/
MipsFastISel.cpp 86 unsigned Materialize32BitInt(int64_t Imm, const TargetRegisterClass *RC);
323 int64_t Imm = CFP->getValueAPF().bitcastToAPInt().getZExtValue();
327 unsigned TempReg = Materialize32BitInt(Imm, &Mips::GPR32RegClass);
333 unsigned TempReg1 = Materialize32BitInt(Imm >> 32, &Mips::GPR32RegClass);
335 Materialize32BitInt(Imm & 0xFFFFFFFF, &Mips::GPR32RegClass);
362 int64_t Imm;
364 Imm = CI->getSExtValue();
366 Imm = CI->getZExtValue();
367 return Materialize32BitInt(Imm, RC);
370 unsigned MipsFastISel::Materialize32BitInt(int64_t Imm,
    [all...]
Mips16ISelLowering.cpp 729 int64_t imm = MI->getOperand(1).getImm(); local
732 if (isUInt<8>(imm))
734 else if ((!ImmSigned && isUInt<16>(imm)) ||
735 (ImmSigned && isInt<16>(imm)))
740 .addImm(imm);
747 (unsigned shortOp, unsigned longOp, int64_t Imm) {
748 if (isUInt<8>(Imm))
750 else if (isInt<16>(Imm))
781 int64_t Imm = MI->getOperand(2).getImm();
782 unsigned SltOpc = Mips16WhichOp8uOr16simm(SltiOpc, SltiXOpc, Imm);
    [all...]
MipsSEISelDAGToDAG.cpp 407 // Returns true and sets Imm if:
410 bool MipsSEDAGToDAGISel::selectVSplat(SDNode *N, APInt &Imm) const {
428 Imm = SplatValue;
436 // true and sets Imm if:
450 selectVSplatCommon(SDValue N, SDValue &Imm, bool Signed,
462 Imm = CurDAG->getTargetConstant(ImmValue, EltTy);
472 selectVSplatUimm1(SDValue N, SDValue &Imm) const {
473 return selectVSplatCommon(N, Imm, false, 1);
477 selectVSplatUimm2(SDValue N, SDValue &Imm) const {
478 return selectVSplatCommon(N, Imm, false, 2)
    [all...]
  /external/llvm/lib/Target/R600/InstPrinter/
AMDGPUInstPrinter.cpp 113 void AMDGPUInstPrinter::printImmediate(uint32_t Imm, raw_ostream &O) {
114 int32_t SImm = static_cast<int32_t>(Imm);
120 if (Imm == FloatToBits(1.0f) ||
121 Imm == FloatToBits(-1.0f) ||
122 Imm == FloatToBits(0.5f) ||
123 Imm == FloatToBits(-0.5f) ||
124 Imm == FloatToBits(2.0f) ||
125 Imm == FloatToBits(-2.0f) ||
126 Imm == FloatToBits(4.0f) ||
127 Imm == FloatToBits(-4.0f))
    [all...]
  /external/llvm/lib/Target/X86/
X86RegisterInfo.cpp 515 int Imm = (int)(MI.getOperand(FIOperandNum + 3).getImm());
516 int Offset = FIOffset + Imm;
517 assert((!Is64Bit || isInt<32>((long long)FIOffset + Imm)) &&
  /external/llvm/tools/llvm-readobj/
ARMWinEHPrinter.cpp 238 uint8_t Imm = OC[Offset] & 0x7f;
242 Imm);
328 uint16_t Imm = ((OC[Offset + 0] & 0x03) << 8) | ((OC[Offset + 1] & 0xff) << 0);
333 Imm);
417 uint32_t Imm = (OC[Offset + 1] << 8) | (OC[Offset + 2] << 0);
422 Imm);
430 uint32_t Imm = (OC[Offset + 1] << 16)
437 static_cast<const char *>(Prologue ? "sub" : "add"), Imm);
445 uint32_t Imm = (OC[Offset + 1] << 8) | (OC[Offset + 2] << 0);
450 static_cast<const char *>(Prologue ? "sub" : "add"), Imm);
    [all...]
  /external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/
SIMCCodeEmitter.cpp 194 /// IMM = bits{8}
245 } Imm;
248 Imm.f = MO.getFPImm();
249 Value |= ((uint64_t)Imm.i) << 32;
  /external/llvm/lib/IR/
AutoUpgrade.cpp 312 unsigned Imm;
314 Imm = 0;
316 Imm = 1;
318 Imm = 2;
320 Imm = 3;
322 Imm = 4;
324 Imm = 5;
326 Imm = 6;
328 Imm = 7;
334 CI->getArgOperand(1), Builder.getInt8(Imm));
    [all...]
  /external/llvm/lib/Target/AArch64/Disassembler/
AArch64Disassembler.cpp 84 static DecodeStatus DecodeFixedPointScaleImm32(llvm::MCInst &Inst, unsigned Imm,
87 static DecodeStatus DecodeFixedPointScaleImm64(llvm::MCInst &Inst, unsigned Imm,
90 static DecodeStatus DecodePCRelLabel19(llvm::MCInst &Inst, unsigned Imm,
92 static DecodeStatus DecodeMemExtend(llvm::MCInst &Inst, unsigned Imm,
94 static DecodeStatus DecodeMRSSystemRegister(llvm::MCInst &Inst, unsigned Imm,
96 static DecodeStatus DecodeMSRSystemRegister(llvm::MCInst &Inst, unsigned Imm,
148 static DecodeStatus DecodeVecShiftR64Imm(llvm::MCInst &Inst, unsigned Imm,
150 static DecodeStatus DecodeVecShiftR64ImmNarrow(llvm::MCInst &Inst, unsigned Imm,
153 static DecodeStatus DecodeVecShiftR32Imm(llvm::MCInst &Inst, unsigned Imm,
155 static DecodeStatus DecodeVecShiftR32ImmNarrow(llvm::MCInst &Inst, unsigned Imm,
823 unsigned imm = fieldFromInstruction(insn, 5, 16); local
1365 unsigned imm; local
1395 unsigned imm = fieldFromInstruction(insn, 16, 3) << 5; local
1434 unsigned imm = fieldFromInstruction(insn, 16, 3) << 5; local
1450 int64_t imm = fieldFromInstruction(insn, 5, 19) << 2; local
1505 int64_t imm = fieldFromInstruction(insn, 0, 26); local
    [all...]
  /external/llvm/lib/Target/AArch64/InstPrinter/
AArch64InstPrinter.cpp     [all...]
  /external/llvm/lib/Target/ARM/
ARMExpandPseudoInsts.cpp     [all...]
Thumb2SizeReduction.cpp 539 unsigned Imm = MI->getOperand(2).getImm();
543 if (Imm & 3 || Imm > 1020)
558 .addImm(Imm / 4); // The tADDrSPi has an implied scale by four.
673 unsigned Imm = MI->getOperand(2).getImm();
675 if (Imm > Limit)
    [all...]
  /external/llvm/lib/Target/Mips/Disassembler/
MipsDisassembler.cpp 459 InsnType Imm = SignExtend64(fieldFromInstruction(insn, 0, 16), 16) << 2;
477 MI.addOperand(MCOperand::CreateImm(Imm));
498 InsnType Imm = SignExtend64(fieldFromInstruction(insn, 0, 16), 16) << 2;
516 MI.addOperand(MCOperand::CreateImm(Imm));
538 InsnType Imm = SignExtend64(fieldFromInstruction(insn, 0, 16), 16) << 2;
559 MI.addOperand(MCOperand::CreateImm(Imm));
583 InsnType Imm = SignExtend64(fieldFromInstruction(insn, 0, 16), 16) << 2;
603 MI.addOperand(MCOperand::CreateImm(Imm));
625 InsnType Imm = SignExtend64(fieldFromInstruction(insn, 0, 16), 16) << 2;
652 MI.addOperand(MCOperand::CreateImm(Imm));
    [all...]

Completed in 1632 milliseconds

1 2 3