search for: initjumptableinfo

Displaying 10 results from an estimated 10 matches for "initjumptableinfo".

2008 Mar 30
3
[LLVMdev] Being able to know the jitted code-size before emitting
Hi everyone, vmkit requires to know the size of a jitted method before emitting the method. This allows to allocate the correct size for the method. The attached patch creates this functionality when the flag SizedMemoryCode is on. In order to implement this functionality, i had to virtualize some MachineCodeEmitter functions. Is it OK to commit the patch? Thanks, Nicolas --------------
2008 Apr 01
2
[LLVMdev] Being able to know the jitted code-size before emitting
...ector<intptr_t> locations) { >> + LabelLocations = locations; >> + CurBufferPtr = 0; >> + BufferBegin = 0; >> + BufferEnd = (unsigned char*)-1; >> + } >> + >> + void initConstantPool(MachineConstantPool *MCP); >> + >> + void initJumpTableInfo(MachineJumpTableInfo *MJTI); >> + >> + >> + virtual void startFunction(MachineFunction &F) { >> + CurBufferPtr = 0; >> + Fn = &F; >> + >> + // Ensure the constant pool/jump table info is at least 4-byte >> aligned. >> + em...
2008 Mar 31
0
[LLVMdev] Being able to know the jitted code-size before emitting
...} > + > + SizeEmitter(std::vector<intptr_t> locations) { > + LabelLocations = locations; > + CurBufferPtr = 0; > + BufferBegin = 0; > + BufferEnd = (unsigned char*)-1; > + } > + > + void initConstantPool(MachineConstantPool *MCP); > + > + void initJumpTableInfo(MachineJumpTableInfo *MJTI); > + > + > + virtual void startFunction(MachineFunction &F) { > + CurBufferPtr = 0; > + Fn = &F; > + > + // Ensure the constant pool/jump table info is at least 4-byte > aligned. > + emitAlignment(16); > + > + in...
2008 Apr 01
0
[LLVMdev] Being able to know the jitted code-size before emitting
...gt;>> + LabelLocations = locations; >>> + CurBufferPtr = 0; >>> + BufferBegin = 0; >>> + BufferEnd = (unsigned char*)-1; >>> + } >>> + >>> + void initConstantPool(MachineConstantPool *MCP); >>> + >>> + void initJumpTableInfo(MachineJumpTableInfo *MJTI); >>> + >>> + >>> + virtual void startFunction(MachineFunction &F) { >>> + CurBufferPtr = 0; >>> + Fn = &F; >>> + >>> + // Ensure the constant pool/jump table info is at least 4-byte >>...
2008 Apr 04
3
[LLVMdev] Being able to know the jitted code-size before emitting
...= locations; >>>> + CurBufferPtr = 0; >>>> + BufferBegin = 0; >>>> + BufferEnd = (unsigned char*)-1; >>>> + } >>>> + >>>> + void initConstantPool(MachineConstantPool *MCP); >>>> + >>>> + void initJumpTableInfo(MachineJumpTableInfo *MJTI); >>>> + >>>> + >>>> + virtual void startFunction(MachineFunction &F) { >>>> + CurBufferPtr = 0; >>>> + Fn = &F; >>>> + >>>> + // Ensure the constant pool/jump table info...
2008 Apr 05
2
[LLVMdev] Being able to know the jitted code-size before emitting
...;>>>>> + BufferBegin = 0; >>>>>> + BufferEnd = (unsigned char*)-1; >>>>>> + } >>>>>> + >>>>>> + void initConstantPool(MachineConstantPool *MCP); >>>>>> + >>>>>> + void initJumpTableInfo(MachineJumpTableInfo *MJTI); >>>>>> + >>>>>> + >>>>>> + virtual void startFunction(MachineFunction &F) { >>>>>> + CurBufferPtr = 0; >>>>>> + Fn = &F; >>>>>> + >>>>&...
2008 Apr 05
0
[LLVMdev] Being able to know the jitted code-size before emitting
...BufferBegin = 0; >>>>>>> + BufferEnd = (unsigned char*)-1; >>>>>>> + } >>>>>>> + >>>>>>> + void initConstantPool(MachineConstantPool *MCP); >>>>>>> + >>>>>>> + void initJumpTableInfo(MachineJumpTableInfo *MJTI); >>>>>>> + >>>>>>> + >>>>>>> + virtual void startFunction(MachineFunction &F) { >>>>>>> + CurBufferPtr = 0; >>>>>>> + Fn = &F; >>>>>>...
2008 Apr 04
0
[LLVMdev] Being able to know the jitted code-size before emitting
...; + CurBufferPtr = 0; >>>>> + BufferBegin = 0; >>>>> + BufferEnd = (unsigned char*)-1; >>>>> + } >>>>> + >>>>> + void initConstantPool(MachineConstantPool *MCP); >>>>> + >>>>> + void initJumpTableInfo(MachineJumpTableInfo *MJTI); >>>>> + >>>>> + >>>>> + virtual void startFunction(MachineFunction &F) { >>>>> + CurBufferPtr = 0; >>>>> + Fn = &F; >>>>> + >>>>> + // Ensure the c...
2008 Apr 07
2
[LLVMdev] Being able to know the jitted code-size before emitting
...>>>>>>> + BufferEnd = (unsigned char*)-1; >>>>>>>> + } >>>>>>>> + >>>>>>>> + void initConstantPool(MachineConstantPool *MCP); >>>>>>>> + >>>>>>>> + void initJumpTableInfo(MachineJumpTableInfo *MJTI); >>>>>>>> + >>>>>>>> + >>>>>>>> + virtual void startFunction(MachineFunction &F) { >>>>>>>> + CurBufferPtr = 0; >>>>>>>> + Fn = &F; >...
2008 Apr 07
0
[LLVMdev] Being able to know the jitted code-size before emitting
...>> + BufferEnd = (unsigned char*)-1; >>>>>>>>> + } >>>>>>>>> + >>>>>>>>> + void initConstantPool(MachineConstantPool *MCP); >>>>>>>>> + >>>>>>>>> + void initJumpTableInfo(MachineJumpTableInfo *MJTI); >>>>>>>>> + >>>>>>>>> + >>>>>>>>> + virtual void startFunction(MachineFunction &F) { >>>>>>>>> + CurBufferPtr = 0; >>>>>>>>> +...