- Mar 20, 2007
-
-
Evan Cheng authored
llvm-svn: 35208
-
Evan Cheng authored
Make two piece constant generation as a single instruction. It's re-materialized as a load from constantpool. llvm-svn: 35207
-
Evan Cheng authored
llvm-svn: 35206
-
Evan Cheng authored
llvm-svn: 35205
-
Chris Lattner authored
1) codegen a shift of a register as a shift, not an LEA. 2) teach the RA to convert a shift to an LEA instruction if it wants something in three-address form. This gives us asm diffs like: - leal (,%eax,4), %eax + shll $2, %eax which is faster on some processors and smaller on all of them. and, more interestingly: - movl 24(%esi), %eax - leal (,%eax,4), %edi + movl 24(%esi), %edi + shll $2, %edi Without #2, #1 was a significant pessimization in some cases. This implements CodeGen/X86/shift-codegen.ll llvm-svn: 35204
-
Chris Lattner authored
llvm-svn: 35203
-
Chris Lattner authored
llvm-svn: 35202
-
Zhou Sheng authored
llvm-svn: 35201
-
Chris Lattner authored
llvm-svn: 35200
-
Reid Spencer authored
llvm-svn: 35199
-
Reid Spencer authored
llvm-svn: 35198
-
Dale Johannesen authored
llvm-svn: 35197
-
Dale Johannesen authored
llvm-svn: 35196
-
Chris Lattner authored
llvm-svn: 35195
-
Reid Spencer authored
llvm-svn: 35194
-
Reid Spencer authored
llvm-svn: 35193
-
Reid Spencer authored
llvm-svn: 35192
-
- Mar 19, 2007
-
-
Devang Patel authored
llvm-svn: 35191
-
Reid Spencer authored
llvm-svn: 35190
-
Reid Spencer authored
llvm-svn: 35189
-
Reid Spencer authored
Patch by Sheng Zhou. llvm-svn: 35188
-
Reid Spencer authored
Patch by Zhou Sheng. llvm-svn: 35187
-
Reid Spencer authored
llvm-svn: 35186
-
Reid Spencer authored
2. Replace uses of the "isPositive" utility function with APInt::isPositive llvm-svn: 35185
-
Reid Spencer authored
Patch by Sheng Zhou. llvm-svn: 35184
-
Reid Spencer authored
llvm-svn: 35183
-
Reid Spencer authored
parameter on ConstantInt::get to indicate the signedness of the intended value. llvm-svn: 35182
-
Reid Spencer authored
negative number. This is needed to fix test/Assembler/2007-03-19-NegValue.ll llvm-svn: 35181
-
Reid Spencer authored
constructor. This helps to fix test/Assembler/2007-03-19-NegValue.ll llvm-svn: 35180
-
Reid Spencer authored
can be extended. This helps fix test/Assembler/2007-03-19-NegValue.ll llvm-svn: 35179
-
Reid Spencer authored
greater than 64-bits don't have the sign bits extended on construction of the APInt. llvm-svn: 35178
-
Anton Korobeynikov authored
llvm-svn: 35177
-
Duncan Sands authored
llvm-svn: 35176
-
Reid Spencer authored
Test that invalid numbered value references get an error message. llvm-svn: 35175
-
Reid Spencer authored
llvm-svn: 35174
-
Reid Spencer authored
Eliminate support for type planes in numbered values. This simplifies the data structures involved in managing forward definitions, etc. Instead of requiring maps from type to value, we can now just use a vector of values. These changes also required rewrites of some support functions such as InsertValue, getBBVal, and ResolveDefinitions. Some other cosmetic changes were made as well. llvm-svn: 35173
-
Reid Spencer authored
named or numbered ValIDs. llvm-svn: 35172
-
Reid Spencer authored
Radically simplify the SlotMachine. There is no need to keep Value planes around any more. This change causes slot numbering to number all un-named, non-void values starting at 0 and incrementing monotonically through the function, regardless of type (including BasicBlocks). Getting slot numbers is now a single lookup operation instead of a double lookup. llvm-svn: 35171
-
Reid Spencer authored
Revise numeric value references to accommodate collapsed type planes. llvm-svn: 35170
-
Chris Lattner authored
llvm-svn: 35169
-