Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avoid undefined behavior negating minint. | Chris Lattner | 2010-08-03 | 1 | -2/+2 |
| | | | | llvm-svn: 110117 | ||||
* | fix some undefined behavior, PR7779. | Chris Lattner | 2010-08-03 | 1 | -3/+4 |
| | | | | llvm-svn: 110116 | ||||
* | Fix a typo Devang noticed. | Dan Gohman | 2010-08-03 | 1 | -1/+1 |
| | | | | llvm-svn: 110115 | ||||
* | avoid undef behavior on minint, fixing PR7783. | Chris Lattner | 2010-08-03 | 1 | -2/+3 |
| | | | | llvm-svn: 110114 | ||||
* | Add an atomic lowering pass | Peter Collingbourne | 2010-08-03 | 9 | -0/+266 |
| | | | | llvm-svn: 110113 | ||||
* | Use unary + instead of a separate local variable for working | Dan Gohman | 2010-08-03 | 1 | -2/+1 |
| | | | | | | around std::min vs static const friction. llvm-svn: 110112 | ||||
* | Driver: Don't forward any -g options to GCC, when using it to drive the | Daniel Dunbar | 2010-08-03 | 1 | -0/+5 |
| | | | | | | | assembler. - Fixes PR6218, hopefully. llvm-svn: 110111 | ||||
* | Bump cmake_minimum_required to version 2.8 | Oscar Fuentes | 2010-08-03 | 1 | -1/+1 |
| | | | | llvm-svn: 110110 | ||||
* | build: Add LLVM_NATIVE_ARCHNAME, which has the sensible value, without "Target" | Daniel Dunbar | 2010-08-03 | 6 | -10/+17 |
| | | | | | | appended. llvm-svn: 110109 | ||||
* | Reshuffle the PCH generator action and consumer, so that we can re-use | Douglas Gregor | 2010-08-03 | 6 | -49/+111 |
| | | | | | | it while generating precompiled preambles. No functionality change. llvm-svn: 110108 | ||||
* | Emit weak vtables of non-template classes with hidden visibility. | John McCall | 2010-08-03 | 5 | -7/+33 |
| | | | | llvm-svn: 110107 | ||||
* | Allow offsets to be negative. Out-of-bound cases are checked elsewhere. We | Zhongxing Xu | 2010-08-03 | 3 | -9/+8 |
| | | | | | | shouldn't put restrictions in store manager. llvm-svn: 110106 | ||||
* | Remove the test/mc directory that I accidently added. | Michael J. Spencer | 2010-08-03 | 0 | -0/+0 |
| | | | | | | This directory conflicts with test/MC on Windows machines. llvm-svn: 110105 | ||||
* | MC: Fix symbol fragment offsets in COFF. | Michael J. Spencer | 2010-08-03 | 2 | -1/+184 |
| | | | | | | Patch by Cameron Esfahani! llvm-svn: 110104 | ||||
* | Revert "MC: Fix symbol fragment offsets in COFF." | Michael J. Spencer | 2010-08-03 | 2 | -184/+1 |
| | | | | | | | | This reverts commit r110100 Wrong path caps. llvm-svn: 110103 | ||||
* | Pull the region offset computation logic into a single method. | Zhongxing Xu | 2010-08-03 | 3 | -95/+79 |
| | | | | llvm-svn: 110102 | ||||
* | MC: Add time travel support to COFF. | Michael J. Spencer | 2010-08-03 | 1 | -0/+4 |
| | | | | llvm-svn: 110101 | ||||
* | MC: Fix symbol fragment offsets in COFF. | Michael J. Spencer | 2010-08-03 | 2 | -1/+184 |
| | | | | | | Patch by Cameron Esfahani! llvm-svn: 110100 | ||||
* | Fix CMake build | Michael J. Spencer | 2010-08-03 | 1 | -0/+1 |
| | | | | llvm-svn: 110097 | ||||
* | Support x86 AVX 256-bit instructions built-ins. Right now support all of ↵ | Bruno Cardoso Lopes | 2010-08-03 | 2 | -2/+213 |
| | | | | | | | | | | them, but as soon as we properly codegen the simple vector operations, remove the unnecessary built-ins/intrinsics from clang and llvm. Also add tests for the new built-ins llvm-svn: 110096 | ||||
* | Changed GRExprEngine to pass down a reference to itself when checkers are ↵ | Tom Care | 2010-08-03 | 6 | -10/+24 |
| | | | | | | | | | doing postanalysis. This allows the checker to gather information about the state of the engine when it has finished. - Exposed the worklist and BlockAborted flag in GRCoreEngine - Changed postanalysis checkers to use the new infrastructure llvm-svn: 110095 | ||||
* | Support x86 AVX 256-bit instruction intrinsics. Right now support all of ↵ | Bruno Cardoso Lopes | 2010-08-03 | 1 | -0/+344 |
| | | | | | | | | | them, but as soon as we properly codegen the simple vector operations in clang, remove the unnecessary builti-ins/intrinsics from clang and llvm. llvm-svn: 110094 | ||||
* | Added FindTypes to Module and ModuleList. | Greg Clayton | 2010-08-03 | 4 | -13/+77 |
| | | | | llvm-svn: 110093 | ||||
* | Update some comments. | Dan Gohman | 2010-08-03 | 1 | -6/+6 |
| | | | | llvm-svn: 110092 | ||||
* | Introduce a symbolic constant for ~0u for use with AliasAnalysis. | Dan Gohman | 2010-08-03 | 3 | -10/+16 |
| | | | | llvm-svn: 110091 | ||||
* | Add a convenient form of AliasAnalysis::alias for the case where the sizes | Dan Gohman | 2010-08-03 | 3 | -6/+8 |
| | | | | | | are unknown. llvm-svn: 110090 | ||||
* | Added support for objective C built-in types: id, Class, and SEL. This | Greg Clayton | 2010-08-03 | 28 | -446/+609 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | involved watching for the objective C built-in types in DWARF and making sure when we convert the DWARF types into clang types that we use the appropriate ASTContext types. Added a way to find and dump types in lldb (something equivalent to gdb's "ptype" command): image lookup --type <TYPENAME> This only works for looking up types by name and won't work with variables. It also currently dumps out verbose internal information. I will modify it to dump more appropriate user level info in my next submission. Hookup up the "FindTypes()" functions in the SymbolFile and SymbolVendor so we can lookup types by name in one or more images. Fixed "image lookup --address <ADDRESS>" to be able to correctly show all symbol context information, but it will only show this extra information when the new "--verbose" flag is used. Updated to latest LLVM to get a few needed fixes. llvm-svn: 110089 | ||||
* | Set a CodeGenOption in Clang to inhibit insertion | Sean Callanan | 2010-08-03 | 2 | -0/+9 |
| | | | | | | | | | | of profiling code into expressions. Modified IRForTarget to emit array and record member accesses correctly. (Reading and writing both work.) llvm-svn: 110088 | ||||
* | Add -cc1 option '-unoptimized-cfg' to toggle using a CFG (for static ↵ | Ted Kremenek | 2010-08-03 | 8 | -6/+33 |
| | | | | | | analysis) that doesn't prune CFG edges. llvm-svn: 110087 | ||||
* | Make SCEVUnknown a CallbackVH, so that it can be notified directly | Dan Gohman | 2010-08-02 | 6 | -56/+167 |
| | | | | | | | | | | | of Value deletions and RAUWs, instead of relying on ScalarEvolution's Scalars map being notified, as that's complicated at best, and insufficient in general. This means SCEVUnknown needs a non-trivial destructor, so introduce a mechanism to allow ScalarEvolution to locate all the SCEVUnknowns. llvm-svn: 110086 | ||||
* | Add 'AnalysisContext::getUnoptimizedCFG()' to allow clients to get access to ↵ | Ted Kremenek | 2010-08-02 | 4 | -24/+56 |
| | | | | | | | | the original CFG without any edges pruned out because of trivially solvable conditions (e.g., 'if (0)'). llvm-svn: 110085 | ||||
* | Labels (and case statement) don't create independent scope parents for the | John McCall | 2010-08-02 | 4 | -34/+54 |
| | | | | | | | | purposes of the jump checker. Also extend Ted's iteration fix to labels. Fixes PR7789. llvm-svn: 110082 | ||||
* | Diabolical hack to make a test compatible with clang. (Thanks to Dale!) ↵ | Stuart Hastings | 2010-08-02 | 1 | -0/+3 |
| | | | | | | Radar 8246180. llvm-svn: 110081 | ||||
* | Simplify global method pool implementation in Sema. No functionality change. | Sebastian Redl | 2010-08-02 | 5 | -207/+110 |
| | | | | llvm-svn: 110078 | ||||
* | Sketch up a preliminary Type-Based Alias Analysis implementation. | Dan Gohman | 2010-08-02 | 3 | -0/+199 |
| | | | | llvm-svn: 110077 | ||||
* | Fix visitInvokeInst to call visitTerminatorInst, and remove | Dan Gohman | 2010-08-02 | 1 | -4/+1 |
| | | | | | | a redundant check from checkInstruction. llvm-svn: 110076 | ||||
* | Add Verifier logic for indirectbr. | Dan Gohman | 2010-08-02 | 1 | -0/+11 |
| | | | | llvm-svn: 110075 | ||||
* | Add a lint check for indirectbr with no successors. | Dan Gohman | 2010-08-02 | 2 | -1/+6 |
| | | | | llvm-svn: 110074 | ||||
* | Add explicit constructors. Patch by Renato Golin. | Devang Patel | 2010-08-02 | 2 | -0/+26 |
| | | | | llvm-svn: 110072 | ||||
* | Fix another case (this time in JumpScopeChecker) where walking deeply nested ↵ | Ted Kremenek | 2010-08-02 | 1 | -1/+11 |
| | | | | | | CaseStmts can blow out the stack. Fixes <rdar://problem/8125165>. llvm-svn: 110071 | ||||
* | Testcase for r110043. Radar 8246180. | Stuart Hastings | 2010-08-02 | 1 | -0/+24 |
| | | | | llvm-svn: 110070 | ||||
* | Early exit and reduce indentation. No functionality change. | Bill Wendling | 2010-08-02 | 1 | -105/+106 |
| | | | | llvm-svn: 110069 | ||||
* | Fix idempotent operations false positive caused by ivars not being ↵ | Ted Kremenek | 2010-08-02 | 2 | -2/+38 |
| | | | | | | | | invalidated in function calls when the enclosing object had retain/release state. Fixes <rdar://problem/8261992>. llvm-svn: 110068 | ||||
* | Added comment. | Johnny Chen | 2010-08-02 | 1 | -1/+5 |
| | | | | llvm-svn: 110066 | ||||
* | Improve discrimination of unknown libraries from ignored targets on | Oscar Fuentes | 2010-08-02 | 1 | -6/+10 |
| | | | | | | LLVMConfig. llvm-svn: 110065 | ||||
* | Cleanup of test case. Added more comments. | Johnny Chen | 2010-08-02 | 1 | -1/+3 |
| | | | | llvm-svn: 110064 | ||||
* | Further adjustments to -Wglobal-constructors; works for references and direct | John McCall | 2010-08-02 | 7 | -34/+58 |
| | | | | | | initializations now. llvm-svn: 110063 | ||||
* | Add Darwin dylib versioning support to libclang when build with CMake. | Douglas Gregor | 2010-08-02 | 1 | -8/+13 |
| | | | | llvm-svn: 110062 | ||||
* | When using a precompiled preamble, save the diagnostics produced when | Douglas Gregor | 2010-08-02 | 5 | -19/+74 |
| | | | | | | | | creating the preamble and "replay" them when reusing the preamble. Also, fix a thinko in the copying of the preamble when building the precompiled preamble. llvm-svn: 110061 | ||||
* | explicit_map_components_to_libraries now does not complain when there | Oscar Fuentes | 2010-08-02 | 1 | -1/+25 |
| | | | | | | | | | | | is a dependence on an LLVM target that is not included on the build. When LLVM_TARGETS_TO_BUILD didn't include all the targets, the function emitted an error like "Library LLVMArmParser not found in list of llvm libraries." llvm-svn: 110060 |