- Sep 06, 2010
-
-
Chris Lattner authored
"1 strings to match" in a comment, which isn't gramatic. llvm-svn: 113140
-
Chris Lattner authored
llvm-svn: 113139
-
Rafael Espindola authored
Patch by nobled. I also took the opportunity to make the field private since now it is only ready from the outside. llvm-svn: 113138
-
Chris Lattner authored
out of AsmMatcherEmitter.cpp into its own class. llvm-svn: 113137
-
Chris Lattner authored
comparing the "llvm." prefix in the memcmp, and not storing it in the string literal. llvm-svn: 113136
-
Chris Lattner authored
llvm-svn: 113135
-
Chris Lattner authored
in the duplicated block instead of duplicating them. Duplicating them into the end of the loop and the preheader means that we got a phi node in the header of the loop, which prevented LICM from hoisting them. GVN would usually come around later and merge the duplicated instructions so we'd get reasonable output... except that anything dependent on the shoulda-been-hoisted value can't be hoisted. In PR5319 (which this fixes), a memory value didn't get promoted. llvm-svn: 113134
-
Chris Lattner authored
Loop::hasLoopInvariantOperands method. Remove a useless and confusing Loop::isLoopInvariant(Instruction) method, which didn't do what you thought it did. No functionality change. llvm-svn: 113133
-
Eli Friedman authored
llvm-svn: 113132
-
Eli Friedman authored
llvm-svn: 113131
-
Chris Lattner authored
fixing the ICE in PR7151 llvm-svn: 113130
-
Chris Lattner authored
llvm-svn: 113129
-
Eli Friedman authored
initializers, so the result of the evaluation doesn't leak through inconsistently. Also, don't evaluate references to variables with initializers with side-effects. llvm-svn: 113128
-
Chris Lattner authored
type of L"x" can change based on command line arguments. llvm-svn: 113127
-
Steven Watanabe authored
Tell the VS headers that char16_t and char32_t are keywords, so yvals.h doesn't try to define them as typedefs. llvm-svn: 113126
-
Chris Lattner authored
llvm-svn: 113125
-
Eli Friedman authored
llvm-svn: 113124
-
Chris Lattner authored
llvm-svn: 113123
-
Chris Lattner authored
pattern, so there is no need to define a matching function. llvm-svn: 113122
-
Chris Lattner authored
llvm-svn: 113121
-
- Sep 05, 2010
-
-
Chris Lattner authored
llvm-svn: 113120
-
Chris Lattner authored
llvm-svn: 113119
-
Chris Lattner authored
llvm-svn: 113118
-
Chris Lattner authored
llvm-svn: 113117
-
Chris Lattner authored
llvm-svn: 113116
-
Chris Lattner authored
llvm-svn: 113115
-
Chris Lattner authored
llvm-svn: 113114
-
Chris Lattner authored
llvm-svn: 113113
-
Howard Hinnant authored
llvm-svn: 113110
-
Chris Lattner authored
llvm-svn: 113109
-
Lang Hames authored
llvm-svn: 113108
-
Nick Lewycky authored
llvm-svn: 113106
-
Nick Lewycky authored
This reduces malloc traffic (yay!) and removes MergeFunctionsEqualityInfo. llvm-svn: 113105
-
Nick Lewycky authored
strong functions first to make sure they're the canonical definitions and then do a second pass looking only for weak functions. llvm-svn: 113104
-
Nick Lewycky authored
David Vandevoorde's name correctly. llvm-svn: 113103
-
rdar://6653118Chris Lattner authored
Since mem2reg isn't run at -O0, we get a ton of reloads from the stack, for example, before, this code: int foo(int x, int y, int z) { return x+y+z; } used to compile into: _foo: ## @foo subq $12, %rsp movl %edi, 8(%rsp) movl %esi, 4(%rsp) movl %edx, (%rsp) movl 8(%rsp), %edx movl 4(%rsp), %esi addl %edx, %esi movl (%rsp), %edx addl %esi, %edx movl %edx, %eax addq $12, %rsp ret Now we produce: _foo: ## @foo subq $12, %rsp movl %edi, 8(%rsp) movl %esi, 4(%rsp) movl %edx, (%rsp) movl 8(%rsp), %edx addl 4(%rsp), %edx ## Folded load addl (%rsp), %edx ## Folded load movl %edx, %eax addq $12, %rsp ret Fewer instructions and less register use = faster compiles. llvm-svn: 113102
-
Howard Hinnant authored
llvm-svn: 113101
-
Howard Hinnant authored
llvm-svn: 113100
-
Howard Hinnant authored
llvm-svn: 113099
-
Howard Hinnant authored
llvm-svn: 113098
-