Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] Transition to MC"
2011 Nov 29
2
[LLVMdev] Querying instruction classes
I'd appreciate some help in figuring out how to determine which
InstrItinClass an instruction belongs to.
For example, an InstrItinClass is defined in Schedule.td as:
def FOO : InstrItinClass;
Which is then used to build an InstrItinData in ProcessorItineraries and
to specify the class of a particular instruction.
I'd like to find out from a given instruction which class it belongs
2012 Nov 30
1
[LLVMdev] Support for bundles of MCInst?
Owen,
On 11/29/12 18:16, Owen Anderson wrote:
>> Will the size of the
>> packet be properly accounted for by the MCObjectStreamer if we have to pad
>> the packet (mainly for fetch alignment)?
> The MC system (including relaxation) is capable of handling instructions with variable length encodings whose size can't be determined until the MCCodeEmitter step.
Where could I
2011 Nov 29
0
[LLVMdev] Querying instruction classes
Hello,
I believe MCInstrDesc::getSchedClass() is what you're looking for.
-Jim
On Nov 28, 2011, at 5:03 PM, Evandro Menezes wrote:
> I'd appreciate some help in figuring out how to determine which
> InstrItinClass an instruction belongs to.
>
> For example, an InstrItinClass is defined in Schedule.td as:
>
> def FOO : InstrItinClass;
>
> Which is then used
2012 Aug 22
2
[LLVMdev] Let's get rid of neverHasSideEffects
On 08/21/12 16:49, Jim Grosbach wrote:
>
> I like that. Possibly with the addition that we can filter by a specific property. -Winfer=neverHasSideEffects, e.g., would only show when that specific property is inferred.
>
> Beyond that, I don't see an alternative to an audit of the instructions that get flagged by such a warning. :(
This proposal would certainly make my life easier
2012 Mar 02
3
[LLVMdev] Stack alignment on X86 AVX seems incorrect
On Fri, Mar 2, 2012 at 11:32 AM, Evandro Menezes <emenezes at codeaurora.org>
wrote:
...
> Figure 3.3 on page 16 of www.x86-64.org/documentation/abi.pdf is not
> normative. See foot note 7 in the same page. Figure 3.4 on page 21
> confirms that the use of a frame-pointer is optional.
>
> So, if one doesn't use ENTER in the prologue and uses RSP to access local
>
2012 Jun 21
2
[LLVMdev] [llvm-commits] How to define macros in a tablegen file?
Sebastian,
If not a test, how about a patch in the documentation for TableGen about
this new feature that you're making available?
--
Evandro Menezes Austin, TX emenezes at codeaurora.org
Qualcomm Innovation Center, Inc is a member of the Code Aurora Forum
On 06/20/12 16:02, Sebastian Pop wrote:
> On Wed, Jun 20, 2012 at 3:40 PM, Villmow, Micah<Micah.Villmow at
2012 Aug 24
0
[LLVMdev] Let's get rid of neverHasSideEffects
On Aug 22, 2012, at 9:40 AM, Evandro Menezes <emenezes at codeaurora.org> wrote:
> On 08/21/12 16:49, Jim Grosbach wrote:
>>
>> I like that. Possibly with the addition that we can filter by a specific property. -Winfer=neverHasSideEffects, e.g., would only show when that specific property is inferred.
>>
>> Beyond that, I don't see an alternative to an audit
2020 Mar 23
2
RISC-V LLVM sync-up call 19 Mar 2020
Hi, Sam.
I think that it's a fair comparison.
Keep in mind that the GP is only used to reach global variables of local scope and the GOT, where the address of global variables of global scope reside.
This model assumes that the distance between the GP and the global data area, GOT and local scope variables is defined at link time.
__
Evandro Menezes ◊ SiFive ◊ Austin, TX
> On Mar
2017 Mar 20
5
Building the CRT
Folks,
I'm at a loss trying to add Compiler-RT to an LLVM build, even after
checking out the instructions at http://compiler-rt.llvm.org, so I'd
appreciate your help.
I've tried adding the CMake options LLVM_ENABLE_PROJECTS,
LLVM_BUILD_EXTERNAL_COMPILER_RT, LLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR,
CLANG_DEFAULT_RTLIB. All to no avail.
FWIW, I'm building for the targets
2011 Sep 19
4
[LLVMdev] VLIW Ports
Has anyone attempted the port of LLVM to a VLIW architecture? Is there
any publication about it?
TIA
--
Evandro Menezes Austin, TX emenezes at codeaurora.org
Qualcomm Innovation Center, Inc is a member of Code Aurora Forum
2020 Mar 20
2
RISC-V LLVM sync-up call 19 Mar 2020
Oh, I wasn’t really thinking about devices without an MMU where the addresses are physically separated. Makes sense.
This reminds me of rwpi on ARM; it has a sort of similar scheme of referring to data indirectly through a pointer, but it also changes the ABI to keep the pointer in a reserved register.
-Eli
From: Evandro Menezes <evandro.menezes at sifive.com>
Sent: Friday, March 20, 2020
2020 Jul 21
3
[RFC] Preferred error/note style across non-clang tools, e.g. tablegen
> On Jul 21, 2020, at 14:30, Chris Lattner via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>
>
>> On Jul 21, 2020, at 11:50 AM, Jonathan Roelofs via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>>
>> A question of preference came up in https://reviews.llvm.org/D83588 <https://reviews.llvm.org/D83588>
2012 Mar 02
2
[LLVMdev] Stack alignment on X86 AVX seems incorrect
>
> At least for 32bit x86 reserving another register as alternative frame
> pointer is very heavy. The above would allow normal spill logic to
> decide when to keep a reference in register and when not. It also reuses
> existing functionality as much as possible.
>
Hi Joerg,
Yes, this was a problem in my implementation also. Empirically, for the
chips I work on, reserving the
2012 Nov 30
3
[LLVMdev] Support for bundles of MCInst?
Hello Owen,
> There should already be sufficient support for what you're trying to do.
See
> MCOperand::CreateInst(). The concept is that you'll build a composite
MCInst in
> your AsmPrinter::EmitInstruction() method, which uses Inst-type MCOperands
to
> hold a list of sub-instructions. Then you call
AsmStreamer::EmitInstruction() on the
> composite MCInst.
Thanks for
2020 Jul 22
2
[RFC] Preferred error/note style across non-clang tools, e.g. tablegen
Hi, Jonathan.
> On Jul 21, 2020, at 17:15, Jonathan Roelofs <jonathan_roelofs at apple.com> wrote:
>
>
>
>> On Jul 21, 2020, at 1:46 PM, Evandro Menezes <evandro.menezes at sifive.com <mailto:evandro.menezes at sifive.com>> wrote:
>>
>>
>>
>>> On Jul 21, 2020, at 14:30, Chris Lattner via llvm-dev <llvm-dev at lists.llvm.org
2020 Jul 24
2
[RFC] Preferred error/note style across non-clang tools, e.g. tablegen
> On Jul 22, 2020, at 18:09, Jonathan Roelofs <jonathan_roelofs at apple.com> wrote:
>
>
>
>> On Jul 22, 2020, at 4:31 PM, Evandro Menezes <evandro.menezes at sifive.com <mailto:evandro.menezes at sifive.com>> wrote:
>>> Sure, let’s talk about what that end goal should be! Can you give some other examples of where these inconsistencies could be
2017 Mar 20
2
Building the CRT
On 03/20/2017 03:33 PM, Jonathan Roelofs wrote:
> On 3/20/17 1:47 PM, Evandro Menezes via llvm-dev wrote:
>> Folks,
>>
>> I'm at a loss trying to add Compiler-RT to an LLVM build, even after
>> checking out the instructions at http://compiler-rt.llvm.org, so I'd
>> appreciate your help.
>>
>> I've tried adding the CMake options
2020 Mar 20
2
RISC-V LLVM sync-up call 19 Mar 2020
If I’m following correctly, there are two size-limited areas. One area, limited to 2GB, is the “text” area. This contains all the code. Then there’s a “global” area, limited to 4GB, which is pointed to by the global pointer. This contains the GOT, plus a flexible area that the object file can stick small bits of data into. And then outside of both of those, additional data is unlimited.
It
2012 Jun 21
0
[LLVMdev] [llvm-commits] How to define macros in a tablegen file?
On Thu, Jun 21, 2012 at 10:31 AM, Evandro Menezes
<emenezes at codeaurora.org> wrote:
> Sebastian,
>
> If not a test, how about a patch in the documentation for TableGen about
> this new feature that you're making available?
That's a good point. I will prepare a patch for the docs.
Thanks for your review!
Sebastian
--
Qualcomm Innovation Center, Inc is a member of
2012 Nov 30
0
[LLVMdev] Support for bundles of MCInst?
Mario,
On Nov 29, 2012, at 4:04 PM, Mario Guerra <mariog at codeaurora.org> wrote:
> Thanks for your reply. This is actually one approach we are considering, but
> there are a few issues with it we weren't sure how to address.
>
> One is that the lifespan of an MCInst seems to be limited to the scope of
> AsmPrinter, and we need them to be persistent in order to do a