- Apr 19, 2011
-
-
Jakob Stoklund Olesen authored
This means that the new register allocator can be used with 'clang -mllvm -regalloc=greedy'. llvm-svn: 129764
-
Eli Friedman authored
unnecessary work where possible. llvm-svn: 129763
-
-
Jay Foad authored
llvm-svn: 129759
-
Jakob Stoklund Olesen authored
Ideally, we would match an S-register to its containing D-register, but that requires arithmetic (divide by 2). llvm-svn: 129756
-
Chris Lattner authored
en-mass for C++ PODs. On my c++ test file, this cuts the fast isel rejects by 10x and shrinks the generated .s file by 5% llvm-svn: 129755
-
Chris Lattner authored
llvm-svn: 129753
-
Chris Lattner authored
when they are a truncate from something else. This eliminates fully half of all the fastisel rejections on a test c++ file I'm working with, which should make a substantial improvement for -O0 compile of c++ code. This fixed rdar://9297003 - fast isel bails out on all functions taking bools llvm-svn: 129752
-
Chris Lattner authored
Before we would bail out on i1 arguments all together, now we just bail on non-constant ones. Also, we used to emit extraneous code. e.g. test12 was: movb $0, %al movzbl %al, %edi callq _test12 and test13 was: movb $0, %al xorl %edi, %edi movb %al, 7(%rsp) callq _test13f Now we get: movl $0, %edi callq _test12 and: movl $0, %edi callq _test13f llvm-svn: 129751
-
Chris Lattner authored
testb $1, %al je LBB0_2 ## BB#1: ## %if.then movb $0, %al instead of: testb $1, %al jne LBB0_1 jmp LBB0_2 LBB0_1: ## %if.then movb $0, %al how 'bout that. llvm-svn: 129749
-
rdar://9297006Chris Lattner authored
a common cause of fast isel rejects on c++ code. llvm-svn: 129748
-
Evan Cheng authored
is, it assumes addresses are 64-bit aligned (which should be the more common case). If the alignment is found not to be aligned, then getOperandLatency() would adjust the operand latency computation by one to compensate for it. rdar://9294833 llvm-svn: 129742
-
Jakob Stoklund Olesen authored
llvm-svn: 129739
-
Evan Cheng authored
llvm-svn: 129738
-
Francois Pichet authored
This was causing a flooding of warnings with MSVC 2008. This warning was removed in MSVC 2010. llvm-svn: 129737
-
NAKAMURA Takumi authored
H1 ... doc_title H2 ... doc_section H3 ... doc_subsection H4 ... doc_subsubsection llvm-svn: 129736
-
Devang Patel authored
llvm-svn: 129735
-
Ted Kremenek authored
Add BumpPtrAllocator::getTotalMemory() to allow clients to query how much memory a BumpPtrAllocator allocated. llvm-svn: 129727
-
Devang Patel authored
Remove test to check line numbers. There are other numerous tests in our test harness to check line number information. llvm-svn: 129725
-
- Apr 18, 2011
-
-
Jim Grosbach authored
llvm-svn: 129723
-
Eric Christopher authored
true on success and false on failure. Update callers. llvm-svn: 129722
-
Eli Friedman authored
llvm-svn: 129720
-
Eli Friedman authored
small heap-allocated SmallString because it unconditionally forces a malloc. (Revised version of r129688, with the necessary flush() call.) llvm-svn: 129716
-
Devang Patel authored
llvm-svn: 129715
-
Jakob Stoklund Olesen authored
the spilled register. This is quite common on ARM now that some stores have early-clobber defines. llvm-svn: 129714
-
Sean Callanan authored
superclass variable is instantiated properly. llvm-svn: 129713
-
Eric Christopher authored
registers for fast allocation a different way. This has us updating used registers only when we're using that exact register. Fixes rdar://9207598 llvm-svn: 129711
-
Chandler Carruth authored
silences Clang's -Wunused-function when building in release mode. llvm-svn: 129709
-
Owen Anderson authored
llvm-svn: 129708
-
Anders Carlsson authored
llvm-svn: 129696
-
Chris Lattner authored
this fixes a few rejects on c++ iterator loops. llvm-svn: 129694
-
-
Chris Lattner authored
the generated FastISel. X86 doesn't need to generate code to match ADD16ri8 since ADD16ri will do just fine. This is a small codesize win in the generated instruction selector. llvm-svn: 129692
-
Chris Lattner authored
value constraints on them (when defined as ImmLeaf's). This is particularly important for X86-64, where almost all reg/imm instructions take a i64immSExt32 immediate operand, which has a value constraint. Before this patch we ended up iseling the examples into such amazing code as: movabsq $7, %rax imulq %rax, %rdi movq %rdi, %rax ret now we produce: imulq $7, %rdi, %rax ret This dramatically shrinks the generated code at -O0 on x86-64. llvm-svn: 129691
-
Chris Lattner authored
and to not rely on the register allocator's arbitrary operand choices. llvm-svn: 129690
-
Eli Friedman authored
llvm-svn: 129689
-
Eli Friedman authored
small heap-allocated SmallString because it unconditionally forces a malloc. llvm-svn: 129688
-
Eli Friedman authored
reduces the number of calls to malloc(). llvm-svn: 129687
-
Anders Carlsson authored
Use an empty ArrayRef instead of an empty std::vector for the Function::get overload that takes no parameters. llvm-svn: 129686
-
NAKAMURA Takumi authored
H1 ... Title (and might be Chapter in future) H2 ... Section H3 ... Subsection H4 ... Sub-subsection llvm-svn: 129683
-