summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Global ctors / dtors alignment shouldn't be hard-coded at 4. e.g. It could ↵Evan Cheng2007-06-041-2/+4
| | | | | | be 8 for 64-bit targets. llvm-svn: 37421
* Fix the asmprinter so that a globalvalue can specify an explicit alignmentChris Lattner2007-05-311-5/+18
| | | | | | | | smaller than the preferred alignment, but so that the target can actually specify a minimum alignment if needed. This fixes some objc protocol failures Devang tracked down. llvm-svn: 37373
* Drop 'const'Devang Patel2007-05-031-1/+1
| | | | llvm-svn: 36662
* Use 'static const char' instead of 'static const int'.Devang Patel2007-05-021-1/+1
| | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652
* Do not use typeinfo to identify pass in pass manager.Devang Patel2007-05-011-1/+2
| | | | llvm-svn: 36632
* Clean up multi-line asam string printing. Instead of printing:Chris Lattner2007-04-301-1/+1
| | | | | | | | | | | | | | | | # InlineAsm Start subfc r3,r5,r4 subfze r4,r3 # InlineAsm End print: # InlineAsm Start subfc r3,r5,r4 subfze r4,r3 # InlineAsm End llvm-svn: 36589
* Implement review feedbackAnton Korobeynikov2007-04-291-12/+3
| | | | llvm-svn: 36564
* Implement review feedback. Aliasees can be either GlobalValue's orAnton Korobeynikov2007-04-281-6/+17
| | | | | | bitcasts of them. llvm-svn: 36537
* Implement aliases. This fixes PR1017 and it's dependent bugs. CFE partAnton Korobeynikov2007-04-251-1/+25
| | | | | | will follow. llvm-svn: 36435
* modify per review commentaryDale Johannesen2007-04-231-2/+2
| | | | llvm-svn: 36383
* make EmitAlignment work the way Chris says it shouldDale Johannesen2007-04-231-1/+3
| | | | llvm-svn: 36368
* Small eye-candy: use asciz directive everywhere, where possible.Anton Korobeynikov2007-03-061-3/+10
| | | | llvm-svn: 34981
* Exception handling support.Jim Laskey2007-02-211-1/+1
| | | | llvm-svn: 34479
* Add support for changes in DwarfWriter.Jim Laskey2007-02-211-0/+12
| | | | llvm-svn: 34478
* test commit (blank line)Dale Johannesen2007-02-161-0/+1
| | | | llvm-svn: 34337
* For PR1195:Reid Spencer2007-02-151-2/+2
| | | | | | | Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293
* eliminate temporary vectors.Chris Lattner2007-02-101-2/+3
| | | | llvm-svn: 34161
* encapsulate the rest of the StructLayout members.Chris Lattner2007-02-101-2/+2
| | | | llvm-svn: 34157
* Privatize StructLayout::MemberOffsets, adding an accessorChris Lattner2007-02-101-2/+2
| | | | llvm-svn: 34156
* Oops, swap this. This fixes a regression I introduced in the ARM backend.Chris Lattner2007-02-061-1/+1
| | | | llvm-svn: 33946
* Fix PR1178Chris Lattner2007-02-051-1/+11
| | | | llvm-svn: 33924
* Fixing silly "not-implemented" bug in AsmPrinter. This fixes PR1169.Anton Korobeynikov2007-02-041-2/+4
| | | | llvm-svn: 33888
* Emit labels as label_n and not as debug_nJim Laskey2007-02-011-1/+1
| | | | llvm-svn: 33757
* Support for non-landing pad exception handling.Jim Laskey2007-02-011-2/+2
| | | | llvm-svn: 33755
* Change the MachineDebugInfo to MachineModuleInfo to better reflect usageJim Laskey2007-01-261-2/+2
| | | | | | for debugging and exception handling. llvm-svn: 33550
* Make LABEL a builtin opcode.Jim Laskey2007-01-261-0/+10
| | | | llvm-svn: 33537
* Migrate print routines to asm to be shared by exception handling.Jim Laskey2007-01-251-28/+195
| | | | llvm-svn: 33498
* Fix a bunch of inline asm failuresChris Lattner2007-01-231-0/+1
| | | | llvm-svn: 33454
* add new JumpTableSpecialLabelPrefix hook to asmprinter for jumptable emission.Chris Lattner2007-01-181-1/+9
| | | | llvm-svn: 33314
* Fix for PR1095:Bill Wendling2007-01-161-3/+3
| | | | | | | | 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. llvm-svn: 33246
* rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger.Chris Lattner2007-01-151-1/+1
| | | | | | | | | 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! :) llvm-svn: 33225
* Simplify codeChris Lattner2007-01-121-4/+1
| | | | llvm-svn: 33123
* For PR1064:Reid Spencer2007-01-121-16/+17
| | | | | | | | | | | | | | | | | | | | | | | Implement the arbitrary bit-width integer feature. The feature allows integers of any bitwidth (up to 64) to be defined instead of just 1, 8, 16, 32, and 64 bit integers. This change does several things: 1. Introduces a new Derived Type, IntegerType, to represent the number of bits in an integer. The Type classes SubclassData field is used to store the number of bits. This allows 2^23 bits in an integer type. 2. Removes the five integer Type::TypeID values for the 1, 8, 16, 32 and 64-bit integers. These are replaced with just IntegerType which is not a primitive any more. 3. Adjust the rest of LLVM to account for this change. Note that while this incremental change lays the foundation for arbitrary bit-width integers, LLVM has not yet been converted to actually deal with them in any significant way. Most optimization passes, for example, will still only deal with the byte-width integer types. Future increments will rectify this situation. llvm-svn: 33113
* Implement review feedback for the ConstantBool->ConstantInt merge. ChrisReid Spencer2007-01-121-1/+1
| | | | | | | | recommended that getBoolValue be replaced with getZExtValue and that get(bool) be replaced by get(const Type*, uint64_t). This implements those changes. llvm-svn: 33110
* Rename BoolTy as Int1Ty. Patch by Sheng Zhou.Reid Spencer2007-01-111-2/+2
| | | | llvm-svn: 33076
* For PR1043:Zhou Sheng2007-01-111-5/+5
| | | | | | | Merge ConstantIntegral and ConstantBool into ConstantInt. Remove ConstantIntegral and ConstantBool from LLVM. llvm-svn: 33073
* For PR950:Reid Spencer2006-12-311-5/+5
| | | | | | | | | | | | | | | | | | Three changes: 1. Convert signed integer types to signless versions. 2. Implement the @sext and @zext parameter attributes. Previously the type of an function parameter was used to determine whether it should be sign extended or zero extended before the call. This information is now communicated via the function type's parameter attributes. 3. The interface to LowerCallTo had to be changed in order to accommodate the parameter attribute information. Although it would have been convenient to pass in the FunctionType itself, there isn't always one present in the caller. Consequently, a signedness indication for the result type and for each parameter was provided for in the interface to this method. All implementations were changed to make the adjustment necessary. llvm-svn: 32788
* Just print integer constants as signed values. The actual signednessReid Spencer2006-12-211-7/+1
| | | | | | doesn't matter as it is determined in the way the constant is used. llvm-svn: 32733
* Fix for PR1059: http://llvm.org/PR1059Anton Korobeynikov2006-12-191-3/+6
| | | | llvm-svn: 32685
* move ExtWeakSymbols to AsmPrinterRafael Espindola2006-12-181-0/+12
| | | | llvm-svn: 32648
* 1. Tidy up jump table info.Jim Laskey2006-12-141-28/+23
| | | | | | 2. Allow the jit to handle PIC relocable jump tables. llvm-svn: 32581
* split up inttoptr from ptrtoint handling, the cases aren't similar at all.Chris Lattner2006-12-121-22/+15
| | | | llvm-svn: 32471
* the operand of a bitcast is always the right size, just emit it in place.Chris Lattner2006-12-121-2/+4
| | | | llvm-svn: 32470
* Tidy up a bit.Reid Spencer2006-12-121-1/+1
| | | | llvm-svn: 32462
* Change inferred cast creation calls to more specific cast creations.Reid Spencer2006-12-121-1/+5
| | | | llvm-svn: 32460
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-071-19/+18
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* Converted to using llvm streams instead of <iostream>sBill Wendling2006-11-291-12/+13
| | | | llvm-svn: 31992
* For PR950:Reid Spencer2006-11-271-1/+14
| | | | | | | | | | The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. llvm-svn: 31931
* Global label not handled correctly.Jim Laskey2006-11-201-3/+11
| | | | llvm-svn: 31883
* Add a printSetLabel that takes two id's.Evan Cheng2006-11-011-0/+13
| | | | llvm-svn: 31347
OpenPOWER on IntegriCloud