summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 'Assumption &A' gets default initialized to 'Possible' if it doesn't exist; ↵Ted Kremenek2010-08-021-8/+5
| | | | | | | | no need to two lookups in the hashtable. llvm-svn: 110059
* Add test case for <rdar://problem/8258814>.Ted Kremenek2010-08-021-0/+9
| | | | llvm-svn: 110058
* Lets the CMake GUI show a list of possible values for LLVM_USE_CRTOscar Fuentes2010-08-021-0/+3
| | | | | | Patch by nobled! llvm-svn: 110057
* Fix namespace polution.Dan Gohman2010-08-022-2/+6
| | | | llvm-svn: 110056
* Updated LLVMLibDeps.cmake.Oscar Fuentes2010-08-021-1/+0
| | | | llvm-svn: 110055
* Query only the latest version of an identifier in the PCH chain. Make sure ↵Sebastian Redl2010-08-026-29/+27
| | | | | | this version holds the entire declaration chain. This is a much saner solution than trying to merge the info from all elements, and makes redeclarations work properly. Expand the declarations test case to cover more compliated cases. llvm-svn: 110052
* Remove mutable data on TagType and InjectedClassNameType, by instead walking ↵Sebastian Redl2010-08-024-33/+41
| | | | | | the declaration chain in search of a definition. This is necessary for a sane chained PCH implementation. No observable performance change on Carbon.h syntax-only, and bootstraps cleanly. llvm-svn: 110051
* Compute width/align of objc builtin types (id, etc)Fariborz Jahanian2010-08-021-0/+6
| | | | | | for radar 8258797. llvm-svn: 110047
* Free DbgScope created for dead functions.Devang Patel2010-08-021-0/+4
| | | | llvm-svn: 110045
* Update UsersManual, we support '#pragma align' now.Daniel Dunbar2010-08-021-5/+0
| | | | llvm-svn: 110040
* Frontend: Change PluginASTAction::ParseArgs to take a CompilerInstance objectDaniel Dunbar2010-08-023-11/+29
| | | | | | | | | | | | for use in reporting diagnostics. - We don't want to use the Action's own CompilerInstance, because that is only initialized during file processing and I like that invariant. Also, if ParseArgs returns false then abandon execution. Also, remove unused PluginASTAction::PrintHelp virtual method. llvm-svn: 110039
* More SPU v2f32 stuff added: insertelement and shuffle.Kalle Raiskila2010-08-023-0/+19
| | | | llvm-svn: 110038
* Add preliminary v2f32 support for SPU. Like with v2i32, we justKalle Raiskila2010-08-025-69/+116
| | | | | | | | duplicate the instructions and operate on half vectors. Also reorder code in SPUInstrInfo.td for better coherency. llvm-svn: 110037
* Re-apply the infamous r108614, with a fix pointed out by Dirk Steinke.Owen Anderson2010-08-022-5/+64
| | | | llvm-svn: 110036
* Add preliminary v2i32 support for SPU backend. As there are noKalle Raiskila2010-08-025-6/+106
| | | | | | | | | | such registers in SPU, this support boils down to "emulating" them by duplicating instructions on the general purpose registers. This adds the most basic operations on v2i32: passing parameters, addition, subtraction, multiplication and a few others. llvm-svn: 110035
* You actually have to include a header in order to use a symbol, it's so 90s..Argyrios Kyrtzidis2010-08-021-0/+1
| | | | llvm-svn: 110034
OpenPOWER on IntegriCloud