- Mar 29, 2007
-
-
Reid Spencer authored
avoids a call to ::fstat by MappedFile when the file size information was already obtained by the Path object. llvm-svn: 35477
-
Reid Spencer authored
Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function accordingly. Also, fix some memory issues in sys::Path. llvm-svn: 35476
-
Chris Lattner authored
llvm-svn: 35475
-
Reid Spencer authored
llvm-svn: 35473
-
Reid Spencer authored
removed in a few days. llvm-svn: 35472
-
Jeff Cohen authored
llvm-svn: 35467
-
Jeff Cohen authored
llvm-svn: 35464
-
Reid Spencer authored
to the inode number on Unix and something far less unique on Windows. The windows case needs to be improved. llvm-svn: 35461
-
Reid Spencer authored
Updates for change in interface of getFileStatus method of sys::Path class. llvm-svn: 35458
-
Reid Spencer authored
* Add a method: bool isAbsolute() const, which determines if the path name is absolute or not. * Implement caching of file status information in the Path object. Allow it to be updated forcefully or lazily re-fetched from the cached value. llvm-svn: 35456
-
Zhou Sheng authored
2. Let APInt variable do the binary operation stuff instead of using ConstantExpr::getXXX. llvm-svn: 35450
-
Evan Cheng authored
big endian targets until llvm-gcc build issue has been resolved. llvm-svn: 35449
-
Evan Cheng authored
llvm-svn: 35448
-
Zhou Sheng authored
llvm-svn: 35446
-
Evan Cheng authored
llvm-svn: 35445
-
Zhou Sheng authored
1. Line out nested call of APInt::zext/trunc. 2. Make more use of APInt::getHighBitsSet/getLowBitsSet. 3. Use APInt[] operator instead of expression like "APIntVal & SignBit". llvm-svn: 35444
-
Zhou Sheng authored
instead of using ConstantExpr::getXX. 2. Use constant reference to APInt if possible instead of expensive APInt copy. llvm-svn: 35443
-
Jeff Cohen authored
front ends that do not depend on the GCC runtime (someday...). llvm-svn: 35441
-
- Mar 28, 2007
-
-
Bill Wendling authored
llvm-svn: 35439
-
Anton Korobeynikov authored
llvm-svn: 35438
-
Anton Korobeynikov authored
behaviour in some cases. llvm-svn: 35437
-
Chris Lattner authored
llvm-svn: 35435
-
Chris Lattner authored
_test3: leaq (,%rdi,4), %rax orq %rdi, %rax ret instead of: _test2: movq %rdi, %rax shlq $2, %rax orq %rdi, %rax ret llvm-svn: 35434
-
Zhou Sheng authored
llvm-svn: 35431
-
Chris Lattner authored
llvm-svn: 35430
-
Scott Michel authored
llvm-svn: 35429
-
Zhou Sheng authored
2. Use APInt[] instead of "X & SignBit". 3. Clean up some codes. 4. Make the expression like "ShiftAmt = ShiftAmtC->getZExtValue()" safe. llvm-svn: 35424
-
Devang Patel authored
based on their ordering. This is applicable to ETForest::dominates() also. llvm-svn: 35423
-
Zhou Sheng authored
2. Make the APInt value do the zext/trunc stuff instead of using ConstantExpr::getZExt(). llvm-svn: 35422
-
Evan Cheng authored
llvm-svn: 35420
-
Evan Cheng authored
llvm-svn: 35419
-
Zhou Sheng authored
llvm-svn: 35418
-
Zhou Sheng authored
llvm-svn: 35414
-
Reid Spencer authored
llvm-svn: 35411
-
Reid Spencer authored
describes its function as check against unresolved types and definitions. This is handy for forcing error messages in assembly test cases or otherwise ensuring that everything is resolved at that point in the assembly. llvm-svn: 35410
-
Zhou Sheng authored
1. Line out nested use of zext/trunc. 2. Make more use of getHighBitsSet/getLowBitsSet. 3. Use APInt[] != 0 instead of "(APInt & SignBit) != 0". llvm-svn: 35408
-
Evan Cheng authored
llvm-svn: 35407
-
Evan Cheng authored
llvm-svn: 35406
-
Reid Spencer authored
llvm-svn: 35405
-
Evan Cheng authored
1) Take address scale into consideration. e.g. i32* -> scale 4. 2) Examine all the users of GEP. 3) Generalize to inter-block GEP's (no longer uses loopinfo). 4) Don't do xform if GEP has other variable index(es). llvm-svn: 35403
-