summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add the ability for MCStreamer to emit comments on the same line as directives.Chris Lattner2010-01-223-11/+76
| | | | | | | | | | | | Switch over the asm-verbose comment for double values to use it. We now get: _x: .long 343597384 ## double 1.231200e+02 .long 1079953326 For example, note that the comment is on the same line as the .long. Woo. llvm-svn: 94166
* pass "-fasm-verbose" into createAsmStreamer.Chris Lattner2010-01-224-15/+23
| | | | llvm-svn: 94165
* Stop building RTTI information for *most* llvm libraries. NotableChris Lattner2010-01-2289-8/+126
| | | | | | | | | | | missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164
* Ensure we output all non-virtual base vtables. Fixes PR5890.Mike Stump2010-01-222-29/+52
| | | | llvm-svn: 94163
* give PassNameParser a home.Chris Lattner2010-01-222-1/+6
| | | | llvm-svn: 94162
* add an out-of-line virtual method to CmpInst to give it a home.Chris Lattner2010-01-222-2/+4
| | | | llvm-svn: 94161
* elimiante the dynamic_cast's from opt.Chris Lattner2010-01-225-22/+44
| | | | llvm-svn: 94160
* simplify code.Chris Lattner2010-01-221-9/+4
| | | | llvm-svn: 94159
* drop the pass name from the output.Chris Lattner2010-01-221-3/+1
| | | | llvm-svn: 94158
* eliminate dynamic_cast from this file.Chris Lattner2010-01-221-17/+20
| | | | llvm-svn: 94157
* eliminate a bunch more unneeded dynamic_cast's.Chris Lattner2010-01-223-48/+41
| | | | llvm-svn: 94156
* eliminate a bunch of dynamic_cast's.Chris Lattner2010-01-225-8/+32
| | | | llvm-svn: 94155
* eliminate a bunch of dynamic_cast's.Chris Lattner2010-01-222-9/+9
| | | | llvm-svn: 94154
* Process cast according to the cast kind. Prepare for more specific cast Zhongxing Xu2010-01-222-19/+49
| | | | | | handling (for C++). No functionality change for now. llvm-svn: 94153
* Driver/Darwin: Update tool chain to use static clang_rt libraries provided byDaniel Dunbar2010-01-222-10/+50
| | | | | | | | | | | | | | | | | | | | compiler-rt. This tool chain now works on x86 and ARM, but isn't the x86 default yet. This drastically cleans up the linker invocation, old invocation: -- "/Developer/usr/bin/../libexec/gcc/i686-apple-darwin10/4.2.1/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.6.0" "-weak_reference_mismatches" "non-weak" "-o" "a.out" "-lcrt1.10.6.o" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64" "-L/usr/lib/i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../.." "t.o" "-lSystem" "-lgcc" -- New invocation: -- # For 10.6: "/usr/bin/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.6.0" "-o" "a.out" "-lcrt1.10.6.o" "t.o" "-lSystem" # For 10.4: "/usr/bin/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.4" "-o" "a.out" "-lcrt1.o" "t.o" "-lSystem" "-lgcc_s.10.4" "/Volumes/Data/ddunbar/llvm.obj.64/Debug/lib/clang/1.1/lib/darwin/libclang_rt.10.4.a" -- llvm-svn: 94150
* Driver/Darwin/ld: Fix refacto, -force_cpusubtype_ALL should only be forwarded,Daniel Dunbar2010-01-221-2/+1
| | | | | | not always added. llvm-svn: 94149
* Teach pre-regalloc scheduler to schedule loads from nearby addresses. It may ↵Evan Cheng2010-01-222-0/+134
| | | | | | improve cache locality. This is controlled by -cluster-loads for now. llvm-svn: 94148
* Add two target hooks to determine whether two loads are near and should be ↵Evan Cheng2010-01-223-0/+174
| | | | | | scheduled together. llvm-svn: 94147
* Add DenseMapInfo for signed long long.Evan Cheng2010-01-221-0/+13
| | | | llvm-svn: 94146
* Update debugging code.Mike Stump2010-01-221-16/+18
| | | | llvm-svn: 94145
* Driver/Darwin/ld: Factor out getDarwinArchName, for getting the "Darwin" archDaniel Dunbar2010-01-223-68/+73
| | | | | | name being used in an driver invocation. llvm-svn: 94139
* Driver/Darwin/ld: Eliminate AddDarwinSubArch, our linker invocation is going toDaniel Dunbar2010-01-222-18/+5
| | | | | | diverge from gcc anyway. llvm-svn: 94138
* Add a Coding Standards section to hacking.html, and point out that cstdio is ↵Daniel Dunbar2010-01-221-0/+22
| | | | | | forbidden. llvm-svn: 94137
* Use raw_ostream instead of cstdio.Daniel Dunbar2010-01-221-19/+21
| | | | llvm-svn: 94136
* CMake: Add MCParser directory.Daniel Dunbar2010-01-221-0/+1
| | | | llvm-svn: 94135
* lit: Separate test suite from test name with spaces, to make it easier to ↵Daniel Dunbar2010-01-221-1/+1
| | | | | | cut and paste. llvm-svn: 94134
* add new fileChris Lattner2010-01-221-0/+1
| | | | llvm-svn: 94132
* move some files out of the llvm-mc tool into the MCParser library soChris Lattner2010-01-227-8/+5
| | | | | | other tools can link it. llvm-svn: 94131
* forgot to svn add these, doh.Chris Lattner2010-01-222-0/+22
| | | | llvm-svn: 94130
* create a new MCParser library and move some stuff into it.Chris Lattner2010-01-2216-23/+21
| | | | llvm-svn: 94129
* remove some confused code that used strtoullChris Lattner2010-01-221-12/+5
| | | | llvm-svn: 94128
* allow registering target lexers.Chris Lattner2010-01-222-4/+51
| | | | llvm-svn: 94127
* Visit if, switch statements properlyDouglas Gregor2010-01-221-0/+32
| | | | llvm-svn: 94126
* stub out a new TargetAsmLexer interface.Chris Lattner2010-01-222-0/+50
| | | | llvm-svn: 94125
* Teach the cursor visitor to walk all of the C and Objective-CDouglas Gregor2010-01-223-29/+132
| | | | | | | | declarations that have enough source information to make such a walk useful. This includes walking into variable initializers and enum constants, the types behind typedefs, etc. llvm-svn: 94124
* Revert LoopStrengthReduce.cpp to pre-r94061 for now.Dan Gohman2010-01-2217-2601/+2308
| | | | llvm-svn: 94123
* Create function, block, and template parameters in the context of theJohn McCall2010-01-225-11/+20
| | | | | | | | | translation unit. This is temporary for function and block parameters; template parameters can just stay this way, since Templates aren't DeclContexts. This gives us the nice property that everything created in a record DC should have access in C++. llvm-svn: 94122
* Store flags in bitfields instead of masking them into the pointer for the ↵Ted Kremenek2010-01-222-27/+23
| | | | | | left child. This leads to some nice conceptually cleanups. llvm-svn: 94121
* revert my patch for rdar://7520940 that warns when a published headerChris Lattner2010-01-228-37/+5
| | | | | | | is #included with "foo.h" style syntax instead of framework syntax. It produced too much noise. llvm-svn: 94120
* Fix PR5694. The CMN instructions set the flags differently from CMP, so theyJim Grosbach2010-01-225-15/+31
| | | | | | | cannot be directly interchanged for comparisons against negated values. Disable the CMN instructions for the time being. llvm-svn: 94119
* Wire up the new range reporting for unreachable code.Mike Stump2010-01-211-6/+16
| | | | llvm-svn: 94118
* Tidy up assertion syntax. No functionality change.Ted Kremenek2010-01-211-35/+30
| | | | llvm-svn: 94117
* Teach the cursor visitor to walk statements and expressions, includingDouglas Gregor2010-01-212-23/+74
| | | | | | a few important subkinds. Now we're cookin' with gas! llvm-svn: 94116
* Improve unreachable code warnings with respect to dead member andMike Stump2010-01-213-0/+46
| | | | | | dead array references. llvm-svn: 94115
* No need to look through bitcasts for DbgInfoIntrinsicVictor Hernandez2010-01-211-5/+0
| | | | llvm-svn: 94114
* DbgInfoIntrinsic no longer appear in an instruction's use listVictor Hernandez2010-01-211-19/+4
| | | | llvm-svn: 94113
* No need to look through bitcasts for DbgInfoIntrinsicVictor Hernandez2010-01-211-13/+6
| | | | llvm-svn: 94112
* DbgInfoIntrinsics no longer appear in an instruction's use list; so clean up ↵Victor Hernandez2010-01-213-90/+7
| | | | | | looking for them in use iterations and remove OnlyUsedByDbgInfoIntrinsics() llvm-svn: 94111
* When inserting expressions for post-increment users which containDan Gohman2010-01-211-17/+32
| | | | | | | | loop-variant components, adds must be inserted after the increment. Keep track of the increment position for this case, and insert these adds in the correct location. llvm-svn: 94110
* Due to local reversions and re-patching, I accidentally had multiple copiesJohn McCall2010-01-211-151/+0
| | | | | | of the 'payload' in this header. llvm-svn: 94109
OpenPOWER on IntegriCloud