- Feb 13, 2009
-
-
Mike Stump authored
llvm-svn: 64451
-
Mike Stump authored
llvm-svn: 64450
-
Duncan Sands authored
link-time failures when building with optimization. Just get rid of them. llvm-svn: 64449
-
Evan Cheng authored
llvm-svn: 64448
-
Anders Carlsson authored
llvm-svn: 64447
-
Anders Carlsson authored
llvm-svn: 64446
-
Anders Carlsson authored
llvm-svn: 64445
-
Evan Cheng authored
llvm-svn: 64444
-
Nick Lewycky authored
Make sure the SCC pass manager initializes any contained function pass managers. Without this, simplify-libcalls would add nocapture attributes when run on its own, but not when run as part of -std-compile-opts or similar. llvm-svn: 64443
-
Nick Lewycky authored
couldn't ever be the return of call instruction. However, it's quite possible that said local allocation is itself the return of a function call. That's what malloc and calloc are for, actually. llvm-svn: 64442
-
Anders Carlsson authored
llvm-svn: 64441
-
Dan Gohman authored
addrec in a different loop to check the value being added to the accumulated Start value, not the Start value before it has the new value added to it. This prevents LSR from going crazy on the included testcase. Dale, please review. llvm-svn: 64440
-
Dale Johannesen authored
"I got blisters on my fingers." llvm-svn: 64439
-
Dale Johannesen authored
llvm-svn: 64438
-
Dale Johannesen authored
There were some that might even matter in X86FastISel. llvm-svn: 64437
-
Dale Johannesen authored
llvm-svn: 64436
-
Dale Johannesen authored
llvm-svn: 64435
-
Eli Friedman authored
Currently only used for 128-bit integers. Note that we can't use the fixed-width integer types for other integer modes without other changes because glibc headers redefines (u)int*_t and friends using the mode attribute. For example, this means that uint64_t has to be compatible with unsigned __attribute((mode(DI))), and uint64_t is currently defined to long long. And I have a feeling we'll run into issues if we try to define uint64_t as something which isn't either long or long long. This doesn't get the alignment right in most cases, including the 128-bit integer case; I'll file a PR shortly. The gist of the issue is that the targets don't really expose the information necessary to figure out the alignment outside of the target description, so there's a non-trivial amount of work involved in getting it working right. That said, the alignment used is conservative, so the only issue with the current implementation is ABI compatibility. This makes it trivial to add some sort of "bitwidth" attribute to make arbitrary-width integers; I'll do that in a followup. We could also use this for stuff like the following for compatibility with gcc, but I have a feeling it would be a better idea for clang to be consistent between C and C++ modes rather than follow gcc's example for C mode. struct {unsigned long long x : 33;} x; unsigned long long a(void) {return x.x+1;} llvm-svn: 64434
-
Dale Johannesen authored
llvm-svn: 64433
-
Dale Johannesen authored
llvm-svn: 64432
-
Dale Johannesen authored
llvm-svn: 64431
-
Dale Johannesen authored
llvm-svn: 64430
-
Dale Johannesen authored
llvm-svn: 64429
-
Bill Wendling authored
llvm-svn: 64428
-
Bill Wendling authored
the new way, where all of the information is passed on SDNodes and machine instructions. llvm-svn: 64427
-
Ted Kremenek authored
- Add 'EvalBind', which will be used by 'EvalStore' to pull much of the value binding logic out of GRTransferFuncs. - Rename many cases of 'St' to 'state'. llvm-svn: 64426
-
Douglas Gregor authored
llvm-svn: 64425
-
Eli Friedman authored
type doesn't do anything. llvm-svn: 64424
-
Douglas Gregor authored
llvm-svn: 64423
-
Ted Kremenek authored
AnalysisConsumer: Explicitly destroy the PathDiagnosticClient at the end of HandleTranslationUnit to ensure that the client's destructor is called even with --disable-free. llvm-svn: 64422
-
Chris Lattner authored
only insert spaces between tokens if the code had them or if they are actually required to avoid pasting. This reuses the same logic as -E mode. llvm-svn: 64421
-
Daniel Dunbar authored
llvm-svn: 64420
-
Daniel Dunbar authored
<rdar://problem/6515236> [ccc] generate expected output files when used with PCH llvm-svn: 64419
-
Chris Lattner authored
PrintPreprocessedOutput into its own file. No functionality change. llvm-svn: 64418
-
Ted Kremenek authored
llvm-svn: 64417
-
Daniel Dunbar authored
llvm-svn: 64416
-
Dan Gohman authored
after sorting by stride value. This prevents it from missing IV reuse opportunities in a host-sensitive manner. llvm-svn: 64415
-
Douglas Gregor authored
given name in a given scope is marked as "overloadable", every function declaration and definition with that same name and in that same scope needs to have the "overloadable" attribute. Essentially, the "overloadable" attribute is not part of attribute merging, so it must be specified even for redeclarations. This keeps users from trying to be too sneaky for their own good: double sin(double) __attribute__((overloadable)); // too sneaky #include <math.h> Previously, this would have made "sin" overloadable, and therefore given it a mangled name. Now, we get an error inside math.h when we see a (re)declaration of "sin" that doesn't have the "overloadable" attribute. llvm-svn: 64414
-
Douglas Gregor authored
ABI to the CodeGen library. Since C++ code-generation is so incomplete, we can't exercise much of this mangling code. However, a few smoke tests show that it's doing the same thing as GCC. When C++ codegen matures, we'll extend the ABI tester to verify name-mangling as well, and complete the implementation here. At this point, the major client of name mangling is in the uses of the new "overloadable" attribute in C, which allows overloading. Any "overloadable" function in C (or in an extern "C" block in C++) will be mangled the same way that the corresponding C++ function would be mangled. llvm-svn: 64413
-
Mike Stump authored
llvm-svn: 64412
-