search for: constantdata

Displaying 20 results from an estimated 20 matches for "constantdata".

2016 Sep 24
4
RFC: ConstantData should not have use-lists
r261464 added a type called ConstantData to the Value hierarchy. This is a parent type for constants with no operands, such as i32 0 and null. Since then, I've removed most instances of iterating through the use-lists of an instance of ConstantData. I'd like to make this illegal. Since the users of ConstantData are spread acro...
2016 Sep 24
2
RFC: ConstantData should not have use-lists
> On 2016-Sep-24, at 15:16, Mehdi Amini <mehdi.amini at apple.com> wrote: > >> >> On Sep 24, 2016, at 3:06 PM, Duncan P. N. Exon Smith via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> >> r261464 added a type called ConstantData to the Value hierarchy. This >> is a parent type for constants with no operands, such as i32 0 and null. >> >> Since then, I've removed most instances of iterating through the >> use-lists of an instance of ConstantData. I'd like to make this >> illegal. Si...
2012 Feb 10
1
[LLVMdev] Your commit 149912 "Remove some dead code and tidy things up"...
Hi Chris, >> Hi Chris, this was a very tempting commit to make, unfortunately it broke >> pattern matching of vectors of booleans. The problem is that a >> ConstantDataVector is only formed if the element type is one of i8, i16, etc. >> So vectors of funky types, or not so funky types like i1, are no longer >> matched. I noticed this while working on PR11948. The good thing is that >> the testcase there no longer crashes the compiler because ea...
2012 Feb 10
0
[LLVMdev] Your commit 149912 "Remove some dead code and tidy things up"...
On Feb 9, 2012, at 1:22 PM, Duncan Sands wrote: > Hi Chris, this was a very tempting commit to make, unfortunately it broke > pattern matching of vectors of booleans. The problem is that a > ConstantDataVector is only formed if the element type is one of i8, i16, etc. > So vectors of funky types, or not so funky types like i1, are no longer > matched. I noticed this while working on PR11948. The good thing is that > the testcase there no longer crashes the compiler because earlier patter...
2012 Feb 09
2
[LLVMdev] Your commit 149912 "Remove some dead code and tidy things up"...
Hi Chris, this was a very tempting commit to make, unfortunately it broke pattern matching of vectors of booleans. The problem is that a ConstantDataVector is only formed if the element type is one of i8, i16, etc. So vectors of funky types, or not so funky types like i1, are no longer matched. I noticed this while working on PR11948. The good thing is that the testcase there no longer crashes the compiler because earlier patterns now fail to...
2017 Sep 10
2
Performance of large llvm::ConstantDataArrays
...ts.llvm.org> wrote: > > On Sep 7, 2017, at 11:06 PM, Chris Lovett via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > I'm running into some pretty bad performance in llc.exe when compiling > some large neural networks into code that contains some very large llvm::ConstantDataArrays, > some are { size=102,760,448 }. There's a small about of actual code for > processing the network, but the assembly is mostly global data. > > > Yes, llvm’s representation of constant arrays is insanity for cases like > this. Your case is bad, but just imagine the cos...
2013 Feb 04
0
[LLVMdev] [RFC] Attributes Rewrite (Final)
...an be represented by a Constant object. So a keyword, string, or numerical value. I expect string values to be used mainly for target-dependent attributes. The other two forms would be used for target-independent attributes defined in the LangRef. Ok, seems reasonable. I assume you don't mean ConstantData, ConstantFP, ... though, right? -Chris
2020 Mar 25
4
Multi-Threading Compilers
...s kind of specialization in the Use class (I think). Okay, let's actually think through how practical that is. The class hierarchy is: Value - Argument - BasicBlock - InlineAsm (huh, why is that not a constant?) - MetadataAsValue (+ children) - User -- Instruction (+ children) -- Constant --- ConstantData (undef, token none, literals) --- ConstantAggregate (non-literal aggregates) --- BlockAddress --- ConstantExpr --- GlobalValue (+ children) -- Operator (utility / facade, i.e. not real) -- DerivedUser (extension point used by MemorySSA) It seems to me that the only points of this hierarchy that ar...
2016 May 09
4
RFC: metadata attachments for global variables
...address. (but, then again, we > probably want to turn the one with an address to having a constant value if > its storage gets optimized away) > Thanks David. I was thinking about this representational change for DIGlobalVariable: 1) replace the Variable field with a Value field of type ConstantData, and use it exclusively for constant initializers 2) change the logic in the debug info emitter (DwarfCompileUnit::getOrCreateGlobalVariableDIE) to look like this: if (the DIGlobalVariable was attached to a GlobalVariable) { // add a location to the variable DIE } else if (the DIGlobalVariable h...
2013 Feb 03
2
[LLVMdev] [RFC] Attributes Rewrite (Final)
On Feb 3, 2013, at 10:45 AM, Chris Lattner <clattner at apple.com> wrote: > On Jan 29, 2013, at 2:42 PM, Bill Wendling <isanbard at gmail.com> wrote: >> Executive Summary: >> >> The new syntax is: >> >> #0 = attributes { noinline align=4 "cpu"="cortex-a8" } >> #1 = attributes { attr = (val1 val2 val3) } >>
2016 May 10
2
RFC: metadata attachments for global variables
...> probably want to turn the one with an address to having a constant value if >> its storage gets optimized away) >> > > Thanks David. I was thinking about this representational change for > DIGlobalVariable: > > 1) replace the Variable field with a Value field of type ConstantData, and > use it exclusively for constant initializers > > > I would prefer a DIExpression field for holding the constant value. > Besides it being generally useful; if we use a constant, GlobalOpts will > believe the constant to be dead and remove it. > Such as the problem with A...
2016 May 10
2
RFC: metadata attachments for global variables
...he one with an address to having a constant value if >>> its storage gets optimized away) >>> >> >> Thanks David. I was thinking about this representational change for >> DIGlobalVariable: >> >> 1) replace the Variable field with a Value field of type ConstantData, >> and use it exclusively for constant initializers >> 2) change the logic in the debug info emitter >> (DwarfCompileUnit::getOrCreateGlobalVariableDIE) to look like this: >> >> if (the DIGlobalVariable was attached to a GlobalVariable) { >> // add a location...
2004 Oct 31
2
rsync retry after connection failure
I was wondering if there's a way to get rsync reconnect every specified secs/mins when a connection can't be established at the time rsync is initiated. That would mean that no remote (WAN) backups will ever fail again on me, because it just will retry untill the remote side will be available. Thanks, Joost
2017 Sep 08
5
Performance of large llvm::ConstantDataArrays
I'm running into some pretty bad performance in llc.exe when compiling some large neural networks into code that contains some very large llvm::ConstantDataArrays, some are { size=102,760,448 }. There's a small about of actual code for processing the network, but the assembly is mostly global data. I'm finding that llc.exe memory spikes up around 30 gigabytes and the job takes 20-30 minutes compiling from bitcode. When I looked into it I foun...
2012 Jan 22
1
[LLVMdev] Fwd: How to force the creation of arrays with zeroes?
Hi Stephan, I've been thinking about this a bit and have some more specific ideas, I'll write up a design and maybe implement it over the next few days. -Chris On Jan 21, 2012, at 11:50 PM, Stepan Dyatkovskiy <STPWORLD at narod.ru> wrote: > Hi Chris. The main question is how to implement ConstantAggregateXXXXX::getOperand? Should it be empty collection, or it must return the
2005 Apr 13
5
An idea: rsyncfs, an rsync-based real-time replicated filesystem
...uating of, real-time peer-to-peer filesystem replication technologies. Two commercial products in particular, PeerFS and Constant Replicator, have promising designs, but neither is open source and both are from smaller companies without proven track-records. http://www.radiantdata.com/ http://www.constantdata.com/products/cr.php These are _not_ cluster filesystems, where "cluster" would imply a single filesystem that N number of hosts can simultaneously access, but rather methods to keep N copies of a filesystem synchronized (in real time) across N number of Linux hosts. (**important distinct...
2020 Mar 21
3
Multi-Threading Compilers
> On Mar 20, 2020, at 12:34 PM, Nicholas Krause <xerofoify at gmail.com> wrote: > >> >> The problem isn’t constants or functions themselves, it is that they are instances of llvm::Value. Everything that walks a use/def list would have to run code that checks for this, and every call to inst->setOperand() would have to do locking or conditional locking. This would be
2015 Jul 13
3
rsync --link-dest and --files-from lead by a "change list" from some file system audit tool (Was: Re: cut-off time for rsync ?)
On Mon, 13 Jul 2015 02:19:23 +0000, Andrew Gideon wrote: > Look at tools like inotifywait, auditd, or kfsmd to see what's easily > available to you and what best fits your needs. > > [Though I'd also be surprised if nobody has fed audit information into > rsync before; your need doesn't seem all that unusual given ever-growing > disk storage.] I wanted to take this
2016 May 09
2
RFC: metadata attachments for global variables
On Mon, May 9, 2016 at 3:17 PM, Peter Collingbourne <peter at pcc.me.uk> wrote: > > > On Mon, May 9, 2016 at 2:33 PM, David Blaikie <dblaikie at gmail.com> wrote: > >> >> >> On Mon, May 9, 2016 at 1:53 PM, Peter Collingbourne <peter at pcc.me.uk> >> wrote: >> >>> >>> >>> On Fri, May 6, 2016 at 2:10 PM, David
2002 Oct 13
3
rsync + SSL
Hello - I'd like to encrypt rsync traffic over the wire, and for various reasons, I can't use ssh. I'd like to use SSL. Having spent the last day or so trying to wrap my brain around what that's going to take, I'm wondering if anyone has tried this before? Is it un-doable for one reason or another? TIA, -justinb