summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [AVX] General VUNPCKL codegen support.David Greene2011-02-222-0/+20
| | | | llvm-svn: 126264
* Fix Builder::execute() to more properly pass the desired environmentDavid Greene2011-02-221-4/+4
| | | | | | to tools. llvm-svn: 126263
* When checking for abstract types, don't crash when we have aDouglas Gregor2011-02-222-0/+13
| | | | | | | FunctionProtoTypeLoc with NULL function parameter types, which can occur in invalid code. Fixes PR9247 / <rdar://problem/9037911>. llvm-svn: 126262
* Provide Fixit warning when 'auto' is intended as storageFariborz Jahanian2011-02-226-5/+36
| | | | | | | specifier in legacy code. Patch is reviewed offline by Doug. // rdar://9036633. llvm-svn: 126261
* Don't enable thread safe logging as it currently deadlocks logging.Greg Clayton2011-02-221-2/+2
| | | | llvm-svn: 126260
* Change the RAGreedy register assignment order so large live ranges are ↵Jakob Stoklund Olesen2011-02-223-47/+69
| | | | | | | | | | | | | | allocated first. This is based on the observation that long live ranges are more difficult to allocate, so there is a better chance of solving the puzzle by handling the big pieces first. The allocator will evict and split long alive ranges when they get in the way. RABasic is still using spill weights for its priority queue, so the interface to the queue has been virtualized. llvm-svn: 126259
* 80 Col.Jakob Stoklund Olesen2011-02-221-2/+1
| | | | llvm-svn: 126258
* Make logs threadsafe (add the -t option) when logging API stuff.Greg Clayton2011-02-221-2/+2
| | | | llvm-svn: 126257
* Fix C++0x incompatibility. The signature of std::make_pair<> changes from:Nick Lewycky2011-02-222-2/+2
| | | | | | | | | | | template <class T1, class T2> pair<T1,T2> make_pair(const T1&, const T2&); to template <class T1, class T2> pair<V1, V2> make_pair(T1&&, T2&&); so explicitly specifying the template arguments to make_pair<> is going to break when C++0x rolls through. Replace them with equivalent std::pair<>. Patch by James Dennett! llvm-svn: 126256
* Emit the structure layout of the block literal parameter to a blockJohn McCall2011-02-228-165/+258
| | | | | | | | | | invocation function into the debug info. Rather than faking up a class, which is tricky because of the custom layout we do, we just emit a struct directly from the layout information we've already got. Also, don't emit an unnecessarily parameter alloca for this "variable". llvm-svn: 126255
* Give ImplicitParamDecl a public constructor so that it can be allocated onJohn McCall2011-02-222-8/+12
| | | | | | the stack. llvm-svn: 126254
* Make LoopDeletion work on loops with multiple edges, as long as the incomingCameron Zwarich2011-02-222-8/+41
| | | | | | values from all of the loop's exiting blocks are equal. Patch by Andrew Clinton. llvm-svn: 126253
* Provide a Decl::getNonClosureContext to look through any "closure" (i.e.John McCall2011-02-222-0/+27
| | | | | | block and, eventually, C++ lambda) contexts. llvm-svn: 126252
* Fixed a hang in the expression parser's result synthesizer that occurs when ↵Sean Callanan2011-02-221-0/+4
| | | | | | the function generated for the expression is completely empty except for a NULL_STMT. This happens sometimes when the parser returns errors. llvm-svn: 126251
* We need a longer long when testing this pathe Microsoft ↵Douglas Gregor2011-02-222-2/+2
| | | | | | fixed-underlying-type extension for enumeration types llvm-svn: 126250
* Add two convenience functions: DecodeImmShiftThumb() and DecodeImmShiftARM() ↵Johnny Chen2011-02-222-38/+52
| | | | | | | | to ARMUtils.h. Use them within EmulateInstructionARM.cpp to save repetitive typing. llvm-svn: 126247
* A constructor call should force class's debug info even if ↵Devang Patel2011-02-222-0/+25
| | | | | | -flimit-debug-info is enabled. llvm-svn: 126246
* improve support for SUSE Linux Enterprise Server 11 SP1 (x86_64).Chris Lattner2011-02-221-1/+1
| | | | | | Patch by Csaba Raduly! llvm-svn: 126245
* Use the same (%dx) hack for in[bwl] as for out[bwl].Joerg Sonnenberger2011-02-222-3/+35
| | | | llvm-svn: 126244
* Enable enumeration types with a fixed underlying type, e.g.,Douglas Gregor2011-02-224-2/+36
| | | | | | | | | enum X : long { Value = 0x100000000 }; when in Microsoft-extension mode (-fms-extensions). This (now C++0x) feature has been supported since Microsoft Visual Studio .NET 2003. llvm-svn: 126243
* Use an unused-except-in-Debug variable.Matt Beaumont-Gay2011-02-221-1/+1
| | | | llvm-svn: 126240
* VFP single precision arith instructions can go down to NEON pipeline, but on ↵Evan Cheng2011-02-226-109/+114
| | | | | | Cortex-A8 only. llvm-svn: 126238
* Add "cmp<c>.w <Rn>, #<const>" emulation to EmulateCMPImm() method,Johnny Chen2011-02-221-12/+18
| | | | | | and implement EmulateCMNImm() and EMulateCMNReg() methods. llvm-svn: 126236
* Remove an assertion that was causing a crash.Greg Clayton2011-02-221-2/+12
| | | | llvm-svn: 126235
* Fix the 'variants' field of "CMN (immediate)" Encoding T1 entry, it should ↵Johnny Chen2011-02-221-1/+1
| | | | | | be ARMV6T2_ABOVE, not ARMvAll. llvm-svn: 126234
* Use LLVM coding standard.Devang Patel2011-02-221-93/+93
| | | | llvm-svn: 126232
* Follow LLVM coding style. Devang Patel2011-02-222-154/+154
| | | | | | clang uses DBuilder, so it requries corresponding change. llvm-svn: 126231
* Implement the GNU C extension which permits the initialization of anDouglas Gregor2011-02-224-6/+137
| | | | | | array from a constant array compound literal. Fixes PR9261. llvm-svn: 126230
* [analyzer] Start moving the path-sensitive checkers to CheckerV2.Argyrios Kyrtzidis2011-02-226-108/+615
| | | | | | | | -Migrate ObjCSelfInitChecker to CheckerV2. In the process remove the 'preCallSelfFlags' field from the checker class and use GRState for storing that info. -Get ExprEngine to start delegating checker running to CheckerManager. llvm-svn: 126229
* [analyzer] Separate CheckerContext into its own include file. No ↵Argyrios Kyrtzidis2011-02-222-159/+187
| | | | | | functionality change. llvm-svn: 126228
* [analyzer] Fix GRStatePartialTrait<bool> and introduce ↵Argyrios Kyrtzidis2011-02-221-1/+15
| | | | | | GRStatePartialTrait<unsigned>. llvm-svn: 126227
* Stack alignment is 16 bytes on FreeBSD/i386 too.Roman Divacky2011-02-222-3/+5
| | | | llvm-svn: 126226
* Bug#9172: Don't use static in file scope, use an attribute on theJoerg Sonnenberger2011-02-221-5/+5
| | | | | | parser. llvm-svn: 126225
* CMake: remove unnecessary variable.Oscar Fuentes2011-02-224-6/+1
| | | | llvm-svn: 126224
* Remove the storage for -cxx-system-include. Make libcxx toolchainJoerg Sonnenberger2011-02-224-16/+4
| | | | | | use -nostdinc++ and -cxx-isystem. llvm-svn: 126223
* Jean-Daniel Dupas fixes install directionsHoward Hinnant2011-02-221-1/+2
| | | | llvm-svn: 126222
* Reimplement __pragma support using a TokenLexerPeter Collingbourne2011-02-223-39/+30
| | | | llvm-svn: 126221
* Make TokenLexer capable of storing preprocessor directive tokensPeter Collingbourne2011-02-224-4/+16
| | | | llvm-svn: 126220
* CMAKE_EXECUTABLE_SUFFIX is undefined when a cmake script is executedOscar Fuentes2011-02-221-2/+9
| | | | | | | | with cmake -P ... so we need to deduce the correct executable prefix. Fixes PR9286. llvm-svn: 126219
* MachineConstantPoolValues are not uniqued, so they need to be freed if theyCameron Zwarich2011-02-222-1/+10
| | | | | | | | | share entries. Add a DenseSet to MachineConstantPool for the MachineCPVs that it owns. This will hopefully fix the MC/ARM/elf-reloc-01.ll failure on the leaks bots. llvm-svn: 126218
* Revert r126195, "test/CodeGen/X86/vec_cast.ll: Mark as XFAIL: migw,win32 for ↵NAKAMURA Takumi2011-02-221-2/+1
| | | | | | | | workaround of PR8311." It seems it affected configuration --target=i686-pc-mingw32, I don't know and will investigate why. llvm-svn: 126217
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-4/+5
| | | | llvm-svn: 126216
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-2/+3
| | | | llvm-svn: 126215
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-6/+7
| | | | llvm-svn: 126214
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-10/+11
| | | | llvm-svn: 126213
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-7/+8
| | | | llvm-svn: 126212
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-2/+3
| | | | | | | | On @foobar(double %d, double* %x), AMD64: (%xmm0, %rdi) Win64: (%xmm0, %rdx) (not %rcx!) llvm-svn: 126211
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-5/+6
| | | | llvm-svn: 126210
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-3/+4
| | | | llvm-svn: 126209
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-10/+11
| | | | llvm-svn: 126208
OpenPOWER on IntegriCloud