summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Fix up a comment: besides the >80col lines, the operation for thisBob Wilson2009-07-011-6/+6
| | | | | | addressing mode is encoded in the second operand, not the third. llvm-svn: 74641
* Hold the LLVMContext by reference rather than by pointer.Owen Anderson2009-07-0155-98/+107
| | | | llvm-svn: 74640
* Fix metadata unittestsDevang Patel2009-07-011-3/+15
| | | | llvm-svn: 74638
* new test caseDevang Patel2009-07-011-0/+3
| | | | llvm-svn: 74633
* Do not print stranded metadata.Devang Patel2009-07-011-1/+2
| | | | llvm-svn: 74632
* Support stand alone metadata syntax.Devang Patel2009-07-014-22/+119
| | | | | | | !0 = constant metadata !{i32 21, i32 22} @llvm.blah = constant metadata !{i32 1000, i16 200, metadata !0} llvm-svn: 74630
* Add machine operand for MDNodes. This will be used to communicate debug info.Devang Patel2009-07-012-1/+19
| | | | llvm-svn: 74628
* llvm.dbg.declare is always used for local variable's debug info.Devang Patel2009-07-011-4/+1
| | | | llvm-svn: 74625
* Update comments to make it clear that the function alignment is the Log2 of theBill Wendling2009-07-0123-24/+24
| | | | | | bytes and not bytes. llvm-svn: 74624
* Update configure and config.h.in from r74621.Jeffrey Yasskin2009-07-012-1/+114
| | | | llvm-svn: 74623
* Fix unit tests for LLVMContext+Module.Owen Anderson2009-07-012-4/+6
| | | | llvm-svn: 74622
* Add a portable strerror*() wrapper, llvm::sys::StrError(). This includes theJeffrey Yasskin2009-07-018-31/+121
| | | | | | | | Windows variant, strerror_s, but I couldn't test that. I'll update configure and config.h.in in a subsequent patch. llvm-svn: 74621
* Use correct format for LLVM header #includes.Misha Brukman2009-07-011-1/+1
| | | | llvm-svn: 74620
* I give up on trying to use reader/writer locks for recursive type ↵Owen Anderson2009-07-011-71/+27
| | | | | | | | refinement. Use a recursive mutex instead, which will (in theory) generate more contention, but is really a much more natural fit for what's going on during recursive type refinement. llvm-svn: 74618
* Add a pointer to the owning LLVMContext to Module. This requires threading ↵Owen Anderson2009-07-0160-146/+277
| | | | | | | | | | LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614
* Fix codegen for references to available_externally symbols. This fixesChris Lattner2009-07-012-5/+77
| | | | | | PR4482. llvm-svn: 74613
* Try again at making this work on OpenBSD.Owen Anderson2009-07-011-1/+1
| | | | llvm-svn: 74612
* Executables will be at InstallDir/bin directory. Std header files will be at ↵Sanjiv Gupta2009-07-012-11/+58
| | | | | | InstallDir/include, libs will be at InstallDir/lib. Define hooks for these and use them in the options for various tools. llvm-svn: 74611
* Insure that __block_holder_tmp is allocated on the stack when a byrefStuart Hastings2009-07-011-0/+8
| | | | | | variable is present. llvm-svn: 74610
* Fix FindExecutable to work if given an absolute executable path name.Daniel Dunbar2009-07-011-5/+10
| | | | | | - Patch by Viktor Kutuzov, with tweaks by me. llvm-svn: 74608
* llvm-mc: Add some more doxyments.Daniel Dunbar2009-07-011-27/+41
| | | | llvm-svn: 74607
* NewNightlyTest: Include minutes/seconds in log file names, to support runningDaniel Dunbar2009-07-011-3/+1
| | | | | | | | multiple runs per day (insane, I know). Also, remove some unused variables. llvm-svn: 74605
* Added step-by-step directions on how to use the script to build and install anMisha Brukman2009-07-011-0/+37
| | | | | | x86_64/Linux -> ARM/Linux crosstool. llvm-svn: 74603
* CommuteChangesDestination() should check if to-be-commuted instruction ↵Evan Cheng2009-07-012-16/+160
| | | | | | defines any register. Also teaches the default commuteInstruction() to commute instruction without definitions (e.g. X86::test / ARM::tsp). llvm-svn: 74602
* Remove special handling of implicit_def. Fix a couple more bugs in ↵Evan Cheng2009-07-015-64/+175
| | | | | | | | liveintervalanalysis and coalescer handling of implicit_def. Note, isUndef marker must be placed even on implicit_def def operand or else the scavenger will not ignore it. This is necessary because -O0 path does not use liveintervalanalysis, it treats implicit_def just like any other def. llvm-svn: 74601
* Tweak MCSymbol doxyments.Daniel Dunbar2009-07-011-3/+5
| | | | llvm-svn: 74599
* llvm-mc: Fill in the rest of tokens for 'as-lex' mode.Daniel Dunbar2009-07-011-11/+23
| | | | llvm-svn: 74598
* Fix the build on OpenBSD.Owen Anderson2009-07-011-1/+1
| | | | llvm-svn: 74597
* Rename MCValue::isConstant to isAbsolute.Daniel Dunbar2009-07-012-5/+6
| | | | llvm-svn: 74596
* add some of the new tokens, others are still missing.Chris Lattner2009-07-011-10/+17
| | | | llvm-svn: 74595
* llvm-mc: Emit parsed instructions to the MCStreamer.Daniel Dunbar2009-07-011-2/+1
| | | | llvm-svn: 74594
* Dump MCInsts in the MC .s printer, for now.Daniel Dunbar2009-07-011-2/+23
| | | | llvm-svn: 74593
* add comments, privatize interfaceChris Lattner2009-07-011-2/+13
| | | | llvm-svn: 74592
* disable some ctors.Chris Lattner2009-07-011-0/+3
| | | | llvm-svn: 74591
* add some comments to MCSymbol header, make the ctor private so that only ↵Chris Lattner2009-07-011-5/+28
| | | | | | MCContext can create these. llvm-svn: 74590
* improve comments.Chris Lattner2009-07-011-1/+13
| | | | llvm-svn: 74589
* improve the APIs for creating struct and function types with no ↵Chris Lattner2009-07-0111-23/+29
| | | | | | | | arguments/elements to not have to create a temporary vector (in the API at least). Patch by Jay Foad! llvm-svn: 74584
* Fix some fast-isel problems selecting global variable addressing inChris Lattner2009-07-013-6/+42
| | | | | | pic mode. llvm-svn: 74582
* Handle IMPLICIT_DEF with isUndef operand marker, part 2. This patch moves ↵Evan Cheng2009-07-0113-62/+443
| | | | | | the code to annotate machineoperands to LiveIntervalAnalysis. It also add markers for implicit_def that define physical registers. The rest, is just a lot of details. llvm-svn: 74580
* Remove unused AsmPrinter OptLevel argument, and propogate.Daniel Dunbar2009-07-0146-132/+82
| | | | | | | - This more or less amounts to a revert of r65379. I'm curious to know what happened that caused this variable to become unused. llvm-svn: 74579
* Add PIC load and store patterns for Thumb-2.David Goodwin2009-07-014-2/+79
| | | | llvm-svn: 74577
* Add a global context, for easing backwards compatibility.Owen Anderson2009-06-302-0/+10
| | | | llvm-svn: 74574
* llvm-mc: Introduce method to match a parsed x86 instruction into an MCInst.Daniel Dunbar2009-06-303-26/+31
| | | | llvm-svn: 74573
* Fill in some methods for the MCValue field of an MCOperand.Daniel Dunbar2009-06-301-2/+16
| | | | llvm-svn: 74572
* llvm-mc: Accept relocatable expressions when parsing displacements andDaniel Dunbar2009-06-301-13/+13
| | | | | | immediates. llvm-svn: 74568
* Thumb-2 load and store double description. But nothing yet creates them.David Goodwin2009-06-302-1/+40
| | | | llvm-svn: 74566
* llvm-mc: Symbols in a relocatable expression of the (a - b + cst) form areDaniel Dunbar2009-06-303-9/+14
| | | | | | | allowed to be undefined when the expression is seen, we cannot enforce the same-section requirement until the entire assembly file has been seen. llvm-svn: 74565
* Add an "alignment" field to the MachineFunction object. It makes more sense toBill Wendling2009-06-3035-36/+122
| | | | | | | | | | have the alignment be calculated up front, and have the back-ends obey whatever alignment is decided upon. This allows for future work that would allow for precise no-op placement and the like. llvm-svn: 74564
* Add thumb-2 store word, halfword, and byte.David Goodwin2009-06-304-0/+207
| | | | llvm-svn: 74555
* Drop redundant print impl.Andreas Bolka2009-06-301-3/+0
| | | | llvm-svn: 74553
OpenPOWER on IntegriCloud