aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove dead code.Devang Patel2007-01-251-7/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33506 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a MRegisterInfo hook that tells PEI the target is responsible forEvan Cheng2007-01-251-0/+6
| | | | | | | rounding the stack frame to a multiple of stack alignment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33504 91177308-0d34-0410-b5e6-96231b3b80d8
* Migrate print routines to asm to be shared by exception handling.Jim Laskey2007-01-251-0/+62
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33498 91177308-0d34-0410-b5e6-96231b3b80d8
* Repair debug frames as a prelude to eh_frames. Switched to using MachineMovesJim Laskey2007-01-243-5/+11
| | | | | | | by value so that clean up is less confusing (these vectors tend to be small.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33488 91177308-0d34-0410-b5e6-96231b3b80d8
* Use asm printer to emit alignmentJim Laskey2007-01-241-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33485 91177308-0d34-0410-b5e6-96231b3b80d8
* Make ivars private and use getters. Have the MachOWriter return "Mach-OBill Wendling2007-01-242-7/+8
| | | | | | | Writer" for the pass name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33483 91177308-0d34-0410-b5e6-96231b3b80d8
* Renamed getTypeAlignmentShift() to getPreferredTypeAlignmentShift().Evan Cheng2007-01-241-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33482 91177308-0d34-0410-b5e6-96231b3b80d8
* A virtual method to return the TargetMachOWriterInfo object. This returnsBill Wendling2007-01-241-0/+6
| | | | | | | a real value in derived classes, of course. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33477 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved target-specific information to the TargetMachOWriterInfo obj.Bill Wendling2007-01-241-62/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33476 91177308-0d34-0410-b5e6-96231b3b80d8
* New "TargetMachOWriterInfo" class. It holds target-specific informationBill Wendling2007-01-241-0/+103
| | | | | | | that the MachOWriter needs in order to do its writing stuff 'n things. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33475 91177308-0d34-0410-b5e6-96231b3b80d8
* Add CallGraphSCCPass::assignPassManager().Devang Patel2007-01-231-0/+4
| | | | | | | This enables CalLGraphPassManager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33466 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved disassembler to libSystemAnton Korobeynikov2007-01-231-13/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33461 91177308-0d34-0410-b5e6-96231b3b80d8
* fix typoChris Lattner2007-01-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33459 91177308-0d34-0410-b5e6-96231b3b80d8
* make the SmallSet interface more std::set-likeChris Lattner2007-01-231-6/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33458 91177308-0d34-0410-b5e6-96231b3b80d8
* add a trivial SmallSet class, which operates on a similar principle toChris Lattner2007-01-231-0/+76
| | | | | | | SmallVector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33456 91177308-0d34-0410-b5e6-96231b3b80d8
* hasFP() is now a virtual method of MRegisterInfo.Evan Cheng2007-01-231-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33455 91177308-0d34-0410-b5e6-96231b3b80d8
* Update comment.Evan Cheng2007-01-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33450 91177308-0d34-0410-b5e6-96231b3b80d8
* default to emiting an uncompressed .bc fileChris Lattner2007-01-212-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33420 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR970:Reid Spencer2007-01-213-34/+7
| | | | | | | | Clean up handling of isFloatingPoint() and dealing with PackedType. Patch by Gordon Henriksen! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33415 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a getTypeSizeInBits method. This helps in transforms that wantReid Spencer2007-01-201-0/+4
| | | | | | | to ensure the bit size of a type is identical before proceeding. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33413 91177308-0d34-0410-b5e6-96231b3b80d8
* TargetData assumes (and some regression tests depend on it) that the size ofOwen Anderson2007-01-201-1/+2
| | | | | | | an unspecified datatype in the datalayout is capped by the size of a pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33411 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach TargetData to handle 'preferred' alignment for each target, and useChris Lattner2007-01-201-50/+131
| | | | | | | these alignment amounts to align scalars when we can. Patch by Scott Michel! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33409 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1043:Reid Spencer2007-01-193-20/+20
| | | | | | | | | | | | | | | This is the final patch for this PR. It implements some minor cleanup in the use of IntegerType, to wit: 1. Type::getIntegerTypeMask -> IntegerType::getBitMask 2. Type::Int*Ty changed to IntegerType* from Type* 3. ConstantInt::getType() returns IntegerType* now, not Type* This also fixes PR1120. Patch by Sheng Zhou. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33370 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding disassembler interface and external hook to udis86 library.Anton Korobeynikov2007-01-192-0/+42
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33358 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide an isPowerOf2ByteWidth method for the IntegerType class. This willReid Spencer2007-01-181-0/+6
| | | | | | | | mostly be used by back ends that wish to distinguish between integer types that fit evenly within a natural integer type and those that don't. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33328 91177308-0d34-0410-b5e6-96231b3b80d8
* Have the OutputBuffer take the is64Bit and isLittleEndian booleans.Bill Wendling2007-01-181-6/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33316 91177308-0d34-0410-b5e6-96231b3b80d8
* add new JumpTableSpecialLabelPrefix hook to asmprinter for jumptable emission.Chris Lattner2007-01-181-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33314 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1028:Reid Spencer2007-01-171-2/+4
| | | | | | | | | | | | | | Add the llvm.stacksave and llvm.stackrestore intrinsics that correspond to the GCC builtins __builtin_stack_save and __builtin_stack_restore. This allows the CBE to execute these builtins, and fixes: test/CodeGen/CBackend/2007-01-17-StackSaveNRestore.ll External/SPEC/CINT2000/176.gcc (CBE) Patch by Gordon Henriksen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33313 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed to use the OutputBuffer instead of the methods in MachO and ELFBill Wendling2007-01-172-191/+0
| | | | | | | writers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33311 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactored output buffer methods from MachO and ELF writers.Bill Wendling2007-01-171-0/+146
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33310 91177308-0d34-0410-b5e6-96231b3b80d8
* Update assignPassManager() signature to allow selection of preferredDevang Patel2007-01-171-16/+22
| | | | | | | | pass manager type. This allows new FPPassManager to select Call Graph Pass Manager (if available) as its parent. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33306 91177308-0d34-0410-b5e6-96231b3b80d8
* document that BSSSection can be null.Chris Lattner2007-01-171-1/+9
| | | | | | | Add new ZeroFillDirective directive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33301 91177308-0d34-0410-b5e6-96231b3b80d8
* Document flagAnton Korobeynikov2007-01-171-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33300 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fix one more bug in PIC codegen: extra load is needed for *all*Anton Korobeynikov2007-01-172-0/+9
| | | | | | | | | | non-statics. * Introduce new option to output zero-initialized data to .bss section. This can reduce size of binaries. Enable it by default for ELF & Cygwin/Mingw targets. Probably, Darwin should be also added. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33299 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert patch.Bill Wendling2007-01-174-85/+194
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33298 91177308-0d34-0410-b5e6-96231b3b80d8
* make doxygen comment much better. Patch by B. Scott Michel!Chris Lattner2007-01-171-1/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33294 91177308-0d34-0410-b5e6-96231b3b80d8
* The TargetObjInfo object goes here.Bill Wendling2007-01-171-3/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33288 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed methods which are now in the respective TargetObjInfo implementations.Bill Wendling2007-01-172-191/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33287 91177308-0d34-0410-b5e6-96231b3b80d8
* New "TargetObjInfo" class. This holds information that the object writers willBill Wendling2007-01-171-0/+57
| | | | | | | | use to write things to the file. It's abstract so each target should implement its own version for each writer type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33286 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1117:Reid Spencer2007-01-171-0/+6
| | | | | | | Expose the previously hidden checkCast function as CastInst::castIsValid. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33282 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1094:Reid Spencer2007-01-171-2/+3
| | | | | | | Make the SetVector::iterator be the vector's const_iterator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33279 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unused forward class declarations.Reid Spencer2007-01-171-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33276 91177308-0d34-0410-b5e6-96231b3b80d8
* Undo last check-in.Devang Patel2007-01-161-9/+2
| | | | | | | Remove setupPassManager() and its use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33270 91177308-0d34-0410-b5e6-96231b3b80d8
* Setup pass manager before scheduling required analysis.Devang Patel2007-01-161-2/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33262 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix for PR1095:Bill Wendling2007-01-161-2/+8
| | | | | | | | | LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for the X86 and PPC backends. It defaults to "0", the first variant of a compound inline asm expression. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33246 91177308-0d34-0410-b5e6-96231b3b80d8
* Code refactoring.Devang Patel2007-01-161-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33245 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extra white spaces. Fix comments.Devang Patel2007-01-151-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33244 91177308-0d34-0410-b5e6-96231b3b80d8
* rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger.Chris Lattner2007-01-153-16/+10
| | | | | | | | | | rename Type::getIntegralTypeMask to Type::getIntegerTypeMask. This makes naming much more consistent. For example, there are now no longer any instances of IntegerType that are not considered isInteger! :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33225 91177308-0d34-0410-b5e6-96231b3b80d8
* Update code to eliminate calls to isInteger, calling isIntegral instead.Chris Lattner2007-01-151-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33220 91177308-0d34-0410-b5e6-96231b3b80d8
* Primitive types don't include integers any more, adjust.Reid Spencer2007-01-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33209 91177308-0d34-0410-b5e6-96231b3b80d8