- Oct 19, 2011
-
-
David Greene authored
Add Record names to be changed even on Records that aren't yet registered. We need to be able to do this for paste functionality because we do not want to register def names before they are unique and that can only happen once all paste operations are done. This change lets us update Record names formed by paste operations and register the result later. llvm-svn: 142510
-
David Greene authored
Call the common Record initializer code from constructors. llvm-svn: 142509
-
David Greene authored
Add a Record constructor that takes the Record name as an Init. This is more work toward paste functionality. llvm-svn: 142508
-
David Greene authored
Split up the initializer list for Record to avoid 80-col issues. llvm-svn: 142507
-
David Greene authored
Ask for the Record name as a string explicitly to avoid a possible assert. llvm-svn: 142506
-
David Greene authored
Ask for the Record name as a string explicitly to avoid a possible assert. llvm-svn: 142505
-
David Greene authored
Ask for the record name as a string explicitly to avoid a potential assert. llvm-svn: 142504
-
David Greene authored
Avoid a potential assert by asking for record names as strings explicitly. llvm-svn: 142503
-
David Greene authored
Record names may not be fully resolved at this point so ask for the record name as a string explicitly. This avoids a potential assert. llvm-svn: 142502
-
David Greene authored
Add an init function to be shared among Record constructors. llvm-svn: 142501
-
David Greene authored
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
-
David Greene authored
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
-
David Greene authored
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
-
David Greene authored
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
-
David Greene authored
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
-
David Greene authored
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
-
David Greene authored
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
-
Chandler Carruth authored
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
-
Chandler Carruth authored
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
-
Chandler Carruth authored
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
-
Bill Wendling authored
Duncan pointed out that sometimes CC and CXX are used to specify the compiler. Also that the configure script takes care of finding an appropriate compiler if one's not specified. llvm-svn: 142489
-
Nadav Rotem authored
llvm-svn: 142488
-
Bill Wendling authored
llvm-svn: 142486
-
Bill Wendling authored
llvm-svn: 142485
-
Bill Wendling authored
llvm-svn: 142484
-
Bill Wendling authored
llvm-svn: 142482
-
Hans Wennborg authored
Move to a separate test that sets a specific target triple so that the type of ssize_t is known. llvm-svn: 142481
-
Craig Topper authored
llvm-svn: 142480
-
Douglas Gregor authored
llvm-svn: 142478
-
Douglas Gregor authored
llvm-svn: 142477
-
Douglas Gregor authored
llvm-svn: 142476
-
Douglas Gregor authored
llvm-svn: 142475
-
Douglas Gregor authored
Python needs this in its structure definition so it allocates enough memory. From Anders Waldenborg! llvm-svn: 142474
-
David Blaikie authored
Fix pr9789, assert-on-invalid while instantiating an (invalid) class 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
-
Douglas Gregor authored
Tweak this test to test more directly what we want, and hopefully work around the brokenness of code completion under -fdelayed-template-parsing llvm-svn: 142472
-
Argyrios Kyrtzidis authored
otherwise lldb will suffer. llvm-svn: 142471
-
Johnny Chen authored
llvm-svn: 142469
-
Richard Smith authored
be implicitly instantiated (resulting in a redefinition) in C++98. llvm-svn: 142468
-
Eric Christopher authored
Fixes rdar://10282889 llvm-svn: 142467
-
Eric Christopher authored
lexical blocks for debug info. llvm-svn: 142466
-