Displaying 2 results from an estimated 2 matches for "isx86_64extendedreg".
2008 Apr 16
0
[LLVMdev] Being able to know the jitted code-size before emitting
...================================
> --- lib/Target/X86/X86CodeEmitter.cpp (revision 49716)
> +++ lib/Target/X86/X86CodeEmitter.cpp (working copy)
> @@ -92,8 +92,6 @@
> intptr_t PCAdj = 0);
>
> unsigned getX86RegNum(unsigned RegNo) const;
> - bool isX86_64ExtendedReg(const MachineOperand &MO);
> - unsigned determineREX(const MachineInstr &MI);
>
> bool gvNeedsLazyPtr(const GlobalValue *GV);
> };
> @@ -405,139 +403,6 @@
> }
> }
>
> -static unsigned sizeOfImm(const TargetInstrDesc *Desc) {
> - switch (Desc->TSF...
2008 Apr 15
4
[LLVMdev] Being able to know the jitted code-size before emitting
OK, here's a new patch that adds the infrastructure and the
implementation for X86, ARM and PPC of GetInstSize and GetFunctionSize.
Both functions are virtual functions defined in TargetInstrInfo.h.
For X86, I moved some commodity functions from X86CodeEmitter to
X86InstrInfo.
What do you think?
Nicolas
Evan Cheng wrote:
>
> I think both of these belong to TargetInstrInfo. And