summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix ScheduleDAGRRList::CopyAndMoveSuccessors' handling of nodesDan Gohman2009-03-062-7/+42
| | | | | | | | | | | with multiple chain operands. This can occur when the scheduler has added chain operands to a node that already has a chain operand, in order to handle physical register dependencies. This fixes an llvm-gcc bootstrap failure on x86-64 introduced in r66058. llvm-svn: 66240
* Use CloneModule's ValueMap to avoid needing to look upDan Gohman2009-03-061-5/+4
| | | | | | functions by name. This fixes PR718. llvm-svn: 66239
* Incorporate feedback to improve GarbageCollection.html.Gordon Henriksen2009-03-061-57/+103
| | | | llvm-svn: 66237
* Don't assign rank numbers to debug intrinsic "calls".Dale Johannesen2009-03-061-1/+3
| | | | | | This is needed so debug info doesn't change codegen. llvm-svn: 66235
* When we split a basic block, there's a default branch to the newly created BB.Bill Wendling2009-03-061-0/+3
| | | | | | Delete this default branch, because we're going to generate our own. llvm-svn: 66234
* Revert 66224.Devang Patel2009-03-062-9/+9
| | | | llvm-svn: 66233
* Revert rev. 66167. Devang Patel2009-03-062-31/+10
| | | | | | We are still not out of woods yet. llvm-svn: 66232
* Framework for codegen for copy/dispose helpers.Mike Stump2009-03-065-22/+103
| | | | llvm-svn: 66231
* CMake: auto-discover project files under the projects/ subdirectory.Oscar Fuentes2009-03-062-0/+10
| | | | | | Patch by Viktar Zviarovich! llvm-svn: 66230
* do not close friendship with every odd classGabor Greif2009-03-062-2/+0
| | | | llvm-svn: 66229
* SRThreshold is meant to be inclusive.Evan Cheng2009-03-061-1/+1
| | | | llvm-svn: 66227
* Update checker build.Ted Kremenek2009-03-061-1/+1
| | | | llvm-svn: 66226
* Tweak the check for promotable alloca's to handleDale Johannesen2009-03-061-1/+7
| | | | | | debug intrinsics correctly. llvm-svn: 66225
* Do not let debug info prevert globalopt from shriking a global vars to boolean.Devang Patel2009-03-062-7/+74
| | | | llvm-svn: 66224
* Add "check/remove dbg var" helper routines.Devang Patel2009-03-062-0/+53
| | | | llvm-svn: 66223
* Cleanup EH a bit given changes to ObjCCatchStmt.Daniel Dunbar2009-03-061-13/+15
| | | | | | - No functionality change. llvm-svn: 66218
* Fix a parallel make race condition by swapping the order of -I directories.Bob Wilson2009-03-061-2/+2
| | | | | | | | | | | The .cmi files are generated in $(ObjDir) and then copied to $(OcamlDir). The ocamldep output references the .cmi files in $(ObjDir), so make kicks off a dependent compile as soon as the local copy is generated. If the copy to $(OcamlDir) is not complete at that point, the compiler will read the partially copied file and complain about a "Corrupted compiled interface". Searching $(ObjDir) first avoids this. llvm-svn: 66217
* Fix a bugpoint bug on anonymous functions. Instead of looking upDan Gohman2009-03-051-2/+4
| | | | | | | functions in the new module by name, use the ValueMap provided by CloneModule to do the lookups. llvm-svn: 66216
* add source range for type of super cast, giving something like:Chris Lattner2009-03-051-1/+1
| | | | | | | | SemaObjC/call-super-2.m:78:29: error: cannot cast 'super' (it isn't an expression) return [(Object <Func> *)super instance_func0]; ~~~~~~~~~~~~~~~~~^ llvm-svn: 66215
* more minor simplifications.Chris Lattner2009-03-051-7/+6
| | | | llvm-svn: 66214
* refactor C++ bitfield checking a bit (haha)Chris Lattner2009-03-054-61/+39
| | | | llvm-svn: 66213
* Don't mangle names of local variables.Daniel Dunbar2009-03-053-3/+13
| | | | | | | | - For one thing, this adds unneeded overhead; for another, this routine can be used to emit unnamed decls which we shouldn't try to mangle. llvm-svn: 66212
* Fix another GRExprEngine::VisitCast regression: handle casts of void* to ↵Ted Kremenek2009-03-052-3/+24
| | | | | | function pointers. llvm-svn: 66211
* fix PR3607 and a fixme, by checking bitfield constraintsChris Lattner2009-03-056-17/+56
| | | | | | more consistently. llvm-svn: 66210
* More function stop for objc2's ivar layout bit map.Fariborz Jahanian2009-03-051-0/+50
| | | | llvm-svn: 66209
* Minor tweak: Recognize 'CGCF' prefix in addition to 'CF' and 'CG'.Ted Kremenek2009-03-051-1/+11
| | | | llvm-svn: 66208
* Don't use plain INC32 and DEC32 on x86-64; it needsDan Gohman2009-03-052-8/+30
| | | | | | | | INC64_32r and INC64_16r, because these instructions are encoded differently on x86-64. This fixes JIT regressions on x86-64 in kimwitu++ and others. llvm-svn: 66207
* When creating X86ISD::INC and X86ISD::DEC nodes, only add one operand.Dan Gohman2009-03-051-1/+6
| | | | | | | The extra operand didn't appear to cause any trouble, but it was erroneous regardless. llvm-svn: 66206
* Fix regression in GRExprEngine::VisitCast: Do not wrap symbolic function ↵Ted Kremenek2009-03-052-23/+42
| | | | | | pointers with TypedViewRegions. llvm-svn: 66187
* Partial fix <rdar://problem/6301205> [irgen] dot-syntax on super isn't ↵Steve Naroff2009-03-052-2/+55
| | | | | | | | supported. Tweak Sema::ActOnMemberReferenceExpr() and Sema::ActOnDeclarationNameExpr() to handle "super." notation for Class methods. llvm-svn: 66185
* Moved CollectObjCIvars to more commonly available placeFariborz Jahanian2009-03-052-2/+4
| | | | | | for future use. llvm-svn: 66184
* Fix the "test" optimization to recognize "dec" as an add ofDan Gohman2009-03-053-9/+31
| | | | | | | negative one, as subtracts of immediates are canonicalized to adds. llvm-svn: 66180
* Make this test more thorough. Not only should there be no %esi,Dan Gohman2009-03-051-3/+5
| | | | | | there should be no spilling of anything. llvm-svn: 66179
* ignore build dirsGabor Greif2009-03-050-0/+0
| | | | llvm-svn: 66176
* Adds a template for a function for objc2's gc's ivar layoutFariborz Jahanian2009-03-051-4/+16
| | | | | | bitmap. llvm-svn: 66175
* move some code to gracefully handle the case when a handler crashes.Chris Lattner2009-03-051-4/+6
| | | | llvm-svn: 66171
* Update test case: objects stored to self.ivar are not tracked.Ted Kremenek2009-03-051-0/+17
| | | | llvm-svn: 66168
* GlobalOpt only process non constant local GVs while optimizing global vars.Devang Patel2009-03-052-10/+31
| | | | | | | | | | | | If non constant local GV named A is used by a constant local GV named B (e.g. llvm.dbg.variable) and B is not used by anyone else then eliminate A as well as B. In other words, debug info should not interfere in removal of unused GV. --This life, and those below, will be ignored-- M test/Transforms/GlobalOpt/2009-03-03-dbg.ll M lib/Transforms/IPO/GlobalOpt.cpp llvm-svn: 66167
* Retrofit some basic tracking of ivars (for the current object) into BasicStore.Ted Kremenek2009-03-053-51/+125
| | | | llvm-svn: 66166
* Minor code compaction. No functionality change.Ted Kremenek2009-03-051-11/+5
| | | | llvm-svn: 66165
* Rename VarBindings -> Bindings.Ted Kremenek2009-03-051-15/+15
| | | | llvm-svn: 66164
* BasicStore:Ted Kremenek2009-03-055-23/+34
| | | | | | | | | | | | | - Store bindings using a MemRegion -> SVal binding instead of VarDecl -> SVal binding. This mirrors some of the idea of RegionStore, but is far simpler and not nearly as functional. This leads to some code simplification and some potential for some minor precision hacks. Along the way... - constify the use of MemRegion* in a few places - add operator<<(llvm::raw_ostream, const MemRegion*) llvm-svn: 66163
* Tweak diag for <rdar://problem/5982579> [clang on xcode] (using ↵Steve Naroff2009-03-053-3/+9
| | | | | | arch=x86_64): synthesized property 'sdkPath' must either be named the same as a compatible ivar or must explicitly name an ivar. llvm-svn: 66162
* Fix <rdar://problem/6144382> [sema] gcc inconsistency w.r.t. forward ↵Steve Naroff2009-03-054-0/+43
| | | | | | protocol declarations. llvm-svn: 66161
* Add missing file.Duncan Sands2009-03-051-0/+1
| | | | llvm-svn: 66160
* prep work for copy/destroy helpers for block literals.Mike Stump2009-03-055-77/+101
| | | | llvm-svn: 66159
* (Hopefully) silence a warning.Owen Anderson2009-03-051-1/+1
| | | | llvm-svn: 66158
* Regenerate.Nick Lewycky2009-03-052-29/+134
| | | | llvm-svn: 66157
* Autodetect the availability of -export-dynamic in the linker.Nick Lewycky2009-03-054-25/+62
| | | | llvm-svn: 66156
* if we die in IR generation of a compound statement, include Chris Lattner2009-03-051-1/+4
| | | | | | | | | | | | | | it in the stack trace, giving us stuff like: Stack dump: 0. Program arguments: clang t.c -emit-llvm 1. <eof> parser at end of file 2. t.c:1:5: LLVM IR generation of declaration 'a' 3. t.c:1:9: LLVM IR generation of compound statement ('{}') 4. t.c:2:3: LLVM IR generation of compound statement ('{}') Abort llvm-svn: 66154
OpenPOWER on IntegriCloud