- Nov 20, 2008
-
-
Ted Kremenek authored
Assign the result of getCurrentFileLexer() to a PreprocessorLexer* instead of Lexer* (narrower interface). llvm-svn: 59691
-
Ted Kremenek authored
LexingRawMode in the ctor of PreprocessorLexer. - PTHLexer: Use "LastToken" instead of "NumToken" llvm-svn: 59690
-
Dan Gohman authored
extend it a bit, and make use of it in all schedulers, to ensure consistent checking. llvm-svn: 59689
-
Devang Patel authored
llvm-svn: 59688
-
Ted Kremenek authored
Add (untested) implementation of PTHLexer::isNextPPTokenLParen() and PTHLexer::DiscardToEndOfLine(). llvm-svn: 59687
-
Ted Kremenek authored
llvm-svn: 59684
-
Zhongxing Xu authored
llvm-svn: 59683
-
Fariborz Jahanian authored
diagnostics on use of __weak attribute on fields, Early support for read/write barriers for objc fields. llvm-svn: 59682
-
Bill Wendling authored
llvm-svn: 59681
-
Dan Gohman authored
and CreateClone don't add any extra value. llvm-svn: 59679
-
Evan Cheng authored
llvm-svn: 59678
-
Evan Cheng authored
llvm-svn: 59677
-
Dan Gohman authored
is currently off by default, and can be enabled with -disable-post-RA-scheduler=false. This doesn't have a significant impact on most code yet because it doesn't yet do anything to address anti-dependencies and it doesn't attempt to disambiguate memory references. Also, several popular targets don't have pipeline descriptions yet. The majority of the changes here are splitting the SelectionDAG-specific code out of ScheduleDAG, so that ScheduleDAG can be moved to libLLVMCodeGen.a. The interface between ScheduleDAG-using code and the rest of the scheduling code is somewhat rough and will evolve. llvm-svn: 59676
-
- Nov 19, 2008
-
-
Douglas Gregor authored
llvm-svn: 59675
-
Douglas Gregor authored
being called to be converted to a reference-to-function, pointer-to-function, or reference-to-pointer-to-function. This is done through "surrogate" candidate functions that model the conversions from the object to the function (reference/pointer) and the conversions in the arguments. llvm-svn: 59674
-
Ted Kremenek authored
llvm-svn: 59673
-
Ted Kremenek authored
Use PreprocessorLexer::getFileID() instead of Lexer::getFileLoc(). This is an intermediate step to having getCurrentLexer() return a PreprocessorLexer* instead of a Lexer*. llvm-svn: 59672
-
Ted Kremenek authored
Use PTHLexer::isNextPPTokenLParen() when using the PTHLexer. llvm-svn: 59671
-
Ted Kremenek authored
llvm-svn: 59670
-
Ted Kremenek authored
llvm-svn: 59669
-
Ted Kremenek authored
llvm-svn: 59668
-
Dan Gohman authored
a virtual method of SelectionDAG. llvm-svn: 59667
-
Ted Kremenek authored
- Add variants of IsNonPragmaNonMacroLexer to accept an IncludeMacroStack entry (simplifies some uses). - Use IsNonPragmaNonMacroLexer in Preprocessor::LookupFile. - Add 'FileID' to PreprocessorLexer, and have Preprocessor query this fileid when looking up the FileEntry for a file Performance testing of -Eonly on Cocoa.h shows no performance regression because of this patch. llvm-svn: 59666
-
Dan Gohman authored
dump in terms of it. llvm-svn: 59665
-
-
Douglas Gregor authored
with function call syntax, e.g., Functor f; f(x, y); This is the easy part of handling calls to objects of class type (C++ [over.call.object]). The hard part (coping with conversions from f to function pointer or reference types) will come later. Nobody uses that stuff anyway, right? :) llvm-svn: 59663
-
Oscar Fuentes authored
llvm-svn: 59662
-
Douglas Gregor authored
llvm-svn: 59661
-
Daniel Dunbar authored
llvm-svn: 59660
-
Devang Patel authored
Do not use separate utility to walk all instructions and remove dead dbg intrinsics. Let instcombiner do this job. llvm-svn: 59659
-
Devang Patel authored
llvm-svn: 59658
-
Devang Patel authored
If there are two consecutive llvm.dbg.stoppoint calls then it is likely that the optimizer deleted code in between these two intrinsics. Keep only the last llvm.dbg.stoppoint in this case. llvm-svn: 59657
-
Oscar Fuentes authored
Patch contributed by Jay Foad! llvm-svn: 59656
-
Oscar Fuentes authored
llvm-svn: 59655
-
Fariborz Jahanian authored
objects as __strong when attribute unspecified. llvm-svn: 59654
-
Argyrios Kyrtzidis authored
llvm-svn: 59651
-
Argyrios Kyrtzidis authored
struct A { struct B; }; struct A::B { void m() {} // Assertion failed: getContainingDC(DC) == CurContext && "The next DeclContext should be lexically contained in the current one." }; Introduce DeclContext::getLexicalParent which may be different from DeclContext::getParent when nested-names are involved, e.g: namespace A { struct S; } struct A::S {}; // getParent() == namespace 'A' // getLexicalParent() == translation unit llvm-svn: 59650
-
Scott Michel authored
right thing and promote the store to i8. llvm-svn: 59648
-
Nuno Lopes authored
llvm-svn: 59647
-
Argyrios Kyrtzidis authored
llvm-svn: 59646
-