summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MipsTargetLowering cleanupBruno Cardoso Lopes2008-07-092-34/+40
| | | | llvm-svn: 53270
* Remove getValueRange from SCEV. It wasn't doing anything there anyways, and aNick Lewycky2008-07-093-51/+0
| | | | | | more complete version is now available from the LoopVR pass. llvm-svn: 53269
* Consistently put quotes around pass names in debugging output.Dan Gohman2008-07-091-8/+8
| | | | llvm-svn: 53268
* If loop induction variable's start value is less then its exit value then do ↵Devang Patel2008-07-093-1/+39
| | | | | | not split the loop. llvm-svn: 53265
* const-ify SelectionDAG::getNodeValueTypes.Dan Gohman2008-07-092-5/+5
| | | | llvm-svn: 53264
* It's no longer necessary to test if a MachineBasicBlock'sDan Gohman2008-07-081-2/+1
| | | | | | parent is non-null. It now always is. llvm-svn: 53263
* Verify that MachineMemOperand alignment is a non-zero power of 2.Dan Gohman2008-07-081-0/+1
| | | | llvm-svn: 53262
* Factor out the code for computing an alignment value, and make itDan Gohman2008-07-082-38/+34
| | | | | | | available to getAtomic in addition to just getLoad and getStore, to prevent MachineMemOperands with 0 alignment. llvm-svn: 53261
* Fix the build. Apparently MachineInstr& is no longer implicitly convertable ↵Owen Anderson2008-07-081-1/+1
| | | | | | to MachineBasicBlock::iterator. llvm-svn: 53260
* The graph name really does matter for configurations that use gv.Dan Gohman2008-07-081-4/+7
| | | | llvm-svn: 53259
* Add Environment.cpp to the clangAnalysis Visual Studio project.Ted Kremenek2008-07-081-0/+4
| | | | llvm-svn: 53258
* Update Xcode project.Ted Kremenek2008-07-081-0/+6
| | | | llvm-svn: 53257
* Make the local register allocator compute (purely local) liveness ↵Owen Anderson2008-07-081-4/+118
| | | | | | | | | information for itself rather than depending on LiveVariables. This decreases compile time from: 0.5909s (LV + Regalloc) to 0.421s (just regalloc). llvm-svn: 53256
* Testcase for debug info from data-only files.Dale Johannesen2008-07-081-0/+47
| | | | | | This one is x86-32-Darwin specific. llvm-svn: 53255
* Make debug info come out in data-only files.Dale Johannesen2008-07-083-15/+23
| | | | | | | | | | | This is a question of the debugging setup code not being called at the right time, and it's called from target-dependent code for some reason. I have only attempted to fix Darwin, but I'm pretty sure it's broken elsewhere; I'll leave that to people who can test it. llvm-svn: 53254
* Remove some dead code.Dale Johannesen2008-07-081-2/+0
| | | | llvm-svn: 53253
* Initial work on splitting the ValueState into an Environment, Store, andTed Kremenek2008-07-084-64/+212
| | | | | | | | | | | Constraints. These concepts are already present in the current ValueState, but the implementation is monolothic. Making ValueState more modular opens up new design choices for customizing the analysis engine. In the context of the analysis engine, the "Environment" is the binding between Expr* (expressions) and intermediate symbolic values (RValues). llvm-svn: 53252
* More info on filing static analysis bug reports.Ted Kremenek2008-07-082-4/+17
| | | | llvm-svn: 53250
* fix dangling pointer and argv off by one errors. Add support for ↵Nick Kledzik2008-07-083-17/+27
| | | | | | --disable-inlining llvm-svn: 53249
* revert my bogus attempt to fix the comment. sorry for the noise.Nuno Lopes2008-07-081-1/+1
| | | | llvm-svn: 53248
* Do not CSE DEBUG_LOC, DBG_LABEL, DBG_STOPPOINT, DECLARE, and EH_LABEL ↵Evan Cheng2008-07-082-45/+74
| | | | | | SDNode's. This improves compile time slightly at -O0 -g. llvm-svn: 53246
* Remove custom expansion from LegalizeTypes when doingDuncan Sands2008-07-084-42/+40
| | | | | | | | | soft float: experiments show that targets aren't expecting this for results or for operands. Add support select/select_cc result soft float and correct operand soft float for these. llvm-svn: 53245
* Add missing select_cc libcall line, somehow omittedDuncan Sands2008-07-081-0/+1
| | | | | | in LegalizeTypes. llvm-svn: 53244
* improve commentChris Lattner2008-07-081-1/+1
| | | | llvm-svn: 53243
* 'Optimize' testChris Lattner2008-07-081-1/+1
| | | | llvm-svn: 53242
* Add a new hidden option to the interpreter to cause it to printChris Lattner2008-07-081-0/+8
| | | | | | | out every volatile load and store. This is useful for tracking down insane volatile memory bugs. llvm-svn: 53241
* Fix PR2496, a really nasty bug which involved sinking volatile loads Chris Lattner2008-07-081-3/+11
| | | | | | | | | into phis. This is actually the same bug as PR2262 / 2008-04-29-VolatileLoadDontMerge.ll, but I missed checking the first predecessor for multiple successors. Testcase here: InstCombine/2008-07-08-VolatileLoadMerge.ll llvm-svn: 53240
* new testcase for PR2496Chris Lattner2008-07-081-0/+26
| | | | llvm-svn: 53239
* Fix small bug. The evaluator now works well enough to pass all testsAnders Carlsson2008-07-081-1/+2
| | | | llvm-svn: 53238
* Unbreak C++ tests on x86 Darwin.Evan Cheng2008-07-083-9/+18
| | | | llvm-svn: 53237
* Global variables beginning with \01 have special meaning on Darwin, so we ↵Owen Anderson2008-07-081-1/+4
| | | | | | | | | need to remove the name prefix when we change them from internal to external. This allows bugpointing of codegen miscompilations to work more reliably on Darwin. llvm-svn: 53236
* More constant expression work.Anders Carlsson2008-07-081-6/+112
| | | | llvm-svn: 53235
* Move out some methods.Anders Carlsson2008-07-081-159/+149
| | | | llvm-svn: 53234
* More work.Anders Carlsson2008-07-081-1/+78
| | | | llvm-svn: 53233
* LegalizeTypes support for FP_ROUND and FP_EXTENDDuncan Sands2008-07-082-2/+46
| | | | | | soft float. llvm-svn: 53231
* Testcase for PR2520.Duncan Sands2008-07-081-0/+4
| | | | llvm-svn: 53230
* Add some helpers for manipulating functionDuncan Sands2008-07-082-22/+36
| | | | | | parameter attributes. llvm-svn: 53228
* Pacify gcc-4.3.Duncan Sands2008-07-081-2/+4
| | | | llvm-svn: 53227
* Note that 'nest' only applies to pointers.Duncan Sands2008-07-081-1/+1
| | | | llvm-svn: 53226
* Add CallSite::getArgumentNo() to be able to translate an operand number into aMatthijs Kooijman2008-07-081-0/+9
| | | | | | argument number. llvm-svn: 53225
* Add CallSite::getArgumentOffset() to hide the differences in operands betwenMatthijs Kooijman2008-07-081-10/+13
| | | | | | | Call and Invoke in a single method instead of having it hardcoded in multiple places. llvm-svn: 53224
* Add some convenience methods for manipulatingDuncan Sands2008-07-083-18/+78
| | | | | | call attributes. llvm-svn: 53223
* Compilation fixSeo Sanghyeon2008-07-081-1/+1
| | | | llvm-svn: 53222
* Port more of Eli's evaluator over. This makes the int evaluator handle ↵Anders Carlsson2008-07-081-7/+143
| | | | | | binary and unary operators. llvm-svn: 53221
* Fix three bugs:Chris Lattner2008-07-082-56/+115
| | | | | | | | | | | 1) evaluate [v]fcmp true/false with undefs to true or false instead of undef. 2) fix vector comparisons with undef to return a vector result instead of i1 3) fix vector comparisons with evaluatable results to return vector true/false instead of i1 true/false (PR2529) llvm-svn: 53220
* Commit beginnings of int evaluator. Currently not used.Anders Carlsson2008-07-081-0/+40
| | | | llvm-svn: 53219
* clarify :)Chris Lattner2008-07-081-0/+12
| | | | llvm-svn: 53218
* Expand SCEVUDiv of power of 2 to a lshr instruction.Nick Lewycky2008-07-082-5/+15
| | | | llvm-svn: 53217
* Add LValue setters for APValueAnders Carlsson2008-07-081-1/+30
| | | | llvm-svn: 53216
* Avoid unnecessary string construction during asm printing.Evan Cheng2008-07-084-15/+36
| | | | llvm-svn: 53215
OpenPOWER on IntegriCloud