- Jul 14, 2009
-
-
Chris Lattner authored
llvm-svn: 75616
-
Chris Lattner authored
llvm-svn: 75615
-
Chris Lattner authored
llvm-svn: 75614
-
Bob Wilson authored
llvm-svn: 75613
-
Bob Wilson authored
llvm-svn: 75612
-
Bob Wilson authored
llvm-svn: 75611
-
Chris Lattner authored
to symbols instead of doing it with "printSuffixedName". This gets us to the point where there is a real separation between computing a symbol name and printing it, something I need for MC printer stuff. This patch also fixes a corner case bug where unnamed private globals wouldn't get the private label prefix. Next up, rename all uses of getValueName -> getMangledName for better greppability, and then tackle the ppc/arm backends to eliminate "printSuffixedName". llvm-svn: 75610
-
Lang Hames authored
llvm-svn: 75609
-
Argyrios Kyrtzidis authored
llvm-svn: 75608
-
Chris Lattner authored
indicates whether the label is private or not, instead of taking prefix stuff. One effect of this is that symbols will be generated with *just* the private prefix, instead of both the private prefix *and* the user-label-prefix, but this doesn't matter as long as it is consistent. For example we'll now get "Lfoo" instead of "L_foo". These are just assembler temporary labels anyway, so they never even make it into the .o file. llvm-svn: 75607
-
Argyrios Kyrtzidis authored
llvm-svn: 75606
-
Argyrios Kyrtzidis authored
llvm-svn: 75605
-
Argyrios Kyrtzidis authored
It iterates over all the redeclarations, regardless of the starting point. For example: 1) int f(); 2) int f(); 3) int f(); if you have the (2) FunctionDecl and call redecls_begin/redecls_end to iterate, you'll get this sequence: (2) (1) (3) The motivation to introduce this was that, previously, if (3) was a function definition, and you called getBody() at (2), it would not return it, since getBody() iterated over the previous declarations only, so it would only check (2) and (1). llvm-svn: 75604
-
Argyrios Kyrtzidis authored
For multiple redeclarations they return the last one. Also, add some non const versions of methods. llvm-svn: 75603
-
Argyrios Kyrtzidis authored
For multiple redeclarations they return the first one. llvm-svn: 75602
-
Argyrios Kyrtzidis authored
Ok, this is a bit out of place since C++ support is way way off, but it was just too cool to not show it off :-) llvm-svn: 75601
-
Argyrios Kyrtzidis authored
For C++ overloaded operator calls, set the source location of the DeclRefExpr to the location of the operator. llvm-svn: 75600
-
Argyrios Kyrtzidis authored
llvm-svn: 75599
-
Argyrios Kyrtzidis authored
llvm-svn: 75598
-
Argyrios Kyrtzidis authored
- Declaration context of ParmVarDecls (that we got from the Declarator) was not their containing function. - C++ out-of-line method definitions didn't get an access specifier. Both were exposed by a crash when emitting a C++ method to a PCH file (assert at Decl::CheckAccessDeclContext()). llvm-svn: 75597
-
Argyrios Kyrtzidis authored
llvm-svn: 75596
-
Argyrios Kyrtzidis authored
That way we can freely add new RUN lines without having to correct the line part in all the -point-at options. llvm-svn: 75595
-
Argyrios Kyrtzidis authored
llvm-svn: 75594
-
Argyrios Kyrtzidis authored
llvm-svn: 75593
-
Argyrios Kyrtzidis authored
llvm-svn: 75592
-
Argyrios Kyrtzidis authored
llvm-svn: 75591
-
Argyrios Kyrtzidis authored
llvm-svn: 75590
-
Devang Patel authored
llvm-svn: 75589
-
Lang Hames authored
llvm-svn: 75588
-
Lang Hames authored
llvm-svn: 75587
-
Eli Friedman authored
llvm-svn: 75586
-
Evan Cheng authored
2. BX does not "use" the link register, it defines it. 3. Fix a couple more places in thumb td file that still uses pre-UAL syntax. llvm-svn: 75585
-
Dan Gohman authored
function. llvm-svn: 75584
-
Dan Gohman authored
llvm-svn: 75583
-
Daniel Dunbar authored
- Previously this would crash on recursive types, and it was also incorrectly stripping off a level of indirection. - I'm not 100% convinced this is all correct, but it should be a monotonic improvment. llvm-svn: 75582
-
Bill Wendling authored
llvm-svn: 75581
-
Zhongxing Xu authored
invalidate the region correctly. It uses the cast-to type to invalidate the region when available. To avoid invalid cast-to type like 'void*' or 'id', region store now only records non-generic casts of regions. llvm-svn: 75580
-
Dan Gohman authored
block has a single unique exiting block. llvm-svn: 75579
-
Dan Gohman authored
works similar to isLoopInvariant, except that it will do trivial hoisting to try to make the value loop invariant if it isn't already. This makes it easier for transformation passes to clear trivial instructions out of the way (the regular LICM pass doesn't run until relatively late). This is code factored out of LoopSimplify and other places. llvm-svn: 75578
-
Chris Lattner authored
llvm-svn: 75577
-