Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Pristine Register Semantics"
2014 Aug 11
2
Sieve: Saving "pristine" messages for backups and spam training
Hello,
I'm trying to work out a way to have my Sieve filter save a "pristine"
version of email messages as a backup, primarily to use for training the
spam filter. I would like is to have every message saved into a single,
site-wide directory (in the global sieve) before being processed
additionally and delivered. The messages in that directory will be used
to train the spam
2008 Jul 25
1
[LLVMdev] llvm svn trunk rev54012 does not compile
Hello All,
I just svn update
% svn info .
Path: .
URL: http://llvm.org/svn/llvm-project/llvm/trunk
Repository Root: http://llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 54012
Node Kind: directory
Schedule: normal
Last Changed Author: wangmp
Last Changed Rev: 54007
Last Changed Date: 2008-07-25 03:30:26 +0200 (Fri, 25 Jul 2008)
make[3]: Entering
2006 Apr 25
0
Pristine 2.6.16 kernel fails to build with hg9646 patches
Not sure if this is a pkg-xen issue or for the debian kernel people, trying
here first since the patch I applied is created from the pkg-xen project
% apt-get source xen-3.0
% cd xen-3.0-3.0.2+hg9646/
% make mkpatches
% cd /usr/src/linux-source-2.6.16
% patch -p1 < ../linux-2.6-xen.patch
% cp ../config-2.6.16-1-amd64-k8 .config
% make-kpkg --append-to-version -1-xen-3.2.0-d0 binary
2010 Feb 26
1
klibc pristine $(srctree) builds
Hi Peter,
I'm looking at using klibc for a small initramfs for our production
servers as a way for us to change a bunch of sysctls at boot as well as
handle root= logic.
To make my life easier in our build environment, I'd like to build klibc
outside of the linux tree and in an always clean source tree
(potentially a read-only nfs share), so I'd like to extend the build to
support
2004 Jun 09
0
[LLVMdev] Saving registers used by function
On Wed, 2004-06-09 at 05:26, Vladimir Prus wrote:
> Alkis Evlogimenos wrote:
> > On Wed, 2004-06-09 at 04:56, Vladimir Prus wrote:
> > > Hello!
> > > Is there an (semi)automatic way to save registers used by a function? For
> > > example, on my target I have to store ar0-ar4 and gr0-gr4, gr5, gr6. For
> > > now I just emit huge prologue code to push
2017 Jan 19
2
Spare Register at one Machine Instruction
There is also the LivePhysReg facility that I would recomment if you just want to query for a free register and do not need the full feature set of the RegisterScavenger.
- Matthias
> On Jan 19, 2017, at 5:50 AM, Nemanja Ivanovic via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> I believe what you're after is the register scavenger.
> It's in:
2011 Feb 14
1
[LLVMdev] broken alignment in stack(caused by bug in SelectionDAGBuilder) causes invalid schedules with r125471 and newer
The following problems happens with architectures, where stack alignment is smaller than the biggest preferred alignment for any data type
SP pointer may point anywhere with alignment of stack alignment (4 in our case)
SelectionDAGBuilder however calls CreateStackObject with preferred alignment is given data type(8 in our problemaric case. The ABI alignment for this data type is only 4)
This
2010 Jan 15
0
[LLVMdev] <IsKill> getting from MachineOperand is just <Used> attribute from logic.
On Jan 14, 2010, at 6:39 PM, 任坤 wrote:
> But I want do some optimization after register alloction by adjusting
> register using. I scan MachineBasicBlock to analyze operand's IsKill, IsDead , IsDef attribute to get a physical register's liverange. But I get a strange case at MBB.jpg.
You can also look at RegisterScavenging.cpp and MachineVerifier.cpp. They are doing the same
2005 Mar 22
2
[LLVMdev] Stack alignment problem
Hi,
I have a problem getting a properly aligned stack for my LLVM backend. I've
asked about this previously, but unfortunately only now could try the
suggested solution.
For reference, here's the original message from me:
http://mail.cs.uiuc.edu/pipermail/llvmdev/2004-July/001388.html
And here's reply from Chris:
http://mail.cs.uiuc.edu/pipermail/llvmdev/2004-July/001390.html
The
2006 May 16
1
[LLVMdev] Stack alignment in leaf functions
Hi,
right at the moment, LLVM won't align the stack for leaf functions. So, if
stack alignment is 8 bytes, and leaf function has 1 variable of 4 bytes,
the size of frame will be computed as 4 bytes, making stack pointer inside
function non-aligned.
I've mentioned this before:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2005-March/003701.html
but did not pursue the issue back then.
2017 Jan 21
3
Spare Register at one Machine Instruction
I'm not sure exactly what you're after.
I was under the impression that you want to know which register is live at
a specific point (an instruction). If that's the case, how do one of the
two suggested solutions not suffice?
If a register is live-in to a block and not killed before your instruction
or it has a def and no kill within the block, it is live. Otherwise it is
dead and
2018 Mar 22
0
MachineFrameInfo::print SP offset
Hello,
In MachineFrameInfo::print (llvm-6.0.0) line 235, when printing SP offsets,
shouldn't it be
// -> consider stack growth direction
int64_t Off = StackGrowsDown ? SO.SPOffset - ValOffset : SO.SPOffset +
ValOffset;
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2018 May 31
0
Debugging a issue in MachineFrameInfo?
Hi all:
I wrote some IR transform passes that works perfectly fine at IR level and running through opt -verify on the yielded IR results in no error.
However when I try to compile the transformed IR into object code using llc Output.ll -filetype=obj , it asserts out with Assertion failed: (unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && "Invalid Object Idx!"), function
2013 Sep 04
0
[LLVMdev] Finding live registers at a specific point in a MachineFunction and spilling them
On Sep 3, 2013, at 17:21 , Manuel Jacob <me at manueljacob.de> wrote:
> The problem is to safe registers that contain gc pointers to the stack
> before a call and reload them after the call. Is there an Analysis Pass
> that computes information about which registers are live during a
> specific instruction? I looked at LiveIntervals and LiveVariables, but
> they seem to be for
2005 Mar 22
0
[LLVMdev] Stack alignment problem
On Tue, 22 Mar 2005, Vladimir Prus wrote:
> The PrologEpilogInserter.cpp file aligns the stack only if
> MachineFrameInfo::hasCalls returns true, which happens only if the function
> has "call frame setup instruction" which my backend does not generate.
> Chris suggested adding explicit MachineFrameInfo::setHasCalls call, which I've
> tried, but it does not help. The
2013 Jan 18
0
[LLVMdev] llvm backend porting question ,
I start my porting for picoblaze,the soft cpu for fpga ,which is
designed by XILINX from MSP430 porting .
After some day's work , somethinig looks good , for it can generate
for some simple C program:
eg :
int f1(int a)
{
return a+1;
}
but it failed with this :
char f()
{
char a;
a++; a++; a++; a++; a++; a++; a++; a++; a++; a++; a++;
a++; a++; a++; a++;
2011 Jul 08
2
[LLVMdev] Best location in code generation for insertion of instrumentation to measure stack depth?
I investigated the MachineFunctionPass (that is runOnMachineFunction, I
believe). In my experimentation it didn't seem that the MachineFrameInfo was
populated (it consistently said that the stack depth was 0, for example). I
might have been doing something wrong?
On Fri, Jul 8, 2011 at 5:21 PM, John Criswell <criswell at illinois.edu> wrote:
> On 7/8/11 4:09 PM, Andrew Ruef wrote:
2011 Jul 08
0
[LLVMdev] Best location in code generation for insertion of instrumentation to measure stack depth?
On 7/8/11 4:49 PM, Andrew Ruef wrote:
> I investigated the MachineFunctionPass (that is runOnMachineFunction,
> I believe).
A MachineFunctionPass is a class that you inherit from to write a
transform that operates on MachineInstrs (i.e., native code instructions
generated from the LLVM IR instructions). The runOnMachineFunction()
method is its entry point (i.e., the code generator
2013 Aug 05
0
[LLVMdev] Can I add GlobalVariable in MachineFunctionPass ?
Can you tell us a bit more about what you're trying to accomplish?
Changes to the IR performed during MachineFunctionPass::doInitialization
will likely propagate down through code generation, but at that point what
is the purpose of using a MachineFunctionPass? You won't have any analysis
or instruction information available until runOnMachineFunction.
On Mon, Aug 5, 2013 at 12:00 PM,
2013 Aug 05
2
[LLVMdev] Can I add GlobalVariable in MachineFunctionPass ?
Micah,
Thanks for your help. I will study on that code.
Justin,
Sorry for my misleading word. Local memory in OpenCL is the same as share
memory in CUDA. What I mean is share memory, so MachineFrameInfo is not
suitable to me.
And I need codegen data, so FunctionPass is also not suitable.
Anyway, thanks for the suggestion.
Antony
2013/8/5 Justin Holewinski <justin.holewinski at