summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Add initial implementation of basic-block tracing instrumentation pass.Brian Gaeke2004-05-031-0/+76
| | | | llvm-svn: 13335
* Initialize member out of paranoiaChris Lattner2004-05-021-2/+1
| | | | llvm-svn: 13319
* Fix a problem with double freeing memory. For some reason, CallGraph is notChris Lattner2004-05-021-0/+1
| | | | | | acting like a normal pass. :( llvm-svn: 13318
* Plug a minor memory leakChris Lattner2004-05-021-0/+1
| | | | llvm-svn: 13317
* Do not clone arbitrary condition instructions.Chris Lattner2004-05-021-1/+1
| | | | llvm-svn: 13316
* Do not infinitely "unroll" single BB loops.Chris Lattner2004-05-021-5/+4
| | | | llvm-svn: 13315
* Add some stuff to the release notes.Chris Lattner2004-05-021-6/+17
| | | | llvm-svn: 13314
* Chris told me to take these assertions out a few days ago, but I forgot toBrian Gaeke2004-05-021-10/+0
| | | | | | check this in. llvm-svn: 13313
* Dont' merge terminators that are needed to select PHI node values.Chris Lattner2004-05-021-1/+1
| | | | llvm-svn: 13312
* Implement SimplifyCFG/branch-cond-merge.llChris Lattner2004-05-011-10/+64
| | | | | | Turning "if (A < B && B < C)" into "if (A < B & B < C)" llvm-svn: 13311
* New testcase:Chris Lattner2004-05-011-0/+21
| | | | | | Turn "if (A < B && B < C)" into "if (A < B & B < C)" llvm-svn: 13310
* Make sure to reprocess instructions used by deleted instructions to avoidChris Lattner2004-05-011-5/+12
| | | | | | missing opportunities for combination. llvm-svn: 13309
* Make sure the instruction combiner doesn't lose track of instructionsChris Lattner2004-05-011-3/+6
| | | | | | when replacing them, missing the opportunity to do simplifications llvm-svn: 13308
* Fix my missing parensChris Lattner2004-05-011-1/+1
| | | | llvm-svn: 13307
* Implement SimplifyCFG/branch-cond-prop.llChris Lattner2004-05-011-2/+30
| | | | llvm-svn: 13306
* New testcase for case that simplifycfg should catchChris Lattner2004-05-011-0/+20
| | | | llvm-svn: 13305
* Remove unused #includeChris Lattner2004-05-011-1/+0
| | | | llvm-svn: 13304
* Iterate over the Machine CFG that Brian added instead of the LLVM CFG.Chris Lattner2004-05-011-21/+4
| | | | | | Look at all of the pretty minuses. :) llvm-svn: 13303
* Operate on the Machine CFG instead of on the LLVM CFGChris Lattner2004-05-012-17/+12
| | | | llvm-svn: 13302
* Stop LiveVariables from using BasicBlocks as part of the mapping, insteadChris Lattner2004-05-011-29/+20
| | | | | | | | use MachineBasicBlocks. To do this, we traverse the Machine CFG instead of the LLVM CFG, which is also *MUCH* more efficient by having fewer levels of indirections and mappings. llvm-svn: 13301
* Stop LiveVariables from using BasicBlocks as part of the mapping, insteadChris Lattner2004-05-011-10/+6
| | | | | | use MachineBasicBlocks. llvm-svn: 13300
* Move the GraphTraits for MachineBasicBlocks to the MachineBasicBlock file.Chris Lattner2004-05-012-124/+70
| | | | llvm-svn: 13299
* Add comment about optimizationsChris Lattner2004-05-011-1/+3
| | | | llvm-svn: 13298
* Add a constructor that got lostChris Lattner2004-05-011-0/+3
| | | | llvm-svn: 13297
* Generalize the strlen size_t hack, for the benefit of the other externalBrian Gaeke2004-05-011-17/+33
| | | | | | functions with wrappers that either take or return size_ts. llvm-svn: 13296
* Fix broken link, again.Chris Lattner2004-04-301-1/+1
| | | | llvm-svn: 13295
* Sorry, now friend class name should be right!!Tanya Lattner2004-04-301-1/+1
| | | | llvm-svn: 13294
* Fixed friend class name for ModuloScheduling.Tanya Lattner2004-04-301-2/+2
| | | | llvm-svn: 13293
* Fixed friend class name for ModuloSchedTanya Lattner2004-04-301-3/+3
| | | | llvm-svn: 13292
* Removing MachineResource class.Tanya Lattner2004-04-302-16/+6
| | | | llvm-svn: 13291
* Fix a broken linkChris Lattner2004-04-301-1/+1
| | | | llvm-svn: 13290
* Fix a major pessimization in the instcombiner. If an allocation instructionChris Lattner2004-04-301-1/+1
| | | | | | | | | | | | | | | is only used by a cast, and the casted type is the same size as the original allocation, it would eliminate the cast by folding it into the allocation. Unfortunately, it was placing the new allocation instruction right before the cast, which could pull (for example) alloca instructions into the body of a function. This turns statically allocatable allocas into expensive dynamically allocated allocas, which is bad bad bad. This fixes the problem by placing the new allocation instruction at the same place the old one was, duh. :) llvm-svn: 13289
* Add machine-CFG graph traits specializations.Brian Gaeke2004-04-291-0/+124
| | | | llvm-svn: 13288
* Wrapped code and comments at 80 cols; doxygenified some comments.Misha Brukman2004-04-292-18/+20
| | | | llvm-svn: 13264
* Reorder #includes as per style guide.Misha Brukman2004-04-291-3/+3
| | | | llvm-svn: 13263
* Added `zeroinitializer' keyword.Misha Brukman2004-04-282-2/+2
| | | | llvm-svn: 13253
* class AssemblyWriter:Misha Brukman2004-04-281-103/+109
| | | | | | | | | | * Make contained ostream pointer, not reference * Allow setting of that ostream via setStream() class CachedWriter: * setStream() in turn calls setStream() on the AssemblyWriter llvm-svn: 13247
* * Make contained ostream not public.Misha Brukman2004-04-281-26/+11
| | | | | | | | | | * Remove various print methods that called the Value* method, just have one that all subclasses of Value will use anyway. * Remove template for printing constant references * Add methods to print char* and strings * setStream now sets the stream on the contained AssemblyWriter llvm-svn: 13246
* Send text and numbers directly to CachedWriter's contained ostream.Misha Brukman2004-04-281-1/+2
| | | | llvm-svn: 13243
* Squelch compile-time warning (profile build).Misha Brukman2004-04-281-1/+1
| | | | llvm-svn: 13228
* * Add ability to print out type as symbolicMisha Brukman2004-04-281-3/+15
| | | | | | * Add Module accessor to AssemblyWriter llvm-svn: 13227
* * Add ability to get and set the output streamMisha Brukman2004-04-281-11/+23
| | | | | | | * New feature: outputting a Type* as symbolic, controlled via the stream similarly to sending std::hex to change number format llvm-svn: 13226
* Add pred./succ. list size methods.Brian Gaeke2004-04-281-0/+2
| | | | llvm-svn: 13214
* Make RequiresFPRegKill() take a MachineBasicBlock arg.Brian Gaeke2004-04-281-3/+3
| | | | | | | In InsertFPRegKills(), just check the MachineBasicBlock for successors instead of its corresponding BasicBlock. llvm-svn: 13213
* In InsertFPRegKills(), use the machine-CFG itself rather than theBrian Gaeke2004-04-281-3/+3
| | | | | | LLVM CFG when trying to find the successors of BB. llvm-svn: 13212
* Update the machine-CFG edges whenever we see a branch.Brian Gaeke2004-04-281-0/+5
| | | | llvm-svn: 13211
* Move private methods to end of class decl at Chris's requestBrian Gaeke2004-04-281-26/+26
| | | | llvm-svn: 13210
* Fix thinkos that Chris caught for me.Brian Gaeke2004-04-281-2/+4
| | | | | | Make pred mutators private. llvm-svn: 13209
* Add machine-code CFG support: MachineBasicBlocks may now have their ownBrian Gaeke2004-04-281-0/+67
| | | | | | predecessors and successors llvm-svn: 13208
* Integrate the rest of my random sparcv9 scribblings into this fileBrian Gaeke2004-04-271-2/+3
| | | | llvm-svn: 13204
OpenPOWER on IntegriCloud