summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* second half of commit.Chris Lattner2009-08-111-2/+2
| | | | llvm-svn: 78744
* pass "is64Bit" flag into PPC TAI ctors instead of a whole targetmachine.Chris Lattner2009-08-112-20/+7
| | | | llvm-svn: 78743
* eliminate asmflavor from subtarget, PPCTAI is the only clientChris Lattner2009-08-113-19/+4
| | | | | | and each callee knows that it returns. llvm-svn: 78742
* Change the asmprinter to print the comment character before theChris Lattner2009-08-118-23/+8
| | | | | | | | | | "inlineasmstart/end" strings so that the contents of the directive are separate from the comment character. This lets elf targets get #APP/#NOAPP for free even if they don't use "#" as the comment character. This also allows hoisting the darwin stuff up to the shared TAI class. llvm-svn: 78737
* Allow a zero cycle stage to reserve/require a FU without advancing the cycle ↵David Goodwin2009-08-115-44/+75
| | | | | | counter. llvm-svn: 78736
* factorize more darwin TAI stuff. Note that this givesChris Lattner2009-08-114-17/+7
| | | | | | darwin/arm support for .no_dead_strip llvm-svn: 78734
* X86/AsmParser: Mark MOV64GSrm, MOV64FSrm, GS_MOV32rm, FS_MOV32rm as codegen ↵Daniel Dunbar2009-08-112-4/+4
| | | | | | only. llvm-svn: 78733
* factorize darwin ProtectedDirective and SetDirective.Chris Lattner2009-08-114-5/+4
| | | | llvm-svn: 78732
* Add 'isCodeGenOnly' bit to Instruction .td records.Daniel Dunbar2009-08-113-6/+9
| | | | | | | | | | | | | | | - Used to mark fake instructions which don't correspond to an actual machine instruction (or are duplicates of a real instruction). This is to be used for "special cases" in the .td files, which should be ignored by things like the assembler and disassembler. We still need a good solution to handle pervasive duplication, like with the Int_ instructions. - Set the bit on fake "mov 0" style instructions, which allows turning an assembler matcher warning into a hard error. - -2 FIXMEs. llvm-svn: 78731
* all darwin targets have .space and .zerofill, pull up.Chris Lattner2009-08-114-5/+2
| | | | llvm-svn: 78730
* eliminate template from arm TAIChris Lattner2009-08-113-28/+19
| | | | llvm-svn: 78729
* fix a bug I introduced in r78724 that caused failures in:Chris Lattner2009-08-111-1/+1
| | | | | | CodeGen/X86/dll-linkage.ll & CodeGen/X86/mingw-alloca.ll llvm-svn: 78728
* move LCOMMDirective = "\t.lcomm\t" up to DarwinTAI, eliminateChris Lattner2009-08-116-35/+33
| | | | | | template in PPC backend for TAI. llvm-svn: 78727
* Fix warnings.Owen Anderson2009-08-113-12/+10
| | | | llvm-svn: 78725
* eliminate the X86TargetAsmInfo template.Chris Lattner2009-08-112-26/+24
| | | | llvm-svn: 78724
* Added ADD instructions with rAX as one parameter to the Intel instructionSean Callanan2009-08-111-0/+8
| | | | | | tables. llvm-svn: 78721
* Shrinkify Thumb2 load / store multiple instructions.Evan Cheng2009-08-117-53/+122
| | | | llvm-svn: 78717
* llvm-mc/AsmParser: Allow target to specific a comment delimiter, which will beDaniel Dunbar2009-08-111-0/+6
| | | | | | used to strip hard coded comments out of .td assembly strings. llvm-svn: 78716
* Optimize exact sdiv by a constant power of 2 to ashr.Dan Gohman2009-08-111-0/+9
| | | | llvm-svn: 78714
* Split EVT into MVT and EVT, the former representing _just_ a primitive type, ↵Owen Anderson2009-08-1168-4970/+4974
| | | | | | | | while the latter is capable of representing either a primitive or an extended type. llvm-svn: 78713
* pass the TargetTriple down from each target ctor to theChris Lattner2009-08-1112-17/+15
| | | | | | LLVMTargetMachine ctor. It is currently unused. llvm-svn: 78711
* now that JumpTableDirective can differentate picness itself, MIPS TAI Chris Lattner2009-08-113-11/+6
| | | | | | no longer needs a targetmachine to initialize itself. llvm-svn: 78710
* split "JumpTableDirective" (an existing hack) into a PIC and nonPICChris Lattner2009-08-114-11/+6
| | | | | | | | | | version. This allows TAI implementations to specify the directive to use based on the mode being codegen'd for. The real fix for this is to remove JumpTableDirective, but I don't feel like diving into the jumptable snarl just now. llvm-svn: 78709
* "TAI::JumpTableDirective" is always null for current arm targets, simplifyChris Lattner2009-08-111-14/+12
| | | | | | the code based on this and make it fall through better. llvm-svn: 78708
* Add convenience functions for creating nsw add operators.Dan Gohman2009-08-111-0/+9
| | | | llvm-svn: 78707
* Don't set the isexact flag if an sdiv operator has been folded intoDan Gohman2009-08-111-1/+4
| | | | | | something else. llvm-svn: 78702
* Add Thumb2 eh_sjlj_setjmp implementationJim Grosbach2009-08-112-0/+34
| | | | llvm-svn: 78701
* Simplify ConstantExpr::getInBoundsGetElementPtr and fix a possible crash, ifDaniel Dunbar2009-08-111-8/+5
| | | | | | | constant folding eliminated the GEP instruction. - clang was hitting this on its test suite (for x86_64, at least). llvm-svn: 78698
* Revert 78680 until I figure out why it completely broke things.Daniel Dunbar2009-08-111-0/+40
| | | | llvm-svn: 78697
* Link NamedMDNodes.Devang Patel2009-08-112-0/+28
| | | | llvm-svn: 78696
* Add convenience functions for creating inbounds GEPs.Dan Gohman2009-08-111-0/+20
| | | | llvm-svn: 78695
* Use DEBUG macro for debug output.David Goodwin2009-08-111-11/+7
| | | | llvm-svn: 78694
* add a trivial line # cache to SourceMgr to make repeated queries toChris Lattner2009-08-111-0/+40
| | | | | | FindLineNumber much faster when in sequence. llvm-svn: 78693
* Make LLVMContext and LLVMContextImpl classes instead of structs.Benjamin Kramer2009-08-116-7/+8
| | | | llvm-svn: 78690
* Remove some unnecessary LoadInst constructors, missed during Twinification.Daniel Dunbar2009-08-111-40/+0
| | | | llvm-svn: 78689
* Add some debug output.David Goodwin2009-08-112-2/+16
| | | | llvm-svn: 78687
* Use isa instead of dyn_cast when the result is only converted to bool.Dan Gohman2009-08-111-2/+2
| | | | llvm-svn: 78685
* fix GetInstSizeInBytes for eh_sjlj_setjmpJim Grosbach2009-08-111-1/+1
| | | | llvm-svn: 78683
* Add convenience functions for creating exact sdiv operators, andDan Gohman2009-08-111-0/+6
| | | | | | use them in CreatePtrDiff. llvm-svn: 78682
* move some 32-bit instrs to x86instrinfo.tdChris Lattner2009-08-112-8/+11
| | | | llvm-svn: 78680
* This void is implicit in C++.Benjamin Kramer2009-08-111-1/+1
| | | | llvm-svn: 78678
* Tidy #includes.Dan Gohman2009-08-117-7/+2
| | | | llvm-svn: 78677
* Simplify this code. The case where one class is GR64RegClass and theDan Gohman2009-08-111-8/+4
| | | | | | other is a subclass of it is effectively handled by the prior tests. llvm-svn: 78676
* Fix a typo in an assertion string.Dan Gohman2009-08-111-1/+1
| | | | llvm-svn: 78671
* Don't assume that external global variables are aligned at their preferredDan Gohman2009-08-111-2/+10
| | | | | | alignment. Only the minimum alignment guaranteed by the ABI may be assumed. llvm-svn: 78668
* Remove unnecessary throw() specifications; LLVM doesn't use exceptions.Dan Gohman2009-08-112-4/+4
| | | | llvm-svn: 78667
* Whitespace cleanup. Remove trailing whitespace.Jim Grosbach2009-08-1119-116/+116
| | | | llvm-svn: 78666
* Move ~ARMConstantPoolValue() to the .cpp file to avoid needing to include ↵Jim Grosbach2009-08-112-2/+6
| | | | | | <cstdlib> in the header. llvm-svn: 78665
* Remove unnecessary casts.Dan Gohman2009-08-113-3/+3
| | | | llvm-svn: 78664
* Add const qualifiers.Dan Gohman2009-08-111-2/+2
| | | | llvm-svn: 78663
OpenPOWER on IntegriCloud