summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add support to create vector, array, enums etc...Devang Patel2010-12-082-6/+169
| | | | llvm-svn: 121224
* Let target asm backends see assembler flags as they go by. Use that to handleJim Grosbach2010-12-082-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 Olesen2010-12-083-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 Anderson2010-12-081-4/+2
| | | | llvm-svn: 121216
* VLDR fixups need special handling under Thumb. While the encoding is the same,Owen Anderson2010-12-083-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 Patel2010-12-081-3/+2
| | | | llvm-svn: 121212
* Add support to create local variable's debug info.Devang Patel2010-12-071-0/+33
| | | | llvm-svn: 121211
* Layout each section independently. With the testcase in PR8711:Rafael Espindola2010-12-071-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-Gay2010-12-071-2/+2
| | | | llvm-svn: 121206
* Add support to create variables, structs etc.. using DIBuilder.Devang Patel2010-12-072-7/+224
| | | | | | This is still work in progress. llvm-svn: 121205
* Switch LiveIntervalUnion from std::set to IntervalMap.Jakob Stoklund Olesen2010-12-074-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 Wendling2010-12-071-5/+7
| | | | llvm-svn: 121198
* Fix a bad prologue / epilogue codegen bug where the compiler would emit illegalEvan Cheng2010-12-072-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. NoBill Wendling2010-12-071-13/+14
| | | | | | functionality change. llvm-svn: 121195
* Binary encoding for ARM tLDRspi and tSTRspi.Jim Grosbach2010-12-073-8/+42
| | | | llvm-svn: 121186
* Fix Thumb2 encoding of the S bit.Owen Anderson2010-12-072-23/+4
| | | | llvm-svn: 121182
* Refactor the ARM CMPz* patterns to just use the normal CMP instructions whenJim Grosbach2010-12-076-41/+25
| | | | | | | possible. They were duplicates for everything exception the source pattern before. llvm-svn: 121179
* Code clean up; no functionality change.Evan Cheng2010-12-071-16/+14
| | | | llvm-svn: 121176
* Code clean up; no functionality change.Evan Cheng2010-12-071-11/+8
| | | | llvm-svn: 121172
* Remove the code from Function::dropAllReferences which replacedDan Gohman2010-12-071-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 Lopes2010-12-073-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 Lopes2010-12-072-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 Olesen2010-12-071-9/+2
| | | | llvm-svn: 121162
* Support: Remove Alarm. It is unused (via local grep and google code search).Michael J. Spencer2010-12-074-151/+0
| | | | llvm-svn: 121160
* Support/PathV2: Remove const from bool return types.Michael J. Spencer2010-12-071-9/+9
| | | | llvm-svn: 121157
* Encode the literal field for tCMPzi instruction.Jim Grosbach2010-12-071-1/+2
| | | | llvm-svn: 121153
* Fix absolute recording of differences of symbols in two sections. Reduced ↵Rafael Espindola2010-12-071-0/+11
| | | | | | from ctor_dtor_count-2.cpp. llvm-svn: 121152
* Support/PathV2: Change most functions in the path namespace to return their workMichael J. Spencer2010-12-073-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, seeDaniel Dunbar2010-12-071-0/+5
| | | | | | comment. llvm-svn: 121146
* Add parens to pacify gcc.Benjamin Kramer2010-12-071-1/+1
| | | | llvm-svn: 121142
* Remove some dead code from the jump threading pass.Frits van Bommel2010-12-071-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() andJay Foad2010-12-0722-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 Anderson2010-12-071-12/+5
| | | | llvm-svn: 121119
* Fix relocations with weak definitions.Rafael Espindola2010-12-071-1/+1
| | | | llvm-svn: 121114
* reapply r121100 with a tweak to constant fold ConstExprs with TargetDataChris Lattner2010-12-071-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. Spencer2010-12-071-7/+10
| | | | llvm-svn: 121110
* Support/PathV2: Remove the error_code return type from all functions in the pathMichael J. Spencer2010-12-073-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. Spencer2010-12-071-55/+57
| | | | llvm-svn: 121108
* Fix pcrel relocations that cross sections.Rafael Espindola2010-12-071-2/+2
| | | | llvm-svn: 121107
* lib/Target/X86/X86MCAsmInfo.cpp: [PR8741] On Win64, specify explicit ↵NAKAMURA Takumi2010-12-071-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 failEric Christopher2010-12-071-85/+5
| | | | | | CodeGenCXX/virtual-base-ctor.cpp. llvm-svn: 121102
* fix PR8710 - teach global opt that some constantexprs are too complex toChris Lattner2010-12-071-5/+85
| | | | | | put in a global variable's initializer. llvm-svn: 121100
* Remove unused member.Jakob Stoklund Olesen2010-12-071-8/+0
| | | | llvm-svn: 121098
* Support/Unix/PathV2: Return the real error from realpath instead of any errorMichael J. Spencer2010-12-071-1/+2
| | | | | | that close or unlink set. llvm-svn: 121094
* Support/Unix/PathV2: Use 0770 instead of 0700 when creating a directory. ↵Michael J. Spencer2010-12-071-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. Spencer2010-12-072-3/+3
| | | | llvm-svn: 121092
* Support/PathV2: Clarify and correct documentation.Michael J. Spencer2010-12-071-0/+5
| | | | llvm-svn: 121091
* Support/PathV2: Move current_path from path to fs and fix the Unix ↵Michael J. Spencer2010-12-073-17/+15
| | | | | | | | implementation. Unix bug spotted by Dan Gohman. llvm-svn: 121090
* Fix a crash reduced from gcc produced assembly.Rafael Espindola2010-12-071-8/+4
| | | | llvm-svn: 121085
* Second attempt at converting Thumb2's LDRpci, including updating the ↵Owen Anderson2010-12-078-72/+101
| | | | | | gazillion places that need to know about it. llvm-svn: 121082
OpenPOWER on IntegriCloud