summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* minor long double related changesDale Johannesen2007-09-281-0/+1
| | | | llvm-svn: 42439
* Make temporaries explicit to avoid prematureDale Johannesen2007-09-261-1/+3
| | | | | | destruction of compiler-created ones. llvm-svn: 42383
* Add a routine for emitting .file directives, for setting upDan Gohman2007-09-241-0/+11
| | | | | | file numbers to use with .loc directives. llvm-svn: 42272
* Don't pass back a reference to a temporary.Bill Wendling2007-09-181-2/+1
| | | | llvm-svn: 42086
* The exception handling function info should be reset for each newBill Wendling2007-09-181-4/+2
| | | | | | | function. The information isn't used heavily -- it's only used at the end of exception handling emission -- so there's no need to cache it. llvm-svn: 42078
* Objective-C was generating EH frame info like this:Bill Wendling2007-09-181-0/+9
| | | | | | | | | "_-[NSString(local) isNullOrNil]".eh = 0 .no_dead_strip "_-[NSString(local) isNullOrNil]".eh The ".eh" should be inside the quotes. llvm-svn: 42074
* Remove isReg, isImm, and isMBB, and change all their users to use Dan Gohman2007-09-141-1/+1
| | | | | | | isRegister, isImmediate, and isMachineBasicBlock, which are equivalent, and more popular. llvm-svn: 41958
* Revise previous patch per review comments.Dale Johannesen2007-09-121-4/+41
| | | | | | | Next round of x87 long double stuff. Getting close now, basically works. llvm-svn: 41875
* Add APInt interfaces to APFloat (allows directlyDale Johannesen2007-09-111-8/+10
| | | | | | | | | access to bits). Use them in place of float and double interfaces where appropriate. First bits of x86 long double constants handling (untested, probably does not work). llvm-svn: 41858
* Next round of APFloat changes.Dale Johannesen2007-09-061-1/+2
| | | | | | | | | | | | | | Use APFloat in UpgradeParser and AsmParser. Change all references to ConstantFP to use the APFloat interface rather than double. Remove the ConstantFP double interfaces. Use APFloat functions for constant folding arithmetic and comparisons. (There are still way too many places APFloat is just a wrapper around host float/double, but we're getting there.) llvm-svn: 41747
* Proper handle case, when aliasee is external weak symbol referenced only by ↵Anton Korobeynikov2007-09-061-6/+13
| | | | | | | | alias itself. Also, fix a case, when target doesn't have weak symbols supported. llvm-svn: 41746
* move this check. ppc outputs .no_dead_strip properlyAndrew Lenharth2007-08-221-6/+6
| | | | llvm-svn: 41286
* Print a space between the comment character and the basic block name,Dan Gohman2007-07-301-1/+2
| | | | | | for prettiness. llvm-svn: 40593
* EmitAlignment() also emits optional fill value.Evan Cheng2007-07-251-2/+5
| | | | llvm-svn: 40500
* 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
OpenPOWER on IntegriCloud