- Mar 01, 2009
-
-
Gabor Greif authored
be a win, since almost every interesting function has at least one Argument. llvm-svn: 65778
-
Douglas Gregor authored
llvm-svn: 65777
-
Gabor Greif authored
its sentinel. This is quite a win when a function really has a basic block. When the function is just a declaration (and stays so) the old way did not allocate a sentinel. So this change is most beneficial when the ratio of function definition to declaration is high. I.e. linkers etc. Incidentally these are the most resource demanding applications, so I expect that the reduced malloc traffic, locality and space savings outweigh the cost of addition of two pointers to Function. llvm-svn: 65776
-
Duncan Sands authored
llvm-svn: 65775
-
rdar://problem/6619539Steve Naroff authored
Fix <rdar://problem/6619539> incompatible pointer types sending 'XCElementSpacer *', expected 'XCElement *' (not handling protocol signatures correctly?). - Reworked ASTContext::canAssignObjCInterfaces(). - Added ObjCProtocolDecl::lookupProtocolNamed(). llvm-svn: 65773
-
Duncan Sands authored
llvm-svn: 65772
-
Duncan Sands authored
llvm-svn: 65771
-
Nick Lewycky authored
llvm-svn: 65769
-
Gabor Greif authored
llvm-svn: 65768
-
Gabor Greif authored
llvm-svn: 65767
-
Nick Lewycky authored
llvm-svn: 65766
-
Duncan Sands authored
llvm-svn: 65765
-
Ted Kremenek authored
llvm-svn: 65764
-
Ted Kremenek authored
llvm-svn: 65763
-
Daniel Dunbar authored
llvm-svn: 65762
-
Daniel Dunbar authored
exception typeinfo metadata, and a few other EH related types/functions. - No functionality change. llvm-svn: 65761
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 65760
-
Daniel Dunbar authored
llvm-svn: 65759
-
Bill Wendling authored
testsuite: Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/dg.exp ... FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/nancvt.ll Failed with exit(1) at line 2 while running: grep 2147027116 nancvt.ll.tmp | count 3 count: expected 3 lines and got 0. child process exited abnormally FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/vec_ins_extract.ll Failed with exit(1) at line 1 while running: llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/vec_ins_extract.ll | opt -scalarrepl -instcombine | llc -march=x86 -mcpu=yonah | not /usr/bin/grep sub.*esp subl $28, %esp subl $28, %esp child process exited abnormally And more. llvm-svn: 65758
-
Chris Lattner authored
llvm-svn: 65757
-
Chris Lattner authored
llvm-svn: 65756
-
Chris Lattner authored
as well as isSafeAllocaToScalarRepl. llvm-svn: 65755
-
Daniel Dunbar authored
llvm-svn: 65754
-
Anders Carlsson authored
llvm-svn: 65753
-
Evan Cheng authored
Look for situations like this: %reg1024<def> = MOV r1 %reg1025<def> = MOV r0 %reg1026<def> = ADD %reg1024, %reg1025 r0 = MOV %reg1026 Commute the ADD to hopefully eliminate an otherwise unavoidable copy. llvm-svn: 65752
-
Anders Carlsson authored
llvm-svn: 65751
-
Chris Lattner authored
the buildbot will work. llvm-svn: 65750
-
Anders Carlsson authored
llvm-svn: 65749
-
Chris Lattner authored
stuff like %A = type { %A*} instead of an upref. llvm-svn: 65748
-
Bob Wilson authored
method in a BuildVectorSDNode "pseudo-class". llvm-svn: 65747
-
Anders Carlsson authored
llvm-svn: 65746
-
Chris Lattner authored
llvm-svn: 65745
-
Chris Lattner authored
"This patch uses the new ObjCImplDecl class to merge Sema::ImplMethodsVsClassMethods and Sema::ImplCategoryMethodsVsIntfMethods methods. And now, when clang check a class implementation to find unimplemented methods, it also checks all methods from the class extensions (unnamed categories). There is also a test case to check this warning. This patch contains also a minor update for ObjCImplDecl . getNameAsCString and getNameAsString now returns an empty string instead of crashing for unnamed categories." Patch by Jean-Daniel Dupas! llvm-svn: 65744
-
Chris Lattner authored
types. This was reading the uint for the keyword after the token was advanced. llvm-svn: 65743
-
Chris Lattner authored
type opaque ; type %0 %C = type { %0, %0 } instead of: %C = type { opaque, opaque } when appropriate. llvm-svn: 65742
-
Chris Lattner authored
llvm-svn: 65741
-
Chris Lattner authored
llvm-svn: 65740
-
Chris Lattner authored
llvm-svn: 65739
-
Chris Lattner authored
stripped .bc file, it didn't make any attempt to try to reuse anonymous types. This causes an amazing type explosion due to types getting duplicated everywhere they are referenced and other problems. This also caused correctness issues, because opaque types are unique for each time they are uttered in the file. This means that stripping a .bc file could produce a .ll file that could not be assembled (e.g. 2009-02-28-StripOpaqueName.ll). This patch fixes both of these issues. llvm-svn: 65738
-
Anders Carlsson authored
llvm-svn: 65737
-