summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add uwtable, returnstwice and nonlazybind to the C bindings also.Torok Edwin2011-10-061-1/+4
| | | | llvm-svn: 141289
* ocaml/C bindings: type->isSized()Torok Edwin2011-10-065-0/+16
| | | | llvm-svn: 141288
* add binding to read icmp predicateTorok Edwin2011-10-065-0/+27
| | | | llvm-svn: 141287
* ocaml/C bindings: getmdstring, add num_op, get_op should work on metadata tooTorok Edwin2011-10-065-2/+76
| | | | llvm-svn: 141286
* C/OCaml API to retrieve struct name.Torok Edwin2011-10-065-0/+28
| | | | llvm-svn: 141285
* ocaml bindings: add llvm_ipo based on IPO.hTorok Edwin2011-10-066-1/+328
| | | | llvm-svn: 141284
* add more tests for the OCaml bindingsTorok Edwin2011-10-061-9/+101
| | | | llvm-svn: 141283
* [libclang] Fix symbol export for clang_Range_isNull so MSVC won't complain.Erik Verbruggen2011-10-061-2/+3
| | | | llvm-svn: 141282
* Fixed GCC (C90) and Clang warnings.Erik Verbruggen2011-10-061-6/+3
| | | | llvm-svn: 141281
* PR11067: A definition of a constexpr static variable doesn't need an ↵Richard Smith2011-10-063-12/+9
| | | | | | initializer if the in-class declaration had one. Such a declaration must be initialized by a constant expression. llvm-svn: 141279
* Added CXAvailability_NotAccessible to indicate that a declaration is ↵Erik Verbruggen2011-10-0610-14/+154
| | | | | | available, but not accessible from the current code completion context. llvm-svn: 141278
* [libclang] Introduce clang_findReferencesInFile which accepts a cursor, a file,Argyrios Kyrtzidis2011-10-0612-62/+965
| | | | | | | | and a callback and finds all identifier references of the cursor in the file. rdar://7948304 llvm-svn: 141277
* [libclang] Move the bulk of clang_getOverriddenCursors intoArgyrios Kyrtzidis2011-10-063-95/+95
| | | | | | | a cxcursor::getOverriddenCursors C++ function, because SmallVectors are groovier that malloc'ing buffers. llvm-svn: 141276
* Address Sebastians commentsTobias Grosser2011-10-062-27/+31
| | | | | | This also adds some other cleanups I performed on my way. llvm-svn: 141275
* Fix assembling of xchg %eax, %eax to not use the NOP encoding of 0x90. This ↵Craig Topper2011-10-066-3/+71
| | | | | | was done by creating a new register group that excludes AX registers. Fixes PR10345. Also added aliases for flipping the order of the operands of xchg <reg>, %eax. llvm-svn: 141274
* Use a sidetable in ASTContext for ParmVarDecls whose index exceeds the 8 ↵Ted Kremenek2011-10-065-2/+361
| | | | | | bits reserved for that value in VarDecl. Fixes PR 10538. llvm-svn: 141273
* Hoist truncation checking for ParmVarDeclBitfields::ParameterIndex into its ↵Ted Kremenek2011-10-061-7/+13
| | | | | | own helper method. No functionality change. llvm-svn: 141272
* OpenCL: add a non-standard extension, cl_clang_storage_class_specifiers,Peter Collingbourne2011-10-066-35/+50
| | | | | | | | | which enables support for C99 storage-class specifiers. This extension is intended to be used by implementations to implement OpenCL C built-in functions. llvm-svn: 141271
* OpenCL: disallow '#pragma OPENCL EXTENSION all : enable', per OpenCL 1.1 9.1Peter Collingbourne2011-10-062-2/+8
| | | | llvm-svn: 141270
* Cosmetic change.Evan Cheng2011-10-061-16/+16
| | | | llvm-svn: 141269
* Add -Wlanguage-extension-token option for ext_token_used warning.Ivan Krasin2011-10-063-3/+4
| | | | llvm-svn: 141268
* Clang-side build system infrastructure for multiple tblgens.Peter Collingbourne2011-10-0610-43/+53
| | | | llvm-svn: 141267
* Build system infrastructure for multiple tblgens.Peter Collingbourne2011-10-0621-193/+218
| | | | llvm-svn: 141266
* ProcessGDBRemote::BuildDynamicRegisterInfo() - even if we don't have a ↵Jason Molenda2011-10-061-1/+11
| | | | | | | | | Target architecture set up yet, if we're talking to an Apple arm device set the register set based on the arm device's attributes; this is a safe assumption to make in this particular environment. llvm-svn: 141265
* Add a test sequence for 'target variable' command when no arguments are given.Johnny Chen2011-10-061-0/+8
| | | | llvm-svn: 141264
* Add the MBBs before inserting the instructions. Doing it afterwards could leadBill Wendling2011-10-061-28/+10
| | | | | | | | to an infinite loop because of the def-use chains. Also use a frame load instead of store for the LD instruction. llvm-svn: 141263
* [analyzer] Remove the dependency on CheckerContext::getStmt() as well as the ↵Anna Zaks2011-10-0612-29/+44
| | | | | | method itself. llvm-svn: 141262
* When constructing debug information for synthesized variables for theEric Christopher2011-10-062-3/+23
| | | | | | | | | | non-fragile ABI we may not be able to lay out the type and the debugger would ignore us even if we did put in the offset. Go ahead and just put any value there and don't look up the offset since it may not exist. rdar://10210157 llvm-svn: 141261
* Reformat comment.Eric Christopher2011-10-061-6/+6
| | | | llvm-svn: 141260
* Added a new logging channel to the DWARF called "lookups":Greg Clayton2011-10-068-26/+94
| | | | | | | | | (lldb) log enable dwarf lookups This allows us to see when lookups are being done on functions, addresses, and types by both name and regular expresssion. llvm-svn: 141259
* Remove the TRI::getSubRegisterRegClass() hook.Jakob Stoklund Olesen2011-10-062-49/+3
| | | | | | | | | | | | | | | | This restores my karma after I added TRI::getSubClassWithSubReg(). Register constraints are applied 'backwards'. Starting from the register class required by an instruction operand, the correct question is: 'How can I constrain the super-register register class so all its sub-registers satisfy the instruction constraint?' The getMatchingSuperRegClass() hook answers that. We never need to go 'forwards': Starting from a super-register register class, what register class are the sub-registers in? The getSubRegisterRegClass() hook did that. llvm-svn: 141258
* ScopInfo: Only give away a copy of the access relation.Tobias Grosser2011-10-065-31/+43
| | | | | | | | Also take the chance and rename access functions to access relations. This is because we do not only allow plain functions to describe an access, but we can have any access relation that can be described with linear constraints. llvm-svn: 141257
* ScopInfo: Only give away a copy of the schedule.Tobias Grosser2011-10-068-43/+54
| | | | llvm-svn: 141256
* ScopInfo: Only give away a copy of the ContextTobias Grosser2011-10-063-9/+8
| | | | llvm-svn: 141255
* ScopInfo: Get the isl_ctx always with getIslCtx()Tobias Grosser2011-10-066-17/+16
| | | | llvm-svn: 141254
* ScopInfo: Use separate function to build contextTobias Grosser2011-10-063-14/+24
| | | | llvm-svn: 141253
* Export the parameter space directly from the SCoP.Tobias Grosser2011-10-063-24/+20
| | | | | | Use this to simplify some code. llvm-svn: 141252
* Adapt to introduction of isl_spaceTobias Grosser2011-10-0612-258/+283
| | | | | | | | Polly should now be compiled with CLooG 0c252c88946b27b7b61a1a8d8fd7f94d2461dbfd and isl 56b7d238929980e62218525b4b3be121af386edf. The most convenient way to update is utils/checkout_cloog.sh. llvm-svn: 141251
* Fix major regression in RetainCountChecker. DefaultSummaries were not being ↵Ted Kremenek2011-10-052-90/+135
| | | | | | used when they were meant to be. Fixes <rdar://problem/10241614>. llvm-svn: 141250
* [analyzer] Remove the last dependency on CheckerContext::getNodeBuilder() as ↵Anna Zaks2011-10-052-15/+10
| | | | | | | | well as the method itself. Checkers should not directly access NodeBuilder, nodes can be created by calling the CheckerContext's generateNode() methods. llvm-svn: 141249
* Always merge profitable shifts on A9, not just when they have a single use.Cameron Zwarich2011-10-051-6/+2
| | | | llvm-svn: 141248
* Remove a check from ARM shifted operand isel helper methods, which were blockingCameron Zwarich2011-10-052-15/+4
| | | | | | | | merging an lsl #2 that has multiple uses on A9. This shift is free, so there is no problem merging it in multiple places. Other unprofitable shifts will not be merged. llvm-svn: 141247
* [analyzer] OSAtomicChecker implements evalCall in a very invasive way - it ↵Anna Zaks2011-10-054-23/+110
| | | | | | | | essentially simulates inlining of compareAndSwap() by means of setting the NodeBuilder flags and calling ExprEngine directly. This commit introduces a new callback just for this checker to unblock checker API cleanup. llvm-svn: 141246
* Get the proper call site numbers for the landing pads. Also remove a magicBill Wendling2011-10-051-15/+27
| | | | | | number (18) for the proper addressing mode. llvm-svn: 141245
* Add accessor method to check if the landing pad symbol has call site ↵Bill Wendling2011-10-051-0/+8
| | | | | | information. llvm-svn: 141244
* Fix a typo.David Greene2011-10-051-1/+1
| | | | | | Fix the argument passed in the multidef example. llvm-svn: 141243
* checkout_cloog: Fix this script to run on our buildbot.Tobias Grosser2011-10-051-7/+7
| | | | llvm-svn: 141242
* Add a page describing the emacs integration elisp code based on the Grand ↵Johnny Chen2011-10-053-0/+51
| | | | | | | | Unified Debugger. An lldb-enhanced gud.el is located under utils/emacs. llvm-svn: 141241
* Prefix Template Arg Names with Multiclass NameDavid Greene2011-10-051-0/+3
| | | | | | | | For consistency, prefix multiclass template arg names with the multiclass name followed by "::" to avoid name clashes among multiclass arguments and other entities in the multiclass. llvm-svn: 141239
* Vim Support for MultidefsDavid Greene2011-10-051-1/+1
| | | | | | Add vim highlighting support for multidefs. llvm-svn: 141238
OpenPOWER on IntegriCloud