similar to: [LLVMdev] LLVM debug information

Displaying 20 results from an estimated 100000 matches similar to: "[LLVMdev] LLVM debug information"

2012 Nov 05
2
[LLVMdev] LLVM Value relationship with metadata
Hello All, Would anybody explain why there is not direct connection between llvm::Value and metadata nodes. If llvm::Value hold pointer to its MDNode would it cause any malfunctioning? Thanks in advance, Arsen -- View this message in context: http://llvm.1065342.n5.nabble.com/LLVM-Value-relationship-with-metadata-tp50737.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
2012 Nov 06
2
[LLVMdev] LLVM Value relationship with metadata
Thanks for your reply David. Would you please clarify what do you mean by saying: David Chisnall-5 wrote > Increasingly, it seems that nodes have several metadata nodes and so they > are all paying the time penalty for the lookup. Arsen -- View this message in context: http://llvm.1065342.n5.nabble.com/LLVM-Value-relationship-with-metadata-tp50737p50793.html Sent from the LLVM - Dev
2014 Jul 02
2
[LLVMdev] Passing specific register for an Instruction in target description files.
On Mon, Jun 30, 2014 at 02:40:43AM -0700, Quentin Colombet wrote: > Hi Arsen, > > > > On Jun 19, 2014, at 10:43 PM, Arsen Hakobyan <artinetstudio at gmail.com> wrote: > > > > Hi all, > > > > I want to generate an assembly instruction for my target using target > > description representation of the instruction. The problem is that I want to
2014 Jun 20
3
[LLVMdev] Passing specific register for an Instruction in target description files.
Hi all, I want to generate an assembly instruction for my target using target description representation of the instruction. The problem is that I want to add direct register to be chose as an output register for my target. Does it possible to do with an instruction definition in TARGETInstrInfo.td file? May be someone could help with an example? Currently I have seen that we can pass the name
2013 Oct 09
0
[LLVMdev] Related constant folding of floating point values
Hi Arsen, On Oct 9, 2013, at 4:53 AM, Arsen Hakobyan <artinetstudio at gmail.com> wrote: > Hi all, > > I have the following test case: > #define FLT_EPSILON 1.19209290E-7 > > int err = -1; > int main() > { > float a = 8.1; > if (((a - 8.1) >= FLT_EPSILON) || ((a - 8.1) <= -FLT_EPSILON)) { //I am > using FLT_EPSILON to check whether (a != 2.0).
2013 Oct 09
4
[LLVMdev] Related constant folding of floating point values
Hi all, I have the following test case: #define FLT_EPSILON 1.19209290E-7 int err = -1; int main() { float a = 8.1; if (((a - 8.1) >= FLT_EPSILON) || ((a - 8.1) <= -FLT_EPSILON)) { //I am using FLT_EPSILON to check whether (a != 2.0). err = 1; } else { err = 0; } return 0; } with -O3 optimization level clang generates already incorrect LLVM IR: ; Function Attrs:
2013 Apr 12
1
[LLVMdev] Control Dependence Graph builder
Hi Arsen, I wrote a pass that computes a control dependence graph as described in Ferrante et al's "The Program Dependence Graph and Its Use in Optimization." It is available at https://github.com/thinkmoore/llvm-analysis. Cheers, Scott On Fri, Apr 12, 2013 at 5:04 PM, John Criswell <criswell at illinois.edu>wrote: > On 4/12/13 3:19 PM, Arsen wrote: > >> Thank
2014 Nov 29
2
[LLVMdev] LLVM Back-End structur related question.
Hi everyone, How would you pass a string container from TargetISelLowering phase to the TargetInstPrinter phase? May be I have missed something essential, but currently seems they don't have shared class or something like that, and currently I am thinkin to initialize container in TargetTargetMachine, then pass it to the TargetInstPrinter using TargetMCAsmInfo class or something like this. I
2012 Nov 05
0
[LLVMdev] LLVM Value relationship with metadata
On 5 Nov 2012, at 07:07, Arsen wrote: > Would anybody explain why there is not direct connection between llvm::Value > and metadata nodes. If llvm::Value hold pointer to its MDNode would it cause > any malfunctioning? The rationale was that most values did not have any metadata, and therefore there would be a space penalty paid for every node. Increasingly, it seems that nodes have
2013 Sep 24
2
[LLVMdev] Related to the LLVM Intrinsic functions.
Hello, I have a need to change the parameter type of llvm.lifetime.start/end intrinsic functions to get other defined type, but i do not want to replace the current definition of the intrinsic function with the new definition. Is there a way, to do such things for a specific target? If the only way to do this is to create a separate file for my target and write there a target specific
2014 Jun 10
2
[LLVMdev] Regarding Instruction definition in LLVM backend
Hi all, My question is related to the register usage in instruction definition at TARGETInstrInfo.td file. I have defined new Target with it Registers and instructions. Now I need to generate an instruction like: mov MYREG1_NAME, MYREG2_NAME for the built-in function taking one constant integer argument, such as "__builtin_my_function_name(88)" I wondering whether it is possible
2014 Jun 10
2
[LLVMdev] Regarding Instruction definition in LLVM backend
Hi Tim, Thank you for your response. I need that immediate value latter to concatenate to registers' names (which I am doing during assembly printing). Also just Updating some status for my questioin: I have continued with using *Defs* list. It allows me to keep Registers as an implicit operands of /*MachineInstr*/ and later during its lowering pass them to the /*MCInstr*/. Now seems I need
2014 Aug 14
2
[LLVMdev] Tablegen: How to define a Pattern with multiple result instructions
Hi all, I would like to be sure that Tablegen still does not support completely separate multiple instruction generation, and the only way is to write costume code (may be in TargetISelDAGToDAG class) to get the needed result. Dear Tom, do you found other solution (using Tablegen tool) for this? Thanks, Arsen -- View this message in context:
2013 Apr 12
2
[LLVMdev] Control Dependence Graph builder
Hello All, I am interested in Control Dependence Graph building using the CFG and Dominance Frontier provided by corresponding passes. Just wandering whether LLVM provides some kind of pass or builder which will generate the Control Dependence Graph? Thanks, Arsen -- View this message in context: http://llvm.1065342.n5.nabble.com/Control-Dependence-Graph-builder-tp56687.html Sent from the
2013 Apr 12
0
[LLVMdev] Control Dependence Graph builder
On 4/12/13 2:37 PM, Arsen wrote: > Hello All, > > I am interested in Control Dependence Graph building using the CFG and > Dominance Frontier provided by corresponding passes. Just wandering whether > LLVM provides some kind of pass or builder which will generate the Control > Dependence Graph? I think the PostDominanceFrontier analysis was removed from LLVM, but the
2014 Aug 15
2
[LLVMdev] Tablegen: How to define a Pattern with multiple result instructions
Dear Tom, What is the advantage to use the “pseudo instruction” approach VS “custom lowering/DAGtoDAGSelection” VS “ Library function”? Best Kevin On Aug 14, 2014, at 9:27 AM, Tom Stellard <tom at stellard.net> wrote: > On Thu, Aug 14, 2014 at 12:05:33AM -0700, Arsen Hakobyan wrote: >> Hi all, >> >> I would like to be sure that Tablegen still does not support
2013 Apr 12
0
[LLVMdev] Control Dependence Graph builder
On 4/12/13 3:19 PM, Arsen wrote: > Thank you John. > Actually the opt tool (from LLVM 3.2 version) can generate the needed graphs > (with pass "-domfrontier"). > But I just want to surely know is there some pass or builder which can be > integrated somehow so it will be possible directly to generate CDG? Yes and no. There's isn't a control dependence pass in LLVM
2014 Jul 09
3
[LLVMdev] Signed/Unsigned Instruction selection.
The sign information for binary operators is available in the llvm IR by the 'nsw' (no signed wrap) flag. Seems there is no use of this flag in the code generation phase. The sign information is no more available in the selection DAG. So how can I generate different instructions for binary operators with signed/unsigned operands in the assembler (e.g. mul/mulu)? -- View this message in
2012 Nov 07
0
[LLVMdev] LLVM Value relationship with metadata
On 6 Nov 2012, at 04:54, Arsen wrote: > Thanks for your reply David. Would you please clarify what do you mean by > saying: > > David Chisnall-5 wrote >> Increasingly, it seems that nodes have several metadata nodes and so they >> are all paying the time penalty for the lookup. I mean that metadata has gone from being something that occasionally appeared, and then
2014 Aug 05
2
[LLVMdev] Concerning not relevant argument count in TableGen Patterns.
Dear all. I have a problem with the following situation: I want to handle an intrinsic function in a specific way. The prototype of my function is: "/int my_intrinsic_name()/" So I want to generate a move instruction which should use two register type operands: "/mov R1, R2/" For this purpose I assume that the instruction definition in the TargetInstrInfo.td file