- Jul 26, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77127
-
Daniel Dunbar authored
llvm-svn: 77125
-
Daniel Dunbar authored
llvm-svn: 77124
-
Daniel Dunbar authored
- This is now shorter, simpler, safer, and more efficient, what a deal. llvm-svn: 77119
-
Daniel Dunbar authored
llvm-svn: 77115
-
Daniel Dunbar authored
- This was overkill and inconsistently implemented. llvm-svn: 77114
-
Daniel Dunbar authored
- This is a simplified mechanism which just looks up a target based on the target triple, with a few additional flags. - Remove getClosestStaticTargetForModule, the moral equivalent is now: lookupTarget(Mod->getTargetTriple, true, false, ...); - This no longer does the fuzzy matching with target data (based on endianness and pointer width) that getClosestStaticTargetForModule was doing, but this was deemed unnecessary. llvm-svn: 77111
-
- Jul 25, 2009
-
-
Reid Kleckner authored
values. Hopefully this fixes PR4622. llvm-svn: 77088
-
Daniel Dunbar authored
- Instead of requiring targets to define a JIT quality match function, we just have them specify if they support a JIT. - Target selection for the JIT just gets the host triple and looks for the best target which matches the triple and has a JIT. llvm-svn: 77060
-
- Jul 24, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76961
-
Daniel Dunbar authored
llvm-svn: 76957
-
Daniel Dunbar authored
- Not currently used. llvm-svn: 76956
-
Daniel Dunbar authored
llvm-svn: 76943
-
David Greene authored
Write space padding as one string to speed up comment printing. llvm-svn: 76910
-
- Jul 23, 2009
-
-
Reid Kleckner authored
an off-by-one error. llvm-svn: 76891
-
Daniel Dunbar authored
- Yay for '-'s and simplifications! - I kept StringMap::GetOrCreateValue for compatibility purposes, this can eventually go away. Likewise the StringMapEntry Create functions still follow the old style. - NIFC. llvm-svn: 76888
-
Reid Kleckner authored
Reverting r76825 and r76828, since they caused clang runtime errors and some build failure involving memset. llvm-svn: 76838
-
Zhongxing Xu authored
llvm-svn: 76837
-
Reid Kleckner authored
malloc, so there should be no functional changes to other code. These changes are necessary since I have plans to use this allocator in the JIT memory manager, and it needs a special allocator. I also added some tests which helped me pinpoint some bugs. llvm-svn: 76825
-
- Jul 20, 2009
-
-
David Greene authored
Hide the DOUT static variable behind a function interface. llvm-svn: 76425
-
- Jul 19, 2009
-
-
Nick Lewycky authored
return the smallest union of two ranges instead of just any range that happens to contain the union. llvm-svn: 76360
-
- Jul 18, 2009
-
-
Nick Lewycky authored
all values belonging to the intersection will belong to the resulting range. The former was inconsistent about that point (either way is fine, just pick one.) This is part of PR4545. llvm-svn: 76289
-
- Jul 17, 2009
-
-
Daniel Dunbar authored
none are registered. llvm-svn: 76181
-
- Jul 16, 2009
-
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 76103
-
Dan Gohman authored
llvm-svn: 76069
-
Chris Lattner authored
Varga! llvm-svn: 75897
-
Daniel Dunbar authored
llvm-svn: 75889
-
Dan Gohman authored
immediately on every output error. Instead, add a flag to raw_ostream, and set the flag whenever an error is detected. The flag can be queried and cleared from the public API. This gives applications more flexibility to handling errors in application-specific ways. If the flag is not cleared when the raw_ostream is destructed, llvm_report_error is called from the destructor. This ensures that errors are not implicitly silenced, and provides convenient default behavior for tools like llc and opt. Clients wishing to avoid llvm_report_error calls from raw_ostream should check for errors and clear the error flag. llvm-svn: 75857
-
- Jul 15, 2009
-
-
Daniel Dunbar authored
--- 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
-
Dan Gohman authored
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
-
Stuart Hastings authored
Revert 75762, 75763, 75766..75769, 75772..75775, 75778, 75780, 75782 to repair broken LLVM-GCC build. Will revert 75770 in the llvm-gcc trunk. llvm-svn: 75799
-
Dan Gohman authored
llvm-svn: 75796
-
Dan Gohman authored
llvm-svn: 75793
-
Dan Gohman authored
consistent with common std::ostream implmentations, and it gives the user the option of using the umask group write bit. llvm-svn: 75792
-
Daniel Dunbar authored
- This doesn't necessarily seem like a good idea, but the JIT unittest currently relies on it. llvm-svn: 75769
-
Daniel Dunbar authored
llvm-svn: 75758
-
Daniel Dunbar authored
llvm-svn: 75754
-
Daniel Dunbar authored
llvm-svn: 75753
-
Ted Kremenek authored
llvm-svn: 75746
-
Daniel Dunbar authored
Targets implement a single global Target structure which will live in a new <Target>/TargetInfo library; this will be present in any image which the target is usable in. - Optional target specific classes can then be registered and attached to the Target description. - Registration for normal Targets will be done via the initialization functions instead of using static constructors. - This allows clients to use a single interface to obtain target data, without requiring the code generator be linked in. It also provides a natural extension point for adding new optional target data (assembler parser, disassembler, etc.). - This also provides a new entry point for obtaining a target for a particular triple (without a module). - Not yet used, however this should eventually replace the TargetMachineRegistry. llvm-svn: 75739
-