summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* There are two ways to map a variable to its lexical scope. Lexical scope ↵Devang Patel2011-07-203-2/+18
| | | | | | information is embedded in MDNode describing the variable. It is also available as a part of DebugLoc attached with DBG_VALUE instruction. DebugLoc attached with an instruction is less reliable in optimized code so use information embedded in the MDNode. llvm-svn: 135629
* Clean up includes of llvm/Analysis/ConstantFolding.h so it's included where ↵Eli Friedman2011-07-205-1/+4
| | | | | | it's used and not included where it isn't. llvm-svn: 135628
* While emitting constant value, look through derived type and use underlying ↵Devang Patel2011-07-202-14/+84
| | | | | | basic type to determine size and signness of the constant value. llvm-svn: 135627
* ARM PKH shift ammount operand printing tweaks.Jim Grosbach2011-07-207-18/+41
| | | | | | | | | | Move the shift operator and special value (32 encoded as 0 for PKHTB) handling into the instruction printer. This cleans up a bit of the disassembler special casing for these instructions, more easily handles not printing the operand at all for "lsl #0" and prepares for correct asm parsing of these operands. llvm-svn: 135626
* Bring LICM into compliance with the new "Memory Model for Concurrent ↵Eli Friedman2011-07-202-18/+67
| | | | | | Operations" in LangRef. llvm-svn: 135625
* Commit LangRef changes for LLVM concurrency model. Start of supporting ↵Eli Friedman2011-07-201-0/+86
| | | | | | C++0x memory model and atomics. See thread on llvmdev titled "Reviving the new LLVM concurrency model". llvm-svn: 135624
* Unbreak the MSVC build. Since the "next" function already exists in the MSVC ↵Francois Pichet2011-07-201-3/+3
| | | | | | headers, we need the explicit llvm:: qualifier to prevent a conflict. llvm-svn: 135623
* Continuing to improve and generalize how IDs are handled in ASTReader. This ↵Jonathan D. Turner2011-07-202-12/+21
| | | | | | patch cleans up and generalizes TypeID loading and uses a similar table-lookup to Doug's previous Decl patch. llvm-svn: 135622
* Temporarily revert r135614 while I fix the cmake build.Chad Rosier2011-07-2011-170/+18
| | | | llvm-svn: 135621
* Remove extraneous period.Bill Wendling2011-07-201-1/+1
| | | | llvm-svn: 135619
* Tidy up a bit.Jim Grosbach2011-07-203-12/+7
| | | | | | | Move common definitions for ARM and Thumb2 into ARMInstrFormats.td and rename them to be a bit more descriptive that they're for the PKH instructions. llvm-svn: 135617
* ARM: Tidy up representation of PKH instruction.Jim Grosbach2011-07-205-37/+35
| | | | | | | | | The shift type is implied by the instruction (PKHBT vs. PKHTB) and so shouldn't be also encoded as part of the shift value immediate. Otherwise we're able to represent invalid instructions, plus it needlessly complicates the representation. Preparatory work for asm parsing of these instructions. llvm-svn: 135616
* Add a note.Johnny Chen2011-07-201-0/+1
| | | | llvm-svn: 135615
* When the compiler crashes, the compiler driver now produces diagnostic ↵Chad Rosier2011-07-2011-18/+170
| | | | | | | | | information including the fully preprocessed source file(s) and command line arguments. The developer is asked to attach this diagnostic information to a bug report. llvm-svn: 135614
* Fix cmake again :)Benjamin Kramer2011-07-201-1/+0
| | | | llvm-svn: 135613
* Match MCContext change.Evan Cheng2011-07-201-4/+3
| | | | llvm-svn: 135612
* Goodbye TargetAsmInfo. This eliminate last bit of CodeGen and Target in llvm-mc.Evan Cheng2011-07-2028-298/+96
| | | | | | | There is still a bit more refactoring left to do in Targets. But we are now very close to fixing all the layering issues in MC. llvm-svn: 135611
* Fix -Wuninitialized regression involving functions invalidating parameters ↵Ted Kremenek2011-07-202-1/+13
| | | | | | passed by reference. llvm-svn: 135610
* Fix cmake.Benjamin Kramer2011-07-201-0/+1
| | | | llvm-svn: 135609
* Sketch out an CFG reconstruction mode for llvm-objdump.Benjamin Kramer2011-07-203-3/+242
| | | | | | | | | | | | | - Not great yet, but it's a start. - Requires an object file with a symbol table. (I really want to fix this, but it'll need a whole new algorithm) - ELF and COFF won't work at the moment due to libObject shortcomings. To try it out run $ llvm-objdump -d --cfg foo.o This will create a graphviz file for every symbol in the object file's text section containing a CFG. llvm-svn: 135608
* Extend the hack for _GLOBAL_OFFSET_TABLE_ slightly; PR10389.Eli Friedman2011-07-202-3/+6
| | | | llvm-svn: 135607
* Minor modification.Johnny Chen2011-07-201-1/+1
| | | | llvm-svn: 135606
* Whitespace.Chad Rosier2011-07-201-3/+0
| | | | llvm-svn: 135605
* If -ccc-host-triple i386-pc-win32-macho or -ccc-host-triple Chad Rosier2011-07-202-1/+29
| | | | | | | | x86_64-pc-win32-macho is used in conjunction with -no-integrated-as go ahead and use the Darwin system assembler. rdar://9785470 llvm-svn: 135604
* Add parsing/encoding tests for ARM ORR instruction.Jim Grosbach2011-07-202-6/+79
| | | | llvm-svn: 135602
* Added copyright headerMarshall Clow2011-07-201-0/+14
| | | | llvm-svn: 135601
* Consolidate ARM NOP encoding test.Jim Grosbach2011-07-202-11/+9
| | | | llvm-svn: 135600
* ARM parsing and encoding tests for MVNJim Grosbach2011-07-201-0/+57
| | | | llvm-svn: 135599
* Skip the remaining -Y? (skipping ? layers of summaries) tests if using a ↵Johnny Chen2011-07-201-0/+16
| | | | | | | | known version of Apple gcc build which produces wrong namespace for std::string in debug info. llvm-svn: 135597
* ARM assembly parsing of MUL instruction.Jim Grosbach2011-07-202-1/+16
| | | | | | | Correctly handle 's' bit and predication suffices. Add parsing and encoding tests. llvm-svn: 135596
* PR10421: Fix a straightforward bug in the widening logic for CONCAT_VECTORS.Eli Friedman2011-07-202-5/+13
| | | | llvm-svn: 135595
* Initialize the EHFrameSection pointer to zero.Benjamin Kramer2011-07-201-0/+1
| | | | | | This should fix the spurious buildbot errors. llvm-svn: 135594
* arc-objc++: Issue an arc specific diagnostic when overload resolutionFariborz Jahanian2011-07-203-1/+44
| | | | | | | fails because of lifetime differences of parameter and argument type. // rdar://9790531 llvm-svn: 135593
* Regenerate configure and friends for Chad.Eric Christopher2011-07-202-2/+21
| | | | llvm-svn: 135592
* test/CMakeLists.txt: Re-indent.NAKAMURA Takumi2011-07-201-4/+4
| | | | llvm-svn: 135591
* Update status: http://libcxxabi.llvm.org/spec.html . Looking good! :-)Howard Hinnant2011-07-202-64/+60
| | | | llvm-svn: 135590
* Memory manangement routines for exception objectsMarshall Clow2011-07-203-0/+448
| | | | llvm-svn: 135587
* Exception handling stuctures, and thread-local variables for exception handlingMarshall Clow2011-07-203-0/+240
| | | | llvm-svn: 135586
* Unbreak build after API change.Benjamin Kramer2011-07-201-6/+7
| | | | llvm-svn: 135585
* Fixed struct/class mismatch for std::type_info and added NORETURN flagsMarshall Clow2011-07-201-3/+3
| | | | llvm-svn: 135584
* Fix a GCC warning.Jay Foad2011-07-201-2/+2
| | | | llvm-svn: 135581
* - Move CodeModel from a TargetMachine global option to MCCodeGenInfo.Evan Cheng2011-07-2054-232/+277
| | | | | | | | - Introduce JITDefault code model. This tells targets to set different default code model for JIT. This eliminates the ugly hack in TargetMachine where code model is changed after construction. llvm-svn: 135580
* arrayref should now move in here, and redundant #includes of <cassert> can go Chris Lattner2011-07-201-1/+1
| | | | | | | away (since it comes in through Casting.h). This will have to wait for another day when I'm unmotivated though, or someone else to pick it up :) llvm-svn: 135579
* remove some now-redundant forward declarations.Chris Lattner2011-07-2018-56/+0
| | | | llvm-svn: 135578
* add raw_ostream and Twine to LLVM.h, eliminating a ton of llvm:: qualifications.Chris Lattner2011-07-2054-164/+159
| | | | llvm-svn: 135577
* now that we have a centralized place to do so, add some using declarations forChris Lattner2011-07-20120-663/+687
| | | | | | | some common llvm types: stringref and smallvector. This cleans up the codebase quite a bit. llvm-svn: 135576
* Include MCRegisterInfo to eliminate a compilation warning.Evan Cheng2011-07-201-1/+2
| | | | llvm-svn: 135575
* introduce a centralized place to introduce and inject llvm types into theChris Lattner2011-07-208-40/+46
| | | | | | | | clang namespace. There are a number of LLVM types that are used pervasively and it doesn't make sense to keep qualifying them. Start with casting operators. llvm-svn: 135574
* Fix the CMake build.Francois Pichet2011-07-201-0/+1
| | | | llvm-svn: 135573
* fix rdar://9780211 - Clang crashes with an assertion failure building ↵Chris Lattner2011-07-202-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | WKView.mm from WebKit This is something of a hack, the problem is as follows: 1. we instantiate both copied of RetainPtr with the two different argument types (an id and protocol-qualified id). 2. We refer to the ctor of one of the instantiations when introducing global "x", this causes us to emit an llvm::Function for a prototype whose "this" has type "RetainPtr<id<bork> >*". 3. We refer to the ctor of the other instantiation when introducing global "y", however, because it *mangles to the same name as the other ctor* we just use a bitcasted version of the llvm::Function we previously emitted. 4. We emit deferred declarations, causing us to emit the body of the ctor, however the body we emit is for RetainPtr<id>, which expects its 'this' to have an IR type of "RetainPtr<id>*". Because of the mangling collision, we don't have this case, and explode. This is really some sort of weird AST invariant violation or something, but hey a bitcast makes the pain go away. llvm-svn: 135572
OpenPOWER on IntegriCloud