Displaying 2 results from an estimated 2 matches for "cpusers".
Did you mean:
ccusers
2008 Apr 16
0
[LLVMdev] Being able to know the jitted code-size before emitting
...::GetInstSize(UserMI);
> + for (unsigned Offset = UserOffset+TII->GetInstSize(UserMI);
> Offset < BaseInsertOffset;
> - Offset += ARM::GetInstSize(MI),
> + Offset += TII->GetInstSize(MI),
> MI = next(MI)) {
> if (CPUIndex < CPUsers.size() && CPUsers[CPUIndex].MI == MI) {
> if (!OffsetIsInRange(Offset, EndInsertOffset,
> @@ -1225,7 +1225,7 @@
> SplitBlockBeforeInstr(MI);
> // No need for the branch to the next block. We're adding a
> unconditional
> // branch to the destinati...
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