summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* This is now passing.Evan Cheng2009-01-161-1/+0
| | | | llvm-svn: 62308
* Delete trailing whitespace.Mikhail Glushenkov2009-01-168-420/+420
| | | | llvm-svn: 62307
* Don't advance the statement iterator after we've deallocated the statementDouglas Gregor2009-01-161-2/+3
| | | | llvm-svn: 62306
* Reverting back 62301.Sanjiv Gupta2009-01-161-1/+1
| | | | llvm-svn: 62304
* Extract code dealing with typedef declarators into a separate function.Zhongxing Xu2009-01-162-37/+49
| | | | | | No functionality change. llvm-svn: 62303
* Add test for contextual conversion to bool, and enable some FIXME'd testsDouglas Gregor2009-01-162-2/+69
| | | | llvm-svn: 62302
* Few targets do not have a single directive to emit global constants.Sanjiv Gupta2009-01-161-1/+1
| | | | | | For example, PIC16 needs to break a long or int constant into mulitple parts and emit multiple directives. So Allow targets to overried EmitConstantValueOnly(). llvm-svn: 62301
* Extract code dealing with variable declarator into a separate function.Zhongxing Xu2009-01-162-100/+113
| | | | | | No functionality change. llvm-svn: 62300
* ARMCompilationCallback should not save / restore vfp registers if vfp is not ↵Evan Cheng2009-01-161-2/+2
| | | | | | available. llvm-svn: 62299
* Validate debug info values only if DwarfDebug is initialized.Devang Patel2009-01-161-1/+1
| | | | llvm-svn: 62298
* Clean up previous cast optimization a bit. Also make zext elimination a bit ↵Evan Cheng2009-01-162-30/+62
| | | | | | more aggressive: if it's not necessary to emit an AND (i.e. high bits are already zero), it's profitable to evaluate the operand at a different type. llvm-svn: 62297
* Add support for instructions with multiple ComplexPatterns, byDan Gohman2009-01-161-7/+7
| | | | | | | adding more information to the temporary variables names so that they don't conflict. llvm-svn: 62296
* Attempt to unbreak Windows build.Daniel Dunbar2009-01-161-3/+3
| | | | llvm-svn: 62295
* Any debug info symbol is only valid if atleast one compile unit is seen.Devang Patel2009-01-161-0/+4
| | | | llvm-svn: 62294
* postpone sizeof objc-class computatin to the clients.Fariborz Jahanian2009-01-161-0/+4
| | | | llvm-svn: 62292
* Initial hazard recognizer support in post-pass scheduling. This includesDan Gohman2009-01-165-15/+124
| | | | | | | a new toy hazard recognizier heuristic which attempts to direct the scheduler to avoid clumping large groups of loads or stores too densely. llvm-svn: 62291
* Extract code dealing with declarators of function type into a separate functionZhongxing Xu2009-01-162-288/+307
| | | | | | | Sema::ActOnFunctionDeclarator(). No functionality change. llvm-svn: 62290
* Implemented code gen for sizeof(objc class interface).Fariborz Jahanian2009-01-161-1/+8
| | | | llvm-svn: 62289
* Do not stumble over forward declared struct member. Devang Patel2009-01-162-0/+35
| | | | llvm-svn: 62288
* Improve diagnostics for ambiguous name lookup resultsDouglas Gregor2009-01-165-11/+59
| | | | llvm-svn: 62287
* Validate dbg_* intrinsics before lowering them.Devang Patel2009-01-155-10/+73
| | | | llvm-svn: 62286
* Added missing support to widen an operand from a bit convert.Mon P Wang2009-01-153-0/+42
| | | | llvm-svn: 62285
* Generalize the HazardRecognizer interface so that it can be usedDan Gohman2009-01-1513-84/+122
| | | | | | | to support MachineInstr-based scheduling in addition to SDNode-based scheduling. llvm-svn: 62284
* Simplify the MachineLICM pass by having it only traverse outerDan Gohman2009-01-152-122/+66
| | | | | | | | | loops, hoisting instructions all the way out in one step rather than hoisting them one nest level at a time. Also, make a few other code simplifications. This speeds up MachineLICM by several fold. llvm-svn: 62283
* Fix Alpha test and support for private linkage.Rafael Espindola2009-01-152-6/+7
| | | | llvm-svn: 62282
* Expand insert/extract of a <4 x i32> with a variable index.Mon P Wang2009-01-152-2/+25
| | | | llvm-svn: 62281
* Add the private linkage.Rafael Espindola2009-01-1572-145/+401
| | | | llvm-svn: 62279
* add codegen support to union castsNuno Lopes2009-01-152-1/+24
| | | | | | init of static vars still not working. I'll get back to it tomorrow or so llvm-svn: 62278
* PTH: Fix termination condition in binary search.Ted Kremenek2009-01-151-1/+1
| | | | llvm-svn: 62277
* Use lightweight DebugInfo objects directly.Devang Patel2009-01-153-83/+66
| | | | llvm-svn: 62276
* Move a few containers out of ScheduleDAGInstrs::BuildSchedGraphDan Gohman2009-01-1528-155/+144
| | | | | | | | | | | and into the ScheduleDAGInstrs class, so that they don't get destructed and re-constructed for each block. This fixes a compile-time hot spot in the post-pass scheduler. To help facilitate this, tidy and do some minor reorganization in the scheduler constructor functions. llvm-svn: 62275
* PR3330: given an enum like this:Chris Lattner2009-01-151-2/+3
| | | | | | | | | | | enum E { A = 1U, B }; Don't make an implicit cast expr of null for B. llvm-svn: 62274
* IdentifierInfo:Ted Kremenek2009-01-158-52/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - IdentifierInfo can now (optionally) have its string data not be co-located with itself. This is for use with PTH. This aspect is a little gross, as getName() and getLength() now make assumptions about a possible alternate representation of IdentifierInfo. Perhaps we should make IdentifierInfo have virtual methods? IdentifierTable: - Added class "IdentifierInfoLookup" that can be used by IdentifierTable to perform "string -> IdentifierInfo" lookups using an auxilliary data structure. This is used by PTH. - Perform tests show that IdentifierTable::get() does not slow down because of the extra check for the IdentiferInfoLookup object (the regular StringMap lookup does enough work to mitigate the impact of an extra null pointer check). - The upshot is that now that some IdentifierInfo objects might be owned by the IdentiferInfoLookup object. This should be reviewed. PTH: - Modified PTHManager::GetIdentifierInfo to *not* insert entries in IdentifierTable's string map, and instead create IdentifierInfo objects on the fly when mapping from persistent IDs to IdentifierInfos. This saves a ton of work with string copies, hashing, and StringMap lookup and resizing. This change was motivated because when processing source files in the PTH cache we don't need to do any string -> IdentifierInfo lookups. - PTHManager now subclasses IdentifierInfoLookup, allowing clients of IdentifierTable to transparently use IdentifierInfo objects managed by the PTH file. PTHManager resolves "string -> IdentifierInfo" queries by doing a binary search over a sorted table of identifier strings in the PTH file (the exact algorithm we use can be changed as needed). These changes lead to the following performance changes when using PTH on Cocoa.h: - fsyntax-only: 10% performance improvement - Eonly: 30% performance improvement llvm-svn: 62273
* add comment to explain my previous commit, as asked by ChrisNuno Lopes2009-01-151-0/+2
| | | | llvm-svn: 62272
* avoid using iterators when they get invalidated potentiallyGabor Greif2009-01-151-4/+14
| | | | | | this fixes PR3332 llvm-svn: 62271
* Fix some unused variable, control reaches end of non-void function,Daniel Dunbar2009-01-154-6/+6
| | | | | | and uninitialized use options. llvm-svn: 62270
* Use variable's context to identify respective DbgScope.Devang Patel2009-01-152-11/+380
| | | | | | Use light weight DebugInfo object directly. llvm-svn: 62269
* Add dummy X86_64 ABIInfo implementation.Daniel Dunbar2009-01-151-5/+26
| | | | llvm-svn: 62268
* Add load-folding table entries for BT*ri8 instructions.Dan Gohman2009-01-151-0/+3
| | | | llvm-svn: 62267
* Make getWidenVectorType const; this file was missed in theDan Gohman2009-01-151-1/+1
| | | | | | previous commit. llvm-svn: 62266
* Make getWidenVectorType const.Dan Gohman2009-01-153-3/+3
| | | | llvm-svn: 62265
* Eliminate a redundant check.Evan Cheng2009-01-151-2/+1
| | | | llvm-svn: 62264
* - Teach CanEvaluateInDifferentType of this xform: sext (zext ty1), ty2 -> ↵Evan Cheng2009-01-152-22/+62
| | | | | | | | zext ty2 - Looking at the number of sign bits of the a sext instruction to determine whether new trunc + sext pair should be added when its source is being evaluated in a different type. llvm-svn: 62263
* More consts on TargetLowering references.Dan Gohman2009-01-154-10/+9
| | | | llvm-svn: 62262
* add support for initializing static vars with a cast to union (gcc extension)Nuno Lopes2009-01-152-1/+18
| | | | llvm-svn: 62261
* Use const with TargetLowering references in a few more places.Dan Gohman2009-01-152-5/+7
| | | | llvm-svn: 62260
* Const-qualify getPreIndexedAddressParts and friends.Dan Gohman2009-01-155-16/+17
| | | | llvm-svn: 62259
* Don't fold address calculations which use negative offsets intoRichard Osborne2009-01-152-2/+14
| | | | | | the ADDRspii addressing mode. llvm-svn: 62258
* Update the operands used when building LDAWSP instructions to match the .tdRichard Osborne2009-01-152-2/+1
| | | | | | changes in the last commit. llvm-svn: 62257
* minor refactoring: use a more specific APIGabor Greif2009-01-151-2/+3
| | | | llvm-svn: 62256
OpenPOWER on IntegriCloud