search for: knownothing

Displaying 14 results from an estimated 14 matches for "knownothing".

2015 Dec 11
2
RFC: New function attribute HasInaccessibleState
...being read by this function. FR.MayReadAnyGlobal = true; } else { FunctionEffect |= ModRef; // Can't say anything useful unless it's an intrinsic - they don't // read or write global variables of the kind considered here. KnowNothing = !F->isIntrinsic(); } continue; } This relaxation allows functions that (transitively) call library functions (such as printf/malloc) to still maintain and propagate GlobalsAA info. In general, this adds more precision to the description of these functions. Concerns re...
2015 Dec 04
2
RFC: New function attribute HasInaccessibleState
...being read by this function. FR.MayReadAnyGlobal = true; } else { FunctionEffect |= ModRef; // Can't say anything useful unless it's an intrinsic - they don't // read or write global variables of the kind considered here. KnowNothing = !F->isIntrinsic(); } continue; } This relaxation allows functions that (transitively) call library functions (such as printf/malloc) to still maintain and propagate GlobalsAA info. In general, this adds more precision to the description of these functions. Concerns r...
2015 Dec 04
4
RFC: New function attribute HasInaccessibleState
...gt; FR.MayReadAnyGlobal = true; > } else { > FunctionEffect |= ModRef; > // Can't say anything useful unless it's an intrinsic - they don't > // read or write global variables of the kind considered here. > KnowNothing = !F->isIntrinsic(); > } > continue; > } > > This relaxation allows functions that (transitively) call library > functions (such as printf/malloc) to still maintain and propagate GlobalsAA > info. In general, this adds more precision to the descripti...
2015 Dec 11
2
RFC: New function attribute HasInaccessibleState
...} else { > > FunctionEffect |= ModRef; > > // Can't say anything useful unless it's an intrinsic - > > they don't > > // read or write global variables of the kind considered > > here. > > KnowNothing = !F->isIntrinsic(); > > } > > continue; > > } > > This relaxation allows functions that (transitively) call library > > functions (such as printf/malloc) to still maintain and propagate > > GlobalsAA info. In general, this adds more prec...
2015 Dec 04
2
RFC: New function attribute HasInaccessibleState
...rue; >>> } else { >>> FunctionEffect |= ModRef; >>> // Can't say anything useful unless it's an intrinsic - they don't >>> // read or write global variables of the kind considered here. >>> KnowNothing = !F->isIntrinsic(); >>> } >>> continue; >>> } >>> >>> This relaxation allows functions that (transitively) call library >>> functions (such as printf/malloc) to still maintain and propagate GlobalsAA >>> inf...
2015 Dec 04
2
RFC: New function attribute HasInaccessibleState
...MayReadAnyGlobal = true; >> } else { >> FunctionEffect |= ModRef; >> // Can't say anything useful unless it's an intrinsic - they don't >> // read or write global variables of the kind considered here. >> KnowNothing = !F->isIntrinsic(); >> } >> continue; >> } >> >> This relaxation allows functions that (transitively) call library >> functions (such as printf/malloc) to still maintain and propagate GlobalsAA >> info. In general, this adds mor...
2015 Dec 11
3
RFC: New function attribute HasInaccessibleState
...ModRef; > > > // Can't say anything useful unless it's an intrinsic - > > > they don't > > > // read or write global variables of the kind > > > considered > > > here. > > > KnowNothing = !F->isIntrinsic(); > > > } > > > continue; > > > } > > > This relaxation allows functions that (transitively) call library > > > functions (such as printf/malloc) to still maintain and propagate > > > GlobalsAA info. I...
2015 Dec 04
2
RFC: New function attribute HasInaccessibleState
...rue; >>> } else { >>> FunctionEffect |= ModRef; >>> // Can't say anything useful unless it's an intrinsic - they don't >>> // read or write global variables of the kind considered here. >>> KnowNothing = !F->isIntrinsic(); >>> } >>> continue; >>> } >>> >>> This relaxation allows functions that (transitively) call library >>> functions (such as printf/malloc) to still maintain and propagate GlobalsAA >>> inf...
2015 Dec 14
3
RFC: New function attribute HasInaccessibleState
...t; // Can't say anything useful unless it's an intrinsic - > > > > > > they don't > > > > > > // read or write global variables of the kind > > > > > > considered > > > > > > here. > > > > > > KnowNothing = !F->isIntrinsic(); > > > > > > } > > > > > > continue; > > > > > > } > > > > > > This relaxation allows functions that (transitively) call > > > > > library > > > > > > functions (such...
2015 Dec 03
3
Function attributes for LibFunc and its impact on GlobalsAA
----- Original Message ----- > From: "James Molloy via llvm-dev" <llvm-dev at lists.llvm.org> > To: "Vaivaswatha Nagaraj" <vn at compilertree.com> > Cc: "LLVM Dev" <llvm-dev at lists.llvm.org> > Sent: Thursday, December 3, 2015 4:41:46 AM > Subject: Re: [llvm-dev] Function attributes for LibFunc and its impact on GlobalsAA > >
2015 Dec 14
2
RFC: New function attribute HasInaccessibleState
...> > > > > > they don't >> > >> > > > > > // read or write global variables of the kind >> > >> > > > > > considered >> > >> > > > > > here. >> > >> > > > > > KnowNothing = !F->isIntrinsic(); >> > >> > > > > > } >> > >> > > > > > continue; >> > >> > > > > > } >> > >> > > > > > This relaxation allows functions that (transitively) call >> &g...
2015 Dec 14
2
RFC: New function attribute HasInaccessibleState
...ing useful unless it's an intrinsic - > > > > they don't > > > > // read or write global variables of the kind > > > > considered > > > > here. > > > > KnowNothing = !F->isIntrinsic(); > > > > } > > > > continue; > > > > } > > > > This relaxation allows functions that (transitively) call library > > > > functions (such as printf/malloc) to still...
2015 Dec 04
4
RFC: New function attribute HasInaccessibleState
...e { >>>>> FunctionEffect |= ModRef; >>>>> // Can't say anything useful unless it's an intrinsic - they don't >>>>> // read or write global variables of the kind considered here. >>>>> KnowNothing = !F->isIntrinsic(); >>>>> } >>>>> continue; >>>>> } >>>>> >>>>> This relaxation allows functions that (transitively) call library >>>>> functions (such as printf/malloc) to still m...
2015 Dec 09
5
RFC: New function attribute HasInaccessibleState
Sigh... let me try that last part again: Maybe GlobalsAA and/or a GlobalsAA-centric attribution pass could partition writes as: 1. Stores to local allocas 2. Stores through pointer parameters 3. Stores to globals defined in this compilation unit 4. Other Attributing functions with attributes: readonly: only writes of type 1 argmemonly: only writes of type 1/2 almost-readonly: only