similar to: [LLVMdev] making emitInlineAsm protected

Displaying 20 results from an estimated 900 matches similar to: "[LLVMdev] making emitInlineAsm protected"

2014 Jan 31
4
[LLVMdev] making emitInlineAsm protected
It may be moot because Reed is currently rewriting the patch to avoid using EmitInlineAsm and EmitRawText but I wanted to question something here. I'm thinking that hasRawTextSupport() shouldn't be the condition used inside EmitInlineAsm. I think it would be more correct to have a useRawTextSupport() predicate that can return hasRawTextSupport() for (sub)targets that haven't
2014 Jan 29
3
[LLVMdev] making emitInlineAsm protected
On 01/28/2014 06:29 PM, Eric Christopher wrote: > Uhhhh... > > -eric > > On Tue, Jan 28, 2014 at 4:56 PM, reed kotler <rkotler at mips.com> wrote: >> I would like to make the following member of AsmPrinter be protected >> >> >> void EmitInlineAsm(StringRef Str, const MDNode *LocMDNode = 0, >> InlineAsm::AsmDialect
2014 Jan 29
6
[LLVMdev] making emitInlineAsm protected
On 01/29/2014 12:14 PM, Rafael Espíndola wrote: > On 28 January 2014 19:56, reed kotler <rkotler at mips.com> wrote: >> I would like to make the following member of AsmPrinter be protected >> >> >> void EmitInlineAsm(StringRef Str, const MDNode *LocMDNode = 0, >> InlineAsm::AsmDialect AsmDialect = >>
2014 Jan 31
2
[LLVMdev] making emitInlineAsm protected
Ok then. I'll put together a patch early next week to add a hasMatureMCSupport() and use it in EmitInlineAsm(). I don't know which targets should return true for hasMatureMCSupport() at the moment though. I guess X86 and ARM would but are there any others? ________________________________________ From: Rafael Espíndola [rafael.espindola at gmail.com] Sent: 31 January 2014 18:53 To: Daniel
2016 Jun 13
2
LLVM IR intrinsics placeholder for strings [was Re: Back end with special loop instructions (using LLVM IR intrinsics)]
Hello. I come back to this thread. But I want to ask a slightly different question. Is there a way to have LLVM IR language intrinsics that are given at construction time a string that is written at assembly generation time as it is? (so, basically having placeholders of strings in LLVM that remain untouched until the end, including code generation time.) More exactly, I would
2014 Jan 29
3
[LLVMdev] making emitInlineAsm protected
On 01/29/2014 01:48 PM, Rafael Espíndola wrote: >> So how do I create stubs? >> >> I have specific function stubs that I want to create. >> >> There is no direct object emitter for mips16 at this time. > Print it like any other instruction? > > Cheers, > Rafael I'd like to just check my code in and then you can look at it in it's totality and see
2014 Jan 29
2
[LLVMdev] making emitInlineAsm protected
On 01/29/2014 02:32 PM, Eric Christopher wrote: > On Wed, Jan 29, 2014 at 2:27 PM, reed kotler <rkotler at mips.com> wrote: >> On 01/29/2014 02:18 PM, Rafael Espíndola wrote: >>>> >>>> I'd like to just check my code in and then you can look at it in it's >>>> totality and see if you have >>>> a better solution . >>>
2014 Jan 29
3
[LLVMdev] making emitInlineAsm protected
On 01/29/2014 03:39 PM, Rafael Espíndola wrote: >> So explain to me how this mechanism would work. >> >> As I'm processing a single mips16 function, I realize that I need to create >> one or more mips32 helper functions. >> >> I'm in a function pass. So I'm not supposed to be creating new functions, as >> far as I understand. >> >>
2014 Jan 30
2
[LLVMdev] making emitInlineAsm protected
On 01/29/2014 04:25 PM, Rafael Espíndola wrote: >> How would this pass get added to the chain? >> >> It has to create more functions and then those in turn need to be compiled. > I am sure it can be done. MergeFunctions for example creates new functions. > > Now, it does seem this request/code review is a bit upside down. You > have been told that your original
2014 Jan 29
2
[LLVMdev] making emitInlineAsm protected
On 01/29/2014 02:18 PM, Rafael Espíndola wrote: >> I'd like to just check my code in and then you can look at it in it's >> totality and see if you have >> a better solution . > No! > > If it is the compiler creating instructions, it is not inline > assembly. If you need to print mips16 and mips32 and they are two > independent instruction sets, my guess is
2013 Jul 16
1
[LLVMdev] Instantiating Target-Specifc ASM Parser
Hello, I am working on backend development and would like to utilize my target's MCAsmParser inside of an MCInst-level class implementation. I noticed that the AsmParser is registered with the target registry however I am having no luck grepping for a "template" of how to instantiate it and have yet to find specific documentation on how it is done. Any ideas or help is greatly
2005 Mar 01
5
Polycom Auto-Answer
I am having a problem with Polycom auto-answer. I have the auto-answer working between PhoneA and PhoneB, but when I try to use the intercom between more then one phone I start having problems. PhoneA dials *3 which calls PhoneB, PhoneC, and PhoneD. All the phones ring, but only one will pick up, the rest will hang up and I get this error on Asterisk: Got SIP response 500 "Internal Server
2010 Mar 16
3
[LLVMdev] LLVM-GCC generating too much code from inline assembly
Hi, I recently switched to LLVM-GCC 4.2 on OS X, to go around a bug caused by gcc with optimized code. Unfortunately, I ran into another weird problem on LLVM-GCC. In my code, there's a file with a bunch of inline assembly blocks, that worked fine with GCC 4.2. Now, when compiling with LLVM-GCC 4.2, weird things happen. Here's an example: (the blocks are larger than that, but a single
2010 Mar 16
0
[LLVMdev] LLVM-GCC generating too much code from inline assembly
You may find it helpful to reference http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html. In particular, the information regarding clobbers and constraints. Generally speaking, it's best not to use inline assembly at all. What are you trying to do that you find it necessary? On Mar 16, 2010, at 12:30 AM, Fred / Kettch wrote: > Hi, > > I recently switched to LLVM-GCC
2009 Jul 31
2
[LLVMdev] Inserting Instructions (pass)
Hi, I' am trying to insert an InlineAsm Instruction in my pass, which FunctionType do I need for Inlineasm? If I understand it right, I need a call instruction to insert the new produced InlineAsm? Thanks for help, Michael for (BasicBlock::iterator bi = i->begin(), be = i->end(); bi != be; ++bi){ std::vector<const Type*> asm_arguments;
2010 Sep 29
3
[LLVMdev] Questions on ARMInstrInfo.td and MC/ARM/ELF
Hi Everyone, I am trying to decide on a MC'ized reorg of ARMAsmPrinter for MC/ELF, and had some questions. Currently, it defines quite a few methods like printAddrMode4Operand (linked to ARMInstrInfo.td) that currently assume raw text support in the OutStreamer. Are these methods still supposed to be invoked in the MC'ized path for assembly output? Is JimG's new MC/.s
2018 Mar 16
2
Mapping InlineAsm parameters to ConstraintInfoVector elements
Hi all, I'm trying to figure out which parameters of a given InlineAsm instruction are its inputs, and which are the outputs (rationale: make sure MSan doesn't check the output parameters of an asm() statement). As far as I understand, this information is only available through the ConstraintInfoVector for the InlineAsm. However there's no exact match between the constraints and the
2009 Jul 31
0
[LLVMdev] Inserting Instructions (pass)
On Jul 31, 2009, at 10:24 AM, Michael Graumann wrote: > Hi, > I’ am trying to insert an InlineAsm Instruction in my pass, which > FunctionType do I need for Inlineasm? > If I understand it right, I need a call instruction to insert the > new produced InlineAsm? > > Thanks for help Inline asm works like a "callee". So for: call void asm sideeffect
2016 Jun 30
4
Help required regarding IPRA and Local Function optimization
Hello Mentors, I am currently finding bug in Local Function related optimization due to which runtime failures are observed in some test cases, as those test cases are containing very large function with recursion and object oriented code so I am not able to find a pattern which is causing failure. So I tried following simple case to understand expected behavior from this optimization. Consider
2016 Jul 21
2
InlineAsm and allocation to wrong register for indirect access
Hi, I am seeing a case, in a private port, of an inline asm with indirect memory references being allocated invalid registers (i.e. registers that cannot be used on loads). For example, the inline asm constraint is correct: call void asm sideeffect "MOV $$r0, $0\0AMOV $$r0, $1\0A", "*m,*m,~{r0}"(i16* @a, i16* %b) #1, !srcloc !1 but then $0 and $1 are allocated to registers