summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Silence some compiler warnings.Evan Cheng2008-05-143-5/+13
| | | | llvm-svn: 51115
* Simplify internalize pass. Add test case.Devang Patel2008-05-145-23/+62
| | | | | | Patch by Matthijs Kooijman! llvm-svn: 51114
* When bit-twiddling CondCode values for integer comparisons producesDan Gohman2008-05-142-0/+25
| | | | | | SETOEQ, is it does with (SETEQ & SETULE), map it to SETEQ. llvm-svn: 51112
* Recover nestedloop regression reported by nightly tester.Devang Patel2008-05-141-0/+2
| | | | llvm-svn: 51110
* Check if llvm-gcc is available before running tests. Patch by Matthijs Kooijman!Tanya Lattner2008-05-141-1/+8
| | | | llvm-svn: 51108
* Detabification. Fixed indentation and spacing.Sanjiv Gupta2008-05-1416-606/+525
| | | | | | | Changed cout to DOUT, and TODOs to FIXMEs. Other changes as per coding conventions. llvm-svn: 51105
* Do not generate by TableGen the hard-coded standard, target-independent part ofRoman Levenstein2008-05-142-140/+195
| | | | | | | | | | | | | | | DAG instruction selectors. Introudce a dedicated header file for this part: include/llvm/CodeGen/DAGISelHeader.h TableGen now only generates the include preprocessor directive to include this new header. This is a preparation for supporting multiple implementations of instruction selectors in the future. Reviewed and approved by Evan and Dan. llvm-svn: 51102
* Upgrading clang VC++ solution to VC++ express 2008.Argyrios Kyrtzidis2008-05-141-172/+11
| | | | llvm-svn: 51100
* Make this test pass on x86-32 linux.Duncan Sands2008-05-141-2/+1
| | | | llvm-svn: 51099
* Adding missing files to Transforms and VMCore VC++ projects.Argyrios Kyrtzidis2008-05-142-0/+8
| | | | llvm-svn: 51098
* Add documentation for tail call optimization to CodeGenerator.html. Add a linkArnold Schwaighofer2008-05-142-3/+50
| | | | | | referring to it to LangRef.html. llvm-svn: 51097
* Added configure switches for PIC16 in configure.ac.Sanjiv Gupta2008-05-142-28/+32
| | | | | | Regenerated configure. llvm-svn: 51096
* Fix typo in ParameterAttribute fields usage. Add an includeNicolas Geoffray2008-05-141-2/+3
| | | | | | to make the Cpp backend output compilable. llvm-svn: 51095
* Fixed the file description header at the top to remove the developer name.Sanjiv Gupta2008-05-141-2/+2
| | | | llvm-svn: 51094
* Commit the header I accidentally left out of 51083.Dan Gohman2008-05-141-0/+29
| | | | llvm-svn: 51093
* Doh. Alignment is in bytes, not in bits.Evan Cheng2008-05-141-2/+2
| | | | llvm-svn: 51092
* Change target-specific classes to use more precise static types.Dan Gohman2008-05-1424-52/+49
| | | | | | | This eliminates the need for several awkward casts, including the last dynamic_cast under lib/Target. llvm-svn: 51091
* Move RemoveFromVector out of the global namespace.Dan Gohman2008-05-141-2/+2
| | | | llvm-svn: 51090
* Whitespace cleanups.Dan Gohman2008-05-143-4/+3
| | | | llvm-svn: 51089
* Make PreVerifyID, IntSigsEnd, and KillSigsEnd const.Dan Gohman2008-05-142-3/+5
| | | | llvm-svn: 51088
* Make getNumContainedManagers and getNumContainedPasses const.Dan Gohman2008-05-141-2/+2
| | | | llvm-svn: 51087
* Make PassInfo noncopyable.Dan Gohman2008-05-141-0/+4
| | | | llvm-svn: 51085
* Do not run instruction combiner in middle of loop optimization passes.Devang Patel2008-05-141-1/+0
| | | | llvm-svn: 51084
* Split the loop unroll mechanism logic out into a utility function.Dan Gohman2008-05-143-379/+438
| | | | | | Patch by Matthijs Kooijman! llvm-svn: 51083
* Fix Analysis/BasicAA/pure-const-dce.ll. This turned out to be a correctnessOwen Anderson2008-05-131-1/+38
| | | | | | | | bug as well as a missed optimization. We weren't properly checking for local dependencies before moving on to non-local ones when doing non-local read-only call CSE. llvm-svn: 51082
* Merge of r51073-51074 from use-diet branch.Gabor Greif2008-05-134-11/+42
| | | | | | | | | | | Do not rely on std::swap<Use>, provide a (faster) member function instead. This change is primarily necessitated by MSVC++'s incompatibility with declaring std::swap<Use> to be a friend of Use. Also contains some minor tweaks to Use inline functions, to undo pointless changes that sneaked in with the last merge. llvm-svn: 51078
* Make this function public.Eric Christopher2008-05-131-4/+4
| | | | llvm-svn: 51077
* Dominance Frontier is cfg only pass.Devang Patel2008-05-131-1/+1
| | | | llvm-svn: 51075
* Fix memdep's handling of invokes when finding the dependency of another callOwen Anderson2008-05-131-1/+1
| | | | | | instruction. This fixes some Ada miscompiles reported in PR2324. llvm-svn: 51069
* Update the Win32 project files, patch by Razvan Aciu!Chris Lattner2008-05-1331-220/+229
| | | | llvm-svn: 51067
* Fix for PR 2323, infinite loop in tail dup.Dale Johannesen2008-05-132-4/+41
| | | | llvm-svn: 51063
* add a noteChris Lattner2008-05-131-0/+18
| | | | llvm-svn: 51062
* - Fix the pasto in the fix for a previous pasto.Evan Cheng2008-05-131-4/+4
| | | | | | - Incorporate Chris' comment suggestion. llvm-svn: 51061
* add a noteChris Lattner2008-05-131-0/+24
| | | | llvm-svn: 51060
* s/indicies/indices/ and clarify the extractvalue and insertvalue areDan Gohman2008-05-131-9/+9
| | | | | | working with struct field or array element values. Thanks Duncan! llvm-svn: 51059
* Fix one more encoding bug.Nate Begeman2008-05-131-1/+1
| | | | llvm-svn: 51057
* Added configure switches for PIC16 backend.Sanjiv Gupta2008-05-131-1/+6
| | | | llvm-svn: 51056
* - Don't treat anyext 16-bit load as a 32-bit load if it's volatile.Evan Cheng2008-05-131-2/+2
| | | | | | - Correct a pasto. llvm-svn: 51054
* Add thin layer over StringMap to form StringSet. By Mikhail Glushenkov.Anton Korobeynikov2008-05-131-0/+40
| | | | llvm-svn: 51048
* Make the non-local CSE safety checks slightly more thorough.Owen Anderson2008-05-131-6/+8
| | | | llvm-svn: 51035
* Adding files for Microchip's PIC16 target.Sanjiv Gupta2008-05-1323-0/+3323
| | | | | | | | | | | | | | | | | A brief description about PIC16: =============================== PIC16 is an 8-bit microcontroller with only one 8-bit register which is the accumulator. All arithmetic/load/store operations are 8-bit only. The architecture has two address spaces: program and data. The program memory is divided into 2K pages and the data memory is divided into banks of 128 byte, with only 80 usable bytes, resulting in an non-contiguous data memory. It supports direct data memory access (by specifying the address as part of the instruction) and indirect data and program memory access (in an unorthodox fashion which utilize a 16 bit pointer register). Two classes of registers exist: (8-bit class which is only one accumulator) (16-bit class, which contains one or more 16 bit pointer(s)) llvm-svn: 51027
* Instead of a vector load, shuffle and then extract an element. Load the ↵Evan Cheng2008-05-139-96/+114
| | | | | | | | | | | element from address with an offset. pshufd $1, (%rdi), %xmm0 movd %xmm0, %eax => movl 4(%rdi), %eax llvm-svn: 51026
* Add a testcase for non-local CSE of read-only calls.Owen Anderson2008-05-131-0/+49
| | | | llvm-svn: 51025
* Add support for non-local CSE of read-only calls.Owen Anderson2008-05-131-12/+45
| | | | llvm-svn: 51024
* Derive GetResultInst from UnaryInstruction, this simplifies code and removes ↵Gabor Greif2008-05-133-30/+13
| | | | | | a FIXME. llvm-svn: 51023
* Change class' public PassInfo variables to by initialized with theDan Gohman2008-05-1319-103/+95
| | | | | | | | | | | address of the PassInfo directly instead of calling getPassInfo. This eliminates a bunch of dynamic initializations of static data. Also, fold RegisterPassBase into PassInfo, make a bunch of its data members const, and rearrange some code to initialize data members in constructors instead of using setter member functions. llvm-svn: 51022
* 80 col / tabs fixesNate Begeman2008-05-132-6/+7
| | | | llvm-svn: 51021
* Fix and encoding error in the psrad xmm, imm8 instruction.Nate Begeman2008-05-131-1/+1
| | | | llvm-svn: 51020
* On x86, it's safe to treat i32 load anyext as a normal i32 load. Ditto for ↵Evan Cheng2008-05-133-27/+43
| | | | | | i8 anyext load to i16. llvm-svn: 51019
* Clean up the use of static and anonymous namespaces. This turned upDan Gohman2008-05-13124-705/+783
| | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017
OpenPOWER on IntegriCloud