- Jan 12, 2013
-
-
Jack Carter authored
register names in the standalone assembler llvm-mc. Registers such as $A1 can represent either a 32 or 64 bit register based on the instruction using it. In addition, based on the abi, $T0 can represent different 32 bit registers. The problem is resolved by the Mips specific AsmParser td definitions changing to work together. Many cases of RegisterClass parameters are now RegisterOperand. Contributer: Vladimir Medic llvm-svn: 172284
-
Rafael Espindola authored
llvm-svn: 172283
-
rdar://problem/12239827Enrico Granata authored
Providing a data formatter for libc++ std::wstring In the process, refactoring the std::string data formatter to be written in C++ so that commonalities between the two can be exploited Also, providing a new API on the ValueObject to navigate a hierarchy by index-path Lastly, an appropriate test case is included llvm-svn: 172282
-
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
-
Matt Beaumont-Gay authored
Previously, -Wunused-comparison ignored comparisons in both macro bodies and macro arguments, but we would still emit a -Wunused-value warning for either. Now we correctly emit -Wunused-comparison for expressions in macro arguments. Also, add isMacroBodyExpansion to SourceManager, to go along with isMacroArgExpansion. llvm-svn: 172279
-
Fariborz Jahanian authored
of their own (or are syntheszed), use prperty's comment. for them. // rdar://12791315 llvm-svn: 172278
-
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
-
rdar://problem/12973809Greg Clayton authored
Fixed an issue with the auto loading of script resources in debug info files. Any platform can add support for this, and on MacOSX we allow dSYM files to contain python modules that get automatically loaded when a dSYM file is associated with an executable or shared library. The modifications will now: - Let the module locate the symbol file naturally instead of using a function that only works in certain cases. This helps us to locate the script resources as long as the dSYM file can be found. - Don't try and do any of this if the script interpreter has scripting disabled. - Allow more than one scripting resource to be found in a symbol file by returning the list - Load the scripting resources when a symbol file is added via the "target symbols add" command. - Be smarter about matching the dSYM mach-o file to an existing executable in the target images by stripping extensions on the symfile basname if needed. llvm-svn: 172275
-
Ted Kremenek authored
Fixes PR 14634 and <rdar://problem/12903080>. llvm-svn: 172274
-
Sean Callanan authored
import incomplete definitions for RecordDecls and then mark the resulting definition as complete. llvm-svn: 172273
-
Dmitri Gribenko authored
llvm-svn: 172272
-
Michael Gottesman authored
llvm-svn: 172271
-
Dmitri Gribenko authored
llvm-svn: 172270
-
- 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
-
Michael J. Spencer authored
llvm-svn: 172266
-
Michael J. Spencer authored
llvm-svn: 172265
-
Michael J. Spencer authored
llvm-svn: 172264
-
Ted Kremenek authored
Fixes assertion failure reported in PR 14635 and <rdar://problem/12902945> respectively. llvm-svn: 172263
-
Argyrios Kyrtzidis authored
Patch by David Greene. llvm-svn: 172262
-
Argyrios Kyrtzidis authored
llvm-svn: 172261
-
Argyrios Kyrtzidis authored
came from loading a PCH/module. llvm-svn: 172259
-
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
-
Ted Kremenek authored
Set process return code of 1 in set-xcode-analyzer when Xcode needs to be quit. Fixes <rdar://problem/12983031>. llvm-svn: 172256
-
Michael J. Spencer authored
llvm-svn: 172255
-
Nico Weber authored
llvm-svn: 172254
-
Dmitri Gribenko authored
llvm-svn: 172253
-
Dmitri Gribenko authored
const-correctness, and update all users llvm-svn: 172252
-
rdar://problem/12990038Greg Clayton authored
Fixed an issue where the platform auto select code was changing the architecture and causing the wrong architecture to be assigned to the target. llvm-svn: 172251
-
Howard Hinnant authored
llvm-svn: 172250
-
Dmitri Gribenko authored
llvm-svn: 172249
-
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
-
Rafael Espindola authored
Before we were only checking if the new declaration itself was marked extern C. Fixes prpr14766. llvm-svn: 172243
-
Fariborz Jahanian authored
(which may yet change if we move the diagnostic outside case value). llvm-svn: 172242
-
Dmitri Gribenko authored
llvm-svn: 172241
-