- Feb 11, 2011
-
-
Nadav Rotem authored
llvm-svn: 125389
-
Jim Grosbach authored
llvm-svn: 125388
-
Fariborz Jahanian authored
is unqualified but its initialized is qualified. This is for c only and fixes the imm. problem. c++ is more involved and is wip. // rdar://8979379 llvm-svn: 125386
-
Jim Grosbach authored
llvm-svn: 125385
-
Zhanyong Wan authored
This patch contains: - making some of the existing comments more accurate in the presence of virtual files/directories. - renaming some private data members of FileManager to match their roles better. - creating 'DirectorEntry's for the parent directories of virtual files, such that we can tell whether two virtual files are from the same directory. This is useful for injecting virtual files whose directories don't exist in the real file system. - minor clean-ups and adding comments for class FileManager::UniqueDirContainer and FileManager::UniqueFileContainer. - adding statistics on virtual files to FileManager::PrintStats(). - adding unit tests to verify the existing and new behavior of FileManager. llvm-svn: 125384
-
Douglas Gregor authored
objects, since they'll end up using the implicit conversion to "bool" and causing some very "fun" surprises. llvm-svn: 125380
-
Johnny Chen authored
llvm-svn: 125379
-
Douglas Gregor authored
contents when it's safe. I just *love* C++ some days. llvm-svn: 125378
-
Caroline Tice authored
Add new utility function, WriteBits32Unknown Modify the LDM* instruction emulation functions to call WriteBits32Unknown. Add missing overview comments to the LDM* instruction emulation functions. Add code to emulate LDMDA Arm instruction. llvm-svn: 125377
-
Cameron Zwarich authored
a loop when unswitching it. It only does this in the complex case, because everything should be fine already in the simple case. llvm-svn: 125369
-
Cameron Zwarich authored
llvm-svn: 125368
-
Chris Lattner authored
llvm-svn: 125367
-
Chris Lattner authored
flag. Noticed by Jin Gu Kang! llvm-svn: 125366
-
Chris Lattner authored
as other constantexpr flags, reducing redundancy. llvm-svn: 125365
-
NAKAMURA Takumi authored
llvm-svn: 125364
-
Rafael Espindola authored
llvm-svn: 125363
-
Ted Kremenek authored
llvm-svn: 125362
-
Daniel Dunbar authored
llvm-svn: 125361
-
Rafael Espindola authored
llvm-svn: 125360
-
Evan Cheng authored
This define float @foo(float %x, float %y) nounwind readnone { entry: %0 = tail call float @copysignf(float %x, float %y) nounwind readnone ret float %0 } Was compiled to: vmov s0, r1 bic r0, r0, #-2147483648 vmov s1, r0 vcmpe.f32 s0, #0 vmrs apsr_nzcv, fpscr it lt vneglt.f32 s1, s1 vmov r0, s1 bx lr This fails to copy the sign of -0.0f because it's lost during the float to int conversion. Also, it's sub-optimal when the inputs are in GPR registers. Now it uses integer and + or operations when it's profitable. And it's correct! lsrs r1, r1, #31 bfi r0, r1, #31, #1 bx lr rdar://8984306 llvm-svn: 125357
-
Ken Dyck authored
unnecessary calls to RoundUpToAlignment. No changes to functionality intended. llvm-svn: 125356
-
Johnny Chen authored
llvm-svn: 125333
-
Ken Dyck authored
CharUnits to sizes in bits, and use it to tidy up the places where the conversion was done explicitly. llvm-svn: 125332
-
Rafael Espindola authored
llvm-svn: 125330
-
Johnny Chen authored
llvm-svn: 125329
-
Daniel Dunbar authored
bits for the runtime libraries. llvm-svn: 125328
-
Jim Grosbach authored
llvm-svn: 125327
-
Douglas Gregor authored
causing the deserialization of a large number of declarations when writing the visible-updates record for the translation unit in C. This takes us from: *** AST File Statistics: 2 stat cache hits 6 stat cache misses 1/64463 source location entries read (0.001551%) 15606/16956 types read (92.038216%) 59266/89334 declarations read (66.342041%) 38952/61393 identifiers read (63.446976%) 0/7778 selectors read (0.000000%) 24192/34644 statements read (69.830276%) 388/8809 macros read (4.404586%) 2095/5189 lexical declcontexts read (40.373867%) 0/4587 visible declcontexts read (0.000000%) 0/7716 method pool entries read (0.000000%) 0 method pool misses to *** AST File Statistics: 2 stat cache hits 6 stat cache misses 1/64463 source location entries read (0.001551%) 26/16956 types read (0.153338%) 18/89334 declarations read (0.020149%) 145/61393 identifiers read (0.236183%) 0/7778 selectors read (0.000000%) 21/34644 statements read (0.060617%) 0/8809 macros read (0.000000%) 0/5189 lexical declcontexts read (0.000000%) 0/4587 visible declcontexts read (0.000000%) 0/7716 method pool entries read (0.000000%) 0 method pool misses when generating a chained PCH for a header that #includes Cocoa.h (from a PCH file) and adds one simple function declaration. The generated PCH file is now only 9580 bytes (down from > 2MB). llvm-svn: 125326
-
Cameron Zwarich authored
llvm-svn: 125325
-
Douglas Gregor authored
we would deserialize all of the macro definitions we knew about while serializing the macro definitions at the end of the AST/PCH file. Even though we skipped most of them (since they were unchanged), it's still a performance problem. Now, we do the standard AST/PCH chaining trick: watch what identifiers are deserialized as macro names, and consider only those identifiers (along with macro definitions that have been deserialized/written in the source) when serializing the preprocessor state. llvm-svn: 125324
-
Johnny Chen authored
llvm-svn: 125323
-
Johnny Chen authored
llvm-svn: 125322
-
Rafael Espindola authored
llvm-svn: 125321
-
Johnny Chen authored
and constant strings. llvm-svn: 125320
-
Nick Lewycky authored
passes. Fixes PR9112. Patch by Jakub Staszak! llvm-svn: 125319
-
Cameron Zwarich authored
iv-users twice. llvm-svn: 125318
-
Cameron Zwarich authored
llvm-svn: 125317
-
Bruno Cardoso Lopes authored
llvm-svn: 125316
-
David Greene authored
[AVX] Implement 256-bit vector lowering for SCALAR_TO_VECTOR. This largely completes support for 128-bit fallback lowering for code that is not 256-bit ready. llvm-svn: 125315
-
- Feb 10, 2011
-
-
Sean Callanan authored
- Objective-C constant strings were being NULL-terminated erroneously. - Empty Objective-C constant strings were not being generated correctly. Also added the template for a test of these fixes. llvm-svn: 125314
-