| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 35489
|
| |
|
|
| |
llvm-svn: 35480
|
| |
|
|
|
|
| |
condition code.
llvm-svn: 35479
|
| |
|
|
|
|
|
| |
avoids a call to ::fstat by MappedFile when the file size information was
already obtained by the Path object.
llvm-svn: 35477
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 35475
|
| |
|
|
| |
llvm-svn: 35473
|
| |
|
|
|
|
| |
removed in a few days.
llvm-svn: 35472
|
| |
|
|
| |
llvm-svn: 35467
|
| |
|
|
| |
llvm-svn: 35464
|
| |
|
|
|
|
|
| |
to the inode number on Unix and something far less unique on Windows. The
windows case needs to be improved.
llvm-svn: 35461
|
| |
|
|
|
|
| |
Updates for change in interface of getFileStatus method of sys::Path class.
llvm-svn: 35458
|
| |
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
| |
2. Let APInt variable do the binary operation stuff instead of using
ConstantExpr::getXXX.
llvm-svn: 35450
|
| |
|
|
|
|
| |
big endian targets until llvm-gcc build issue has been resolved.
llvm-svn: 35449
|
| |
|
|
| |
llvm-svn: 35448
|
| |
|
|
| |
llvm-svn: 35446
|
| |
|
|
| |
llvm-svn: 35445
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
instead of using ConstantExpr::getXX.
2. Use constant reference to APInt if possible instead of expensive
APInt copy.
llvm-svn: 35443
|
| |
|
|
|
|
| |
front ends that do not depend on the GCC runtime (someday...).
llvm-svn: 35441
|
| |
|
|
| |
llvm-svn: 35439
|
| |
|
|
| |
llvm-svn: 35438
|
| |
|
|
|
|
| |
behaviour in some cases.
llvm-svn: 35437
|
| |
|
|
| |
llvm-svn: 35435
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
_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
|
| |
|
|
| |
llvm-svn: 35431
|
| |
|
|
| |
llvm-svn: 35430
|
| |
|
|
| |
llvm-svn: 35429
|
| |
|
|
|
|
|
|
| |
2. Use APInt[] instead of "X & SignBit".
3. Clean up some codes.
4. Make the expression like "ShiftAmt = ShiftAmtC->getZExtValue()" safe.
llvm-svn: 35424
|
| |
|
|
|
|
| |
based on their ordering. This is applicable to ETForest::dominates() also.
llvm-svn: 35423
|
| |
|
|
|
|
|
| |
2. Make the APInt value do the zext/trunc stuff instead of using
ConstantExpr::getZExt().
llvm-svn: 35422
|
| |
|
|
| |
llvm-svn: 35420
|
| |
|
|
| |
llvm-svn: 35419
|
| |
|
|
| |
llvm-svn: 35418
|
| |
|
|
| |
llvm-svn: 35414
|
| |
|
|
| |
llvm-svn: 35411
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 35407
|
| |
|
|
| |
llvm-svn: 35406
|
| |
|
|
| |
llvm-svn: 35405
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
When converting an add/xor/and triplet into a trunc/sext, only do so if the
intermediate integer type is a bitwidth that the targets can handle.
llvm-svn: 35400
|
| |
|
|
|
|
| |
not violate that.
llvm-svn: 35396
|
| |
|
|
| |
llvm-svn: 35394
|
| |
|
|
|
|
| |
system assembler not groking legal instructions like "leal (,%esi,8), %ecx".
llvm-svn: 35393
|
| |
|
|
| |
llvm-svn: 35392
|
| |
|
|
|
|
| |
the MMX instructions that are needed...
llvm-svn: 35389
|
| |
|
|
| |
llvm-svn: 35388
|