Displaying 13 results from an estimated 13 matches for "machinejumptableentry".
2010 Oct 22
0
[LLVMdev] Crash with llc and vector code
...0x00000001004fb2e2 llvm::TargetLowering::getNumRegisters(llvm::LLVMContext&, llvm::EVT) const + 21346
12 llc 0x00000001004fbba8 llvm::TargetLowering::getNumRegisters(llvm::LLVMContext&, llvm::EVT) const + 23592
13 llc 0x00000001005c53bd std::vector<llvm::MachineJumpTableEntry, std::allocator<llvm::MachineJumpTableEntry> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::MachineJumpTableEntry*, std::vector<llvm::MachineJumpTableEntry, std::allocator<llvm::MachineJumpTableEntry> > >, llvm::MachineJumpTableEntry const&) + 2237
14 llc...
2010 Oct 22
1
[LLVMdev] Crash with llc and vector code
...0x00000001004fb2e2 llvm::TargetLowering::getNumRegisters(llvm::LLVMContext&, llvm::EVT) const + 21346
12 llc 0x00000001004fbba8 llvm::TargetLowering::getNumRegisters(llvm::LLVMContext&, llvm::EVT) const + 23592
13 llc 0x00000001005c53bd std::vector<llvm::MachineJumpTableEntry, std::allocator<llvm::MachineJumpTableEntry> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::MachineJumpTableEntry*, std::vector<llvm::MachineJumpTableEntry, std::allocator<llvm::MachineJumpTableEntry> > >, llvm::MachineJumpTableEntry const&) + 2237
14 llc...
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
...+ ConstantPoolBase = allocateSpace(Size, 1 << MCP-
>>
>>> getConstantPoolAlignment());
>>>
>> + ConstantPool = MCP;
>> +}
>> +
>> +void SizeEmitter::initJumpTableInfo(MachineJumpTableInfo *MJTI) {
>> + const std::vector<MachineJumpTableEntry> &JT = MJTI-
>>
>>> getJumpTables();
>>>
>> + if (JT.empty()) return;
>> +
>> + unsigned NumEntries = 0;
>> + for (unsigned i = 0, e = JT.size(); i != e; ++i)
>> + NumEntries += JT[i].MBBs.size();
>> +
>> +...
2008 Mar 31
0
[LLVMdev] Being able to know the jitted code-size before emitting
...t;getTarget().getTargetData()->getABITypeSize(Ty);
> + ConstantPoolBase = allocateSpace(Size, 1 << MCP-
> >getConstantPoolAlignment());
> + ConstantPool = MCP;
> +}
> +
> +void SizeEmitter::initJumpTableInfo(MachineJumpTableInfo *MJTI) {
> + const std::vector<MachineJumpTableEntry> &JT = MJTI-
> >getJumpTables();
> + if (JT.empty()) return;
> +
> + unsigned NumEntries = 0;
> + for (unsigned i = 0, e = JT.size(); i != e; ++i)
> + NumEntries += JT[i].MBBs.size();
> +
> + unsigned EntrySize = MJTI->getEntrySize();
> +
> + // J...
2008 Apr 01
0
[LLVMdev] Being able to know the jitted code-size before emitting
...e = allocateSpace(Size, 1 << MCP-
>>>
>>>> getConstantPoolAlignment());
>>>>
>>> + ConstantPool = MCP;
>>> +}
>>> +
>>> +void SizeEmitter::initJumpTableInfo(MachineJumpTableInfo *MJTI) {
>>> + const std::vector<MachineJumpTableEntry> &JT = MJTI-
>>>
>>>> getJumpTables();
>>>>
>>> + if (JT.empty()) return;
>>> +
>>> + unsigned NumEntries = 0;
>>> + for (unsigned i = 0, e = JT.size(); i != e; ++i)
>>> + NumEntries += JT[i].MBBs.size();
>...
2008 Apr 04
3
[LLVMdev] Being able to know the jitted code-size before emitting
...;>>> getConstantPoolAlignment());
>>>>>
>>>>>
>>>> + ConstantPool = MCP;
>>>> +}
>>>> +
>>>> +void SizeEmitter::initJumpTableInfo(MachineJumpTableInfo *MJTI) {
>>>> + const std::vector<MachineJumpTableEntry> &JT = MJTI-
>>>>
>>>>
>>>>> getJumpTables();
>>>>>
>>>>>
>>>> + if (JT.empty()) return;
>>>> +
>>>> + unsigned NumEntries = 0;
>>>> + for (unsigned i =...
2008 Apr 05
2
[LLVMdev] Being able to know the jitted code-size before emitting
...gt;>>
>>>>>>>
>>>>>> + ConstantPool = MCP;
>>>>>> +}
>>>>>> +
>>>>>> +void SizeEmitter::initJumpTableInfo(MachineJumpTableInfo *MJTI) {
>>>>>> + const std::vector<MachineJumpTableEntry> &JT = MJTI-
>>>>>>
>>>>>>
>>>>>>
>>>>>>> getJumpTables();
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> + if (JT.empty())...
2008 Apr 05
0
[LLVMdev] Being able to know the jitted code-size before emitting
...>
>>>>>>> + ConstantPool = MCP;
>>>>>>> +}
>>>>>>> +
>>>>>>> +void SizeEmitter::initJumpTableInfo(MachineJumpTableInfo
>>>>>>> *MJTI) {
>>>>>>> + const std::vector<MachineJumpTableEntry> &JT = MJTI-
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> getJumpTables();
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> + if (JT.empt...
2017 Nov 11
2
Update control flow graph when splitting a machine basic block?
Thank you for your reply!
> Every MachineBasicBlock has a list of successors; you can access it with
> the successors() accessor. That's what you should be using for any CFG
> analysis.
I am aware of these methods of class MachineBasicBlock, which allows one to access a MachineBasicBlock's successors and predecessors in the CFG.
But the CFG itself may no longer be valid if a
2008 Apr 04
0
[LLVMdev] Being able to know the jitted code-size before emitting
...ConstantPoolAlignment());
>>>>>>
>>>>>>
>>>>> + ConstantPool = MCP;
>>>>> +}
>>>>> +
>>>>> +void SizeEmitter::initJumpTableInfo(MachineJumpTableInfo *MJTI) {
>>>>> + const std::vector<MachineJumpTableEntry> &JT = MJTI-
>>>>>
>>>>>
>>>>>> getJumpTables();
>>>>>>
>>>>>>
>>>>> + if (JT.empty()) return;
>>>>> +
>>>>> + unsigned NumEntries = 0;
>>>>> + f...
2008 Apr 07
2
[LLVMdev] Being able to know the jitted code-size before emitting
...;>>> + ConstantPool = MCP;
>>>>>>>> +}
>>>>>>>> +
>>>>>>>> +void SizeEmitter::initJumpTableInfo(MachineJumpTableInfo
>>>>>>>> *MJTI) {
>>>>>>>> + const std::vector<MachineJumpTableEntry> &JT = MJTI-
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> getJumpTables();
>>>>>>>>>
>>>>>>>>>
&g...
2008 Apr 07
0
[LLVMdev] Being able to know the jitted code-size before emitting
...onstantPool = MCP;
>>>>>>>>> +}
>>>>>>>>> +
>>>>>>>>> +void SizeEmitter::initJumpTableInfo(MachineJumpTableInfo
>>>>>>>>> *MJTI) {
>>>>>>>>> + const std::vector<MachineJumpTableEntry> &JT = MJTI-
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> getJumpTables();
>>>>>>>>>>
>>>>>>>>...