- Nov 20, 2008
-
-
Dan Gohman authored
the list-burr scheduler so that it can be used by the list-tdrr scheduler too. llvm-svn: 59698
-
Evan Cheng authored
- Register scavenger should use MachineRegisterInfo and internal map to find the first use of a register after a given machine instruction. - When scavenging a register, in addition to the spill, insert a restore before the first use. - Abort if client is looking to scavenge a register even when a previously scavenged register is still live. llvm-svn: 59697
-
Evan Cheng authored
llvm-svn: 59696
-
Ted Kremenek authored
llvm-svn: 59695
-
Ted Kremenek authored
a Lexer*. This means it will either return the current (normal) file Lexer or a PTHLexer. llvm-svn: 59694
-
Ted Kremenek authored
information. A diff of the -E output for Cocoa.h shows that there is no change in output. llvm-svn: 59693
-
Dan Gohman authored
llvm-svn: 59692
-
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
-
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
-