summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Whitespace cleanupAnton Korobeynikov2008-06-281-22/+22
| | | | llvm-svn: 52856
* Handle unnamed bitfields when parsing C++ classes.Argyrios Kyrtzidis2008-06-282-26/+31
| | | | llvm-svn: 52855
* Really fix the bootstrap failure.Chris Lattner2008-06-281-9/+5
| | | | llvm-svn: 52854
* Fix for PR2501; this patch makes usual arithmetic conversions for Eli Friedman2008-06-286-5/+97
| | | | | | | | integers which have the same width and different signedness work correctly. (The testcase in PR2501 uses a comparison between long and unsigned int). llvm-svn: 52853
* Replace CurFunctionDecl and CurMethodDecl with methods getCurFunctionDecl() ↵Argyrios Kyrtzidis2008-06-288-52/+50
| | | | | | and getCurMethodDecl() that return the appropriate Decl through CurContext. llvm-svn: 52852
* Add back the capability to include nul characters in strings with Chris Lattner2008-06-283-8/+14
| | | | | | | GetConstantStringInfo. This will hopefully restore llvm-gcc to happy bootstrap land. llvm-svn: 52851
* Tighten up checking.Chris Lattner2008-06-281-4/+10
| | | | llvm-svn: 52850
* When folding a bitcast into a load or store, preserve the alignmentDan Gohman2008-06-281-2/+2
| | | | | | | information of the original load or store, which is checked to be at least as good, and possibly better. llvm-svn: 52849
* Updated checker build to checker-47.Ted Kremenek2008-06-281-1/+1
| | | | llvm-svn: 52848
* Fix GetMainExecutable. Patch by Sam Bishop.Seo Sanghyeon2008-06-271-4/+2
| | | | llvm-svn: 52847
* Fix a bug where we didn't promote 'const float' (or typedefs) toChris Lattner2008-06-272-5/+12
| | | | | | double in some places. llvm-svn: 52846
* the 'mode' attribute is a decl attribute, not a type attribute. Move it toChris Lattner2008-06-274-137/+132
| | | | | | SemaDeclAttr, and do some cleanups. llvm-svn: 52844
* Looks like this condition is inverted.Evan Cheng2008-06-271-2/+2
| | | | llvm-svn: 52841
* Nuno points out that my numbers were out of dateChris Lattner2008-06-271-1/+1
| | | | llvm-svn: 52840
* Add a NextPowerOf2 function to calculate the next power of two greater than ↵Owen Anderson2008-06-271-0/+12
| | | | | | a given integer. llvm-svn: 52839
* implement some fixme's by making "autorenaming" in the value symbol table notChris Lattner2008-06-272-32/+11
| | | | | | thrash the heap with string stuff (e.g. utostr). llvm-svn: 52838
* simplify some code to avoid string thrashing.Chris Lattner2008-06-271-3/+5
| | | | llvm-svn: 52837
* Use StringSet instead of std::set<std::string>Anton Korobeynikov2008-06-273-26/+25
| | | | llvm-svn: 52836
* add a helper.Chris Lattner2008-06-271-0/+2
| | | | llvm-svn: 52835
* Add a new version of Module::getFunction that takes a const char* insteadChris Lattner2008-06-274-0/+15
| | | | | | | of a std::string. This avoids copying the string to the heap in common cases. Patch by Pratik Solanki! llvm-svn: 52834
* making progress!Chris Lattner2008-06-271-1/+1
| | | | llvm-svn: 52833
* Tweak IRBuilder to explicitly call the setName(const char*) method on ValueChris Lattner2008-06-271-48/+51
| | | | | | | | | | instead of passing the name into the instruction ctors. Since most instruction ctors take their name as an std::string, this avoids copying the string to the heap and a malloc and free. Patch by Pratik Solanki! llvm-svn: 52832
* Add an include file needed for VS.Cedric Venet2008-06-272-0/+9
| | | | | | | Add two new file to codegen project (VS). This unbreak the build for VS. llvm-svn: 52831
* Add missing include file (due to a file splitting in llvm).Cedric Venet2008-06-272-0/+5
| | | | | | | Add new file to Sema Project for VS. this unbreak the build for VS2005 (with the associated patch on llvm). llvm-svn: 52830
* Add dominator info printer pass.Devang Patel2008-06-271-0/+31
| | | | llvm-svn: 52829
* Provide correct encoding for PPC LWARX instructions.Anton Korobeynikov2008-06-271-2/+2
| | | | | | Patch by Gary Benson! llvm-svn: 52828
* Since we are using GCC to assemble the program, make sure the assembly ↵Argyrios Kyrtzidis2008-06-271-0/+3
| | | | | | syntax is AT&T. llvm-svn: 52827
* Regression test for PR2443.Duncan Sands2008-06-273-1/+25
| | | | llvm-svn: 52826
* Use the c modifier to tell llvm-ar not to issue aDuncan Sands2008-06-271-2/+2
| | | | | | | warning when creating the archive (the warning causes the test to fail). llvm-svn: 52824
* Reduce number of times .size() is called on a vector. Rename some variables toBill Wendling2008-06-271-16/+22
| | | | | | match normal naming scheme. llvm-svn: 52820
* Use a SmallSet when we can to reduce memory allocations.Owen Anderson2008-06-271-1/+2
| | | | | | This speeds up a particular testcase from 0.0302s to 0.0222s in LiveVariables. llvm-svn: 52819
* Cache subregister relationships in a set in TargetRegisterInfo to allow ↵Owen Anderson2008-06-272-3/+13
| | | | | | | | faster lookups. This speeds up LiveVariables from 0.6279s to 0.6165s on kimwitu++. llvm-svn: 52818
* fix the regressions from Eric's patch by making GetConstantStringInfoChris Lattner2008-06-272-30/+35
| | | | | | | tolerate a non-nul-terminated string, and handling a direct global reference. llvm-svn: 52813
* simplify this check, GetConstantStringInfo validates that aChris Lattner2008-06-271-5/+3
| | | | | | global is constant already. No functionality change. llvm-svn: 52812
* test doesn't need eh infoChris Lattner2008-06-271-2/+2
| | | | llvm-svn: 52811
* when linking globals, make sure to preserve the address space of the global.Chris Lattner2008-06-272-4/+17
| | | | llvm-svn: 52810
* More cruft from revert...Bill Wendling2008-06-271-2/+2
| | | | llvm-svn: 52809
* Cruft left from patch revert...sorry. :-(Bill Wendling2008-06-271-3/+6
| | | | llvm-svn: 52808
* Reverting broken patch r52803.Bill Wendling2008-06-273-91/+60
| | | | llvm-svn: 52806
* Don't perform expensive queries checking for super and sub registers when we ↵Owen Anderson2008-06-271-1/+2
| | | | | | | | know that there aren't any. This speed up LiveVariables on instcombine at -O0 -g from 0.3855s to 0.3503s. Look for more improvements in this area soon! llvm-svn: 52804
* - Remove a use of std::vector.Bill Wendling2008-06-273-35/+49
| | | | | | | - Make sure that we're not recalculating the size of a vector that never changes. llvm-svn: 52803
* Refactor the DebugInfoDesc stuff out of the MachineModuleInfo file. Clean upBill Wendling2008-06-277-1493/+1351
| | | | | | some uses of std::vector, where it's return std::vector by value. Yuck! llvm-svn: 52800
* Added a simple static analysis check to look for improper uses of ↵Ted Kremenek2008-06-264-3/+296
| | | | | | CFCreateNumber. llvm-svn: 52799
* Add a note for Thunderbird users to the Developer Policy.Gordon Henriksen2008-06-261-0/+9
| | | | llvm-svn: 52797
* allow updating the MPM, so that you can use one FunctionPAssManager withChris Lattner2008-06-261-0/+6
| | | | | | multiple ModuleProviders, e.g. with the JIT. llvm-svn: 52796
* XFAIL for now.Evan Cheng2008-06-261-0/+1
| | | | llvm-svn: 52795
* move decl attribute processing to a new SemaDeclAttr.cpp.Chris Lattner2008-06-263-672/+662
| | | | llvm-svn: 52792
* Remove warnings about shadowed and unused variables.Bill Wendling2008-06-263-9/+9
| | | | llvm-svn: 52791
* Update Xcode project so that the clang target depends on LLVMAnalysis.aTed Kremenek2008-06-261-17/+14
| | | | llvm-svn: 52790
* Update VS project files. The clang executable now depends on the LLVM ↵Ted Kremenek2008-06-262-165/+6
| | | | | | Analysis library. llvm-svn: 52789
OpenPOWER on IntegriCloud