- Feb 10, 2007
-
-
Evan Cheng authored
llvm-svn: 34110
-
Evan Cheng authored
llvm-svn: 34109
-
- Feb 09, 2007
-
-
Chris Lattner authored
delete ParseBytecodeFile(InputFilename, 0, &ErrorMessage); llvm_shutdown(); delete ParseBytecodeFile(InputFilename, 0, &ErrorMessage); The primitive type objects failed to ressurect themselves after shutdown, leading to crashes in clients that used them after llvm_shutdown(). This solution isn't wonderful, because we clearly have static ctors. However, the code it replaces was just as bad, so it's not a regression. llvm-svn: 34106
-
Evan Cheng authored
llvm-svn: 34105
-
Reid Spencer authored
generate errors about being unable to resolve overloaded type. llvm-svn: 34103
-
Chris Lattner authored
llvm-svn: 34101
-
Reid Spencer authored
llvm-svn: 34091
-
Chris Lattner authored
llvm-svn: 34086
-
Chris Lattner authored
llvm-svn: 34085
-
Chris Lattner authored
2. All function-level constants are now incorporated into the module-level constant pool, since the compaction table was removed. Eliminate extra work to check for them. This speeds up the bcwriter from 24.4s to 13.1s on 447.dealII and .73 -> .56s on kc++ in a release build. llvm-svn: 34084
-
Zhou Sheng authored
methods as those global function's internal implementation. llvm-svn: 34083
-
Nate Begeman authored
llvm-svn: 34081
-
Evan Cheng authored
llvm-svn: 34072
-
- Feb 08, 2007
-
-
Evan Cheng authored
llvm-svn: 34066
-
Evan Cheng authored
llvm-svn: 34065
-
Chris Lattner authored
strings. llvm-svn: 34064
-
Chris Lattner authored
llvm-svn: 34062
-
Andrew Lenharth authored
llvm-svn: 34056
-
Zhou Sheng authored
llvm-svn: 34054
-
Zhou Sheng authored
add some signed/unsigned arithmetic operation functions into APInt.h to handle the signed/unsigned issue. These functions will be defined inside a namespace "APIntOps" which is inside llvm namespace. llvm-svn: 34053
-
Bill Wendling authored
llvm-svn: 34040
-
Evan Cheng authored
The code sequence before the spiller is something like: = tMOVrr %reg1117 = tMOVrr %reg1078 = tLSLri %reg1117, 2 The it starts spilling: %r0 = tRestore <fi#5>, 0 %r1 = tRestore <fi#7>, 0 %r1 = tMOVrr %r1<kill> tSpill %r1, <fi#5>, 0 %reg1078 = tLSLri %reg1117, 2 It restores the value while processing the first tMOVrr. At this point, the spiller remembers fi#5 is available in %r0. Next it processes the second move. It restores the source before the move and spills the result afterwards. The move becomes a noop and is deleted. However, a spill has been inserted and that should invalidate reuse of %r0 for fi#5 and add reuse of %r1 for fi#5. Therefore, %reg1117 (which is also assigned fi#5) should get %r1, not %r0. llvm-svn: 34039
-
Bill Wendling authored
definition of it into the CodeGen library. This is so that a backend doesn't necessarily add in these writers if it doesn't use them (like in the lli program). llvm-svn: 34034
-
Bill Wendling authored
the code emitter and not set variables. llvm-svn: 34033
-
Bill Wendling authored
do some common stuff, then on our own add an object file writer (by calling a concrete function), and then do some finishing stuff, if need be. llvm-svn: 34032
-
Bill Wendling authored
llvm-svn: 34031
-
Bill Wendling authored
llvm-svn: 34029
-
Bill Wendling authored
llvm-svn: 34027
-
Reid Spencer authored
Compute BitMask correctly. Patch by Leo (wenwenti@hotmail.com). llvm-svn: 34026
-
Chris Lattner authored
llvm-svn: 34022
-
Chris Lattner authored
llvm-svn: 34021
-
Chris Lattner authored
lli doesn't link in Analyzer.cpp. llvm-svn: 34020
-
- Feb 07, 2007
-
-
Evan Cheng authored
llvm-svn: 34013
-
Chris Lattner authored
api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer, std::string* ErrMsg = 0, ///< Optional error message holder BytecodeHandler* H = 0 ///< Optional handler for reader events ); This is ugly, but allows a client to say: getBytecodeModuleProvider("foo", 0); If they do this, there is no dependency on the compression libraries, saving codesize. llvm-svn: 34012
-
Evan Cheng authored
llvm-svn: 34011
-
Evan Cheng authored
llvm-svn: 34010
-
Evan Cheng authored
llvm-svn: 34009
-
Jim Laskey authored
to construct FunctionType in separate function, and, have getDeclaration return a Function instead of a Constant. llvm-svn: 34008
-
Chris Lattner authored
llvm-svn: 34007
-
Devang Patel authored
Use handleLastUserOverflow(). llvm-svn: 34006
-