summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avoid undefined behavior negating minint.Chris Lattner2010-08-031-2/+2
| | | | llvm-svn: 110117
* fix some undefined behavior, PR7779.Chris Lattner2010-08-031-3/+4
| | | | llvm-svn: 110116
* Fix a typo Devang noticed.Dan Gohman2010-08-031-1/+1
| | | | llvm-svn: 110115
* avoid undef behavior on minint, fixing PR7783.Chris Lattner2010-08-031-2/+3
| | | | llvm-svn: 110114
* Add an atomic lowering passPeter Collingbourne2010-08-039-0/+266
| | | | llvm-svn: 110113
* Use unary + instead of a separate local variable for workingDan Gohman2010-08-031-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 theDaniel Dunbar2010-08-031-0/+5
| | | | | | | assembler. - Fixes PR6218, hopefully. llvm-svn: 110111
* Bump cmake_minimum_required to version 2.8Oscar Fuentes2010-08-031-1/+1
| | | | llvm-svn: 110110
* build: Add LLVM_NATIVE_ARCHNAME, which has the sensible value, without "Target"Daniel Dunbar2010-08-036-10/+17
| | | | | | appended. llvm-svn: 110109
* Reshuffle the PCH generator action and consumer, so that we can re-useDouglas Gregor2010-08-036-49/+111
| | | | | | it while generating precompiled preambles. No functionality change. llvm-svn: 110108
* Emit weak vtables of non-template classes with hidden visibility.John McCall2010-08-035-7/+33
| | | | llvm-svn: 110107
* Allow offsets to be negative. Out-of-bound cases are checked elsewhere. We Zhongxing Xu2010-08-033-9/+8
| | | | | | shouldn't put restrictions in store manager. llvm-svn: 110106
* Remove the test/mc directory that I accidently added.Michael J. Spencer2010-08-030-0/+0
| | | | | | This directory conflicts with test/MC on Windows machines. llvm-svn: 110105
* MC: Fix symbol fragment offsets in COFF.Michael J. Spencer2010-08-032-1/+184
| | | | | | Patch by Cameron Esfahani! llvm-svn: 110104
* Revert "MC: Fix symbol fragment offsets in COFF."Michael J. Spencer2010-08-032-184/+1
| | | | | | | | This reverts commit r110100 Wrong path caps. llvm-svn: 110103
* Pull the region offset computation logic into a single method.Zhongxing Xu2010-08-033-95/+79
| | | | llvm-svn: 110102
* MC: Add time travel support to COFF.Michael J. Spencer2010-08-031-0/+4
| | | | llvm-svn: 110101
* MC: Fix symbol fragment offsets in COFF.Michael J. Spencer2010-08-032-1/+184
| | | | | | Patch by Cameron Esfahani! llvm-svn: 110100
* Fix CMake buildMichael J. Spencer2010-08-031-0/+1
| | | | llvm-svn: 110097
* Support x86 AVX 256-bit instructions built-ins. Right now support all of ↵Bruno Cardoso Lopes2010-08-032-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 Care2010-08-036-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 Lopes2010-08-031-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 Clayton2010-08-034-13/+77
| | | | llvm-svn: 110093
* Update some comments.Dan Gohman2010-08-031-6/+6
| | | | llvm-svn: 110092
* Introduce a symbolic constant for ~0u for use with AliasAnalysis.Dan Gohman2010-08-033-10/+16
| | | | llvm-svn: 110091
* Add a convenient form of AliasAnalysis::alias for the case where the sizesDan Gohman2010-08-033-6/+8
| | | | | | are unknown. llvm-svn: 110090
* Added support for objective C built-in types: id, Class, and SEL. This Greg Clayton2010-08-0328-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 insertionSean Callanan2010-08-032-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 Kremenek2010-08-038-6/+33
| | | | | | analysis) that doesn't prune CFG edges. llvm-svn: 110087
* Make SCEVUnknown a CallbackVH, so that it can be notified directlyDan Gohman2010-08-026-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 Kremenek2010-08-024-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 theJohn McCall2010-08-024-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 Hastings2010-08-021-0/+3
| | | | | | Radar 8246180. llvm-svn: 110081
* Simplify global method pool implementation in Sema. No functionality change.Sebastian Redl2010-08-025-207/+110
| | | | llvm-svn: 110078
* Sketch up a preliminary Type-Based Alias Analysis implementation.Dan Gohman2010-08-023-0/+199
| | | | llvm-svn: 110077
* Fix visitInvokeInst to call visitTerminatorInst, and removeDan Gohman2010-08-021-4/+1
| | | | | | a redundant check from checkInstruction. llvm-svn: 110076
* Add Verifier logic for indirectbr.Dan Gohman2010-08-021-0/+11
| | | | llvm-svn: 110075
* Add a lint check for indirectbr with no successors.Dan Gohman2010-08-022-1/+6
| | | | llvm-svn: 110074
* Add explicit constructors. Patch by Renato Golin.Devang Patel2010-08-022-0/+26
| | | | llvm-svn: 110072
* Fix another case (this time in JumpScopeChecker) where walking deeply nested ↵Ted Kremenek2010-08-021-1/+11
| | | | | | CaseStmts can blow out the stack. Fixes <rdar://problem/8125165>. llvm-svn: 110071
* Testcase for r110043. Radar 8246180.Stuart Hastings2010-08-021-0/+24
| | | | llvm-svn: 110070
* Early exit and reduce indentation. No functionality change.Bill Wendling2010-08-021-105/+106
| | | | llvm-svn: 110069
* Fix idempotent operations false positive caused by ivars not being ↵Ted Kremenek2010-08-022-2/+38
| | | | | | | | invalidated in function calls when the enclosing object had retain/release state. Fixes <rdar://problem/8261992>. llvm-svn: 110068
* Added comment.Johnny Chen2010-08-021-1/+5
| | | | llvm-svn: 110066
* Improve discrimination of unknown libraries from ignored targets onOscar Fuentes2010-08-021-6/+10
| | | | | | LLVMConfig. llvm-svn: 110065
* Cleanup of test case. Added more comments.Johnny Chen2010-08-021-1/+3
| | | | llvm-svn: 110064
* Further adjustments to -Wglobal-constructors; works for references and directJohn McCall2010-08-027-34/+58
| | | | | | initializations now. llvm-svn: 110063
* Add Darwin dylib versioning support to libclang when build with CMake.Douglas Gregor2010-08-021-8/+13
| | | | llvm-svn: 110062
* When using a precompiled preamble, save the diagnostics produced whenDouglas Gregor2010-08-025-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 thereOscar Fuentes2010-08-021-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
OpenPOWER on IntegriCloud