search for: jumptablebase

Displaying 11 results from an estimated 11 matches for "jumptablebase".

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
.../// SizeEmitter - The JIT implementation of the >> MachineCodeEmitter, which is >> + /// used to output functions to memory for execution. >> +class SizeEmitter : public MachineCodeEmitter { >> + MachineFunction * Fn; >> + void* ConstantPoolBase; >> + void* JumpTableBase; >> + MachineConstantPool *ConstantPool; >> + MachineJumpTableInfo *JumpTable; >> + std::vector<intptr_t> LabelLocations; >> + MachineCodeEmitter* MCE; >> + >> +public: >> + SizeEmitter(MachineCodeEmitter* mce) { >> + CurBufferPtr = 0; &...
2008 Mar 31
0
[LLVMdev] Being able to know the jitted code-size before emitting
...amespace llvm { > + /// SizeEmitter - The JIT implementation of the > MachineCodeEmitter, which is > + /// used to output functions to memory for execution. > +class SizeEmitter : public MachineCodeEmitter { > + MachineFunction * Fn; > + void* ConstantPoolBase; > + void* JumpTableBase; > + MachineConstantPool *ConstantPool; > + MachineJumpTableInfo *JumpTable; > + std::vector<intptr_t> LabelLocations; > + MachineCodeEmitter* MCE; > + > +public: > + SizeEmitter(MachineCodeEmitter* mce) { > + CurBufferPtr = 0; > + BufferBegin = 0; > +...
2008 Apr 01
0
[LLVMdev] Being able to know the jitted code-size before emitting
...JIT implementation of the >>> MachineCodeEmitter, which is >>> + /// used to output functions to memory for execution. >>> +class SizeEmitter : public MachineCodeEmitter { >>> + MachineFunction * Fn; >>> + void* ConstantPoolBase; >>> + void* JumpTableBase; >>> + MachineConstantPool *ConstantPool; >>> + MachineJumpTableInfo *JumpTable; >>> + std::vector<intptr_t> LabelLocations; >>> + MachineCodeEmitter* MCE; >>> + >>> +public: >>> + SizeEmitter(MachineCodeEmitter* mce) { >&...
2008 Apr 04
3
[LLVMdev] Being able to know the jitted code-size before emitting
...e >>>> MachineCodeEmitter, which is >>>> + /// used to output functions to memory for execution. >>>> +class SizeEmitter : public MachineCodeEmitter { >>>> + MachineFunction * Fn; >>>> + void* ConstantPoolBase; >>>> + void* JumpTableBase; >>>> + MachineConstantPool *ConstantPool; >>>> + MachineJumpTableInfo *JumpTable; >>>> + std::vector<intptr_t> LabelLocations; >>>> + MachineCodeEmitter* MCE; >>>> + >>>> +public: >>>> + SizeEmitter(Mach...
2008 Apr 05
2
[LLVMdev] Being able to know the jitted code-size before emitting
...hich is >>>>>> + /// used to output functions to memory for execution. >>>>>> +class SizeEmitter : public MachineCodeEmitter { >>>>>> + MachineFunction * Fn; >>>>>> + void* ConstantPoolBase; >>>>>> + void* JumpTableBase; >>>>>> + MachineConstantPool *ConstantPool; >>>>>> + MachineJumpTableInfo *JumpTable; >>>>>> + std::vector<intptr_t> LabelLocations; >>>>>> + MachineCodeEmitter* MCE; >>>>>> + >>>>>&g...
2008 Apr 05
0
[LLVMdev] Being able to know the jitted code-size before emitting
...>>>> + /// used to output functions to memory for execution. >>>>>>> +class SizeEmitter : public MachineCodeEmitter { >>>>>>> + MachineFunction * Fn; >>>>>>> + void* ConstantPoolBase; >>>>>>> + void* JumpTableBase; >>>>>>> + MachineConstantPool *ConstantPool; >>>>>>> + MachineJumpTableInfo *JumpTable; >>>>>>> + std::vector<intptr_t> LabelLocations; >>>>>>> + MachineCodeEmitter* MCE; >>>>>>> + &g...
2008 Apr 04
0
[LLVMdev] Being able to know the jitted code-size before emitting
...achineCodeEmitter, which is >>>>> + /// used to output functions to memory for execution. >>>>> +class SizeEmitter : public MachineCodeEmitter { >>>>> + MachineFunction * Fn; >>>>> + void* ConstantPoolBase; >>>>> + void* JumpTableBase; >>>>> + MachineConstantPool *ConstantPool; >>>>> + MachineJumpTableInfo *JumpTable; >>>>> + std::vector<intptr_t> LabelLocations; >>>>> + MachineCodeEmitter* MCE; >>>>> + >>>>> +public: >>>...
2008 Apr 07
2
[LLVMdev] Being able to know the jitted code-size before emitting
...+ /// used to output functions to memory for execution. >>>>>>>> +class SizeEmitter : public MachineCodeEmitter { >>>>>>>> + MachineFunction * Fn; >>>>>>>> + void* ConstantPoolBase; >>>>>>>> + void* JumpTableBase; >>>>>>>> + MachineConstantPool *ConstantPool; >>>>>>>> + MachineJumpTableInfo *JumpTable; >>>>>>>> + std::vector<intptr_t> LabelLocations; >>>>>>>> + MachineCodeEmitter* MCE; >>>>&...
2008 Apr 07
0
[LLVMdev] Being able to know the jitted code-size before emitting
...output functions to memory for execution. >>>>>>>>> +class SizeEmitter : public MachineCodeEmitter { >>>>>>>>> + MachineFunction * Fn; >>>>>>>>> + void* ConstantPoolBase; >>>>>>>>> + void* JumpTableBase; >>>>>>>>> + MachineConstantPool *ConstantPool; >>>>>>>>> + MachineJumpTableInfo *JumpTable; >>>>>>>>> + std::vector<intptr_t> LabelLocations; >>>>>>>>> + MachineCodeEmitter* MCE; &...
2012 Apr 19
0
[LLVMdev] Target Dependent Hexagon Packetizer patch
..."$dst = CONST32(#$global)", >> [(set IntRegs:$dst, >> (HexagonCONST32 tglobaladdr:$global))]>; >> >> let isReMaterializable = 1, isMoveImm = 1 in >> -def CONST32_set_jt : LDInst<(outs IntRegs:$dst), (ins jumptablebase:$jt), >> +def CONST32_set_jt : LDInst2<(outs IntRegs:$dst), (ins jumptablebase:$jt), >> "$dst = CONST32(#$jt)", >> [(set IntRegs:$dst, >> (HexagonCONST32 tjumptable:$jt))]>; >> >&gt...