- Dec 11, 2012
-
-
Patrik Hagglund authored
llvm-svn: 169839
-
Patrik Hagglund authored
EVT. Accordingly, change RegDefIter to contain MVTs instead of EVTs. llvm-svn: 169838
-
Patrik Hagglund authored
Accordingly, add helper funtions getSimpleValueType (in parallel to getValueType) in SDValue, SDNode, and TargetLowering. This is the first, in a series of patches. llvm-svn: 169837
-
Kostya Serebryany authored
llvm-svn: 169836
-
Argyrios Kyrtzidis authored
a file or directory, allowing just a stat call if a file descriptor is not needed. Doing just 'stat' is faster than 'open/fstat/close'. This has the effect of cutting down system time for validating the input files of a PCH. llvm-svn: 169831
-
Argyrios Kyrtzidis authored
This became redundant after we removed the stat cache. llvm-svn: 169830
-
Argyrios Kyrtzidis authored
entries of the same file. This can happen because the file was "included" multiple times and is referenced by multiple SLocEntries. llvm-svn: 169829
-
Kostya Serebryany authored
llvm-svn: 169828
-
NAKAMURA Takumi authored
Sorry for my 3rd commit :( llvm-svn: 169827
-
NAKAMURA Takumi authored
clang/test/Driver/debug-options-as.c: Fixup not to use prefix=S. I didn't know "REQUIRES:" would match --check-prefix=S ... llvm-svn: 169826
-
NAKAMURA Takumi authored
It is not set at targetting cygming. See PR12920. llvm-svn: 169824
-
Hao Liu authored
llvm-svn: 169823
-
Kostya Serebryany authored
llvm-svn: 169822
-
Hao Liu authored
llvm-svn: 169821
-
NAKAMURA Takumi authored
llvm-svn: 169819
-
NAKAMURA Takumi authored
-#include "llvm/Target/TargetTransformImpl.h" -#include "llvm/TargetTransformInfo.h" llvm-svn: 169818
-
NAKAMURA Takumi authored
llvm-svn: 169817
-
NAKAMURA Takumi authored
llvm/Target/TargetMachine.h will not provide "llvm/TargetTransformInfo.h" any more. llvm-svn: 169816
-
Rafael Espindola authored
We don't want to relax all instructions in $ clang -c test.s since most users don't pass -O when using the driver to assemble. On the other hand, -save-temps should not change the output unnecessary, so in $ clang -c test.c -save-temps we should relax all instructions. llvm-svn: 169815
-
Jyotsna Verma authored
llvm-svn: 169814
-
Nadav Rotem authored
llvm-svn: 169813
-
Rafael Espindola authored
llvm-svn: 169812
-
Evan Cheng authored
llvm-svn: 169811
-
Jim Ingham authored
<rdar://problem/10976636> llvm-svn: 169810
-
rdar://problem/12639506Enrico Granata authored
Make sure that the user's choice of a format for dumping aggregate types is persisted to child members llvm-svn: 169809
-
Jason Molenda authored
make it clear that this is the list of callee-saved registers, add reference to the ABI doc that this comes from. llvm-svn: 169807
-
rdar://problem/12842032Greg Clayton authored
Don't load __LINKEDIT segments when dynamically loading kexts. llvm-svn: 169806
-
Richard Smith authored
definition, rather than at the end of the definition of the set of nested classes. We still defer checking of the user-specified exception specification to the end of the nesting -- we can't check that until we've parsed the in-class initializers for non-static data members. llvm-svn: 169805
-
Chad Rosier authored
llvm-svn: 169803
-
Chandler Carruth authored
try to reduce the width of this load, and would end up transforming: (truncate (lshr (sextload i48 <ptr> as i64), 32) to i32) to (truncate (zextload i32 <ptr+4> as i64) to i32) We lost the sext attached to the load while building the narrower i32 load, and replaced it with a zext because lshr always zext's the results. Instead, bail out of this combine when there is a conflict between a sextload and a zext narrowing. The rest of the DAG combiner still optimize the code down to the proper single instruction: movswl 6(...),%eax Which is exactly what we wanted. Previously we read past the end *and* missed the sign extension: movl 6(...), %eax llvm-svn: 169802
-
Paul Redmond authored
This test case uses -mcpu=corei7 so it belongs in CodeGen/X86 Reviewed by: Nadav llvm-svn: 169801
-
Han Ming Ong authored
llvm-svn: 169799
-
Bill Wendling authored
llvm-svn: 169798
-
Chad Rosier authored
This shouldn't affect codegen for -O0 compiles as tail call markers are not emitted in unoptimized compiles. Testing with the external/internal nightly test suite reveals no change in compile time performance. Testing with -O1, -O2 and -O3 with fast-isel enabled did not cause any compile-time or execution-time failures. All tests were performed on my x86 machine. I'll monitor our arm testers to ensure no regressions occur there. In an upcoming clang patch I will be marking the objc_autoreleaseReturnValue and objc_retainAutoreleaseReturnValue as tail calls unconditionally. While it's theoretically true that this is just an optimization, it's an optimization that we very much want to happen even at -O0, or else ARC applications become substantially harder to debug. Part of rdar://12553082 llvm-svn: 169796
-
Anna Zaks authored
inlined. Fixes a false positive that occurs if a user writes their own initWithBytesNoCopy:freeWhenDone wrapper. llvm-svn: 169795
-
Michael J. Spencer authored
llvm-svn: 169794
-
Eric Christopher authored
controls each of the abbreviation sets (only a single one at the moment) and computes offsets separately as well for each set of DIEs. No real function change, ordering of abbreviations for the skeleton CU changed but only because we're computing in a separate order. Fix the testcase not to care. llvm-svn: 169793
-
-
Evan Cheng authored
1. Teach it to use overlapping unaligned load / store to copy / set the trailing bytes. e.g. On 86, use two pairs of movups / movaps for 17 - 31 byte copies. 2. Use f64 for memcpy / memset on targets where i64 is not legal but f64 is. e.g. x86 and ARM. 3. When memcpy from a constant string, do *not* replace the load with a constant if it's not possible to materialize an integer immediate with a single instruction (required a new target hook: TLI.isIntImmLegal()). 4. Use unaligned load / stores more aggressively if target hooks indicates they are "fast". 5. Update ARM target hooks to use unaligned load / stores. e.g. vld1.8 / vst1.8. Also increase the threshold to something reasonable (8 for memset, 4 pairs for memcpy). This significantly improves Dhrystone, up to 50% on ARM iOS devices. rdar://12760078 llvm-svn: 169791
-
Arnold Schwaighofer authored
Analyse Phis under the starting assumption that they are NoAlias. Recursively look at their inputs. If they MayAlias/MustAlias there must be an input that makes them so. Addresses bug 14351. llvm-svn: 169788
-