- Jan 06, 2011
-
-
Evan Cheng authored
etc. takes an option OptSize. If OptSize is true, it would return the inline limit for functions with attribute OptSize. llvm-svn: 122952
-
Chandler Carruth authored
llvm-svn: 122951
-
Chris Lattner authored
ret i64 ptrtoint (i8* getelementptr ([1000 x i8]* @X, i64 1, i64 sub (i64 0, i64 ptrtoint ([1000 x i8]* @X to i64))) to i64) to "ret i64 1000". This allows us to correctly compute the trip count on a loop in PR8883, which occurs with std::fill on a char array. This allows us to transform it into a memset with a constant size. llvm-svn: 122950
-
Evan Cheng authored
llvm-svn: 122949
-
Michael J. Spencer authored
llvm-svn: 122948
-
Michael J. Spencer authored
llvm-svn: 122947
-
-
Cameron Zwarich authored
OptimizeInst() so that they can be used on a worklist instruction. llvm-svn: 122945
-
Cameron Zwarich authored
llvm-svn: 122944
-
Cameron Zwarich authored
into a separate function, so that it can be called from a loop using a worklist rather than a loop traversing a whole basic block. llvm-svn: 122943
-
John McCall authored
The initial TreeTransform is a cop-out, but it's more-or-less equivalent to what we were doing before, or rather what we're doing now and might eventually stop doing in favor of using this type. I am simultaneously intrigued by the possibilities of rebuilding a dependent Attri llvm-svn: 122942
-
Jakob Stoklund Olesen authored
llvm-svn: 122941
-
Jakob Stoklund Olesen authored
Simplify RALinScan::DowngradeRegister with TRI::getOverlaps while we are there. llvm-svn: 122940
-
Jakob Stoklund Olesen authored
This pass precomputes CFG block frequency information that can be used by the register allocator to find optimal spill code placement. Given an interference pattern, placeSpills() will compute which basic blocks should have the current variable enter or exit in a register, and which blocks prefer the stack. The algorithm is ready to consume block frequencies from profiling data, but for now it gets by with the static estimates used for spill weights. This is a work in progress and still not hooked up to RegAllocGreedy. llvm-svn: 122938
-
Bill Wendling authored
llvm-svn: 122937
-
Evan Cheng authored
up freebsd bootloader. However, this doesn't make much sense for Darwin, whose -Os is meant to optimize for size only if it doesn't hurt performance. rdar://8821501 llvm-svn: 122936
-
Evan Cheng authored
the original type of the switch statement key. rdar://8781238 llvm-svn: 122935
-
Bill Wendling authored
works only on MinGW32. On 64-bit, the function to call is "__chkstk". Patch by KS Sreeram! llvm-svn: 122934
-
Bill Wendling authored
beginning of the "main" function. The assembler complains about the invalid suffix for the 'call' instruction. The right instruction is "callq __main". Patch by KS Sreeram! llvm-svn: 122933
-
Cameron Zwarich authored
worklist, the key will need to become std::pair<BasicBlock*, Value*>. llvm-svn: 122932
-
Douglas Gregor authored
initialize *all* of the bits to zero. Also, when the pattern of a template argument pack expansion, make sure to set the ellipsis location along all paths. This should clear up the valgrind failure that popped up in Clang. llvm-svn: 122931
-
Johnny Chen authored
number string as found in the resources/LLDB-info.plist file. llvm-svn: 122930
-
Owen Anderson authored
llvm-svn: 122929
-
Douglas Gregor authored
Fast-path an arity check when performing template argument deduction that compares two parameter-type-lists. No functionality change. llvm-svn: 122928
-
Douglas Gregor authored
TypeSourceInfo when transforming a function parameter. The callees of this routine already assume that TypeSourceInfo will be present, and we want to always be sure that it exists. llvm-svn: 122927
-
Douglas Gregor authored
1) Declaration of function parameter packs 2) Instantiation of function parameter packs within function types. 3) Template argument deduction of function parameter packs when matching two function types. We're missing all of the important template-instantiation logic for function template definitions, along with template argument deduction from the argument list of a function call, so don't even think of trying to use these for real yet. llvm-svn: 122926
-
Evan Cheng authored
r1025 = s/zext r1024, 4 r1026 = extract_subreg r1025, 4 to: r1026 = copy r1024 llvm-svn: 122925
-
Douglas Gregor authored
llvm-svn: 122924
-
Fariborz Jahanian authored
property when it is 'readonly'. // rdar://8820813 llvm-svn: 122923
-
- Jan 05, 2011
-
-
Johnny Chen authored
previously added ordinal number of the currently running test case. llvm-svn: 122922
-
Chris Lattner authored
llvm-svn: 122921
-
Chris Lattner authored
llvm-svn: 122920
-
Jakob Stoklund Olesen authored
calculated. llvm-svn: 122912
-
Jakob Stoklund Olesen authored
llvm-svn: 122911
-
Eric Christopher authored
llvm-svn: 122909
-
Owen Anderson authored
in the predecessor block, leading to an incorrect conclusion for the edge value. Found by inspection. llvm-svn: 122908
-
Bob Wilson authored
My i386 llvm-gcc nightly tester found a regression for SingleSource/Benchmarks/McGill/chomp that a bisect blamed on 122743. That seems strange but apparently the combination of earlycse and instcombine did something bad. Chris says he intended to remove the instcombine pass, so let's go ahead and try that. We'll see if there are any performance losses. llvm-svn: 122907
-
Owen Anderson authored
hasBlockValue() that was causing iterator invalidations. Many thanks to Dimitry Andric for tracking down those invalidations! llvm-svn: 122906
-
Douglas Gregor authored
llvm-svn: 122905
-
Douglas Gregor authored
parameter packs, along with ParmVarDecl::isParameterPack(), which looks for function parameter packs. Use these routines to fix some obvious FIXMEs. llvm-svn: 122904
-