search for: inferenc

Displaying 13 results from an estimated 13 matches for "inferenc".

Did you mean: inference
2009 Apr 15
1
[LLVMdev] Tablegen question
...en. > exe -gen > -dag-isel -I../../include/ test.td > output > GPRV2F32:v2f32:$src1 MACRO_DISTANCE_FAST_v2f32: (set > GPRF32:f32:$dst, (i > ntrinsic_w_chain:f32 84:iPTR, GPRV2F32:v2f32:$src0, > GPRV2F32:v2f32:$src1)) > TableGen.exe: In MACRO_DISTANCE_FAST_v2f32: Type inference > contradiction > found i > n node! > > So I'm not sure that is the problem. Also, my register classes only > accept one register type, so there is no valid way for a GPRV2F32 to > accept a F32 data type. Well, I'm out of ideas. Maybe it's time to debug TableGe...
2018 Nov 27
2
[RFC] Tablegen-erated GlobalISel Combine Rules
...Continued from the other email Removing the defs section We can potentially infer quite a lot of the defs section but it requires both a complicated ruleset and that tblgen spends processing time doing the inferencing. That processing time is potentially significant for large combiners and for that reason we need to be careful not to let inferencing become a burden on tblgen. My main worry here is that it may require analyzing both the match and apply section to fully inference the types and I'd like the...
2018 Nov 30
2
[RFC] Tablegen-erated GlobalISel Combine Rules
...t; wrote: > > On 27.11.18 19:01, Daniel Sanders wrote: >> ...Continued from the other email >> _Removing the defs section_ >> We can potentially infer quite a lot of the defs section but it requires both a complicated ruleset and that tblgen spends processing time doing the inferencing. That processing time is potentially significant for large combiners and for that reason we need to be careful not to let inferencing become a burden on tblgen. My main worry here is that it may require analyzing both the match and apply section to fully inference the types and I'd like the...
2015 Apr 06
2
[LLVMdev] llvm DSA - reproduce the result in PLDI 07 paper
Dear all, I am trying to reproduce the "Percent May Alias" result described in PLDI 07's paper "Making Context-Sensitive Points-to Analysis with Heap Cloning Practical For The Real World" (http://llvm.org/pubs/2007-06-10-PLDI-DSA.html ). However, my "Percent May Alias" for all the benchmarks is much greater, especially "bzip2". The DSA code I use is
2015 May 05
2
[LLVMdev] llvm DSA - reproduce the result in PLDI 07 paper
...re 2 is the OS we were using at the time. > > To answer the question of why you can't use a modern version of LLVM and > poolalloc, it's because LLVM has changed significantly. DSA relies upon > the type annotations provided in the LLVM IR to "bootstrap" its type > inference (bootstrap is not quite the right word, but it's the closest one > of which I could think). As LLVM matured, transformations would ditch the > type information (e.g., transforming typed GEPs into untyped GEPs into a > byte array), making DSA's ability to do type-inference (and th...
2009 Apr 15
0
[LLVMdev] Tablegen question
...\compiler\llvm\test\AMDIL>TableGen. exe -gen -dag-isel -I../../include/ test.td > output GPRV2F32:v2f32:$src1 MACRO_DISTANCE_FAST_v2f32: (set GPRF32:f32:$dst, (i ntrinsic_w_chain:f32 84:iPTR, GPRV2F32:v2f32:$src0, GPRV2F32:v2f32:$src1)) TableGen.exe: In MACRO_DISTANCE_FAST_v2f32: Type inference contradiction found i n node! So I'm not sure that is the problem. Also, my register classes only accept one register type, so there is no valid way for a GPRV2F32 to accept a F32 data type. Micah -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs....
2009 Apr 15
2
[LLVMdev] Tablegen question
...problem comes when I try to use the intrinsic. It gives me the > following error: > GPRV2F32:f32:$src1 MACRO_DISTANCE_FAST_v2f32: (set GPRF32:f32:$dst, > (intrinsic_w_chain:f32 84:iPTR, GPRV2F32:v2f32:$src0, > GPRV2F32:f32:$src1)) > TableGen.exe: In MACRO_DISTANCE_FAST_v2f32: Type inference > contradiction > found in node! Your "$src1" is f32 instead of v2f32. I've run into some problems like this before and concluded that TableGen's type inference is awesome but still doesn't do everything one might want it to do. In this case, I think you ough...
2013 Sep 09
0
[LLVMdev] Adding diversity for security (and testing)
On 29 August 2013 15:29, Stephen Crane <sjcrane at uci.edu> wrote: > On 08/28/2013 02:37 PM, Nick Lewycky wrote: > >> 1. I'm concerned about the deployment problem. I realize that being in >> the compiler means you can transform the program in more exciting ways, but >> it gives you a much worse deployment story than something which modifies >> the program
2015 Mar 10
2
[LLVMdev] GVN PRE algorithms in LLVM
The GVN algorithm used in LLVM currently (I'm rewriting it) is the basic hash based RPO algorithm. The new one i'm writing is based on http://dl.acm.org/citation.cfm?id=512536 (see https://github.com/dberlin/llvm-gvn-rewrite) LLVM has different algorithms for both scalar PRE and load PRE. They are basically variants of standard PRE algorithms transformed into SSA, but with some
2013 Aug 29
3
[LLVMdev] Adding diversity for security (and testing)
On 08/28/2013 02:37 PM, Nick Lewycky wrote: > 1. I'm concerned about the deployment problem. I realize that being in > the compiler means you can transform the program in more exciting > ways, but it gives you a much worse deployment story than something > which modifies the program on disk like "prelink". Yes, definitely. Deployment is an issue which users will need
2013 Dec 24
2
[LLVMdev] running clang format on the Mips target
Hi David, I agree with you that it would be rude to simply clang-format the MIPS backend without coordination with any out-of-tree derivatives. To be honest, it hadn't occurred to me that there would be any such derivatives and the possibility wasn't raised in our internal discussion before we brought the subject up on this list. I'm keen to coordinate with such derivatives to
2006 May 26
25
migration to rails
Hi, I''m a PHP developer and I''m think about migration to rails... my big problem is about printing web Reports, well I could not found a good thing to help me with this... Does Ror or some other ruby project have some thing to help about make/print database reports? tks
2018 Nov 12
3
[RFC] Tablegen-erated GlobalISel Combine Rules
...[{ KnownZero.setBitsFrom(MRI.getType(${src}).getSizeInBits()) }], reg:$src))>; > Thanks again for your detailed reply! > Cheers, > Nicolai > > > >>> As you can see, this discussion also makes me wonder whether the (defs) are needed at all; maybe we can rely on type inference almost everywhere? >>> >>> >>>> _Multiple roots_ >>>> This one requires algorithm changes which I'd prefer not to discuss in this RFC. Assuming the underlying algorithm gains support for this, this is how the syntax would look: >>>> def :...