summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* To simplify the upcoming context-on-type change, switch all command line ↵Owen Anderson2009-07-1514-14/+14
| | | | | | | | tools to using the default global context for now. This will let us to hardwire stuff to the global context in the short term while the API is sorted out. llvm-svn: 75846
* Don't restrict the set of instructions where we try to constant-fold the Eli Friedman2009-07-152-3/+14
| | | | | | | operands; it's possible to end up with a constant-foldable operand to most instructions, even those which can't trap. llvm-svn: 75845
* Fix <rdar://problem/7062158> by having BasicStoreManager model values for ↵Ted Kremenek2009-07-152-4/+27
| | | | | | 'static' global variables. llvm-svn: 75844
* Remove old style hacks to register AsmPrinter into TargetMachine.Daniel Dunbar2009-07-1524-227/+38
| | | | | | - No intended functionality change. llvm-svn: 75843
* Update the C bindings to keep the LLVMTypeKind up to date between the C/C++Chris Lattner2009-07-153-2/+37
| | | | | | stuff. Patch by Zoltan Varga! llvm-svn: 75842
* Remove mismatched and unnecessary declaration.Daniel Dunbar2009-07-151-1/+0
| | | | llvm-svn: 75841
* Move a few more convenience factory functions from Constant to LLVMContext.Owen Anderson2009-07-159-56/+57
| | | | llvm-svn: 75840
* move createAlphaLLRPPass out of addAssemblyEmitter to make AlphaChris Lattner2009-07-151-1/+1
| | | | | | more like other targets. llvm-svn: 75839
* ShortenDeadCopySrcLiveRange needs to be more conservative in multi-kill ↵Evan Cheng2009-07-152-1/+964
| | | | | | situations. llvm-svn: 75838
* Add script 'UpdateCMakeLists.pl'. This script can be used (manually) to updateTed Kremenek2009-07-151-0/+118
| | | | | | | | | | | the list of files in the CMakeLists.txt files. It works by scanning (starting from the working directory from which it is run) all subdirectories containing CMakeLists.txt files. It then updates the list of C and C++ files in the 'add_llvm_library' and 'add_clang_library' lists. Sources file lists are emitted in lexical order. llvm-svn: 75833
* Lexically order files in CMakeLists.txt files.Ted Kremenek2009-07-157-13/+13
| | | | llvm-svn: 75832
* Lexically order files in CMakeLists.txt files.Ted Kremenek2009-07-157-10/+10
| | | | llvm-svn: 75831
* Move the ConstantStruct factory methods over to LLVMContext.Owen Anderson2009-07-153-17/+8
| | | | llvm-svn: 75830
* Remove unused function.Daniel Dunbar2009-07-151-16/+0
| | | | llvm-svn: 75829
* use std::vector instead of std::list for both Section and Symbol lists becauseBruno Cardoso Lopes2009-07-155-191/+194
| | | | | | we care more about random access than insertion/deletion of elements. llvm-svn: 75828
* Fix test so it works on systems where wchar_t != int.Dale Johannesen2009-07-151-10/+2
| | | | llvm-svn: 75827
* Update CMakeLists for reapplication.Daniel Dunbar2009-07-151-1/+0
| | | | llvm-svn: 75825
* Test for llvm-gcc patch 75822.Dale Johannesen2009-07-151-0/+15
| | | | llvm-svn: 75824
* Reapply r75764: [llvm up] Switch to using the new TargetRegistryDaniel Dunbar2009-07-151-5/+5
| | | | llvm-svn: 75821
* Reapply TargetRegistry refactoring commits.Daniel Dunbar2009-07-1554-638/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- Reverse-merging r75799 into '.': U test/Analysis/PointerTracking U include/llvm/Target/TargetMachineRegistry.h U include/llvm/Target/TargetMachine.h U include/llvm/Target/TargetRegistry.h U include/llvm/Target/TargetSelect.h U tools/lto/LTOCodeGenerator.cpp U tools/lto/LTOModule.cpp U tools/llc/llc.cpp U lib/Target/PowerPC/PPCTargetMachine.h U lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp U lib/Target/PowerPC/PPCTargetMachine.cpp U lib/Target/PowerPC/PPC.h U lib/Target/ARM/ARMTargetMachine.cpp U lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp U lib/Target/ARM/ARMTargetMachine.h U lib/Target/ARM/ARM.h U lib/Target/XCore/XCoreTargetMachine.cpp U lib/Target/XCore/XCoreTargetMachine.h U lib/Target/PIC16/PIC16TargetMachine.cpp U lib/Target/PIC16/PIC16TargetMachine.h U lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp U lib/Target/Alpha/AlphaTargetMachine.cpp U lib/Target/Alpha/AlphaTargetMachine.h U lib/Target/X86/X86TargetMachine.h U lib/Target/X86/X86.h U lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.h U lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp U lib/Target/X86/AsmPrinter/X86IntelAsmPrinter.h U lib/Target/X86/X86TargetMachine.cpp U lib/Target/MSP430/MSP430TargetMachine.cpp U lib/Target/MSP430/MSP430TargetMachine.h U lib/Target/CppBackend/CPPTargetMachine.h U lib/Target/CppBackend/CPPBackend.cpp U lib/Target/CBackend/CTargetMachine.h U lib/Target/CBackend/CBackend.cpp U lib/Target/TargetMachine.cpp U lib/Target/IA64/IA64TargetMachine.cpp U lib/Target/IA64/AsmPrinter/IA64AsmPrinter.cpp U lib/Target/IA64/IA64TargetMachine.h U lib/Target/IA64/IA64.h U lib/Target/MSIL/MSILWriter.cpp U lib/Target/CellSPU/SPUTargetMachine.h U lib/Target/CellSPU/SPU.h U lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp U lib/Target/CellSPU/SPUTargetMachine.cpp U lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp U lib/Target/Mips/MipsTargetMachine.cpp U lib/Target/Mips/MipsTargetMachine.h U lib/Target/Mips/Mips.h U lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp U lib/Target/Sparc/SparcTargetMachine.cpp U lib/Target/Sparc/SparcTargetMachine.h U lib/ExecutionEngine/JIT/TargetSelect.cpp U lib/Support/TargetRegistry.cpp llvm-svn: 75820
* Add a note about the raw_fd_ostream API change.Dan Gohman2009-07-151-0/+6
| | | | llvm-svn: 75818
* Fix cmake build, add TargetMachineRegistry.cpp that got restored in r75807Xerxes Ranby2009-07-151-0/+1
| | | | llvm-svn: 75817
* Remove cast from test case (cast was incorrectly added as part of ↵Steve Naroff2009-07-151-1/+1
| | | | | | | | http://llvm.org/viewvc/llvm-project?view=rev&revision=75314). Add new warnings that are being produced. llvm-svn: 75816
* Remove default argument, since it isn't being used (suggested by Fariborz).Steve Naroff2009-07-151-1/+1
| | | | llvm-svn: 75815
* Revert r75764 "[llvm up] Switch to using the new TargetRegistry" to fix build.Argyrios Kyrtzidis2009-07-151-5/+5
| | | | llvm-svn: 75814
* Add comments to indicate why RUN lines are below the source code.Argyrios Kyrtzidis2009-07-152-19/+23
| | | | llvm-svn: 75813
* Add a "t".Steve Naroff2009-07-151-1/+1
| | | | llvm-svn: 75810
* Apparently Darwin doesn't have /dev/full :-(.Dan Gohman2009-07-151-3/+0
| | | | llvm-svn: 75809
* Implement the ObjC pseudo built-in types as clang "BuiltinType's". I say ↵Steve Naroff2009-07-1515-129/+127
| | | | | | | | | | | | pseudo built-in types, since Sema still injects a typedef for recognition (i.e. they aren't truly built-ins from a parser perspective). This removes the static data/methods on ObjCObjectPointerType while preserving the nice API (no need to fiddle with ASTContext:-). This patch also adds Type::isObjCBuiltinType(). This should be the last fairly large patch related to recrafting the ObjC type system. The follow-on patches should be fairly small. llvm-svn: 75808
* Restore file lost during reversion.Stuart Hastings2009-07-151-0/+78
| | | | llvm-svn: 75807
* Get rid of postInstructionAction and call EmitComments directly.David Greene2009-07-152-23/+9
| | | | llvm-svn: 75806
* Revert 75798 to fix llvm build.Rafael Espindola2009-07-151-0/+14
| | | | llvm-svn: 75805
* Fix a typo in a comment that Duncan noticed.Dan Gohman2009-07-151-1/+1
| | | | llvm-svn: 75804
* Fix a thinko in a comment that Duncan spotted.Dan Gohman2009-07-151-1/+1
| | | | llvm-svn: 75803
* Update for raw_fd_ostream API changes. raw_fd_ostream now has aDan Gohman2009-07-155-6/+11
| | | | | | | Force flag to control whether the case of opening an existing file is considered an error. llvm-svn: 75802
* Add a Force option to raw_fd_ostream to specify whether openingDan Gohman2009-07-1512-146/+116
| | | | | | | | an existing file is considered an error. Convert several tools to use raw_fd_ostream instead of std::ostream, and to use this new option instead of doing a manual check. llvm-svn: 75801
* Revert 75762, 75763, 75766..75769, 75772..75775, 75778, 75780, 75782 to ↵Stuart Hastings2009-07-1553-306/+557
| | | | | | | | repair broken LLVM-GCC build. Will revert 75770 in the llvm-gcc trunk. llvm-svn: 75799
* The static function TypeToFloatSemantics is nowDuncan Sands2009-07-151-14/+0
| | | | | | unused - remove it. llvm-svn: 75798
* Fix pattern for LD16S_3r, add basic tests to check load / store instructionsRichard Osborne2009-07-153-1/+75
| | | | | | are being properly selected. llvm-svn: 75797
* Add a raw_ostream version of CheckBitcodeOutputToConsole.Dan Gohman2009-07-152-0/+25
| | | | llvm-svn: 75796
* Add a testcase for raw_ostream error checking.Dan Gohman2009-07-151-0/+3
| | | | llvm-svn: 75795
* Add a comment noting that raw_os_ostream does not check for errors.Dan Gohman2009-07-151-1/+2
| | | | llvm-svn: 75794
* Check for errors on close(2) too. And lseek(2).Dan Gohman2009-07-151-2/+6
| | | | llvm-svn: 75793
* Use 0664 instead of 0644 for the default open mode. This isDan Gohman2009-07-151-1/+1
| | | | | | | consistent with common std::ostream implmentations, and it gives the user the option of using the umask group write bit. llvm-svn: 75792
* Use errs() instead of std::cerr.Dan Gohman2009-07-1520-239/+246
| | | | llvm-svn: 75791
* Add a raw_ostream operator<< to sys::Path.Dan Gohman2009-07-151-0/+12
| | | | llvm-svn: 75790
* Thumb-2 only support [base_reg + offset_reg] addressing, not [base_reg - ↵David Goodwin2009-07-151-13/+16
| | | | | | offset_reg]. llvm-svn: 75789
* Fix XCoreTargetLowering::isLegalAddressingMode to handle non simple VTs.Richard Osborne2009-07-152-24/+17
| | | | llvm-svn: 75788
* Remove the xcore-file-directive option now that LLVM has proper support forRichard Osborne2009-07-151-19/+1
| | | | | | emitting file directives with one parameter. llvm-svn: 75787
* Added llvm-mc support for parsing the .dump and .load directives.Kevin Enderby2009-07-155-0/+63
| | | | llvm-svn: 75786
OpenPOWER on IntegriCloud