| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Driver: Setup file and program search paths in tool chains. | Daniel Dunbar | 2009-03-23 | 4 | -12/+90 | |
| | | | | | llvm-svn: 67529 | |||||
| * | Ad FreeBSD ARM target info. | Daniel Dunbar | 2009-03-23 | 1 | -0/+15 | |
| | | | | | | | - Patch by Ed Schoeten! llvm-svn: 67527 | |||||
| * | analyzer: Fix embarrassing regression in BasicStore when invalidating struct | Ted Kremenek | 2009-03-23 | 2 | -0/+8 | |
| | | | | | | | values passed-by-reference to unknown functions. llvm-svn: 67519 | |||||
| * | Minor Evaluate cleanup; add some boilerplate implementations to | Eli Friedman | 2009-03-23 | 1 | -29/+26 | |
| | | | | | | | Evaluate for __extension__ and __builtin_choose_expr. llvm-svn: 67506 | |||||
| * | Minor enhancements to Evaluate. | Eli Friedman | 2009-03-23 | 1 | -13/+25 | |
| | | | | | llvm-svn: 67503 | |||||
| * | Some minor fixes for complex IRGen. | Eli Friedman | 2009-03-23 | 1 | -23/+16 | |
| | | | | | llvm-svn: 67501 | |||||
| * | Fix a subtle bug in CodeGen for the increment of a bitfield. | Eli Friedman | 2009-03-23 | 1 | -5/+7 | |
| | | | | | llvm-svn: 67499 | |||||
| * | Add some FIXMEs relating to incomplete types. | Eli Friedman | 2009-03-23 | 1 | -3/+14 | |
| | | | | | llvm-svn: 67497 | |||||
| * | Recognize rvalue references in C++03, but complain about them. This leads to ↵ | Sebastian Redl | 2009-03-23 | 1 | -2/+8 | |
| | | | | | | | far better error recovery. llvm-svn: 67495 | |||||
| * | Partial implementation of PR3342: break out pointer sign | Eli Friedman | 2009-03-22 | 2 | -4/+37 | |
| | | | | | | | | | incompatibilities in assignments from other pointer incompatibilities. Based off of the patch in PR3342. (This doesn't implement -Wno-pointer-sign, but I don't know the driver code very well.) llvm-svn: 67494 | |||||
| * | Driver: Drop code for checking bounds in SeparateArg::render, this | Daniel Dunbar | 2009-03-22 | 1 | -3/+2 | |
| | | | | | | | situation should never occur now that arguments are parsed correctly. llvm-svn: 67493 | |||||
| * | Disallow catching exceptions by rvalue reference. | Sebastian Redl | 2009-03-22 | 2 | -9/+24 | |
| | | | | | llvm-svn: 67492 | |||||
| * | Adjust isModifiableLvalue to give a slightly more useful diagnostic for | Eli Friedman | 2009-03-22 | 1 | -10/+11 | |
| | | | | | | | attempting to illegally modify a BlockDeclRefExpr. llvm-svn: 67491 | |||||
| * | Driver: Implement 'missing argument' error. | Daniel Dunbar | 2009-03-22 | 4 | -22/+46 | |
| | | | | | llvm-svn: 67490 | |||||
| * | Fix code to mark block variables as const to actually work. Fix | Eli Friedman | 2009-03-22 | 2 | -6/+6 | |
| | | | | | | | | | | | | isObjCObjectPointerType to work with qualified types. Adjust test for changes. If the SemaExpr changes are wrong or break existing code, feel free to delete the "ExprTy.addConst();" line and revert my changes to test/Sema/block-literal.c. llvm-svn: 67489 | |||||
| * | Implement static_cast from lvalue to rvalue reference. | Sebastian Redl | 2009-03-22 | 1 | -0/+39 | |
| | | | | | llvm-svn: 67487 | |||||
| * | Check that the return/argument types of calls are complete. | Eli Friedman | 2009-03-22 | 1 | -0/+19 | |
| | | | | | llvm-svn: 67485 | |||||
| * | switch getBuiltinLibFunction to use the new GetOrCreateLLVMFunction | Chris Lattner | 2009-03-22 | 2 | -36/+5 | |
| | | | | | | | | | functionality, fixing a crash on the attached testcase. Eliminate the BuiltinFunctions cache, as it can contain dangling pointers. This fixes a bunch of valgrind errors on test/CodeGen/builtins.c llvm-svn: 67484 | |||||
| * | emit aliases as the definitions fly by, don't bother deferring until | Chris Lattner | 2009-03-22 | 2 | -82/+64 | |
| | | | | | | | the end of the module. llvm-svn: 67482 | |||||
| * | make alias definition logic more similar to functions/globals. | Chris Lattner | 2009-03-22 | 1 | -12/+29 | |
| | | | | | llvm-svn: 67481 | |||||
| * | Fix build from r67476 and address the easy part of Doug's comments on rvalue ↵ | Sebastian Redl | 2009-03-22 | 2 | -8/+10 | |
| | | | | | | | refs. llvm-svn: 67480 | |||||
| * | fix PR3200 by making alias emission use the new infrastructure. Fold | Chris Lattner | 2009-03-22 | 1 | -11/+17 | |
| | | | | | | | some tests into the alias.c file. llvm-svn: 67479 | |||||
| * | pull "runtime globals" into the same framework as other functions/global ↵ | Chris Lattner | 2009-03-22 | 5 | -162/+132 | |
| | | | | | | | | | variables. No intended functionality change. llvm-svn: 67478 | |||||
| * | Remove dead code. | Eli Friedman | 2009-03-22 | 1 | -41/+0 | |
| | | | | | llvm-svn: 67477 | |||||
| * | Disallow abstract types where appropriate. | Anders Carlsson | 2009-03-22 | 3 | -3/+79 | |
| | | | | | llvm-svn: 67476 | |||||
| * | fix a fixme: non-proto struct returning function definitions should be compiled | Chris Lattner | 2009-03-22 | 1 | -4/+7 | |
| | | | | | | | | | | to something like: define void @bar(%struct.foo* noalias sret %agg.result) nounwind { instead of: define void @bar(%struct.foo* noalias sret %agg.result, ...) nounwind { llvm-svn: 67475 | |||||
| * | fix PR3859: crash with 'cc -V' | Nuno Lopes | 2009-03-22 | 1 | -2/+3 | |
| | | | | | llvm-svn: 67472 | |||||
| * | PTHManager::Create(): | Ted Kremenek | 2009-03-22 | 1 | -18/+16 | |
| | | | | | | | | | | | | - Make the Diagnostic::Level for PTH errors to be specified by the caller clang (driver): - Set the PTHManager diagnostic level to "Diagnostic::Error" for -include-pth (a hard error) and Diagnostic::Warning for -token-cache (we can still proceed). llvm-svn: 67462 | |||||
| * | Keep track of whether a class is abstract or not. This is currently only ↵ | Anders Carlsson | 2009-03-22 | 5 | -5/+93 | |
| | | | | | | | used for the __is_abstract type trait. llvm-svn: 67461 | |||||
| * | don't set the name of a call instruction to "call" in release-asserts | Chris Lattner | 2009-03-22 | 2 | -11/+10 | |
| | | | | | | | build. This shaves another 3% off. llvm-svn: 67460 | |||||
| * | fix CreateTempAlloca to not set a name on the alloca for temporaries | Chris Lattner | 2009-03-22 | 3 | -6/+11 | |
| | | | | | | | | | | in release-assert builds. For automatic variables, explicitly set a name with setName that does not make a temporary std::string. This speeds up -emit-llvm-only -disable-free on PR3810 by 4.6% llvm-svn: 67459 | |||||
| * | set function/global names with setName instead of passing the name into the | Chris Lattner | 2009-03-22 | 1 | -2/+4 | |
| | | | | | | | | ctor function. This avoids creating a temporary std::string for the name, speeding up the testcase in PR3810 by 3.8% llvm-svn: 67457 | |||||
| * | fix some warnings in release-assert mode. | Chris Lattner | 2009-03-22 | 1 | -9/+9 | |
| | | | | | llvm-svn: 67456 | |||||
| * | Fixup codegen for nested block literals so that we generate | Mike Stump | 2009-03-21 | 2 | -3/+5 | |
| | | | | | | | copy_helpers and dispose_helpers as necessary for them. llvm-svn: 67453 | |||||
| * | Fix a thinko in the pre-allocation strategy for structured initializer | Douglas Gregor | 2009-03-21 | 1 | -2/+10 | |
| | | | | | | | | | | | lists. The code wasn't accounting for the distinction between the top-level call to getStructuredSubobjectInit and later calls that occur deeper in the hierarchy. This problem manifested itself as over-allocation in cases where we have large arrays of small structures (<rdar://problem/6707362>). llvm-svn: 67452 | |||||
| * | Issue error if variables are defined inside an objc class, | Fariborz Jahanian | 2009-03-21 | 2 | -19/+13 | |
| | | | | | | | category or protocol. llvm-svn: 67450 | |||||
| * | now that all the decl reference and creation stuff is going through two | Chris Lattner | 2009-03-21 | 2 | -41/+74 | |
| | | | | | | | | very simple places, reimplement the deferred decl emission logic to not be O(N^2), fixing PR3810. llvm-svn: 67447 | |||||
| * | fix a crash that could occur when a variable declaration became a | Chris Lattner | 2009-03-21 | 2 | -43/+61 | |
| | | | | | | | function definition. llvm-svn: 67446 | |||||
| * | simplify and cleanup global variable creation stuff to all go through one | Chris Lattner | 2009-03-21 | 2 | -69/+74 | |
| | | | | | | | code path. llvm-svn: 67445 | |||||
| * | simplify management of llvm::Function creation to all go through | Chris Lattner | 2009-03-21 | 2 | -64/+48 | |
| | | | | | | | GetAddrOfFunction. This is simpler and more efficient. llvm-svn: 67444 | |||||
| * | code cleanups, rename EmitForwardFunctionDefinition -> | Chris Lattner | 2009-03-21 | 2 | -46/+47 | |
| | | | | | | | | CreateFunctionPrototypeIR, though my next patch will eliminate it entirely. llvm-svn: 67443 | |||||
| * | fix several problems with asm renaming, by pulling it into the mangling code: | Chris Lattner | 2009-03-21 | 3 | -26/+18 | |
| | | | | | | | | | 1. it wasn't applying to definitions, only declarations, e.g. int x __asm("foo") 2. multiple definitions were conflicting, they weren't getting merged. 3. the code was duplicated in several places. llvm-svn: 67442 | |||||
| * | add some fixmes | Chris Lattner | 2009-03-21 | 1 | -10/+9 | |
| | | | | | llvm-svn: 67441 | |||||
| * | reduce redundant calls of getMangledName. | Chris Lattner | 2009-03-21 | 1 | -8/+10 | |
| | | | | | llvm-svn: 67440 | |||||
| * | simplify some more code. | Chris Lattner | 2009-03-21 | 2 | -28/+33 | |
| | | | | | llvm-svn: 67439 | |||||
| * | simplify and comment some code better. Make BindRuntimeGlobals | Chris Lattner | 2009-03-21 | 3 | -26/+35 | |
| | | | | | | | more optimistic that it will work (optimizing for the common case). llvm-svn: 67438 | |||||
| * | random code cleanups. | Chris Lattner | 2009-03-21 | 1 | -14/+12 | |
| | | | | | llvm-svn: 67437 | |||||
| * | remove obviously dead code: you can't bitcast a pointer to "Ty" (a function ↵ | Chris Lattner | 2009-03-21 | 1 | -5/+1 | |
| | | | | | | | type). llvm-svn: 67436 | |||||
| * | avoid making constant folding logic eliminate obviously dead bitcasts, ↵ | Chris Lattner | 2009-03-21 | 1 | -2/+7 | |
| | | | | | | | | | speeding up PR3810 by ~2%. llvm-svn: 67434 | |||||
| * | add an assertion for unreachable code. | Chris Lattner | 2009-03-21 | 1 | -0/+1 | |
| | | | | | llvm-svn: 67432 | |||||

