Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Convert assert(0) to llvm_unreachable | Craig Topper | 2012-02-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 149961 | |||||
* | Sparc: Implement emitFrameIndexDebugValue and getDebugValue Location hooks. | Venkatraman Govindaraju | 2011-12-25 | 1 | -1/+10 | |
| | | | | llvm-svn: 147269 | |||||
* | Add bundle aware API for querying instruction properties and switch the code | Evan Cheng | 2011-12-07 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | generator to it. For non-bundle instructions, these behave exactly the same as the MC layer API. For properties like mayLoad / mayStore, look into the bundle and if any of the bundled instructions has the property it would return true. For properties like isPredicable, only return true if *all* of the bundled instructions have the property. For properties like canFoldAsLoad, isCompare, conservatively return false for bundles. llvm-svn: 146026 | |||||
* | Replace (Lower|Upper)caseString in favor of StringRef's newest methods. | Benjamin Kramer | 2011-11-06 | 1 | -3/+2 | |
| | | | | llvm-svn: 143891 | |||||
* | Move TargetRegistry and TargetSelect from Target to Support where they belong. | Evan Cheng | 2011-08-24 | 1 | -1/+1 | |
| | | | | | | These are strictly utilities for registering targets and components. llvm-svn: 138450 | |||||
* | Remove SPARC backend getpcx instruction's Uses. Also, insert an assert to | Venkatraman Govindaraju | 2011-01-12 | 1 | -2/+4 | |
| | | | | | | ensure %o7 is not assigned as the destination of getpcx instruction. llvm-svn: 123304 | |||||
* | move all the target's asmprinters into the main target. The piece | Chris Lattner | 2010-11-14 | 1 | -0/+249 | |
| | | | | | | | that should be split out is the InstPrinter (if a target is mc'ized). This change makes all the targets be consistent. llvm-svn: 119056 | |||||
* | Separate sparc asmprinter. This should unbreak the native build | Anton Korobeynikov | 2008-11-11 | 1 | -345/+0 | |
| | | | | llvm-svn: 59047 | |||||
* | Ignore extra 'r' modifier for now | Anton Korobeynikov | 2008-10-10 | 1 | -2/+9 | |
| | | | | llvm-svn: 57363 | |||||
* | Add rudimentary asmprinter support for printing inline asm operands for sparc. | Anton Korobeynikov | 2008-10-10 | 1 | -2/+31 | |
| | | | | llvm-svn: 57346 | |||||
* | Switch the MachineOperand accessors back to the short names like | Dan Gohman | 2008-10-03 | 1 | -7/+7 | |
| | | | | | | isReg, etc., from isRegister, etc. llvm-svn: 57006 | |||||
* | Rename isWeakForLinker to mayBeOverridden. Use it | Duncan Sands | 2008-09-29 | 1 | -1/+1 | |
| | | | | | | | instead of hasWeakLinkage in a bunch of optimization passes. llvm-svn: 56782 | |||||
* | Move actual section printing stuff to AsmPrinter from TAI reducing heap traffic. | Anton Korobeynikov | 2008-09-24 | 1 | -3/+2 | |
| | | | | llvm-svn: 56573 | |||||
* | Drop obsolete hook and change all usage to new interface | Anton Korobeynikov | 2008-09-24 | 1 | -7/+1 | |
| | | | | llvm-svn: 56572 | |||||
* | Use raw_ostream throughout the AsmPrinter. | Owen Anderson | 2008-08-21 | 1 | -2/+3 | |
| | | | | llvm-svn: 55092 | |||||
* | Handle visibility printing with all generality. Remove bunch of duplicate code. | Anton Korobeynikov | 2008-08-08 | 1 | -1/+5 | |
| | | | | llvm-svn: 54540 | |||||
* | Use EmitAlignment consistently | Anton Korobeynikov | 2008-08-07 | 1 | -2/+1 | |
| | | | | llvm-svn: 54456 | |||||
* | Cleanup | Anton Korobeynikov | 2008-08-07 | 1 | -6/+6 | |
| | | | | llvm-svn: 54455 | |||||
* | Switch Sparc to new section handling stuff. Refactor printing of ↵ | Anton Korobeynikov | 2008-08-07 | 1 | -71/+91 | |
| | | | | | | module-level GVs significantly. llvm-svn: 54450 | |||||
* | Fix the build by adding a #include. | Owen Anderson | 2008-07-10 | 1 | -0/+1 | |
| | | | | llvm-svn: 53388 | |||||
* | Add CommonLinkage; currently tentative definitions | Dale Johannesen | 2008-05-14 | 1 | -2/+3 | |
| | | | | | | | | | | are represented as "weak", but there are subtle differences in some cases on Darwin, so we need both. The intent is that "common" will behave identically to "weak" unless somebody changes their target to do something else. No functional change as yet. llvm-svn: 51118 | |||||
* | Add a quick and dirty "loop aligner pass". x86 uses it to align its loops to ↵ | Evan Cheng | 2008-02-28 | 1 | -1/+1 | |
| | | | | | | 16-byte boundaries. llvm-svn: 47703 | |||||
* | Change "Name" to "AsmName" in the target register info. Gee, a refactoring tool | Bill Wendling | 2008-02-26 | 1 | -1/+1 | |
| | | | | | | would have been a Godsend here! llvm-svn: 47625 | |||||
* | Unbreak build with gcc 4.3: provide missed includes and silence most ↵ | Anton Korobeynikov | 2008-02-20 | 1 | -0/+1 | |
| | | | | | | annoying warnings. llvm-svn: 47367 | |||||
* | Rename MRegisterInfo to TargetRegisterInfo. | Dan Gohman | 2008-02-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 46930 | |||||
* | Get rid of the annoying blank lines before labels. | Evan Cheng | 2008-02-02 | 1 | -2/+1 | |
| | | | | llvm-svn: 46667 | |||||
* | Use getPreferredAlignmentLog or getPreferredAlignment | Duncan Sands | 2008-01-29 | 1 | -1/+1 | |
| | | | | | | | to get the alignment of global variables, rather than using hand-made versions. llvm-svn: 46495 | |||||
* | Add new shorter predicates for testing machine operands for various types: | Chris Lattner | 2007-12-30 | 1 | -2/+2 | |
| | | | | | | | | | | | | e.g. MO.isMBB() instead of MO.isMachineBasicBlock(). I don't plan on switching everything over, so new clients should just start using the shorter names. Remove old long accessors, switching everything over to use the short accessor: getMachineBasicBlock() -> getMBB(), getConstantPoolIndex() -> getIndex(), setMachineBasicBlock -> setMBB(), etc. llvm-svn: 45464 | |||||
* | Use MachineOperand::getImm instead of MachineOperand::getImmedValue. ↵ | Chris Lattner | 2007-12-30 | 1 | -3/+3 | |
| | | | | | | Likewise setImmedValue -> setImm llvm-svn: 45453 | |||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 45418 | |||||
* | Eliminate the remaining uses of getTypeSize. This | Duncan Sands | 2007-11-05 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | should only effect x86 when using long double. Now 12/16 bytes are output for long double globals (the exact amount depends on the alignment). This brings globals in line with the rest of LLVM: the space reserved for an object is now always the ABI size. One tricky point is that only 10 bytes should be output for long double if it is a field in a packed struct, which is the reason for the additional argument to EmitGlobalConstant. llvm-svn: 43688 | |||||
* | Revert 42908 for now. | Evan Cheng | 2007-10-14 | 1 | -2/+2 | |
| | | | | llvm-svn: 42960 | |||||
* | Change the names used for internal labels to use the current | Dan Gohman | 2007-10-12 | 1 | -2/+2 | |
| | | | | | | | | | function symbol name instead of a codegen-assigned function number. Thanks Evan! :-) llvm-svn: 42908 | |||||
* | Don't ignore the return value of AsmPrinter::doInitialization and | Dan Gohman | 2007-07-25 | 1 | -2/+1 | |
| | | | | | | AsmPrinter::doFinalization. llvm-svn: 40487 | |||||
* | Generalize TargetData strings, to support more interesting forms of data. | Chris Lattner | 2007-02-14 | 1 | -1/+1 | |
| | | | | | | Patch by Scott Michel. llvm-svn: 34266 | |||||
* | Teach TargetData to handle 'preferred' alignment for each target, and use | Chris Lattner | 2007-01-20 | 1 | -2/+2 | |
| | | | | | | these alignment amounts to align scalars when we can. Patch by Scott Michel! llvm-svn: 33409 | |||||
* | eliminate static ctors for Statistic objects. | Chris Lattner | 2006-12-19 | 1 | -2/+3 | |
| | | | | llvm-svn: 32703 | |||||
* | What should be the last unnecessary <iostream>s in the library. | Bill Wendling | 2006-12-07 | 1 | -4/+3 | |
| | | | | llvm-svn: 32333 | |||||
* | Detemplatize the Statistic class. The only type it is instantiated with | Chris Lattner | 2006-12-06 | 1 | -1/+1 | |
| | | | | | | is 'unsigned'. llvm-svn: 32279 | |||||
* | These asm printers shouldn't use assembly/writer.h | Chris Lattner | 2006-12-06 | 1 | -6/+1 | |
| | | | | llvm-svn: 32262 | |||||
* | For PR786: | Reid Spencer | 2006-11-02 | 1 | -2/+0 | |
| | | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380 | |||||
* | Use getSectionForFunction | Chris Lattner | 2006-10-05 | 1 | -3/+5 | |
| | | | | llvm-svn: 30739 | |||||
* | Adding dllimport, dllexport and external weak linkage types. | Anton Korobeynikov | 2006-09-14 | 1 | -0/+8 | |
| | | | | | | | | | DLL* linkages got full (I hope) codegeneration support in C & both x86 assembler backends. External weak linkage added for future use, we don't provide any codegeneration, etc. support for it. llvm-svn: 30374 | |||||
* | Make target asm info a property of the target machine. | Jim Laskey | 2006-09-07 | 1 | -14/+2 | |
| | | | | llvm-svn: 30162 | |||||
* | Separate target specific asm properties from the asm printers. | Jim Laskey | 2006-09-06 | 1 | -4/+12 | |
| | | | | llvm-svn: 30126 | |||||
* | Refactor a bunch of includes so that TargetMachine.h doesn't have to include | Owen Anderson | 2006-05-12 | 1 | -0/+1 | |
| | | | | | | | TargetData.h. This should make recompiles a bit faster with my current TargetData tinkering. llvm-svn: 28238 | |||||
* | Split SwitchSection into SwitchTo{Text|Data}Section methods. | Chris Lattner | 2006-05-09 | 1 | -6/+6 | |
| | | | | llvm-svn: 28184 | |||||
* | Rename MO_VirtualRegister -> MO_Register. Clean up immediate handling. | Chris Lattner | 2006-05-04 | 1 | -5/+5 | |
| | | | | llvm-svn: 28104 | |||||
* | There shalt be only one "immediate" operand type! | Chris Lattner | 2006-05-04 | 1 | -4/+2 | |
| | | | | llvm-svn: 28099 | |||||
* | Remove a bunch more SparcV9 specific stuff | Chris Lattner | 2006-05-04 | 1 | -8/+1 | |
| | | | | llvm-svn: 28093 |