Displaying 4 results from an estimated 4 matches for "codemachine".
2018 Jun 24
2
MachineFunction Instructions Pass using Segment Registers
...as X86BaseInfo.cpp. I feel there
isn't enough for me to be able to connect the dots.
Below I have sample code: %gs holds a base address to a memory
location where I am trying to store information. I am trying to update
the %gs register pointer location before saving more values, etc.
LLVM C++ codeMachine Function pass code:
MachineInstrBuilder sss = BuildMI(MBB, MBB.begin(), DL,
TII->get(X86::SUB32ri),X86::GS)
.addReg(X86::GS)
.addImm(0x8);
machine function pass dump:
%gs = SUB32ri %gs, 8, implicit-def %eflags
Objdump -d assembly from executable
40051...
2018 Jun 24
2
MachineFunction Instructions Pass using Segment Registers
...r me to be able to connect the dots.
>>
>> Below I have sample code: %gs holds a base address to a memory
>> location where I am trying to store information. I am trying to update
>> the %gs register pointer location before saving more values, etc.
>>
>> LLVM C++ codeMachine Function pass code:
>> MachineInstrBuilder sss = BuildMI(MBB, MBB.begin(), DL,
>> TII->get(X86::SUB32ri),X86::GS)
>> .addReg(X86::GS)
>> .addImm(0x8);
>>
>> machine function pass dump:
>> %gs = SUB32ri %gs, 8, imp...
2018 Jun 24
2
MachineFunction Instructions Pass using Segment Registers
...> >>> Below I have sample code: %gs holds a base address to a memory
> >>> location where I am trying to store information. I am trying to update
> >>> the %gs register pointer location before saving more values, etc.
> >>>
> >>> LLVM C++ codeMachine Function pass code:
> >>> MachineInstrBuilder sss = BuildMI(MBB, MBB.begin(), DL,
> >>> TII->get(X86::SUB32ri),X86::GS)
> >>> .addReg(X86::GS)
> >>> .addImm(0x8);
> >>>
> >>> machine f...
2018 Jun 26
2
MachineFunction Instructions Pass using Segment Registers
...de: %gs holds a base address to a memory
> >> >>> location where I am trying to store information. I am trying to
> update
> >> >>> the %gs register pointer location before saving more values, etc.
> >> >>>
> >> >>> LLVM C++ codeMachine Function pass code:
> >> >>> MachineInstrBuilder sss = BuildMI(MBB, MBB.begin(), DL,
> >> >>> TII->get(X86::SUB32ri),X86::GS)
> >> >>> .addReg(X86::GS)
> >> >>> .addImm(0x8);
> >...