summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Test to compile the rewritten file for my last patch.Fariborz Jahanian2010-02-151-0/+13
| | | | | | (radar 7649577 related). llvm-svn: 96274
* Don't try to materialize a function that isn't materializable anyways. ThisNick Lewycky2010-02-151-3/+5
| | | | | | fixes a crash using FPM on a Function that isn't owned by a Module. llvm-svn: 96273
* A function with no Module owner isn't materializable. This fixes F->dump() forNick Lewycky2010-02-151-2/+2
| | | | | | functions not embedded within modules. llvm-svn: 96272
* remove empty file.Chris Lattner2010-02-151-0/+0
| | | | llvm-svn: 96271
* Fix a broken rewritin of @implementation keyword.Fariborz Jahanian2010-02-151-1/+1
| | | | | | (fixes radar 7649577). llvm-svn: 96270
* Simplify.Daniel Dunbar2010-02-151-23/+4
| | | | llvm-svn: 96269
* Remove c++ style comments from c header.Bill Wendling2010-02-151-8/+8
| | | | llvm-svn: 96266
* revert r96241. It breaks two regression tests, isn't documented,Chris Lattner2010-02-152-154/+8
| | | | | | and the testcase needs improvement. llvm-svn: 96265
* Renumber Instruction enums in llvm-c.Bill Wendling2010-02-151-50/+62
| | | | llvm-svn: 96264
* fix PR6305 by handling BlockAddress in a helper functionChris Lattner2010-02-153-3/+29
| | | | | | called by jump threading. llvm-svn: 96263
* Split SelectionDAGISel::IsLegalAndProfitableToFold toEvan Cheng2010-02-158-39/+63
| | | | | | | | IsLegalToFold and IsProfitableToFold. The generic version of the later simply checks whether the folding candidate has a single use. This allows the target isel routines more flexibility in deciding whether folding makes sense. The specific case we are interested in is folding constant pool loads with multiple uses. llvm-svn: 96255
* Optimize the implementation of IdDeclInfo pooling in the IdentifierResolver.John McCall2010-02-151-13/+25
| | | | llvm-svn: 96253
* comment fix.Chris Lattner2010-02-151-1/+1
| | | | llvm-svn: 96248
* Use getLocStart(), instead of getLocEnd(), to record starting location of ↵Devang Patel2010-02-152-1/+16
| | | | | | objc method. :) llvm-svn: 96245
* reverting back 96242 as it still causes a test failure.Sanjiv Gupta2010-02-152-12/+9
| | | | llvm-svn: 96244
* Re-applying 96173 with corresponding changes in test.Sanjiv Gupta2010-02-152-9/+12
| | | | llvm-svn: 96242
* Add support for emitting non-temporal stores for DAGs markedDavid Greene2010-02-152-8/+154
| | | | | | non-temporal. llvm-svn: 96241
* Add non-temporal flags and remove an assumption of default arguments.David Greene2010-02-1512-184/+307
| | | | llvm-svn: 96240
* Remove an assumption of default arguments. This is in anticipation of aDavid Greene2010-02-151-2/+3
| | | | | | change to SelectionDAG build APIs. llvm-svn: 96239
* Remove an assumption of default arguments. This is in anticipation of aDavid Greene2010-02-151-3/+5
| | | | | | change to SelectionDAG build APIs. llvm-svn: 96238
* Remove an assumption of default arguments. This is in anticipation of aDavid Greene2010-02-151-18/+31
| | | | | | change to SelectionDAG build APIs. llvm-svn: 96237
* Remove an assumption of default arguments. This is in anticipation of aDavid Greene2010-02-151-41/+79
| | | | | | change to SelectionDAG build APIs. llvm-svn: 96236
* Remove an assumption of default arguments. This is in anticipation of aDavid Greene2010-02-151-2/+2
| | | | | | change to SelectionDAG build APIs. llvm-svn: 96235
* Remove an assumption of default arguments. This is in anticipation of aDavid Greene2010-02-151-5/+7
| | | | | | change to SelectionDAG build APIs. llvm-svn: 96234
* Remove an assumption of default arguments. This is in anticipation of aDavid Greene2010-02-151-8/+15
| | | | | | change to SelectionDAG build APIs. llvm-svn: 96233
* Remove an assumption of default arguments. This is in anticipation of aDavid Greene2010-02-152-9/+14
| | | | | | change to SelectionDAG build APIs. llvm-svn: 96232
* Remove an assumption of default arguments. This is in anticipation of aDavid Greene2010-02-151-2/+3
| | | | | | change to SelectionDAG build APIs. llvm-svn: 96231
* Remove an assumption of default arguments. This is in anticipation of aDavid Greene2010-02-151-28/+49
| | | | | | change to SelectionDAG build APIs. llvm-svn: 96230
* Remove an assumption of default arguments. This is in anticipation of aDavid Greene2010-02-151-16/+27
| | | | | | change to SelectionDAG build APIs. llvm-svn: 96229
* Remove an assumption of default arguments. This is in anticipation of aDavid Greene2010-02-151-58/+83
| | | | | | change to SelectionDAG build APIs. llvm-svn: 96228
* Remove an assumption of default arguments. This is in anticipation of aDavid Greene2010-02-151-13/+25
| | | | | | change to SelectionDAG build APIs. llvm-svn: 96227
* Add non-temporal flags to MachineMemOperand.David Greene2010-02-152-5/+11
| | | | llvm-svn: 96226
* Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands2010-02-154-19/+19
| | | | | | isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris! llvm-svn: 96224
* Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands2010-02-1550-377/+381
| | | | | | isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris! llvm-svn: 96223
* CMake: Fixed syntax in conditional.Oscar Fuentes2010-02-151-1/+1
| | | | llvm-svn: 96221
* Fix changes from r75027Andrew Lenharth2010-02-151-4/+3
| | | | llvm-svn: 96220
* Defer covariance checks for dependent types. Add test cases that also ensureChandler Carruth2010-02-152-1/+25
| | | | | | they are re-checked on instantiation. llvm-svn: 96217
* When testing whether a given SCEV depends on a temporary symbolicDan Gohman2010-02-151-1/+1
| | | | | | | | name, test whether the SCEV itself is that temporary symbolic name, in addition to checking whether the symbolic name appears as a possibly-indirect operand. llvm-svn: 96216
* Check in the first big step of rewriting DAGISelEmitter to Chris Lattner2010-02-157-2/+1265
| | | | | | | | | | | | | | | | | | | produce a table based matcher instead of gobs of C++ Code. Though it's not done yet, the shrinkage seems promising, the table for the X86 ISel is 75K and still has a lot of optimization to come (compare to the ~1.5M of .o generated the old way, much of which will go away). The code is currently disabled by default (the #if 0 in DAGISelEmitter.cpp). When enabled it generates a dead SelectCode2 function in the DAGISel Header which will eventually replace SelectCode. There is still a lot of stuff left to do, which are documented with a trail of FIXMEs. llvm-svn: 96215
* give SDValue an operator->, allowing V->isTargetOpcode() andChris Lattner2010-02-151-0/+2
| | | | | | many other natural things. llvm-svn: 96214
* don't make insanely large node numbers for no reason,Chris Lattner2010-02-151-1/+1
| | | | | | packing somewhat densely is better than not. llvm-svn: 96213
* no need to add the instruction count anymore.Chris Lattner2010-02-151-1/+1
| | | | llvm-svn: 96212
* Simplify code. If we can reach here, the base must be virtual.Zhongxing Xu2010-02-151-5/+4
| | | | llvm-svn: 96211
* Revert r96130 ("Forward parameter options as '-option=param'").Mikhail Glushenkov2010-02-152-3/+3
| | | | | | This behaviour must be configurable. llvm-svn: 96210
* enhance raw_svector_ostream::write_impl to work with unbuffered streams,Chris Lattner2010-02-151-6/+12
| | | | | | which may call write_impl on things that are not the usual buffer. llvm-svn: 96209
* make PadToColumn return the stream so you can use:Chris Lattner2010-02-152-2/+3
| | | | | | OS.PadToColumn(42) << "foo"; llvm-svn: 96208
* Ignore DBG_VALUE in a couple more places.Dale Johannesen2010-02-151-1/+4
| | | | llvm-svn: 96207
* When emitting an aggregate into a temporary, make sure we set the alignmentJohn McCall2010-02-151-1/+1
| | | | | | | | | on the alloca. The fact that codegen makes this class of bug so wonderfully easy to make is embarrassing. llvm-svn: 96204
* When restoring a saved insert location, check to see if the savedDan Gohman2010-02-152-4/+14
| | | | | | | insert location has become an "inserted" instruction since the time it was saved. If so, advance to the first non-"inserted" instruction. llvm-svn: 96203
* clang::Attr objects should be treated as AST nodes as well byTed Kremenek2010-02-141-1/+5
| | | | | | the LLVMConventionsChecker. llvm-svn: 96202
OpenPOWER on IntegriCloud