summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add bfc to armv6t2.Evan Cheng2009-07-063-35/+48
| | | | llvm-svn: 74868
* Added ARM::mls for armv6t2.Evan Cheng2009-07-061-0/+6
| | | | llvm-svn: 74866
* Avoid adding a duplicate def. This fixes PR4478.Evan Cheng2009-07-061-2/+11
| | | | llvm-svn: 74857
* No need to double-include config.hOwen Anderson2009-07-061-1/+1
| | | | llvm-svn: 74854
* We need to include config.h to get the proper setting to LLVM_MULTITHREADED.Owen Anderson2009-07-061-0/+1
| | | | | | Patch by Xerxes Ranby. llvm-svn: 74846
* Thread LLVMContext through the constant folding APIs, which touches a lot of ↵Owen Anderson2009-07-0617-189/+239
| | | | | | files. llvm-svn: 74844
* pic16 doesn't have a Data64bitsDirective. Set it NULL explicitly to tell the ↵Sanjiv Gupta2009-07-061-0/+1
| | | | | | generic code to not pick the default. llvm-svn: 74839
* pic16 isn't ready to handle llvm.metadata yet.Sanjiv Gupta2009-07-061-0/+2
| | | | llvm-svn: 74838
* Add two new accessors to the C bindings, patch by Wladimir van der Laan!Chris Lattner2009-07-061-0/+9
| | | | llvm-svn: 74836
* improve portability to windows, patch by Xerces Ranby!Chris Lattner2009-07-061-1/+1
| | | | llvm-svn: 74835
* Oops, I #included errno.h from inside the llvm::sys namespace.Jeffrey Yasskin2009-07-061-1/+4
| | | | llvm-svn: 74834
* Fix the cmake build - patch by Xerxes Rånby.Duncan Sands2009-07-061-0/+1
| | | | llvm-svn: 74825
* Reverting back the changes checked-in accidently.Sanjiv Gupta2009-07-062-13/+1
| | | | llvm-svn: 74823
* Implement _CONFIG macro to allow users to se to configuration settings on ↵Sanjiv Gupta2009-07-066-27/+246
| | | | | | | | | | | the part. Implement _section macro to allow users to place objects in specific sections. Implement _address macro to allow users to place objects at a particular address. Placing objects at a memory address: crate a unique section name from varname, address, object type and put that section at specified address. Mark this section a full (size = banksize) so that other objects do not compete for it while placing objects to sections in AsmPrinter. llvm-svn: 74822
* Changed ELFCodeEmitter to inherit from ObjectCodeEmitterBruno Cardoso Lopes2009-07-064-131/+51
| | | | llvm-svn: 74821
* Corrected the names description. Change in a comment. No functionality change.Sanjiv Gupta2009-07-061-1/+1
| | | | llvm-svn: 74819
* Cleanup MachO writer and code emitter. Fix 80 cols problems, remove extra ↵Bruno Cardoso Lopes2009-07-065-187/+206
| | | | | | spaces, shrink down includes and move some methods out-of-line llvm-svn: 74817
* Just forgot to include the two new filesBruno Cardoso Lopes2009-07-061-0/+142
| | | | llvm-svn: 74814
* Add the Object Code Emitter class. Original patch by Aaron Gray, I did someBruno Cardoso Lopes2009-07-0623-273/+378
| | | | | | cleanup, removed some #includes and moved Object Code Emitter out-of-line. llvm-svn: 74813
* More LLVMContext-ification.Owen Anderson2009-07-0611-135/+181
| | | | llvm-svn: 74811
* More LLVMContext-ification.Owen Anderson2009-07-0521-96/+150
| | | | llvm-svn: 74807
* When comparing constants, consider a less wide constant to be "less complex"Nick Lewycky2009-07-041-0/+2
| | | | | | | than a wider one, before trying to compare their contents which will crash if their sizes are different. llvm-svn: 74792
* Make -save-temps=obj play better with -o.Mikhail Glushenkov2009-07-042-1/+2
| | | | | | | Use only the *dirname* of the pathname given to -o, so that -o can still be used to name the output executable. This is more like what GCC 4.5 does. llvm-svn: 74790
* LLVMC can be now compiled w/o dynamic plugin support.Mikhail Glushenkov2009-07-042-0/+7
| | | | | | Controlled via the --enable-llvmc-dynamic-plugins option. llvm-svn: 74784
* LLVMC doesn't need ENABLE_PIC to build now.Mikhail Glushenkov2009-07-041-7/+1
| | | | llvm-svn: 74783
* Fix build.Mike Stump2009-07-031-0/+1
| | | | llvm-svn: 74782
* Even more passes being LLVMContext'd.Owen Anderson2009-07-038-180/+234
| | | | llvm-svn: 74781
* Add Static Single Information construction pass written by André Tavares!Nick Lewycky2009-07-031-0/+390
| | | | | | | Use it by requiring it through the pass manager, then calling its createSSI method on the variables that you want in SSI form. llvm-svn: 74780
* Silence a warning when assertions are turned off.Duncan Sands2009-07-031-0/+1
| | | | llvm-svn: 74779
* Silence a warning when assertions are turned off.Duncan Sands2009-07-031-0/+1
| | | | llvm-svn: 74778
* Silence warning when building without assertions.Duncan Sands2009-07-031-0/+1
| | | | llvm-svn: 74777
* Silence warnings when assertions are turned off.Duncan Sands2009-07-031-0/+2
| | | | llvm-svn: 74776
* Add newline at end of file.Duncan Sands2009-07-031-1/+1
| | | | llvm-svn: 74773
* For extended loads of type i1 to i8, we will need to at least one byte from ↵Sanjiv Gupta2009-07-032-2/+6
| | | | | | | | memory. The change in the .td file is to mark the side effects of mov insn. llvm-svn: 74768
* Various small changes related to the Condition Register on PowerPC.Tilmann Scheller2009-07-034-47/+68
| | | | | | | | Don't spill to the CR save area when using the SVR4 ABI for now. Don't rely on constants assigned for registers to be in order (they aren't assigned in order). Make sure CR bits are mapped to the corresponding CR field. llvm-svn: 74767
* Refactor ABI code in the PowerPC backend.Tilmann Scheller2009-07-0312-572/+370
| | | | | | | | | | | Make CalculateParameterAndLinkageAreaSize() Darwin-specific. Remove SVR4 specific code from LowerCALL_Darwin() and LowerFORMAL_ARGUMENTS_Darwin(). Rename MachoABI to DarwinABI for consistency. Rename ELF ABI to SVR4 ABI for consistency. Factor out common call return lowering between the Darwin and SVR4 ABI. Factor out common call lowering between the Darwin and SVR4 ABI. llvm-svn: 74766
* Implement the SVR4 ABI for PowerPC.Tilmann Scheller2009-07-038-58/+1105
| | | | | | | | | | | | | | | | | | | | | | | | Implement LowerFORMAL_ARGUMENTS_SVR4(). Implement LowerCALL_SVR4(). Add support for split arguments. Implement by value parameter passing for aggregates. Add support for variable argument lists. Create the spill area for argument registers of variable argument functions no longer at a fixed offset. Make sure callee saved registers are spilled to the correct stack offsets. Change allocation order of non-volatile floating-point registers. Add VRSAVE to the list of callee-saved registers, add CallConvLowering for vararg calls. Add support for variable argument calls with Vector arguments. Add support for VR and VRSAVE save area, improve allocation order for non-volatile vector registers. Stop creating illegal i8 values in LowerVASTART(). Add memory access width hints. Make sure to reserve space on the stack for the frame pointer. When using the SVR4 ABI, reserve r13 for the Small Data Area pointer. Assure that the frame pointer is spilled to the correct location on the stack. Some FP registers were not marked as volatile. Make sure the i64 words from a long double are passed either both in registers or both on the stack. Only put integer arguments in registers which are not marked with the inreg flag. llvm-svn: 74765
* Add NumFixedArgs attribute to CallSDNode which indicates the number of fixed ↵Tilmann Scheller2009-07-0313-25/+29
| | | | | | | | | | | arguments in a vararg call. With the SVR4 ABI on PowerPC, vector arguments for vararg calls are passed differently depending on whether they are a fixed or a variable argument. Variable vector arguments always go into memory, fixed vector arguments are put into vector registers. If there are no free vector registers available, fixed vector arguments are put on the stack. The NumFixedArgs attribute allows to decide for an argument in a vararg call whether it belongs to the fixed or variable portion of the parameter list. llvm-svn: 74764
* Small cleanups in the PowerPC backend.Tilmann Scheller2009-07-034-38/+21
| | | | | | | | | | Small refactoring in LowerFORMAL_ARGUMENTS(). Correct minor formatting issues. Remove size argument of CreateCopyOfByValArgument(). Remove dead argument from CalculateStackSlotSize(). Remove unused variable ReturnAddrIndex from various targets. llvm-svn: 74763
* Factor some code out and support for Jump Table relocationsBruno Cardoso Lopes2009-07-034-42/+142
| | | | llvm-svn: 74760
* Add --enable-llvmc-dynamic configure option.Mikhail Glushenkov2009-07-031-4/+13
| | | | | | | Controls whether libCompilerDriver should be loaded dynamically. By default this is needed only on Win32, to make dynamic plugins work. llvm-svn: 74759
* Add thumb2 sign / zero extend with rotate instructions.Evan Cheng2009-07-032-1/+59
| | | | llvm-svn: 74755
* Minor improvement to the LDA debug output.Andreas Bolka2009-07-031-2/+7
| | | | llvm-svn: 74754
* Second batch of passes using LLVMContext.Owen Anderson2009-07-035-37/+46
| | | | llvm-svn: 74753
* Add Thumb2 load / store multiple instructions. Not used yet.Evan Cheng2009-07-031-0/+15
| | | | llvm-svn: 74749
* Convert the first batch of passes to use LLVMContext.Owen Anderson2009-07-034-625/+711
| | | | llvm-svn: 74748
* t2LDR_PRE etc are loads.Evan Cheng2009-07-031-0/+2
| | | | llvm-svn: 74741
* Added indexed stores.Evan Cheng2009-07-031-1/+45
| | | | llvm-svn: 74740
* Fill in a few more missing accessors.Owen Anderson2009-07-021-1/+7
| | | | llvm-svn: 74739
* Sign extending pre/post indexed loads.Evan Cheng2009-07-022-2/+32
| | | | llvm-svn: 74736
OpenPOWER on IntegriCloud