- Jan 06, 2013
-
-
Evan Cheng authored
Fix for PR14739. It's not safe to fold a load into a call across a store. Thanks to Nick Lewycky for the initial patch. llvm-svn: 171665
-
Dmitri Gribenko authored
This is coming up again and again on the mailing list and IRC. llvm-svn: 171656
-
Sylvestre Ledru authored
llvm-svn: 171655
-
Sean Silva authored
llvm-svn: 171654
-
Andrew Trick authored
Indirect branch in the preheader crashes replaceCongruentIVs. Fixes rdar://12910141. llvm-svn: 171653
-
Michael J. Spencer authored
llvm-svn: 171652
-
Michael J. Spencer authored
llvm-svn: 171651
-
Michael J. Spencer authored
llvm-svn: 171650
-
Michael J. Spencer authored
This currently prints the ELF program headers. llvm-svn: 171649
-
Michael J. Spencer authored
llvm-svn: 171648
-
Michael J. Spencer authored
llvm-svn: 171647
-
Michael J. Spencer authored
llvm-svn: 171645
-
Renato Golin authored
Signed-off-by:
Renato Golin <renato.golin@linaro.org> llvm-svn: 171642
-
- Jan 05, 2013
-
-
Manuel Klimek authored
To parse # correctly, we need to know whether it is the first token in a line - we can deduct this either from the whitespace or seeing that the token is the first in the file - we already calculate this information. This patch moves the identification of the first token into the getNextToken method and stores it inside the FormatToken, so the UnwrappedLineParser can stay independent of the SourceManager. llvm-svn: 171640
-
Manuel Klimek authored
Uses indent 0 for macros for now and resets the indent state to the level prior to the preprocessor directive. llvm-svn: 171639
-
Fariborz Jahanian authored
<objc/Protocol.h>. Caused by my recent changes for various builtin declarations of objc_msgSendSuper variety. // rdar://12489098 llvm-svn: 171638
-
David Blaikie authored
Based on code review feedback for r171604 from Chandler Carruth & Eric Christopher. Enabled by improvements to LLVM made in r171636. llvm-svn: 171637
-
David Blaikie authored
Based on code review feedback in r171604 from Chandler Carruth & Eric Christopher. llvm-svn: 171636
-
Manuel Klimek authored
A preprocessor directive cannot be started while we're parsing one. llvm-svn: 171635
-
David Blaikie authored
Catch some cases I'd missed in r171605 related to unnamed parameters of record type. This resolves all remaining cases of PR14573 suppression in the GDB 7.5 test suite. Fix to the test suite to follow. llvm-svn: 171633
-
David Blaikie authored
A rather egregious example of the grep-style checking of old that I randomly came across. llvm-svn: 171631
-
Dmitri Gribenko authored
'clang' to use it as the compiler. llvm-svn: 171630
-
Michael Gottesman authored
Added debug message to ObjCARC when we transform objc_retainAutorelasedReturnValue => objc_retain since the operand to said function is not a return value. llvm-svn: 171629
-
Michael Gottesman authored
Added debug message for ObjCARC when we zap an objc_autoreleaseReturnValue/objc_retainAutoreleasedValue pair. llvm-svn: 171628
-
Chris Lattner authored
when merging two TBAA tags, pointed out by Nuno. llvm-svn: 171627
-
Chandler Carruth authored
pass into the SelectionDAG itself rather than snooping on the implementation of that pass as exposed by the TargetMachine. This removes the last direct client of the ScalarTargetTransformInfo class outside of the TTI pass implementation. llvm-svn: 171625
-
Benjamin Kramer authored
This isn't optimal either but fixes a massive compile time regression from the attribute uniquing work. llvm-svn: 171624
-
Chandler Carruth authored
Sorry for the noise here, 'make check' doesn't build this code. =/ llvm-svn: 171623
-
Chandler Carruth authored
passes to a create-pass function instead of a direct constructor call. llvm-svn: 171622
-
Chandler Carruth authored
interfaces which could be extracted from it, and must be provided on construction, to a chained analysis group. The end goal here is that TTI works much like AA -- there is a baseline "no-op" and target independent pass which is in the group, and each target can expose a target-specific pass in the group. These passes will naturally chain allowing each target-specific pass to delegate to the generic pass as needed. In particular, this will allow a much simpler interface for passes that would like to use TTI -- they can have a hard dependency on TTI and it will just be satisfied by the stub implementation when that is all that is available. This patch is a WIP however. In particular, the "stub" pass is actually the one and only pass, and everything there is implemented by delegating to the target-provided interfaces. As a consequence the tools still have to explicitly construct the pass. Switching targets to provide custom passes and sinking the stub behavior into the NoTTI pass is the next step. llvm-svn: 171621
-
Chandler Carruth authored
llvm-svn: 171620
-
Chandler Carruth authored
llvm-svn: 171619
-
Chandler Carruth authored
interface. llvm-svn: 171618
-
Chandler Carruth authored
the ScalarTargetTransformInfo interface. llvm-svn: 171617
-
Chandler Carruth authored
interface rather than the ScalarTargetTransformInterface. llvm-svn: 171616
-
Chandler Carruth authored
VectorTargetTransformInfo into the TargetTransformInfo pass, implementing them be delegating back out to the two subobjects. This is the first step to folding the interfaces together and making TargetTransformInfo a normal analysis pass (specifically an analysis group which targets can provide target-specific analysis pass implementations of). No callers are migrated here, this just stubs out the interface. Next step will be to migrate all the callers to directly operate on TTI instead of STTI or VTTI respectively. That will allow replacing the machinery for delivering TTI without changing every caller at once. WIP, I promise all the duplicated interfaces will be removed in the end, this just decouples the steps of the process. llvm-svn: 171615
-
Chandler Carruth authored
values -- that's not required to fix the bug that was cropping up, and the values selected made the enumeration's underlying type signed and introduced some warnings. This fixes the -Werror build. The underlying issue here was that the DenseMapInfo was casting values completely outside the range of the underlying storage of the enumeration to the enumeration's type. GCC went and "optimized" that into infloops and other misbehavior. By providing designated special values for these keys in the dense map, we ensure they are indeed representable and that they won't be used for anything else. It might be better to reuse None for the empty key and have the tombstone share the value of the sentinel enumerator, but honestly having 2 extra enumerators seemed not to matter and this seems a bit simpler. I'll let Bill shuffle this around (or ask me to shuffle it around) if he prefers it to look a different way. I also made the switch a bit more clear (and produce a better assert) that the enumerators are *never* going to show up and are errors if they do. llvm-svn: 171614
-
Chandler Carruth authored
unused, there were transitive includes needed. llvm-svn: 171613
-
Chandler Carruth authored
llvm-svn: 171612
-
NAKAMURA Takumi authored
IR/Attributes: Provide EmptyKey and TombstoneKey in part of enum, as workaround for gcc-4.4 take #2. I will investigate, later, what was wrong. I am too tired for now. llvm-svn: 171611
-