- Jan 21, 2013
-
-
Chris Lattner authored
it reason about the current bit position, which is always independent of the underlying cursors word size. llvm-svn: 173063
-
Chris Lattner authored
llvm-svn: 173062
-
Nadav Rotem authored
llvm-svn: 173061
-
Tom Stellard authored
Patch by: Michel Dänzer Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> Reviewed-by:
Christian König <christian.koenig@amd.com> Signed-off-by:
Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 173053
-
Tom Stellard authored
Patch by: Michel Dänzer Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> Reviewed-by:
Christian König <christian.koenig@amd.com> Signed-off-by:
Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 173052
-
Tom Stellard authored
Patch by: Michel Dänzer Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> Reviewed-by:
Christian König <christian.koenig@amd.com> Signed-off-by:
Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 173051
-
NAKAMURA Takumi authored
llvm-svn: 173040
-
Chandler Carruth authored
is free. The whole CodeMetrics API should probably be reworked more, but this is enough to allow deleting the duplicate code there for computing whether an instruction is free. All of the passes using this have been updated to pull in TTI and hand it to the CodeMetrics stuff. Further, a dead CodeMetrics API (analyzeFunction) is nuked for lack of users. llvm-svn: 173036
-
Chandler Carruth authored
This change brought to by clang-format. =] llvm-svn: 173034
-
Chandler Carruth authored
analysis. How cute that it wasn't previously. ;] Part of this confusion stems from the flattened header file tree. Thanks to Benjamin for pointing out the goof on IRC, and we're considering un-flattening the headers, so speak now if that would bug you. llvm-svn: 173033
-
Chandler Carruth authored
old CodeMetrics system. TTI has the specific advantage of being extensible and customizable by targets to reflect target-specific cost metrics. llvm-svn: 173032
-
Chandler Carruth authored
depend on and use other analyses (as long as they're either immutable passes or CGSCC passes of course -- nothing in the pass manager has been fixed here). Leverage this to thread TargetTransformInfo down through the inline cost analysis. No functionality changed here, this just threads things through. llvm-svn: 173031
-
Chandler Carruth authored
a dynamic analysis done on each call to the routine. However, now it can use the standard pass infrastructure to reference other analyses, instead of a silly setter method. This will become more interesting as I teach it about more analysis passes. This updates the two inliner passes to use the inline cost analysis. Doing so highlights how utterly redundant these two passes are. Either we should find a cheaper way to do always inlining, or we should merge the two and just fiddle with the thresholds to get the desired behavior. I'm leaning increasingly toward the latter as it would also remove the Inliner sub-class split. llvm-svn: 173030
-
Chandler Carruth authored
Formatting fixes brought to you by clang-format. llvm-svn: 173029
-
Chandler Carruth authored
functionality changed. llvm-svn: 173028
-
Chandler Carruth authored
llvm-svn: 173027
-
Chandler Carruth authored
and reformats a few constructors using clang-format. Only whitespace changes here. llvm-svn: 173018
-
Michael J. Spencer authored
This reverts commit r173007. llvm-svn: 173012
-
Craig Topper authored
llvm-svn: 173010
-
Craig Topper authored
llvm-svn: 173009
-
Craig Topper authored
llvm-svn: 173008
-
Michael J. Spencer authored
llvm-svn: 173007
-
Craig Topper authored
llvm-svn: 173006
-
Craig Topper authored
llvm-svn: 173005
-
Michael J. Spencer authored
llvm-svn: 173004
-
Chandler Carruth authored
llvm-svn: 172999
-
Chandler Carruth authored
lowered cost. Currently, this is a direct port of the logic implementing isInstructionFree in CodeMetrics. The hope is that the interface can be improved (f.ex. supporting un-formed instruction queries) and the implementation abstracted so that as we have test cases and target knowledge we can expose increasingly accurate heuristics to clients. I'll start switching existing consumers over and kill off the routine in CodeMetrics in subsequent commits. llvm-svn: 172998
-
NAKAMURA Takumi authored
LLVM_HAS_CXX11_TYPETRAITS -- std::is_constructible LLVM_HAS_CXX11_STDLIB -- std::unique_ptr llvm-svn: 172997
-
- Jan 20, 2013
-
-
Benjamin Kramer authored
Michael, can this test be ported to C++03? llvm-svn: 172996
-
Craig Topper authored
llvm-svn: 172995
-
Craig Topper authored
Capitalize lowerTRUNCATE so that it matches the other lower functions in this file despite it not matching coding standards. llvm-svn: 172994
-
Renato Golin authored
llvm-svn: 172992
-
Michael J. Spencer authored
llvm-svn: 172991
-
Benjamin Kramer authored
llvm-svn: 172990
-
Richard Osborne authored
llvm-svn: 172987
-
Richard Osborne authored
llvm-svn: 172986
-
Richard Osborne authored
llvm-svn: 172985
-
Richard Osborne authored
It is not possible to distinguish 3r instructions from 2r / rus instructions using only the fixed bits. Therefore if an instruction doesn't match the 2r / rus format try to decode it as a 3r instruction before returning Fail. llvm-svn: 172984
-
NAKAMURA Takumi authored
On valgrind the processor is reported; Host CPU: athlon-fx llvm-svn: 172983
-
NAKAMURA Takumi authored
llvm-svn: 172981
-