summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/AsmPrinter
Commit message (Collapse)AuthorAgeFilesLines
...
* Let's ignore MDStrings also!Devang Patel2009-06-261-1/+1
| | | | llvm-svn: 74255
* Unbreak mingw build. Patch by Viktor Kutuzov.Evan Cheng2009-06-251-1/+1
| | | | llvm-svn: 74212
* Add missing dependencies to the CMake build system.Douglas Gregor2009-06-251-0/+1
| | | | llvm-svn: 74161
* No need to code gen MDNodesDevang Patel2009-06-251-0/+3
| | | | llvm-svn: 74150
* sink dwarf finalization out of each target into AsmPrinter::doFinalizationChris Lattner2009-06-241-6/+0
| | | | llvm-svn: 74097
* eliminate the ExtWeakSymbols set from AsmPrinter. This eliminatesChris Lattner2009-06-241-17/+0
| | | | | | | a bunch of code from all the targets, and eliminates nondeterministic ordering of directives being emitted in the output. llvm-svn: 74096
* Unbreak build on Linux by removing Darwinism.Nick Lewycky2009-06-241-1/+1
| | | | llvm-svn: 74046
* Revert this accidental commit.Dan Gohman2009-06-241-1/+1
| | | | llvm-svn: 74042
* Move the special cases for constants out of getUnknown and intoDan Gohman2009-06-241-1/+1
| | | | | | | | | createSCEV. Also, recognize UndefValue in createSCEV. Change getIntegerSCEV's comment to avoid mentioning FP types, and re-implement it in terms of getConstant instead of getUnknown. llvm-svn: 74041
* Provide InitializeAllTargets and InitializeNativeTarget functions in theBob Wilson2009-06-231-5/+2
| | | | | | | | C bindings. Change all the backend "Initialize" functions to have C linkage. Change the "llvm/Config/Targets.def" header to use C-style comments to avoid compile warnings. llvm-svn: 74026
* Eliminate object-relinking support from CMake. Fixes PR 4429 andDouglas Gregor2009-06-231-5/+1
| | | | | | | cleans up the CMake-based build system a bit. Started by a patch from Xerxes Rånby. llvm-svn: 73969
* Initial Thumb2 support. Majority of the work is done by David Goodwin. There areEvan Cheng2009-06-231-0/+30
| | | | | | | | | | | | | also some contribution from Jim Grosbach, Bob Wilson, and Evan Cheng. I've done my best to consolidate the patches with those that were done by Viktor Kutuzov and Anton Korzh from Access Softek, Inc. Let me know if missed anything. I've completely reorganized the thumb2 td file, made more extensive uses of multiclass, etc. Test cases will be contributed later after I re-organize what's in svn first. llvm-svn: 73965
* Add support for ARM's Advanced SIMD (NEON) instruction set.Bob Wilson2009-06-221-4/+14
| | | | | | | This is still a work in progress but most of the NEON instruction set is supported. llvm-svn: 73919
* Remove unused field.Devang Patel2009-06-201-2/+1
| | | | llvm-svn: 73815
* Move up dwarf writer initialization in common AsmPrinter class.Devang Patel2009-06-191-6/+0
| | | | llvm-svn: 73784
* move mangler quote handling from asm printers to TargetAsmInfo.Chris Lattner2009-06-181-4/+0
| | | | llvm-svn: 73738
* ARM unified syntax is not specific to ELF; use it for Darwin, too.Bob Wilson2009-06-181-1/+1
| | | | llvm-svn: 73665
* Thumb2 instructions are enabled only in unified assembler mode.Anton Korobeynikov2009-06-171-0/+4
| | | | | | | Emit switch directive for it. I have no idea whether this is requirement for Darwin or not. llvm-svn: 73660
* Initial support for some Thumb2 instructions.Anton Korobeynikov2009-06-171-0/+23
| | | | | | Patch by Viktor Kutuzov and Anton Korzh from Access Softek, Inc. llvm-svn: 73622
* Introduce new headers whose inclusion forces linking andDouglas Gregor2009-06-161-0/+6
| | | | | | | | | initialization of all targets (InitializeAllTargets.h) or assembler printers (InitializeAllAsmPrinters.h). This is a step toward the elimination of relinked object files, so that we can build normal archives. llvm-svn: 73543
* Do not emit "generic" CPU string. This fixes PR4291.Anton Korobeynikov2009-06-011-1/+3
| | | | llvm-svn: 72696
* Emit ARM Build AttributesAnton Korobeynikov2009-05-231-0/+27
| | | | llvm-svn: 72336
* Fix pr4227: Handle large immediate values in inline assembly.Bob Wilson2009-05-191-1/+1
| | | | llvm-svn: 72138
* Fix pr4091: Add support for "m" constraint in ARM inline assembly.Bob Wilson2009-05-191-0/+12
| | | | llvm-svn: 72105
* Rename PaddedSize to AllocSize, in the hope that thisDuncan Sands2009-05-091-1/+1
| | | | | | | will make it more obvious what it represents, and stop it being confused with the StoreSize. llvm-svn: 71349
* Instead of passing in an unsigned value for the optimization level, use an enum,Bill Wendling2009-04-291-2/+4
| | | | | | | which better identifies what the optimization is doing. And is more flexible for future uses. llvm-svn: 70440
* Second attempt:Bill Wendling2009-04-291-5/+5
| | | | | | | | | | | | Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to use the old behavior, the flag is -O0. This change allows for finer-grained control over which optimizations are run at different -O levels. Most of this work was pretty mechanical. The majority of the fixes came from verifying that a "fast" variable wasn't used anymore. The JIT still uses a "Fast" flag. I'll change the JIT with a follow-up patch. llvm-svn: 70343
* r70270 isn't ready yet. Back this out. Sorry for the noise.Bill Wendling2009-04-281-5/+5
| | | | llvm-svn: 70275
* Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want toBill Wendling2009-04-281-5/+5
| | | | | | | | | | | use the old behavior, the flag is -O0. This change allows for finer-grained control over which optimizations are run at different -O levels. Most of this work was pretty mechanical. The majority of the fixes came from verifying that a "fast" variable wasn't used anymore. The JIT still uses a "Fast" flag. I'm not 100% sure if it's necessary to change it there... llvm-svn: 70270
* Handle 'a' modifier in ARM inline assembly.Bob Wilson2009-04-061-0/+3
| | | | | | Patch by Richard Pennington. llvm-svn: 68464
* CodeGen still defaults to non-verbose asm, but llc now overrides it and ↵Evan Cheng2009-03-251-8/+9
| | | | | | default to verbose. llvm-svn: 67668
* Do not emit comments unless -asm-verbose.Evan Cheng2009-03-241-8/+18
| | | | llvm-svn: 67580
* It makes no sense to have a ODR version of commonDuncan Sands2009-03-111-2/+1
| | | | | | linkage, so remove it. llvm-svn: 66690
* Introduce new linkage types linkonce_odr, weak_odr, common_odrDuncan Sands2009-03-071-6/+11
| | | | | | | | | | | | | | | | | | | | | and extern_weak_odr. These are the same as the non-odr versions, except that they indicate that the global will only be overridden by an *equivalent* global. In C, a function with weak linkage can be overridden by a function which behaves completely differently. This means that IP passes have to skip weak functions, since any deductions made from the function definition might be wrong, since the definition could be replaced by something completely different at link time. This is not allowed in C++, thanks to the ODR (One-Definition-Rule): if a function is replaced by another at link-time, then the new function must be the same as the original function. If a language knows that a function or other global can only be overridden by an equivalent global, it can give it the weak_odr linkage type, and the optimizers will understand that it is alright to make deductions based on the function body. The code generators on the other hand map weak and weak_odr linkage to the same thing. llvm-svn: 66339
* Fix a bunch of Doxygen syntax issues. Escape special characters,Dan Gohman2009-03-031-1/+1
| | | | | | and put @file directives on their own comment line. llvm-svn: 65920
* Overhaul my earlier submission due to feedback. It's a large patch, but most ofBill Wendling2009-02-241-10/+14
| | | | | | | | | | | | them are generic changes. - Use the "fast" flag that's already being passed into the asm printers instead of shoving it into the DwarfWriter. - Instead of calling "MI->getParent()->getParent()" for every MI, set the machine function when calling "runOnMachineFunction" in the asm printers. llvm-svn: 65379
* GV with null value initializer shouldn't go to BSS if it's meant for a ↵Evan Cheng2009-02-181-1/+3
| | | | | | mergeable strings section. Currently it only checks for Darwin. Someone else please check if it should apply to other targets as well. llvm-svn: 64877
* Rename getAnalysisToUpdate to getAnalysisIfAvailable.Duncan Sands2009-01-281-2/+2
| | | | llvm-svn: 63198
* Add the private linkage.Rafael Espindola2009-01-151-4/+6
| | | | llvm-svn: 62279
* Rename getABITypeSize to getTypePaddedSize, asDuncan Sands2009-01-121-1/+1
| | | | | | suggested by Chris. llvm-svn: 62099
* Removed trailing whitespace from Makefiles.Misha Brukman2009-01-091-3/+3
| | | | llvm-svn: 61991
* Convert DwarfWriter into a pass.Devang Patel2009-01-081-10/+11
| | | | | | Now Users request DwarfWriter through getAnalysisUsage() instead of creating an instance of DwarfWriter object directly. llvm-svn: 61955
* Preliminary ARM debug support based on patch by Mikael of FlexyCore.Evan Cheng2008-12-101-13/+7
| | | | llvm-svn: 60851
* Clean up some ARM GV asm printing out; minor fixes to match what gcc does.Evan Cheng2008-12-061-20/+31
| | | | llvm-svn: 60621
* Re-did 60519. It turns out Darwin's handling of hidden visibility symbols ↵Evan Cheng2008-12-051-17/+38
| | | | | | are a bit more complicate than I expected. Both declarations and weak definitions still need a stub indirection. However, the stubs are in data section and they contain the addresses of the actual symbols. llvm-svn: 60571
* Make a convenient helper for printing offsets.Anton Korobeynikov2008-11-222-9/+6
| | | | llvm-svn: 59872
* Temporary revert my last commit: it seems it's triggering some subtle bug in ↵Anton Korobeynikov2008-11-081-4/+7
| | | | | | | | backend and breaks llvm-gcc llvm-svn: 58926
* Factor out offset printing code into generic AsmPrinter.Anton Korobeynikov2008-11-081-7/+4
| | | | | | | FIXME: it seems, that most of targets don't support offsets wrt CPI/GlobalAddress', was it intentional? llvm-svn: 58917
* Flush the raw_ostream after emitting the assembly for a function.Dan Gohman2008-11-071-0/+2
| | | | | | | | | This is a temporary fix for the -print-emitted-asm option, where errs() is used as the stream, in the case where other code is using stderr without using errs()' buffer. Hopefully soon we'll fix errs() to be non-buffered instead. Patch by Preston Gurd. llvm-svn: 58859
* Fix so_imm encoding bug; add support for MOVi2pieces.Evan Cheng2008-11-061-2/+2
| | | | llvm-svn: 58790
OpenPOWER on IntegriCloud