summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16
Commit message (Collapse)AuthorAgeFilesLines
* Per discussion with Sanjiv, remove the PIC16 target from mainline. When/ifChris Lattner2010-10-1145-7492/+0
| | | | | | | it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. llvm-svn: 116190
* Add hook in MCSection to decide when to use "optimized nops", for eachJan Wen Voung2010-10-042-0/+6
| | | | | | | section kind. Previously, optimized nops were only used for MachO. Also added tests for ELF and COFF. llvm-svn: 115523
* Removed a bunch of unnecessary target_link_libraries.Oscar Fuentes2010-09-281-4/+0
| | | | llvm-svn: 114999
* Use the canonical library name for library PIC16Passes.Oscar Fuentes2010-09-282-2/+2
| | | | llvm-svn: 114953
* Added library LLVMPIC16passes to CMake build.Oscar Fuentes2010-09-281-0/+4
| | | | llvm-svn: 114952
* fix a long standing wart: all the ComplexPattern's were beingChris Lattner2010-09-212-3/+2
| | | | | | | | | | | passed the root of the match, even though only a few patterns actually needed this (one in X86, several in ARM [which should be refactored anyway], and some in CellSPU that I don't feel like detangling). Instead of requiring all ComplexPatterns to take the dead root, have targets opt into getting the root by putting SDNPWantRoot on the ComplexPattern. llvm-svn: 114471
* update a bunch of code to use the MachinePointerInfo version of getStore.Chris Lattner2010-09-211-4/+4
| | | | llvm-svn: 114461
* CMake: Fix MSVS build. Although I don't know why this didn't break other ↵Michael J. Spencer2010-09-121-1/+1
| | | | | | | | | | build systems... This problem is unrelated to the recent dependency tracking change. It seems like noone noticed the problem because I don't think anyone compiles any target other than X86 on windows. llvm-svn: 113727
* CMake: Fix mingw32 build.Michael J. Spencer2010-09-121-0/+5
| | | | llvm-svn: 113712
* Simplify eliminateFrameIndex() interface back down now that PEI doesn't needJim Grosbach2010-08-262-9/+5
| | | | | | to try to re-use scavenged frame index reference registers. rdar://8277890 llvm-svn: 112241
* Fix comment typos.Bob Wilson2010-08-261-1/+1
| | | | llvm-svn: 112202
* Reapply r112091 and r111922, support for metadata linking, with aDan Gohman2010-08-261-1/+1
| | | | | | | | | | | | | | fix: add a flag to MapValue and friends which indicates whether any module-level mappings are being made. In the common case of inlining, no module-level mappings are needed, so MapValue doesn't need to examine non-function-local metadata, which can be very expensive in the case of a large module with really deep metadata (e.g. a large C++ program compiled with -g). This flag is a little awkward; perhaps eventually it can be moved into the ClonedCodeInfo class. llvm-svn: 112190
* Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson2010-08-063-3/+3
| | | | llvm-svn: 110460
* Revert r110396 to fix buildbots.Owen Anderson2010-08-063-3/+3
| | | | llvm-svn: 110410
* Don't use PassInfo* as a type identifier for passes. Instead, use the ↵Owen Anderson2010-08-053-3/+3
| | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
* CMake: Change somme target library names:Oscar Fuentes2010-08-031-1/+1
| | | | | | | | | | | XCore->XCoreGen PIC16->PIC16CodeGen After updating your working copy, the first build will fail because it is using the old library dependencies. Start the build again and it will work fine. llvm-svn: 110127
* Fix this code to avoid decrementing an iterator past the beginningDan Gohman2010-07-281-5/+2
| | | | | | of a std::vector. llvm-svn: 109597
* do not (implicitly) dereference iterator many times, cache it insteadGabor Greif2010-07-231-2/+3
| | | | llvm-svn: 109222
* Teach bottom up pre-ra scheduler to track register pressure. Work in progress.Evan Cheng2010-07-212-0/+13
| | | | llvm-svn: 108991
* Remove the isMoveInstr() hook.Jakob Stoklund Olesen2010-07-162-19/+0
| | | | llvm-svn: 108567
* Don't pass StringRef by reference.Benjamin Kramer2010-07-142-2/+2
| | | | llvm-svn: 108366
* fix a bug found by a warning I added to clang this morning.Chris Lattner2010-07-141-1/+1
| | | | llvm-svn: 108309
* Convert some tab stops into spaces.Duncan Sands2010-07-121-1/+1
| | | | llvm-svn: 108130
* Fix PIC16 comments referencing copyRegToReg.Jakob Stoklund Olesen2010-07-111-3/+3
| | | | llvm-svn: 108082
* Replace copyRegToReg with copyPhysReg for PIC16.Jakob Stoklund Olesen2010-07-112-24/+17
| | | | llvm-svn: 108081
* Split the SDValue out of OutputArg so that SelectionDAG-independentDan Gohman2010-07-072-5/+14
| | | | | | code can do calling-convention queries. This obviates OutputArgReg. llvm-svn: 107786
* Propagate debug loc.Devang Patel2010-07-061-2/+3
| | | | llvm-svn: 107710
* Reapply r107655 with fixes; insert the pseudo instruction intoDan Gohman2010-07-061-11/+9
| | | | | | | the block before calling the expansion hook. And don't put EFLAGS in a mbb's live-in list twice. llvm-svn: 107691
* Revert r107655.Dan Gohman2010-07-061-9/+11
| | | | llvm-svn: 107668
* Fix a bunch of custom-inserter functions to handle the case whereDan Gohman2010-07-061-11/+9
| | | | | | the pseudo instruction is not at the end of the block. llvm-svn: 107655
* Use ValueMap instead of DenseMap.Devang Patel2010-06-242-14/+14
| | | | | | The ValueMapper used by various cloning utility maps MDNodes also. llvm-svn: 106706
* Remove isTwoAddress from PIC16.Eric Christopher2010-06-211-6/+6
| | | | llvm-svn: 106447
* Eliminate unnecessary uses of getZExtValue().Dan Gohman2010-06-181-3/+3
| | | | llvm-svn: 106279
* Add a DebugLoc parameter to TargetInstrInfo::InsertBranch(). ThisStuart Hastings2010-06-172-4/+5
| | | | | | | | | | | | addresses a longstanding deficiency noted in many FIXMEs scattered across all the targets. This effectively moves the problem up one level, replacing eleven FIXMEs in the targets with eight FIXMEs in CodeGen, plus one path through FastISel where we actually supply a DebugLoc, fixing Radar 7421831. llvm-svn: 106243
* cleanupRafael Espindola2010-06-022-11/+0
| | | | llvm-svn: 105322
* MC: Add dyn_cast support to MCSection.Daniel Dunbar2010-05-171-1/+7
| | | | | | - Of questionable utility, since in general anything which wants to do this should probably be within a target specific hook, which can rely on the sections being of the appropriate type. However, it can be useful for short term hacks. llvm-svn: 103980
* I got tired of VISIBILITY_HIDDEN colliding with the gcc enum. Rename itDuncan Sands2010-05-112-2/+2
| | | | | | | to LLVM_LIBRARY_VISIBILITY and introduce LLVM_GLOBAL_VISIBILITY, which is the opposite, for future use by dragonegg. llvm-svn: 103495
* Implement a bunch more TargetSelectionDAGInfo infrastructure.Dan Gohman2010-05-114-4/+13
| | | | | | | | Move EmitTargetCodeForMemcpy, EmitTargetCodeForMemset, and EmitTargetCodeForMemmove out of TargetLowering and into SelectionDAGInfo to exercise this. llvm-svn: 103481
* Use overloaded operators instead of DIDescriptor::getNode()Devang Patel2010-05-071-7/+7
| | | | llvm-svn: 103276
* Add a DebugLoc argument to TargetInstrInfo::copyRegToReg, so that itDan Gohman2010-05-062-4/+4
| | | | | | doesn't have to guess. llvm-svn: 103194
* Add argument TargetRegisterInfo to loadRegFromStackSlot and storeRegToStackSlot.Evan Cheng2010-05-062-4/+8
| | | | llvm-svn: 103193
* fix some inconsistent line endings, patch by Jakub Staszak!Chris Lattner2010-05-011-7/+7
| | | | llvm-svn: 102852
* Get rid of the EdgeMapping map. Instead, just check for BasicBlockDan Gohman2010-05-012-10/+5
| | | | | | changes before doing phi lowering for switches. llvm-svn: 102809
* Add const qualifiers to TargetLoweringObjectFile usage.Dan Gohman2010-04-173-5/+5
| | | | llvm-svn: 101640
* Use const qualifiers with TargetLowering. This eliminates severalDan Gohman2010-04-178-98/+99
| | | | | | | | | | | | | const_casts, and it reinforces the design of the Target classes being immutable. SelectionDAGISel::IsLegalToFold is now a static member function, because PIC16 uses it in an unconventional way. There is more room for API cleanup here. And PIC16's AsmPrinter no longer uses TargetLowering. llvm-svn: 101635
* Move per-function state out of TargetLowering subclasses and intoDan Gohman2010-04-175-36/+95
| | | | | | MachineFunctionInfo subclasses. llvm-svn: 101634
* Add skeleton target-specific SelectionDAGInfo files.Dan Gohman2010-04-163-0/+52
| | | | llvm-svn: 101564
* Add const qualifiers to CodeGen's use of LLVM IR constructs.Dan Gohman2010-04-153-4/+4
| | | | llvm-svn: 101334
* Fix memory leaks for external symbol name strings.Sanjiv Gupta2010-04-073-20/+38
| | | | llvm-svn: 100601
* prune some #includes.Chris Lattner2010-04-051-2/+0
| | | | llvm-svn: 100399
OpenPOWER on IntegriCloud