| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
runOnMachineFunction, and switch PPC to use EmitFunctionBody.
The two ppc asmprinters now don't heave to define
runOnMachineFunction.
llvm-svn: 94722
|
|
|
|
| |
llvm-svn: 94719
|
|
|
|
|
|
|
|
| |
Move the X86 implementation of function body emission up to
AsmPrinter::EmitFunctionBody, which works by calling the virtual
EmitInstruction method.
llvm-svn: 94716
|
|
|
|
|
|
|
| |
Overload it in the ARM backend to do nothing, since is does insane
constant pool emission.
llvm-svn: 94708
|
|
|
|
| |
llvm-svn: 94703
|
|
|
|
|
|
| |
MachineFunction::Alignment instead.
llvm-svn: 94701
|
|
|
|
|
|
|
|
|
|
|
| |
Default HasSetDirective to true, since most targets have it.
The targets that claim to not have it probably do, or it is
spelled differently. These include Blackfin, Mips, Alpha, and
PIC16. All of these except pic16 are normal ELF targets, so
they almost certainly have it.
llvm-svn: 94585
|
|
|
|
|
|
| |
the AsmPrinter::GetMBBSymbol.
llvm-svn: 94515
|
|
|
|
|
|
|
| |
AsmPrinter::SetupMachineFunction sets it. Note that systemz
and msp430 didn't. Yay for reduced inconsistency! :)
llvm-svn: 94510
|
|
|
|
| |
llvm-svn: 94475
|
|
|
|
| |
llvm-svn: 94472
|
|
|
|
| |
llvm-svn: 94457
|
|
|
|
| |
llvm-svn: 94441
|
|
|
|
|
|
| |
rename it to avoid shadowing.
llvm-svn: 94440
|
|
|
|
| |
llvm-svn: 94378
|
|
|
|
| |
llvm-svn: 94296
|
|
|
|
|
|
| |
into a new MCDirectives.h file.
llvm-svn: 94294
|
|
|
|
|
|
|
|
|
|
|
| |
missing ones are libsupport, libsystem and libvmcore. libvmcore is
currently blocked on bugpoint, which uses EH. Once it stops using
EH, we can switch it off.
This #if 0's out 3 unit tests, because gtest requires RTTI information.
Suggestions welcome on how to fix this.
llvm-svn: 94164
|
|
|
|
|
|
| |
go completely away.
llvm-svn: 93994
|
|
|
|
| |
llvm-svn: 93863
|
|
|
|
| |
llvm-svn: 93853
|
|
|
|
|
|
| |
"isdarwin".
llvm-svn: 93852
|
|
|
|
|
|
|
|
|
|
| |
This makes a similar code dead in all the other targets, I'll clean it up
in a bit.
This also moves handling of lcomm up before acquisition of a section,
since lcomm never needs a section.
llvm-svn: 93851
|
|
|
|
|
|
| |
darwin into common code.
llvm-svn: 93849
|
|
|
|
|
|
| |
duplicating the logic (differently) in lots of different targets.
llvm-svn: 93847
|
|
|
|
| |
llvm-svn: 93845
|
|
|
|
|
|
|
|
|
| |
simplify and commonize some of the asmprinter logic for globals.
This also avoids printing the MCSection for .zerofill, which broke
the llvm-gcc build.
llvm-svn: 93843
|
|
|
|
| |
llvm-svn: 93839
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. TargetLoweringObjectFileMachO should decide if something
goes in zerofill instead of having every target do it.
2. TargetLoweringObjectFileMachO should assign said symbols to
the right MCSection, the asmprinters should just emit to the
right section.
3. Since all zerofill stuff goes through mcstreamer anymore,
MAI can have a bool "haszerofill" instead of having the textual
directive to emit.
llvm-svn: 93838
|
|
|
|
|
|
| |
printing via <<. Otherwise we just print the pointer value.
llvm-svn: 93777
|
|
|
|
|
|
| |
printing them.
llvm-svn: 93699
|
|
|
|
|
|
|
| |
remove it and change all the code that prints MCSymbols to use
<< instead, which is much simpler and cleaner.
llvm-svn: 93695
|
|
|
|
|
|
|
|
| |
and add an explicit ForcePrivate argument.
Switch FunctionEHFrameInfo to be MCSymbol based instead of string based.
llvm-svn: 93646
|
|
|
|
| |
llvm-svn: 93615
|
|
|
|
|
|
| |
and CurrentFnName.
llvm-svn: 93594
|
|
|
|
| |
llvm-svn: 93587
|
|
|
|
| |
llvm-svn: 93582
|
|
|
|
| |
llvm-svn: 93578
|
|
|
|
|
|
| |
helper method, use it to simplify some code.
llvm-svn: 93575
|
|
|
|
| |
llvm-svn: 93310
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of returning it in an std::string. Based on this change:
1. Change TargetLoweringObjectFileCOFF::getCOFFSection to take a StringRef
2. Change a bunch of targets to call makeNameProper with a smallstring,
making several of them *much* more efficient.
3. Rewrite Mangler::makeNameProper to not build names and then prepend
prefixes, not use temporary std::strings, and to avoid other crimes.
llvm-svn: 93298
|
|
|
|
| |
llvm-svn: 92222
|
|
|
|
|
|
| |
- Also support the 'q' NEON registers asm code.
llvm-svn: 90894
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
than doing the same via constpool:
1. Load from constpool costs 3 cycles on A9, movt/movw pair - just 2.
2. Load from constpool might stall up to 300 cycles due to cache miss.
3. Movt/movw does not use load/store unit.
4. Less constpool entries => better compiler performance.
This is only enabled on ELF systems, since darwin does not have needed
relocations (yet).
llvm-svn: 89720
|
|
|
|
| |
llvm-svn: 89700
|
|
|
|
| |
llvm-svn: 89328
|
|
|
|
| |
llvm-svn: 89325
|
|
|
|
|
|
| |
alignment imm (in the same way). Fix asmprinting for non-darwin platforms.
llvm-svn: 89137
|
|
|
|
|
|
|
|
| |
target-specific AsmPrinters. Not all comments need DebugInfo.
Re-enable the line numbers comment test.
llvm-svn: 88697
|
|
|
|
|
|
|
|
|
|
| |
[r0, #2 * 4]
Now
[r0, #8]
This makes Thumb2 assembly more uniform and frankly the scale doesn't add much.
llvm-svn: 86707
|