- Feb 18, 2011
-
-
Jakob Stoklund Olesen authored
The rewriter works almost identically to -rewriter=trivial, except it also eliminates any identity copies. This makes the new register allocators independent of VirtRegRewriter.cpp which will be going away at the same time as RegAllocLinearScan. llvm-svn: 125967
-
Owen Anderson authored
Add FixedLenDecoderEmitter, the skeleton of a new disassembler emitter for fixed-length instruction encodings. A major part of its (eventual) goal is to support a much cleaner separation between disassembly callbacks provided by the target and the disassembler emitter itself, i.e. not requiring hardcoding of knowledge in tblgen like the existing disassembly emitters do. The hope is that some day this will allow us to replace the existing non-Thumb ARM disassembler and remove some of the hacks the old one introduced to tblgen. llvm-svn: 125966
-
Chris Lattner authored
query about available library functions. For now this just has memset_pattern16, which exists on darwin, but it can be extended for a bunch of other things in the future. llvm-svn: 125965
-
Owen Anderson authored
llvm-svn: 125964
-
Bill Wendling authored
llvm-svn: 125960
-
Stephen Wilson authored
parallel with the rest of the tools directory as it depends on Clang. llvm-svn: 125956
-
Bruno Cardoso Lopes authored
llvm-svn: 125949
-
Bruno Cardoso Lopes authored
testcases for the disassembler to make sure it still works for "msr". llvm-svn: 125948
-
Chris Lattner authored
llvm-svn: 125943
-
Rafael Espindola authored
llvm-svn: 125845
-
Duncan Sands authored
overflow. These subsume some existing equality transforms, so zap those. llvm-svn: 125843
-
Benjamin Kramer authored
llvm-svn: 125842
-
Chris Lattner authored
llvm-svn: 125832
-
Chris Lattner authored
llvm-svn: 125831
-
Cameron Zwarich authored
llvm-svn: 125830
-
Chris Lattner authored
taken (and used!). This prevents merging the blocks (invalidating the block addresses) in a case like this: #define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; }) void foo() { printf("%p\n", _THIS_IP_); printf("%p\n", _THIS_IP_); printf("%p\n", _THIS_IP_); } which fixes PR4151. llvm-svn: 125829
-
Chris Lattner authored
llvm-svn: 125828
-
Chris Lattner authored
This is part of a futile attempt to not "break" bizzaro code like this: l1: printf("l1: %p\n", &&l1); ++x; if( x < 3 ) goto l1; Previously we'd fold &&l1 to 1, which is fine per our semantics but not helpful to the user. llvm-svn: 125827
-
Peter Collingbourne authored
llvm-svn: 125824
-
Joerg Sonnenberger authored
llvm-svn: 125805
-
Argyrios Kyrtzidis authored
llvm-svn: 125804
-
Jakob Stoklund Olesen authored
llvm-svn: 125802
-
Joerg Sonnenberger authored
Validate encoding of leave in 64bit mode. llvm-svn: 125795
-
Devang Patel authored
Do not lose debug info of an inlined function argument even if the argument is only used through GEPs. llvm-svn: 125794
-
Joerg Sonnenberger authored
llvm-svn: 125792
-
Chris Lattner authored
common operations through a phi. llvm-svn: 125790
-
- Feb 17, 2011
-
-
Jakob Stoklund Olesen authored
llvm-svn: 125789
-
Chris Lattner authored
llvm-svn: 125787
-
Oscar Fuentes authored
llvm-svn: 125786
-
Chris Lattner authored
result inbounds if all of the inputs are inbounds. llvm-svn: 125785
-
Nadav Rotem authored
Add getAllOnesValue of FP numbers to Constants and APFloat. Add more tests. llvm-svn: 125776
-
Chris Lattner authored
llvm-svn: 125774
-
David Greene authored
[AVX] Recorganize X86ShuffleDecode into its own library (LLVMX86Utils.a) to break cyclic library dependencies between LLVMX86CodeGen.a and LLVMX86AsmParser.a. Previously this code was in a header file and marked static but AVX requires some additional functionality here that won't be used by all clients. Since including unused static functions causes a gcc compiler warning, keeping it as a header would break builds that use -Werror. Putting this in its own library solves both problems at once. llvm-svn: 125765
-
Jakob Stoklund Olesen authored
A local live range is live in a single basic block. If such a range fails to allocate, try to find a sub-range that would get a larger spill weight than its interference. llvm-svn: 125764
-
Dan Gohman authored
these patterns. llvm-svn: 125759
-
Duncan Sands authored
the time but presumably my email got lost). Examples where the previous logic got it wrong: (1) a signed i8 multiply of 64 by 2 overflows, but the high part is zero; (2) a signed i8 multiple of -128 by 2 overflows, but the high part is all ones. llvm-svn: 125748
-
NAKAMURA Takumi authored
No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32. In llvm side, i686 and x64 can be treated as similar way. llvm-svn: 125747
-
NAKAMURA Takumi authored
llvm-svn: 125746
-
Duncan Sands authored
llvm-svn: 125738
-
Duncan Sands authored
variations (some of these were already present so I unified the code). Spotted by my auto-simplifier as occurring a lot. llvm-svn: 125734
-