| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Allow template arg names to be Inits. This is further work to
implement paste as it allows template names to participate in paste
operations.
llvm-svn: 142500
|
| |
|
|
|
|
|
| |
Convert SetValue to take the value name as an Init. This allows us to
set values for variables whose names are not yet fully resolved.
llvm-svn: 142499
|
| |
|
|
|
|
|
|
| |
Add a couple of utility functions to take a variable name and qualify
it with the namespace of the enclosing class and/or multiclass. This
is inpreparation for making template arg names first-class Inits.
llvm-svn: 142498
|
| |
|
|
|
|
|
|
| |
Make the VarInit name an Init itself. We need this to implement paste
functionality so we can reference variables whose names are not yet
completely resolved.
llvm-svn: 142497
|
| |
|
|
|
|
|
|
| |
Add accessors to get Record values by Init name. This lets us look up
Record values whose names are not yet fully resolved. More work
toward paste.
llvm-svn: 142496
|
| |
|
|
|
|
|
| |
Add a utility to get the name init and get the string representation
of the name. This will be used for paste functionality.
llvm-svn: 142495
|
| |
|
|
|
|
|
| |
Add a couple of utility functions to get at the name init and return
the name init as a string. This will be used for paste functionality.
llvm-svn: 142494
|
| |
|
|
|
|
|
|
|
| |
and switches, with arbitrary numbers of successors. Still optimized for
the common case of 2 successors for a conditional branch.
Add a test case for switch metadata showing up in the BlockFrequencyInfo pass.
llvm-svn: 142493
|
| |
|
|
|
|
|
|
|
|
|
| |
encoding of probabilities. In the absense of metadata, it continues to
fall back on static heuristics.
This allows __builtin_expect, after lowering through llvm.expect
a branch instruction's metadata, to actually enter the branch
probability model. This is one component of resolving PR2577.
llvm-svn: 142492
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
layer already had support for printing the results of this analysis, but
the wiring was missing.
Now that printing the analysis works, actually bring some of this
analysis, and the BranchProbabilityInfo analysis that it wraps, under
test! I'm planning on fixing some bugs and doing other work here, so
having a nice place to add regression tests and a way to observe the
results is really useful.
llvm-svn: 142491
|
| |
|
|
|
|
| |
compiler. Also that the configure script takes care of finding an appropriate compiler if one's not specified.
llvm-svn: 142489
|
| |
|
|
| |
llvm-svn: 142488
|
| |
|
|
| |
llvm-svn: 142486
|
| |
|
|
|
|
| |
use a constant pool.
llvm-svn: 142485
|
| |
|
|
| |
llvm-svn: 142484
|
| |
|
|
| |
llvm-svn: 142482
|
| |
|
|
|
|
|
| |
Move to a separate test that sets a specific target triple
so that the type of ssize_t is known.
llvm-svn: 142481
|
| |
|
|
| |
llvm-svn: 142480
|
| |
|
|
| |
llvm-svn: 142478
|
| |
|
|
| |
llvm-svn: 142477
|
| |
|
|
| |
llvm-svn: 142476
|
| |
|
|
| |
llvm-svn: 142475
|
| |
|
|
|
|
|
| |
Python needs this in its structure definition so it allocates enough
memory. From Anders Waldenborg!
llvm-svn: 142474
|
| |
|
|
|
|
| |
template with a non-final parameter pack. Also improve the warning for non-final parameter packs in this scenario so it only fires once, rather than once for every template parameter after the non-final parameter pack.
llvm-svn: 142473
|
| |
|
|
|
|
| |
around the brokenness of code completion under -fdelayed-template-parsing
llvm-svn: 142472
|
| |
|
|
|
|
| |
otherwise lldb will suffer.
llvm-svn: 142471
|
| |
|
|
| |
llvm-svn: 142469
|
| |
|
|
|
|
| |
be implicitly instantiated (resulting in a redefinition) in C++98.
llvm-svn: 142468
|
| |
|
|
|
|
| |
Fixes rdar://10282889
llvm-svn: 142467
|
| |
|
|
|
|
| |
lexical blocks for debug info.
llvm-svn: 142466
|
| |
|
|
| |
llvm-svn: 142465
|
| |
|
|
| |
llvm-svn: 142464
|
| |
|
|
|
|
| |
control diagnostic.
llvm-svn: 142463
|
| |
|
|
| |
llvm-svn: 142462
|
| |
|
|
|
|
|
|
|
|
|
| |
so we don't have to lookup types in a type list by ID.
Changed the DWARF parser to remove the "can externally complete myself" bits
from the type when we are in the process of completing the type itself to
avoid an onslaught of external visible decl requests from the
clang::ExternalASTSource.
llvm-svn: 142461
|
| |
|
|
| |
llvm-svn: 142460
|
| |
|
|
|
|
|
| |
iboutletcollection attribute. But ignore protocol
list. // rdar://10296078
llvm-svn: 142459
|
| |
|
|
|
|
| |
used with the CMP instruction.
llvm-svn: 142458
|
| |
|
|
| |
llvm-svn: 142457
|
| |
|
|
|
|
|
|
|
|
| |
so that projects/sample is standalone and not tied to the LLVM build setup.
- This currently just moves over all of the behavior from LLVM. Eventually all of the configure checks that are directly needed by the LLVM build setup should probably go away, and the project should manage their own configuration checks if necessary.
- This is the 1st half of this work, the actual Makefile.common hasn't moved over yet. I've tried to stage this in such a way that incremental builds will properly reconfigure for most active developers (the Makefiles don't handle reconfiguring in a perfectly reliable way, and I haven't found an easy way to make them do so).
llvm-svn: 142456
|
| |
|
|
|
|
| |
This reverts commit 494f7ac3e8d2ab3d94e52317abf9c42a949fe1f3.
llvm-svn: 142455
|
| |
|
|
| |
llvm-svn: 142454
|
| |
|
|
|
|
| |
NodeBuilder should not assume it's dealing with a single predecessor. Remove predecessor getters. Modify the BranchNodeBuilder to not be responsible for doing auto-transitions (which depend on a predecessor).
llvm-svn: 142453
|
| |
|
|
|
|
| |
It now only depends on a generic NodeBuilder instead. As part of this change, make the generic node builder results finalized by default.
llvm-svn: 142452
|
| |
|
|
| |
llvm-svn: 142451
|
| |
|
|
|
|
| |
ExprEngineBuilders is not used.
llvm-svn: 142450
|
| |
|
|
| |
llvm-svn: 142449
|
| |
|
|
|
|
| |
Take advantage of the new builders for branch processing. As part of this change pass generic NodeBuilder (instead of BranchNodeBuilder) to the BranchCondition callback and remove the unused methods form BranchBuilder.
llvm-svn: 142448
|
| |
|
|
|
|
| |
Each builder will have a different one, so it doesn't make sense to keep it in the context.
llvm-svn: 142447
|
| |
|
|
| |
llvm-svn: 142446
|