• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/llvmCore-3425.0.34/lib/Target/X86/Disassembler/

Lines Matching refs:immediate

178 /// immediate Value in the MCInst. 
180 /// @param Value - The immediate Value, has had any PC adjustment made by
184 /// @param Offset - The byte offset to this immediate in the instruction
185 /// @param Width - The byte width of this immediate in the instruction
189 /// immediate in the instruction using the Address, Offset and Width. If that
192 /// returns zero and isBranch is true then a symbol look up for immediate Value
194 /// an MCExpr with the immediate Value is created. This function returns true
293 /// instruction and its immediate Value are used to determine the address
311 /// translateImmediate - Appends an immediate operand to an MCInst.
314 /// @param immediate - The immediate value to append.
317 static void translateImmediate(MCInst &mcInst, uint64_t immediate,
321 // Sign-extend the immediate if necessary.
385 mcInst.addOperand(MCOperand::CreateReg(X86::XMM0 + (immediate >> 4)));
388 mcInst.addOperand(MCOperand::CreateReg(X86::YMM0 + (immediate >> 4)));
393 // fall through to sign extend the immediate if needed.
395 if(immediate & 0x80)
396 immediate |= ~(0xffull);
399 if(immediate & 0x8000)
400 immediate |= ~(0xffffull);
406 // fall through to sign extend the immediate if needed.
408 if(immediate & 0x80000000)
409 immediate |= ~(0xffffffffull);
417 if(!tryAddingSymbolicOperand(immediate + pcrel, isBranch, insn.startLocation,
420 mcInst.addOperand(MCOperand::CreateImm(immediate));
472 // 2. scaleamount (immediate) 1, or (if there is a SIB) the specified
477 // 4. displacement (immediate) 0, or the displacement if there is one