Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support to create vector, array, enums etc... | Devang Patel | 2010-12-08 | 2 | -6/+169 |
| | | | | llvm-svn: 121224 | ||||
* | Let target asm backends see assembler flags as they go by. Use that to handle | Jim Grosbach | 2010-12-08 | 2 | -5/+31 |
| | | | | | | thumb vs. arm mode differences in WriteNopData(). llvm-svn: 121219 | ||||
* | Move RABasic::addMBBLiveIns to the base class, it is generally useful. | Jakob Stoklund Olesen | 2010-12-08 | 3 | -33/+35 |
| | | | | | | | Minor optimization to the use of IntervalMap iterators. They are fairly heavyweight, so prefer SI.valid() over SI != end(). llvm-svn: 121217 | ||||
* | Simplify the byte reordering logic slightly. | Owen Anderson | 2010-12-08 | 1 | -4/+2 |
| | | | | llvm-svn: 121216 | ||||
* | VLDR fixups need special handling under Thumb. While the encoding is the same, | Owen Anderson | 2010-12-08 | 3 | -2/+23 |
| | | | | | | the order of the bytes in the data stream is flipped around. llvm-svn: 121215 | ||||
* | Global variable does not need linkage name. | Devang Patel | 2010-12-08 | 1 | -3/+2 |
| | | | | llvm-svn: 121212 | ||||
* | Add support to create local variable's debug info. | Devang Patel | 2010-12-07 | 1 | -0/+33 |
| | | | | llvm-svn: 121211 | ||||
* | Layout each section independently. With the testcase in PR8711: | Rafael Espindola | 2010-12-07 | 1 | -58/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | before: 4 assembler - Number of assembler layout and relaxation steps 78563 assembler - Number of emitted assembler fragments 8693904 assembler - Number of emitted object file bytes 271223 assembler - Number of evaluated fixups 330771677 assembler - Number of fragment layouts 5958 assembler - Number of relaxed instructions 2508361 mcexpr - Number of MCExpr evaluations real 0m26.123s user 0m25.694s sys 0m0.388s after: 4 assembler - Number of assembler layout and relaxation steps 78563 assembler - Number of emitted assembler fragments 8693904 assembler - Number of emitted object file bytes 271223 assembler - Number of evaluated fixups 231507 assembler - Number of fragment layouts 5958 assembler - Number of relaxed instructions 2508361 mcexpr - Number of MCExpr evaluations real 0m2.500s user 0m2.113s sys 0m0.273s And yes, the outputs are identical :-) llvm-svn: 121207 | ||||
* | Fix a warning about a variable which is only used in an assertion. | Matt Beaumont-Gay | 2010-12-07 | 1 | -2/+2 |
| | | | | llvm-svn: 121206 | ||||
* | Add support to create variables, structs etc.. using DIBuilder. | Devang Patel | 2010-12-07 | 2 | -7/+224 |
| | | | | | | This is still work in progress. llvm-svn: 121205 | ||||
* | Switch LiveIntervalUnion from std::set to IntervalMap. | Jakob Stoklund Olesen | 2010-12-07 | 4 | -212/+100 |
| | | | | | | | This speeds up RegAllocBasic by 20%, not counting releaseMemory which becomes way faster. llvm-svn: 121201 | ||||
* | Cleanup in the Darwin end. No functionality change. | Bill Wendling | 2010-12-07 | 1 | -5/+7 |
| | | | | llvm-svn: 121198 | ||||
* | Fix a bad prologue / epilogue codegen bug where the compiler would emit illegal | Evan Cheng | 2010-12-07 | 2 | -68/+92 |
| | | | | | | | | | | | vpush instructions to save / restore VFP / NEON registers like this: vpush {d8,d10,d11} vpop {d8,d10,d11} vpush and vpop do not allow gaps in the register list. rdar://8728956 llvm-svn: 121197 | ||||
* | A bit of cleanup: early exit ApplyFixup and cache the Fixup offset. No | Bill Wendling | 2010-12-07 | 1 | -13/+14 |
| | | | | | | functionality change. llvm-svn: 121195 | ||||
* | Binary encoding for ARM tLDRspi and tSTRspi. | Jim Grosbach | 2010-12-07 | 3 | -8/+42 |
| | | | | llvm-svn: 121186 | ||||
* | Fix Thumb2 encoding of the S bit. | Owen Anderson | 2010-12-07 | 2 | -23/+4 |
| | | | | llvm-svn: 121182 | ||||
* | Refactor the ARM CMPz* patterns to just use the normal CMP instructions when | Jim Grosbach | 2010-12-07 | 6 | -41/+25 |
| | | | | | | | possible. They were duplicates for everything exception the source pattern before. llvm-svn: 121179 | ||||
* | Code clean up; no functionality change. | Evan Cheng | 2010-12-07 | 1 | -16/+14 |
| | | | | llvm-svn: 121176 | ||||
* | Code clean up; no functionality change. | Evan Cheng | 2010-12-07 | 1 | -11/+8 |
| | | | | llvm-svn: 121172 | ||||
* | Remove the code from Function::dropAllReferences which replaced | Dan Gohman | 2010-12-07 | 1 | -13/+4 |
| | | | | | | | | | uses of the function's blocks with undef. This code isn't needed, because BasicBlock's destructor handles such uses. Also, undef isn't correct, since blockaddresses may still be used for comparisons with null. llvm-svn: 121170 | ||||
* | Remove target specific node MipsISD::CMov, which is not used because all ↵ | Bruno Cardoso Lopes | 2010-12-07 | 3 | -9/+1 |
| | | | | | | conditional moves are directly matched using tablegen patterns. If there's a need in the future, we can introduce it again llvm-svn: 121164 | ||||
* | Match a pattern generated by a dag combiner opt where: | Bruno Cardoso Lopes | 2010-12-07 | 2 | -2/+12 |
| | | | | | | | | (select (load (load tga0)) (load tga1)) => (load (select (load tga0) tga1)) Thanks to Akira for pointing that. llvm-svn: 121163 | ||||
* | Simplify assertion. | Jakob Stoklund Olesen | 2010-12-07 | 1 | -9/+2 |
| | | | | llvm-svn: 121162 | ||||
* | Support: Remove Alarm. It is unused (via local grep and google code search). | Michael J. Spencer | 2010-12-07 | 4 | -151/+0 |
| | | | | llvm-svn: 121160 | ||||
* | Support/PathV2: Remove const from bool return types. | Michael J. Spencer | 2010-12-07 | 1 | -9/+9 |
| | | | | llvm-svn: 121157 | ||||
* | Encode the literal field for tCMPzi instruction. | Jim Grosbach | 2010-12-07 | 1 | -1/+2 |
| | | | | llvm-svn: 121153 | ||||
* | Fix absolute recording of differences of symbols in two sections. Reduced ↵ | Rafael Espindola | 2010-12-07 | 1 | -0/+11 |
| | | | | | | from ctor_dtor_count-2.cpp. llvm-svn: 121152 | ||||
* | Support/PathV2: Change most functions in the path namespace to return their work | Michael J. Spencer | 2010-12-07 | 3 | -104/+64 |
| | | | | | | via their return value instead of an out parameter. llvm-svn: 121149 | ||||
* | build: Go back to dropping __eprintf reference when building with Clang, see | Daniel Dunbar | 2010-12-07 | 1 | -0/+5 |
| | | | | | | comment. llvm-svn: 121146 | ||||
* | Add parens to pacify gcc. | Benjamin Kramer | 2010-12-07 | 1 | -1/+1 |
| | | | | llvm-svn: 121142 | ||||
* | Remove some dead code from the jump threading pass. | Frits van Bommel | 2010-12-07 | 1 | -141/+0 |
| | | | | | | The last uses of these functions were removed in r113852 when LazyValueInfo was permanently enabled and removed the need for them. llvm-svn: 121133 | ||||
* | PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() and | Jay Foad | 2010-12-07 | 22 | -224/+192 |
| | | | | | | | | zextOrTrunc(), and APSInt methods extend(), extOrTrunc() and new method trunc(), to be const and to return a new value instead of modifying the object in place. llvm-svn: 121120 | ||||
* | Don't leak the mutex when loading dynamic libraries. | Owen Anderson | 2010-12-07 | 1 | -12/+5 |
| | | | | llvm-svn: 121119 | ||||
* | Fix relocations with weak definitions. | Rafael Espindola | 2010-12-07 | 1 | -1/+1 |
| | | | | llvm-svn: 121114 | ||||
* | reapply r121100 with a tweak to constant fold ConstExprs with TargetData | Chris Lattner | 2010-12-07 | 1 | -8/+95 |
| | | | | | | | | (if available) as we go so that we get simple constantexprs not insane ones. This fixes the failure of clang/test/CodeGenCXX/virtual-base-ctor.cpp that the previous iteration of this patch had. llvm-svn: 121111 | ||||
* | Support/PathV2: Cleanup separator handling. | Michael J. Spencer | 2010-12-07 | 1 | -7/+10 |
| | | | | llvm-svn: 121110 | ||||
* | Support/PathV2: Remove the error_code return type from all functions in the path | Michael J. Spencer | 2010-12-07 | 3 | -95/+65 |
| | | | | | | | namespace. None of them return anything except for success anyway. These will be converted to returning their result soon. llvm-svn: 121109 | ||||
* | Support/PathV2: Move make_absolute from path to fs. | Michael J. Spencer | 2010-12-07 | 1 | -55/+57 |
| | | | | llvm-svn: 121108 | ||||
* | Fix pcrel relocations that cross sections. | Rafael Espindola | 2010-12-07 | 1 | -2/+2 |
| | | | | llvm-svn: 121107 | ||||
* | lib/Target/X86/X86MCAsmInfo.cpp: [PR8741] On Win64, specify explicit ↵ | NAKAMURA Takumi | 2010-12-07 | 1 | -1/+3 |
| | | | | | | | | PrivateGlobalPrefix as ".L". Or, global symbols @Lxxxx might be treated as temporal symbol by MCSymbol. llvm-svn: 121103 | ||||
* | Temporarily revert r121100 as it's causing clang to fail | Eric Christopher | 2010-12-07 | 1 | -85/+5 |
| | | | | | | CodeGenCXX/virtual-base-ctor.cpp. llvm-svn: 121102 | ||||
* | fix PR8710 - teach global opt that some constantexprs are too complex to | Chris Lattner | 2010-12-07 | 1 | -5/+85 |
| | | | | | | put in a global variable's initializer. llvm-svn: 121100 | ||||
* | Remove unused member. | Jakob Stoklund Olesen | 2010-12-07 | 1 | -8/+0 |
| | | | | llvm-svn: 121098 | ||||
* | Support/Unix/PathV2: Return the real error from realpath instead of any error | Michael J. Spencer | 2010-12-07 | 1 | -1/+2 |
| | | | | | | that close or unlink set. llvm-svn: 121094 | ||||
* | Support/Unix/PathV2: Use 0770 instead of 0700 when creating a directory. ↵ | Michael J. Spencer | 2010-12-07 | 1 | -1/+1 |
| | | | | | | | | Also use the standard macros instead of octal notation. llvm-svn: 121093 | ||||
* | Support/PathV2: Use SmallVector::clear instead of set_size. | Michael J. Spencer | 2010-12-07 | 2 | -3/+3 |
| | | | | llvm-svn: 121092 | ||||
* | Support/PathV2: Clarify and correct documentation. | Michael J. Spencer | 2010-12-07 | 1 | -0/+5 |
| | | | | llvm-svn: 121091 | ||||
* | Support/PathV2: Move current_path from path to fs and fix the Unix ↵ | Michael J. Spencer | 2010-12-07 | 3 | -17/+15 |
| | | | | | | | | implementation. Unix bug spotted by Dan Gohman. llvm-svn: 121090 | ||||
* | Fix a crash reduced from gcc produced assembly. | Rafael Espindola | 2010-12-07 | 1 | -8/+4 |
| | | | | llvm-svn: 121085 | ||||
* | Second attempt at converting Thumb2's LDRpci, including updating the ↵ | Owen Anderson | 2010-12-07 | 8 | -72/+101 |
| | | | | | | gazillion places that need to know about it. llvm-svn: 121082 |