- Jul 02, 2010
-
-
Dale Johannesen authored
PrologEpilog code, and use it to determine whether the asm forces stack alignment or not. gcc consistently does not do this for GCC-style asms; Apple gcc inconsistently sometimes does it for asm blocks. There is no convenient place to put a bit in either the SDNode or the MachineInstr form, so I've added an extra operand to each; unlovely, but it does allow for expansion for more bits, should we need it. PR 5125. Some existing testcases are affected. The operand lists of the SDNode and MachineInstr forms are indexed with awesome mnemonics, like "2"; I may fix this someday, but not now. I'm not making it any worse. If anyone is inspired I think you can find all the right places from this patch. llvm-svn: 107506
-
Jakob Stoklund Olesen authored
llvm-svn: 107505
-
Jakob Stoklund Olesen authored
SlotIndexes::insertMachineInstrInMaps would crash when trying to insert an instruction imediately after an unmapped debug value. llvm-svn: 107504
-
Jakob Stoklund Olesen authored
llvm-svn: 107503
-
Eli Friedman authored
llvm-svn: 107502
-
Eli Friedman authored
compiling lldb. Someone else might try to improve it, though. :) llvm-svn: 107501
-
Gabor Greif authored
llvm-svn: 107500
-
Eli Friedman authored
llvm-svn: 107499
-
Gabor Greif authored
llvm-svn: 107498
-
Craig Silverstein authored
like). Our goal with this visitor is to visit exactly what people type. Reviewed by chandlerc. llvm-svn: 107497
-
Dan Gohman authored
have any effect, and second, deleting stores can potentially invalidate an AliasAnalysis, and there's currently no notification for this. llvm-svn: 107496
-
Dan Gohman authored
the noalias argument on function attributes be usable to model the C99 restrict keyword on arguments, and to allow AliasAnalysis to consider a noalias-attributed argument to be an "identified object". To support this, refactor a new "based on" concept out of the current pointer aliasing "associated" concept. This "based on" concept is very similar to (though it is not identical with) the "based on" concept in C99. Also, reword the definition of NoAlias to more closely describe the concept that the optimizer uses. llvm-svn: 107495
-
Greg Clayton authored
llvm-svn: 107494
-
Jakob Stoklund Olesen authored
This allows us to recognize the common case where all uses could be rematerialized, and no stack slot allocation is necessary. If some values could be fully rematerialized, remove them from the live range before allocating a stack slot for the rest. llvm-svn: 107492
-
Douglas Gregor authored
allows Sema some limited access to the current scope, which we only use in one way: when Sema is performing some kind of declaration that is not directly driven by the parser (e.g., due to template instantiatio or lazy declaration of a member), we can find the Scope associated with a DeclContext, if that DeclContext is still in the process of being parsed. Use this to make the implicit declaration of special member functions in a C++ class more "scope-less", rather than using the NULL Scope hack. llvm-svn: 107491
-
Jim Grosbach authored
llvm-svn: 107490
-
Jim Grosbach authored
llvm-svn: 107489
-
Bob Wilson authored
that it checks the immediate values, not just the instructions opcodes. Radar 8110263. llvm-svn: 107487
-
Douglas Gregor authored
llvm-svn: 107485
-
Argyrios Kyrtzidis authored
<vector> header can be used correctly through PCH now. llvm-svn: 107483
-
Gabor Greif authored
llvm-svn: 107482
-
Gabor Greif authored
llvm-svn: 107481
-
Gabor Greif authored
second round of low-level interface squeeze-out: making all of CallInst's low-level operand accessors private If you get compile errors I strongly urge you to update your code. I tried to write the necessary clues into the header where the compiler may point to, but no guarantees. It works for my GCC. You have several options to update your code: - you can use the v2.8 ArgOperand accessors - you can go via a temporary CallSite - you can upcast to, say, User and call its low-level accessors if your code is definitely operand-order agnostic. If you run into serious problems, please comment in below thread (and back out this revision only if absolutely necessary): <http://groups.google.com/group/llvm-dev/browse_thread/thread/64650cf343b28271> llvm-svn: 107480
-
Argyrios Kyrtzidis authored
llvm-svn: 107479
-
Argyrios Kyrtzidis authored
llvm-svn: 107478
-
Argyrios Kyrtzidis authored
llvm-svn: 107477
-
Argyrios Kyrtzidis authored
Fix reading ClassTemplateDecl's ClassTemplateSpecializationDecls and ClassTemplatePartialSpecializationDecls. Store/read also their template arguments because they may be initializing and not be able to provide them. llvm-svn: 107476
-
Argyrios Kyrtzidis authored
llvm-svn: 107475
-
Argyrios Kyrtzidis authored
llvm-svn: 107474
-
Argyrios Kyrtzidis authored
llvm-svn: 107473
-
Argyrios Kyrtzidis authored
llvm-svn: 107472
-
Argyrios Kyrtzidis authored
- Fix creation of TemplateSpecializationType. llvm-svn: 107471
-
Argyrios Kyrtzidis authored
llvm-svn: 107470
-
Argyrios Kyrtzidis authored
Generally types expect an initialized TypeDecl; its safer and less complicated to delay PCH reading the type of a TypeDecl. llvm-svn: 107469
-
Argyrios Kyrtzidis authored
llvm-svn: 107468
-
Zhongxing Xu authored
llvm-svn: 107467
-
Zhongxing Xu authored
llvm-svn: 107463
-
Zhongxing Xu authored
llvm-svn: 107462
-
Zhongxing Xu authored
Change CallGraph::Prog to be a reference. idx::Program means to be a global object to the Index library. llvm-svn: 107461
-
Sean Callanan authored
llvm-svn: 107460
-