aboutsummaryrefslogtreecommitdiffstats
path: root/example.c
AgeCommit message (Expand)AuthorFilesLines
2008-12-17Unhardcode byte size being 8 bits.David Given1-1/+1
2007-05-01Fix most -Wshadow warnings in Sparse.0.3Josh Triplett1-1/+1
2007-03-09Use GCC format and sentinel attributes on appropriate functionsJosh Triplett1-4/+4
2007-03-09Fix typos in commentsJosh Triplett1-3/+3
2007-02-28Disable liveness "dead" instruction by default.Christopher Li1-0/+1
2007-01-27Coding style fix: in a pointer type, * goes with the name, not the type.Josh Triplett1-1/+1
2006-12-04cleanup write to argument array hackChristopher Li1-3/+7
2006-11-06Typo fixesPavel Roskin1-2/+2
2005-11-25[PATCH] avoid a crash caused by the phisrc OP_COPY with a NULL ->def.Luc Van Oostenryck1-1/+1
2005-11-22example: OP_COPY must destroy any old pseudo stateLinus Torvalds1-0/+24
2005-11-22Make the "example" compiler use the new unssa() phaseLinus Torvalds1-54/+14
2005-11-02Handle symbols from "-include" file tooLinus Torvalds1-1/+1
2005-08-03Update the calling interface to "sparse()".Linus Torvalds1-2/+5
2005-04-07Add compile-time "range-check" infrastructure to sparseLinus Torvalds1-1/+3
2005-04-07Duh. When a function returns VOID, we should _not_ add thatLinus Torvalds1-1/+2
2005-04-07Fix code generation confusion between OP_ADDR and theLinus Torvalds1-12/+45
2005-04-07Make the example code generator do something half-way saneLinus Torvalds1-14/+32
2005-04-07Split the binops where signedness matters into unsigned and signed.Linus Torvalds1-7/+12
2005-04-07Make output_insn() tell where it was called from, and avoidLinus Torvalds1-0/+7
2005-04-07Make "fill_reg" do somewhat the right thing when we take theLinus Torvalds1-1/+28
2005-04-07Oops. Missed a place where we still tested for "busy" thinking thatLinus Torvalds1-1/+1
2005-04-07Make the argument storage setup be a bit more accurate.Linus Torvalds1-10/+33
2005-04-07Make "reg->busy" mean how many "operands" actually reference thisLinus Torvalds1-26/+53
2005-04-07Start moving to a more symbol "struct operand" notion, rather thanLinus Torvalds1-15/+144
2005-04-07Split OP_SETVAL into OP_SETVAL (fp expressions and labels) and OP_SYMADDRLinus Torvalds1-2/+2
2005-04-07Make sure to mark all registers that have already been allocatedLinus Torvalds1-0/+28
2005-04-07The stack offset is global, not per-bb.Linus Torvalds1-6/+5
2005-04-07Duh. We marked the wrong register REG_FIXED when we wrote outLinus Torvalds1-1/+1
2005-04-07Add some back-of-the-envelope support for asm inputs tiedLinus Torvalds1-5/+31
2005-04-07Do absolutely horrid job of generating code for asms.Linus Torvalds1-7/+137
2005-04-07Use the one-deep CC-cache for OP_SEL too.Linus Torvalds1-21/+30
2005-04-07If we decide to mark a register as being its own storage,Linus Torvalds1-2/+3
2005-04-07Add a one-deep CC-cache for condition code setting and usage.Linus Torvalds1-123/+218
2005-04-07Show asm inputs/outputs as bugus instructions as opposed to comments.Linus Torvalds1-2/+2
2005-04-07Start looking at asms in code generation.Linus Torvalds1-1/+40
2005-04-07Do some kind of signed cast too.Linus Torvalds1-5/+8
2005-04-07Do slightly better on casts.Linus Torvalds1-6/+13
2005-04-07Teach code generator about commutative operations.Linus Torvalds1-6/+63
2005-04-07Mark the backing store storage dead when marking a pseudo dead.Linus Torvalds1-19/+25
2005-04-07Make "find_pseudo_storage()" return the storage hash entryLinus Torvalds1-6/+10
2005-04-07Split up the code that finds the underlying storage for aLinus Torvalds1-44/+71
2005-04-07Add support for various arch-specific storage allocationLinus Torvalds1-2/+116
2005-04-07Kill off dead pseudos before doing target allocation for casts and loads.Linus Torvalds1-12/+16
2005-04-07Keep dead pseudos in the register "busy" count, add "dead" count.Linus Torvalds1-5/+57
2005-04-07Add comment on where incoming pseudos come from.Linus Torvalds1-0/+1
2005-04-07Generate pseudo-code for OP_SEL.Linus Torvalds1-0/+18
2005-04-07Make target register allocation prefer empty registers.Linus Torvalds1-0/+4
2005-04-07Generate cheesy "cast" instructions.Linus Torvalds1-0/+23
2005-04-07Add fake OP_CALL code generation.Linus Torvalds1-0/+39
2005-04-07Be a bit more forgiving about impossible output register situations.Linus Torvalds1-1/+4
2005-04-07Output unimplemented instructions as such, ratherLinus Torvalds1-1/+1
2005-04-07Clean up final register flushing, and allow flushing to a temporaryLinus Torvalds1-14/+80
2005-04-07Add comment about input storage selection.Linus Torvalds1-0/+7
2005-04-07When fulfilling the output register requirements, don'tLinus Torvalds1-4/+22
2005-04-07Don't kill the same pseudo twice.Linus Torvalds1-0/+2
2005-04-07Add tons more comments about register state changes to theLinus Torvalds1-21/+41
2005-04-07Remove old pseudos from register list when we redefine oneLinus Torvalds1-0/+17
2005-04-07Make pretty helper functions for showing individual instructionsLinus Torvalds1-37/+87
2005-04-07Don't re-use registers for several different output storages.Linus Torvalds1-6/+27
2005-04-07Use the ptr-list tagging for marking pseudos dirty.Linus Torvalds1-11/+16
2005-04-07Be smarter about when we need to flush a pseudo.Linus Torvalds1-1/+27
2005-04-07Now that we can have multiple pseudos per reg, we shouldLinus Torvalds1-42/+55
2005-04-07Generate some kind of code for OP_RETLinus Torvalds1-0/+15
2005-04-07Remove stale assertion.Linus Torvalds1-1/+0
2005-04-07Make the hardreg pseudo pointer be a _list_ of pseudos definedLinus Torvalds1-36/+59
2005-04-07Teach register "allocator" about preferred register targets.Linus Torvalds1-9/+22
2005-04-07Make "last_reg" be entry-point global rather than bb-global.Linus Torvalds1-15/+17
2005-04-07Remove some stale (and very confusing) register instantiation.Linus Torvalds1-1/+1
2005-04-07Add a few more hard registers, and let things live a bit longer.Linus Torvalds1-6/+30
2005-04-07Fix up example storage usage details.Linus Torvalds1-5/+6
2005-04-07Generate code for conditional branches.Linus Torvalds1-21/+61
2005-04-07If we don't have any pre-defined incoming storage, selectLinus Torvalds1-1/+12
2005-04-07Make our pitiful code generation a bit less pitiful.Linus Torvalds1-15/+173
2005-04-07Generate "code" for binops.Linus Torvalds1-35/+171
2005-04-07Do some initial totally ridiculous "code generation" inLinus Torvalds1-25/+220
2005-04-07Slowly, slowly, make the output of "example" slightly more readable.Linus Torvalds1-11/+82
2005-04-07Make "storage" be part of the sparse library, and split outLinus Torvalds1-0/+69
2005-04-07Start splitting out generic "storage" handling from example.cLinus Torvalds1-348/+0
2005-04-07Small cleanups for example storage handling.Linus Torvalds1-42/+83
2005-04-07Add silly storage handling example.Linus Torvalds1-0/+307