Displaying 2 results from an estimated 2 matches for "newbbsize".
Did you mean:
new_size
2008 Apr 16
0
[LLVMdev] Being able to know the jitted code-size before emitting
...> assert(I != MBB->end() && "Didn't find MI in its own basic
> block?");
> if (&*I == MI) return Offset;
> - Offset += ARM::GetInstSize(I);
> + Offset += TII->GetInstSize(I);
> }
> }
>
> @@ -617,7 +617,7 @@
> unsigned NewBBSize = 0;
> for (MachineBasicBlock::iterator I = NewBB->begin(), E = NewBB-
> >end();
> I != E; ++I)
> - NewBBSize += ARM::GetInstSize(I);
> + NewBBSize += TII->GetInstSize(I);
>
> unsigned OrigBBI = OrigBB->getNumber();
> unsigned NewBBI = NewBB-&...
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