summaryrefslogtreecommitdiffstats
path: root/llvm/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Make it possible for the MCObjectWriter to decide if a given fixup is fullyRafael Espindola2010-09-304-5/+28
| | | | | | | | | | | resolved or not. Different object files have different restrictions and different native assemblers have different idiosyncrasies we want to emulate for now. Move the existing MachO logic to the new place and implement an ELF one that gets fixups to globals right. llvm-svn: 115131
* Let a target specify whether it wants an assembly printer to be the MC versionJim Grosbach2010-09-301-0/+5
| | | | | | | | | or not. TableGen needs to generate the printInstruction() function as taking an MCInstr* or a MachineInstr*, depending. Default to the old non-MC version so that everything not yet using MC continues to just work without fidding. llvm-svn: 115126
* Revert r115099 (adding early jump threading). It's not clear if the ↵Owen Anderson2010-09-291-1/+0
| | | | | | benefits are worth the compile time cost. llvm-svn: 115106
* Let FE mark a variable as artificial variable.Devang Patel2010-09-291-1/+9
| | | | llvm-svn: 115102
* Early CFG simplification can fold conditionals down to selects, which is ↵Owen Anderson2010-09-291-0/+1
| | | | | | | | | | often a good thing, but it can also hide jump threading opportunities by turning control flow into data flow. Run an early JumpThreading pass (adds approximately an additional 1% to optimization time on SPEC), allowing it to get a shot at these cases first. Fixes <rdar://problem/8447345>. llvm-svn: 115099
* Model Cortex-a9 load to SUB, RSB, ADD, ADC, SBC, RSC, CMN, MVN, or CMPEvan Cheng2010-09-291-3/+52
| | | | | | pipeline forwarding path. llvm-svn: 115098
* Add support to let FE encode method access specifier.Devang Patel2010-09-291-1/+14
| | | | llvm-svn: 115089
* Generalize DISubprogram element to encode various flags instead of just one ↵Devang Patel2010-09-292-14/+19
| | | | | | | | boolean for isArtificial. This is a backword compatible change. llvm-svn: 115084
* remove PointerTracking from mainline, Edwin is going to move it out to ClamAVChris Lattner2010-09-292-134/+0
| | | | | | for LLVM 2.9 llvm-svn: 115062
* implement rdar://8456378 and PR7557 - support for the fstsw,Chris Lattner2010-09-291-1/+1
| | | | | | an instruction that requires a WHOLE NEW wonderful kind of alias. llvm-svn: 115015
* change the protocol TargetAsmPArser::MatchInstruction method to take anChris Lattner2010-09-291-7/+7
| | | | | | | MCStreamer to emit into instead of an MCInst to fill in. This allows the matcher extra flexibility and is more convenient. llvm-svn: 115014
* Add support to model pipeline bypass / forwarding.Evan Cheng2010-09-281-3/+15
| | | | llvm-svn: 115005
* Part one of switching to using a more sane heuristic for determining ↵Owen Anderson2010-09-281-6/+12
| | | | | | | | | | | if-conversion profitability. Rather than having arbitrary cutoffs, actually try to cost model the conversion. For now, the constants are tuned to more or less match our existing behavior, but these will be changed to reflect realistic values as this work proceeds. llvm-svn: 114973
* Provide an interface to let FEs anchor debug info for types.Devang Patel2010-09-281-0/+5
| | | | llvm-svn: 114969
* Add a new scope type "LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN" for theBill Wendling2010-09-271-17/+18
| | | | | | "linker_private_weak_auto_def" linkage type for LTO. llvm-svn: 114868
* MC/AsmParser: Handle exponents in floating point literals.Daniel Dunbar2010-09-271-0/+1
| | | | llvm-svn: 114861
* Remove unused argument.Rafael Espindola2010-09-271-2/+1
| | | | llvm-svn: 114852
* Push twines deeper into SourceMgr's error handling methods.Benjamin Kramer2010-09-271-2/+3
| | | | llvm-svn: 114847
* writeGraph doesn't need its ShortNames argument.Dan Gohman2010-09-271-3/+2
| | | | llvm-svn: 114842
* Don't construct a redundant GraphWriter object.Dan Gohman2010-09-271-7/+4
| | | | llvm-svn: 114838
* Factor out code from the standalone WriteGraph function into a helperDan Gohman2010-09-271-10/+20
| | | | | | function on GraphWriter. llvm-svn: 114837
* Constify properlyDominates in the same manner as dominates.Dan Gohman2010-09-271-3/+22
| | | | | | Add constified overloads for findNearestCommonDominator. llvm-svn: 114834
* Add support for viewing graphviz graphs with xdot.py.Dan Gohman2010-09-271-3/+9
| | | | llvm-svn: 114832
* Add an all() method to BitVector, for testing whether all bits are set.Dan Gohman2010-09-272-0/+13
| | | | llvm-svn: 114830
* Remove WriteGraph's Name argument, which it didn't use, andDan Gohman2010-09-272-8/+7
| | | | | | | rename writeHeader's Name argument to Title, to be consistent with WriteGraph. llvm-svn: 114829
* Fix indentation.Dan Gohman2010-09-271-2/+2
| | | | llvm-svn: 114827
* the latest assembler that runs on powerpc 10.4 machines doesn'tChris Lattner2010-09-272-0/+11
| | | | | | | support aligned comm. Detect when compiling for 10.4 and don't emit an alignment for comm. THis will hopefully fix PR8198. llvm-svn: 114817
* Avoid warnings about implicit conversions to `bool' in MSVC. This timeOscar Fuentes2010-09-253-4/+4
| | | | | | | | for real. Patch by Nathan Jeffords! llvm-svn: 114796
* Avoid using VNInfo::getCopy as much as possible. I want to get rid of it.Jakob Stoklund Olesen2010-09-251-0/+4
| | | | llvm-svn: 114794
* Removed VNInfo::isDefAccurate(). Def "accuracy" can be checked by testing ↵Lang Hames2010-09-251-28/+3
| | | | | | whether LiveIntervals::getInstructionFromIndex(def) returns NULL. llvm-svn: 114791
* Add ret instruction to PTX backendChe-Liang Chiou2010-09-251-1/+9
| | | | llvm-svn: 114788
* Remove trailing spaces of CallingConv.hChe-Liang Chiou2010-09-251-5/+5
| | | | llvm-svn: 114787
* Remove SlotIndex::PHI_BIT. It is no longer used by anything.Jakob Stoklund Olesen2010-09-251-28/+9
| | | | llvm-svn: 114779
* Terminator gaps were unused. Might as well delete them.Jakob Stoklund Olesen2010-09-242-21/+0
| | | | llvm-svn: 114776
* Attach a DebugLoc to a GC point in order to get precise information in the ↵Nicolas Geoffray2010-09-241-3/+6
| | | | | | JIT of a GC point. llvm-svn: 114736
* MC/Lexer: Add 'Real' token type for floating point literals.Daniel Dunbar2010-09-241-0/+3
| | | | llvm-svn: 114718
* Revert r114703 and r114702, removing the isConditionalMove flag from ↵Owen Anderson2010-09-232-8/+0
| | | | | | | | instructions. After further reflection, this isn't going to achieve the purpose I intended it for. Back to the drawing board! llvm-svn: 114710
* Add an TargetInstrDesc bit to indicate that a given instruction is a ↵Owen Anderson2010-09-232-0/+8
| | | | | | | | conditional move. Not intended functionality change, as nothing uses this yet. llvm-svn: 114702
* trailing whitespaceJim Grosbach2010-09-231-28/+28
| | | | llvm-svn: 114680
* Avoid warnings about conversions to `bool' in MS compilers.Oscar Fuentes2010-09-232-2/+2
| | | | | | Patch by Nathan Jeffords! llvm-svn: 114662
* Moved the PBQP allocator class out of the header and back in to the cpp file ↵Lang Hames2010-09-233-121/+3
| | | | | | | | | | | | | | to hide the gory details. Allocator instances can now be created by calling createPBQPRegisterAllocator. Tidied up use of CoalescerPair as per Jakob's suggestions. Made the new PBQPBuilder based construction process the default. The internal construction process remains in-place and available via -pbqp-builder=false for now. It will be removed shortly if the new process doesn't cause any regressions. llvm-svn: 114626
* Add support for ELF PLT references for ARM MC asm printing. Adding aJim Grosbach2010-09-221-0/+1
| | | | | | | | new VariantKind to the MCSymbolExpr seems like overkill, but I'm not sure there's a more straightforward way to get the printing difference captured. (i.e., x86 uses @PLT, ARM uses (PLT)). llvm-svn: 114613
* Make SetVector's remove indicate whether it actually removed something.Dan Gohman2010-09-221-1/+3
| | | | llvm-svn: 114612
* Avoid some Mach-O specific alignment being done on ELF.Rafael Espindola2010-09-222-2/+5
| | | | llvm-svn: 114594
* allow target-specific label suffixes, patch by Yuri Gribov!Chris Lattner2010-09-221-0/+6
| | | | llvm-svn: 114592
* Fix uninitialized TBAAFlag field values.Dan Gohman2010-09-221-0/+2
| | | | llvm-svn: 114591
* Teach memdep about TBAA tags.Dan Gohman2010-09-221-6/+28
| | | | llvm-svn: 114588
* Constify.Dan Gohman2010-09-221-1/+1
| | | | llvm-svn: 114574
* Rework passing parent pointers into complexpatterns, I forgotChris Lattner2010-09-211-1/+1
| | | | | | | | that complex patterns are matched after the entire pattern has a structural match, therefore the NodeStack isn't in a useful state when the actual call to the matcher happens. llvm-svn: 114489
* Add some utility routines.Dan Gohman2010-09-211-0/+12
| | | | llvm-svn: 114483
OpenPOWER on IntegriCloud