summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * Correctly handle the MovePCtoLR pseudo-instr with a bl to next instrMisha Brukman2004-10-231-9/+15
| | | | | | * Stop the confusion of using rv and Addr for global addresses: just use rv llvm-svn: 17195
* Add BA, BL, and BLA opcodesMisha Brukman2004-10-231-1/+4
| | | | llvm-svn: 17193
* Several Changes:Reid Spencer2004-10-231-241/+239
| | | | | | | | | | | | | | | | | | | * Fix parallel build problem on generated dependency files * Fix rule confusion between .a and .la libraries so that parallel builds don't get confused on who is building which .o and which library it is going into. * Fix dependency inclusion to only include C/C++ dependency files because other types of sources won't have dependencies auto generated. * Change "Source" to "SOURCES" for naming consistency * Update parallel build rules for new recursive targets * Implement EXPERIMENTAL_DIRS (failure allowed) feature * Implement -local version of targets (all-local, clean-local, etc) * Implement recursive targets in terms of their local counterparts * Clarify names of some internal variables * Move documentation to docs/MakefileGuide.html * Clean up commentary llvm-svn: 17192
* Make clean quieter.Reid Spencer2004-10-231-3/+4
| | | | llvm-svn: 17191
* * Do not emit IMPLICIT_DEF pseudo-instructionsMisha Brukman2004-10-231-6/+71
| | | | | | | | | * Convert register numbers from their opcode value to the real value, e.g. PPC::R1 => 1 and PPC::F1 => 1 * Add correct handling of loading of global values which are PC-relative -- implement ha16() and lo16() llvm-svn: 17190
* Fix nightly build by avoiding shared library construction.Reid Spencer2004-10-231-1/+3
| | | | llvm-svn: 17187
* * Actually ignore build errors in optional directoriesReid Spencer2004-10-231-4/+4
| | | | | | | | * Use LLVM_SRC_ROOT as the anchor for the Target.td file * Use MFLAGS instead of MAKEFLAGS for recursive makes so we don't try to build a target "w" or "s" mysteriously. llvm-svn: 17186
* Remove the clean target.Reid Spencer2004-10-231-4/+0
| | | | llvm-svn: 17185
* First cut at the LLVM Makefile Guide. There's lots to correct and lots moreReid Spencer2004-10-231-0/+458
| | | | | | to write, but this is all my brain can muster for tonight. llvm-svn: 17184
* DForm_1, particularly used by store instructions, needs the immediate operand toMisha Brukman2004-10-231-1/+13
| | | | | | | be listed second as that is how the instructions are usually created (and is the correct asm syntax) so that it's assembled correctly from its constituents llvm-svn: 17183
* Fix the SPR field for MTLR, MFLR, MTCTR, and MFCTR instructions.Misha Brukman2004-10-231-4/+7
| | | | | | | The decimal value given in the manual (8 or 9) really needs to be multiplied by a factor of 32 because of the group of 5 zero bits after the register code. llvm-svn: 17182
* The value of the XO field for MFLR and MFCTR is 339, not 399Misha Brukman2004-10-231-2/+2
| | | | llvm-svn: 17181
* Remove extraneous blank lineMisha Brukman2004-10-231-1/+0
| | | | llvm-svn: 17180
* Make VC happier, patch contributed by Morten OfstadChris Lattner2004-10-231-1/+1
| | | | llvm-svn: 17179
* Align function arguments in function headersMisha Brukman2004-10-231-5/+4
| | | | llvm-svn: 17178
* Fix a bug that Brian brought to my attention. This corrects:Chris Lattner2004-10-231-1/+2
| | | | | | Assembler/2004-10-22-BCWriterUndefBug.llx llvm-svn: 17177
* New testcaseChris Lattner2004-10-231-0/+5
| | | | llvm-svn: 17176
* Kill casts from integer types to unsigned byte, when the cast was only usedNate Begeman2004-10-231-0/+13
| | | | | | | | as the shift amount operand to a shift instruction. This was causing us to emit unnecessary clear operations for code such as: int foo(int x) { return 1 << x; } llvm-svn: 17175
* Use cleaner quoting and eliminate blank spaceMisha Brukman2004-10-221-3/+3
| | | | llvm-svn: 17174
* Clean up the output from this makefile so its not verbose.Reid Spencer2004-10-221-6/+8
| | | | llvm-svn: 17173
* Make sure that we don't set up a circular dependency if OBJDIR == SRCDIRReid Spencer2004-10-221-0/+2
| | | | llvm-svn: 17172
* Remove double colon rule for gram.tab.h so it doesn't conflict with theReid Spencer2004-10-221-1/+1
| | | | | | auto-generated dependency rule. llvm-svn: 17171
* Pull in Target.td using absolute path from source root instead of relative path;Misha Brukman2004-10-221-1/+1
| | | | | | | this allows us to have sub-targets whose depth in the tree is not the same as it is for the standard X86/PowerPC/Sparc. llvm-svn: 17170
* Adjust rules for building .inc files due to Reid's changes of Makefile.rulesMisha Brukman2004-10-221-32/+5
| | | | llvm-svn: 17169
* We're not doing automake any moreReid Spencer2004-10-2231-19798/+4
| | | | llvm-svn: 17168
* Adjust to changes in Makefile.rulesReid Spencer2004-10-2212-167/+48
| | | | llvm-svn: 17167
* Shorten the rules, speed it up, correct library contruction, add *.td rulesReid Spencer2004-10-221-539/+421
| | | | llvm-svn: 17166
* Remove the unused SourceDir variable (use BUILD_SRC_DIR)Reid Spencer2004-10-221-5/+0
| | | | llvm-svn: 17165
* One more file to remove now that we're not doing automake.Reid Spencer2004-10-221-121/+0
| | | | llvm-svn: 17164
* Eliminate compilation warning on uninitialized variable.Reid Spencer2004-10-221-1/+1
| | | | llvm-svn: 17163
* *** empty log message ***Chris Lattner2004-10-221-4/+47
| | | | llvm-svn: 17161
* New testcase. Check for the ability to promote a malloc whose initialzed ↵Chris Lattner2004-10-221-0/+26
| | | | | | state is checked by the program llvm-svn: 17160
* Fix a bug Nate noticed, where we miscompiled a simple testcaseChris Lattner2004-10-221-1/+1
| | | | llvm-svn: 17157
* Remove automake support.Reid Spencer2004-10-221-18/+0
| | | | llvm-svn: 17156
* We won't use automakeReid Spencer2004-10-22133-64919/+0
| | | | llvm-svn: 17155
* Remove debug code emitter from the JITMisha Brukman2004-10-211-3/+1
| | | | llvm-svn: 17151
* Make this compile.Alkis Evlogimenos2004-10-211-1/+1
| | | | llvm-svn: 17150
* * Added basic support for JITing functions, basic blocks, instruction encoding,Misha Brukman2004-10-211-20/+169
| | | | | | | | including registers, constants, and partial support for global addresses * The JIT is disabled by default to allow building llvm-gcc, which wants to test running programs during configure llvm-svn: 17149
* Don't clear or sign extend bool->int. This fires a few dozen times on the ↵Nate Begeman2004-10-201-0/+17
| | | | | | test suite llvm-svn: 17147
* Explain what this pass does.Brian Gaeke2004-10-201-1/+7
| | | | llvm-svn: 17146
* Small performance improvement in generated C code:John Criswell2004-10-201-1/+23
| | | | | | | | | | | | Instead of unconditionally copying all phi node values into temporaries for all successor blocks, generate code that will determine what successor block will be called and then copy only those phi node values needed by the successor block. This seems to cut down namd execution time from being 8% higher than GCC to 4% higher than GCC. llvm-svn: 17144
* * Add baseline structural JIT code, but disable the JIT to allow llvm-gcc buildsMisha Brukman2004-10-191-8/+175
| | | | | | | | - Support added for functions, basic blocks, constant pool, constants, registers, and some basic support for globals, all untested * Turn assert()s into abort()s so that unimplemented functions fail in release llvm-svn: 17143
* Hrm, some people complain when the compiler cheerfully tells them what it'sChris Lattner2004-10-191-1/+0
| | | | | | doing... I guess they're right. llvm-svn: 17142
* Fix some grammarMisha Brukman2004-10-191-3/+3
| | | | llvm-svn: 17141
* If we're going to make the braces of functions line up for ease of readabilityMisha Brukman2004-10-191-6/+6
| | | | | | and aesthetic reasons, might as well finish the job llvm-svn: 17140
* Remove unnecessary spaces in function signatureMisha Brukman2004-10-191-1/+1
| | | | llvm-svn: 17139
* Simplify mapping info generation. In particular, the LLVM-to-MachineInstr mapBrian Gaeke2004-10-191-86/+3
| | | | | | | is no longer emitted, and we do not reference any MachineCodeForInstruction information. llvm-svn: 17138
* * Fit constructor initializer on a single lineMisha Brukman2004-10-191-3/+2
| | | | | | * Delete blank chars at end of line to fit into 80 cols llvm-svn: 17137
* Initial automake generated Makefile templateReid Spencer2004-10-1879-0/+53396
| | | | llvm-svn: 17136
* Move code to redefine INT64_{MIN,MAX} on AIX/PowerPC to a separate header,Misha Brukman2004-10-182-10/+31
| | | | | | because #undef becomes commented out in DataTypes.h.in due to autoheader llvm-svn: 17135
OpenPOWER on IntegriCloud