- Jan 12, 2013
-
-
Jakob Stoklund Olesen authored
When tryEvict() is looking for a cheaper register in the allocation order, skip the tail of too expensive registers when possible. llvm-svn: 172281
-
Jakob Stoklund Olesen authored
Remember the minimum cost of the registers in an allocation order and the number of registers at the end of the allocation order that have the same cost per use. This information can be used to limit the search space for RAGreedy::tryEvict() when looking for a cheaper register. llvm-svn: 172280
-
Eli Bendersky authored
llvm-svn: 172277
-
Eli Bendersky authored
The MCAsmParser interface defines ParseIdentifier is public. There's no reason whatsoever for AsmParser (which implements the MCAsmParser interface) to hide this method. This is all part of a bigger scheme. Several asm parsing "extensions" use the main parser properly through the MCAsmParser interface. However, GenericAsmParser has much more exclusive access and uses implementation details from the concrete implementation - AsmParser, in which it is also declared as a friend. This makes for overly coupled code, and even makes it hard to split GenericAsmParser into a separate file. There's no reason why GenericAsmParser shouldn't be able to access AsmParser through an abstract interface, as long as it's actually registered as an extension. llvm-svn: 172276
-
Michael Gottesman authored
llvm-svn: 172271
-
- Jan 11, 2013
-
-
Nadav Rotem authored
llvm-svn: 172269
-
Eli Bendersky authored
GenericAsmParser extension, where a lot of directives are already being parsed. The end goal is having just a single place (and a single lookup table) for all directive parsing. llvm-svn: 172268
-
Preston Gurd authored
Adds a check for -Oz, changes the code to not re-visit BBs, and skips over DBG_VALUE instrs. Patch by Andy Zhang. llvm-svn: 172258
-
Benjamin Kramer authored
llvm-svn: 172248
-
Michael Gottesman authored
Specifically: 1. Added a missing new line when we emit a debug message saying that we are marking a global variable as constant. 2. Added debug messages that describe what is occuring when GlobalOpt is evaluating a block/function. 3. Added a debug message that says what specific constructor is being evaluated. llvm-svn: 172247
-
Benjamin Kramer authored
This fixes some of the cycles between libCodeGen and libSelectionDAG. It's still a complete mess but as long as the edges consist of virtual call it doesn't cause breakage. BasicTTI did static calls and thus broke some build configurations. llvm-svn: 172246
-
Nadav Rotem authored
the target if it supports the different CAST types. We didn't do this on X86 because of the different register sizes and types, but on ARM this makes sense. llvm-svn: 172245
-
Justin Holewinski authored
llvm-svn: 172235
-
Justin Holewinski authored
Target Feature Matrix, and update the PTX column with this new category. llvm-svn: 172234
-
Eric Christopher authored
- recognize string "{memory}" in the MI generation - mark as mayload/maystore when there's a memory clobber constraint. PR14859. Patch by Krzysztof Parzyszek llvm-svn: 172228
-
Andrew Trick authored
llvm-svn: 172224
-
Andrew Trick authored
llvm-svn: 172223
-
Andrew Trick authored
llvm-svn: 172222
-
Andrew Trick authored
-dot-callgraph similarly follows a standard module pass pattern. Patch by Speziale Ettore! llvm-svn: 172220
-
Eli Bendersky authored
Patch by Michael Muller. llvm-svn: 172214
-
Tim Northover authored
This removes previous special cases for each floating-point type in favour of a shared codepath. llvm-svn: 172189
-
Dmitry Vyukov authored
Example: >DATA bin/clang 0x26e8e40 <llvm::SparcSubTypeKV <40799808 416 The last line is address and size of the object. llvm-svn: 172180
-
Nadav Rotem authored
ARM Cost Model: We need to detect the max bitwidth of types in the loop in order to select the max vectorization factor. We don't have a detailed analysis on which values are vectorized and which stay scalars in the vectorized loop so we use another method. We look at reduction variables, loads and stores, which are the only ways to get information in and out of loop iterations. If the data types are extended and truncated then the cost model will catch the cost of the vector zext/sext/trunc operations. llvm-svn: 172178
-
Michael Gottesman authored
llvm-svn: 172172
-
Michael Gottesman authored
This commit is a 4x squash commit consisting of 4x functions converted to use FileCheck instead of grep. Messages: Converted test case trivial_codegen_tailcall.ll to use FileCheck. Converted test return_constant.ll to use FileCheck instead of grep. Converted test reorder_load.ll to use FileCheck instead of grep. Converted test intervening-inst.ll to use FileCheck instead of grep. llvm-svn: 172171
-
NAKAMURA Takumi authored
Revert r172153, "llvm/lib/MC/MCParser/AsmParser.cpp: [ms-inline-asm] Fix a couple of undefined behaviors. Operand->needAddressOf() is not initialized at !Operand->isReg()." It has been redundant since r172157. llvm-svn: 172166
-
Jordan Rose authored
Right now, only OS X has a way to determine the column width of a string (PR14910). Until we have a good way to deal with this, we just won't print carets, source ranges, or fixits for SMDiagnostic if the source line has multibyte characters in it. llvm-svn: 172164
-
Sean Silva authored
Before we learned about :doc:, we used :ref: and put a dummy link at the top of each page. Don't do that anymore. This fixes PR14891 as a special case. llvm-svn: 172162
-
Sean Silva authored
PR14890 llvm-svn: 172160
-
Michael Ilseman authored
llvm-svn: 172159
-
NAKAMURA Takumi authored
llvm-svn: 172157
-
Dmitri Gribenko authored
supported. llvm-svn: 172156
-
Jakub Staszak authored
llvm-svn: 172155
-
NAKAMURA Takumi authored
llvm/lib/MC/MCParser/AsmParser.cpp: [ms-inline-asm] Fix a couple of undefined behaviors. Operand->needAddressOf() is not initialized at !Operand->isReg(). llvm-svn: 172153
-
Jakub Staszak authored
llvm-svn: 172151
-
Eli Bendersky authored
llvm-svn: 172149
-
Chad Rosier authored
r172121. llvm-svn: 172148
-
Eli Bendersky authored
llvm-svn: 172146
-
Shuxin Yang authored
The root cause is mistakenly taking for granted that "dyn_cast<Instruction>(a-Value)" return a non-NULL instruction. llvm-svn: 172145
-
Evan Cheng authored
Value's current type. The casting is trivial even for aggregate type. llvm-svn: 172143
-