- Dec 03, 2008
-
-
Anders Carlsson authored
llvm-svn: 60462
-
Dan Gohman authored
foldMemoryOperand how to "fold" them, by converting them into constant-pool loads. When they aren't folded, they use xorps/cmpeqd, but for example when register pressure is high, they may now be folded as memory operands, which reduces register pressure. Also, mark V_SET0 isAsCheapAsAMove so that two-address-elimination will remat it instead of copying zeros around (V_SETALLONES was already marked). llvm-svn: 60461
-
Bill Wendling authored
llvm-svn: 60460
-
Dan Gohman authored
is set but mayLoad is not set. Fix all the problems this turned up. Change code to not use isSimpleLoad instead of mayLoad unless it really wants isSimpleLoad. llvm-svn: 60459
-
Dan Gohman authored
llvm-svn: 60458
-
Dan Gohman authored
llvm-svn: 60457
-
Dan Gohman authored
llvm-svn: 60456
-
Dan Gohman authored
than just i32. llvm-svn: 60455
-
Dan Gohman authored
delegates to the regular x86-32 convention which handles byval, but only after it handles a few cases, and it's necessary to handle byval before handling those cases. This fixes PR3122 (and rdar://6400815), llvm-gcc miscompiling LLVM. llvm-svn: 60453
-
Ted Kremenek authored
Use an array instead of a DenseMap to cache persistent IDs -> IdentifierInfo*. This leads to a 4% speedup at -fsyntax-only using PTH. llvm-svn: 60452
-
Dan Gohman authored
llvm-svn: 60451
-
Steve Naroff authored
llvm-svn: 60450
-
Dale Johannesen authored
llvm-svn: 60449
-
Ted Kremenek authored
llvm-svn: 60448
-
Ted Kremenek authored
- Remove PTHManager.cpp. Move all of its functions to PTHLexer.cpp since some of the internal methods are used by PTHLexer (their implementations are intertwined.) This enables some important inlining opportunities at -O3. - Don't construct an std::vector<Token> prior to feeding PTH tokens to the Preprocessor. Stream them off the PTH file directly. llvm-svn: 60447
-
Chris Lattner authored
used by clang apparently. llvm-svn: 60446
-
- Dec 02, 2008
-
-
Sebastian Redl authored
llvm-svn: 60444
-
Evan Cheng authored
1. ppcf128 select is expanded to f64 select's. 2. f64 select operand 0 is an i1 truncate, it's promoted to i32 zero_extend. 3. f64 select is updated. It's changed back to a "NewNode" and being re-analyzed. 4. f64 select operands are being processed. Operand 0 is a "NewNode". It's being expunged out of ReplacedValues map. 5. ExpungeNode tries to remap f64 select and notice it's a "NewNode" and assert. Duncan, please take a look. Thanks. llvm-svn: 60443
-
Dale Johannesen authored
llvm-svn: 60442
-
Ted Kremenek authored
llvm-svn: 60441
-
Ted Kremenek authored
llvm-svn: 60440
-
Scott Michel authored
consistent with the way it's generally done in other places. llvm-svn: 60439
-
Scott Michel authored
- Incorporate Tilmann Scheller's ISD::TRUNCATE custom lowering patch - Update SPU calling convention info, even if it's not used yet (but can be at some point or another) - Ensure that any-extended f32 loads are custom lowered, especially when they're promoted for use in printf. llvm-svn: 60438
-
Ted Kremenek authored
- Added method "setPTHManager" that will be called by the driver to install a PTHManager for the Preprocessor. - Fixed some comments. - Added EnterSourceFileWithPTH to mirror EnterSourceFileWithLexer. llvm-svn: 60437
-
Ted Kremenek authored
Added PTHManager, a utility class that will be used by Preprocessor to lazily create PTHLexer objects for pre-tokenized files. llvm-svn: 60436
-
Ted Kremenek authored
- Output 32 bit integers using bit-shifting + write of individual bytes. This is motivated because we aren't guaranteed to load 32-bit ints of the mmaped PTH file at 4-byte offsets. - Don't emit flags for IdentifierInfos. These are lazily populated by the Preprocessor/Parser. - Only write out tokens for files with absolute paths. This is potentially temporary, but simplifies things for now. llvm-svn: 60435
-
Dan Gohman authored
llvm-svn: 60434
-
Owen Anderson authored
llvm-svn: 60433
-
Dale Johannesen authored
llvm-svn: 60432
-
Dale Johannesen authored
llvm-svn: 60431
-
Fariborz Jahanian authored
work in prgress. llvm-svn: 60430
-
Chris Lattner authored
llvm-svn: 60429
-
Nuno Lopes authored
llvm-svn: 60428
-
Steve Naroff authored
llvm-svn: 60427
-
Steve Naroff authored
llvm-svn: 60426
-
Sebastian Redl authored
llvm-svn: 60425
-
Sebastian Redl authored
llvm-svn: 60423
-
Sebastian Redl authored
This may be the case on 64-bit systems. Whether that fact is a bug is a different question, but it's easy to cure the symptom. llvm-svn: 60422
-
Sebastian Redl authored
llvm-svn: 60421
-
Sebastian Redl authored
llvm-svn: 60420
-