Displaying 4 results from an estimated 4 matches for "gensubtargetinfo".
2012 Dec 17
0
[LLVMdev] [MC] [llvm-mc] Getting target specific information to <target>ELFObjectWriter
...gt;AsmBackend construction.
For the integrated assembler this works well because what is really passed is a derived class of <target>Subtarget. I can add stuff to MipsSubtarget without affecting any other target. Here is the inheritance:
SubtargetInfo
TargetSubtargetInfo
<target>GenSubtargetInfo
<target>Subtarget
<target>Subtarget is created through TargetMachine and is codegen centric.
For the standalone assembler and the clang this isn't the case. A straight SubtargetInfo object is created.
>From here I added a single data member to the SubratgetInfo class that c...
2012 Dec 15
2
[LLVMdev] [MC] [llvm-mc] Getting target specific information to <target>ELFObjectWriter
On Fri, Dec 14, 2012 at 1:03 PM, Carter, Jack <jcarter at mips.com> wrote:
> Eli,
>
> This is the kind of feedback I want. I believe I have to add to the base class so it should be generally useful. I can see string being better for the value. I still am enamoured with an enumeration for the tab though: int->string. How would that be a limitation?
>
I guess that's fine,
2017 Oct 17
2
getCacheSize() / subtarget machine id
Hi,
while implementing SystemZTTI:getCacheSize(), it became clear that there
really isn't a simple way to just ask the Subtarget for the current
subtarget machine model. I was thinking like something of an enum that
would also reflect the subtarget series (and would allow >= and similar
operations).
I would like to ask what the ideas are on how this should be done best.
Some
2014 Mar 04
2
[LLVMdev] Question about per-operand machine model
On Mar 4, 2014, at 10:05 AM, Pete Cooper <peter_cooper at apple.com> wrote:
>
> On Mar 3, 2014, at 2:21 PM, Andrew Trick <atrick at apple.com> wrote:
>
>>
>> On Mar 3, 2014, at 8:53 AM, Pierre-Andre Saulais <pierre-andre at codeplay.com> wrote:
>>
>>> Hi Andrew,
>>>
>>> We are currently using a custom model where