search for: preservemost

Displaying 6 results from an estimated 6 matches for "preservemost".

Did you mean: preserve_most
2015 Feb 19
2
[LLVMdev] [PATCH] Minor typos corrected in docs
...many registers. The cold path might need to call out to + of code that doesn't use many registers. The cold path might need to call out to another function and therefore only needs to preserve the caller-saved registers, which haven't already been saved by the caller. The `PreserveMost` calling convention is very similar to the `cold` calling @@ -521,7 +521,7 @@ Global variables define regions of memory allocated at compilation time instead of run-time. -Global variables definitions must be initialized. +Global variable definitions must be initialized. Global variables in other...
2016 Aug 05
2
A thought to improve IPRA
...&& F->doesNotAccessMemory() && !F->hasLocalLinkage()) { > dbgs() << "Cold Function : " << F->getName() << "\n"; > F->setCallingConv(CallingConv::CXX_FAST_TLS); > } > > previously I was using CallingConv::PreserveMost but it also saves RAX and that generated bug for functions which returns address to global objects or some thing similar. CXX_FAST_TLS is very similar to PreserveMost but it excludes RAX and > RDI. It also excludes XMM*. There is also one more interesting bug ( actually it is very similar to w...
2016 Aug 16
2
A thought to improve IPRA
...ssMemory() && >> !F->hasLocalLinkage()) { >> dbgs() << "Cold Function : " << F->getName() << "\n"; >> F->setCallingConv(CallingConv::CXX_FAST_TLS); >> } >> >> previously I was using CallingConv::PreserveMost but it also saves RAX >> and that generated bug for functions which returns address to global >> objects or some thing similar. CXX_FAST_TLS is very similar to PreserveMost >> but it excludes RAX and >> RDI. It also excludes XMM*. There is also one more interesting bug ( &g...
2016 Jul 29
2
A thought to improve IPRA
----- Original Message ----- > From: "vivek pandya" <vivekvpandya at gmail.com> > To: "Hal Finkel" <hfinkel at anl.gov> > Cc: "llvm-dev" <llvm-dev at lists.llvm.org>, "Quentin Colombet" > <qcolombet at apple.com>, "Mehdi Amini" <mehdi.amini at apple.com> > Sent: Friday, July 29, 2016 5:02:44 AM >
2016 Jun 20
7
Suggestion / Help regarding new calling convention
Dear Community, To improve current interprocedural register allocation (IPRA) , we have planned to set callee saved registers to none for local functions, currently I am doing it in following way: if (F->hasLocalLinkage() && !F->hasAddressTaken()) { DEBUG(dbgs() << "Function has LocalLinkage \n"); F->setCallingConv(CallingConv::GHC); } but we think threre
2016 Jul 29
0
A thought to improve IPRA
On Fri, Jul 29, 2016 at 9:01 AM, Hal Finkel <hfinkel at anl.gov> wrote: > ----- Original Message ----- > > From: "vivek pandya" <vivekvpandya at gmail.com> > > To: "Mehdi Amini" <mehdi.amini at apple.com> > > Cc: "llvm-dev" <llvm-dev at lists.llvm.org>, "Hal Finkel" <hfinkel at anl.gov>, > "Quentin