Alexander Kornienko
f993659b8f
Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)
...
Apparently, the style needs to be agreed upon first.
llvm-svn: 240390
2015-06-23 09:49:53 +00:00
Alexander Kornienko
40cb19d802
Fixed/added namespace ending comments using clang-tidy. NFC
...
The patch is generated using this command:
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \
-checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \
llvm/lib/
Thanks to Eugene Kosov for the original patch!
llvm-svn: 240137
2015-06-19 15:57:42 +00:00
Jim Grosbach
06d3c91b51
MC: clang-format. NFC.
...
llvm-svn: 237470
2015-05-15 19:13:20 +00:00
Jim Grosbach
eb68de6ea2
MC: Update MCCodeEmitter naming. NFC.
...
s/EncodeInstruction/encodeInstruction/
llvm-svn: 237469
2015-05-15 19:13:16 +00:00
Aaron Ballman
0b45511a2e
Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition.
...
llvm-svn: 229340
2015-02-15 22:54:22 +00:00
David Woodhouse
4a4c611e36
Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction()
...
llvm-svn: 200348
2014-01-28 23:13:07 +00:00
Pedro Artigas
11d1271302
Add more reset methods to make all objects that the backend may use for outputting code have a reset, some are not used but were declared for completeness
...
llvm-svn: 170227
2012-12-14 18:52:11 +00:00
Dmitri Gribenko
93c7ec80b7
Fix Doxygen issues:
...
* wrap code blocks in \code ... \endcode;
* refer to parameter names in paragraphs correctly (\arg is not what most
people want -- it starts a new paragraph);
* use \param instead of \arg to document parameters in order to be consistent
with the rest of the codebase.
llvm-svn: 163902
2012-09-14 14:57:36 +00:00
Craig Topper
d6b8bfa795
Make use of the LLVM_DELETED_FUNCTION macro.
...
llvm-svn: 162828
2012-08-29 06:28:46 +00:00
Craig Topper
76f7896f49
Prune some includes and forward declarations.
...
llvm-svn: 153429
2012-03-26 06:58:25 +00:00
Daniel Dunbar
fc14f1e5f6
MC: Move target specific fixup info descriptors to TargetAsmBackend instead of
...
the MCCodeEmitter, which seems like a better organization.
- Also, cleaned up some magic constants while in the area.
llvm-svn: 121953
2010-12-16 03:20:06 +00:00
Daniel Dunbar
b5ea5a74f9
MC: Split MCFixupKindInfo out into its own header.
...
llvm-svn: 121948
2010-12-16 03:05:53 +00:00
Daniel Dunbar
fc4b79c9e8
MC: Remove a FIXME I no longer agree with.
...
llvm-svn: 121947
2010-12-16 03:05:46 +00:00
Owen Anderson
202d654195
Implement cleanups suggested by Daniel.
...
llvm-svn: 121875
2010-12-15 18:48:27 +00:00
Owen Anderson
a8ac35b468
Fix an issue in some Thumb fixups, where the effective PC address needs to be 4-byte aligned when calculating
...
the offset. Add a new fixup flag to represent this, and use it for the one fixups that I have a testcase for needing
this. It's quite likely that the other Thumb fixups will need this too, and to have their fixup encoding logic
adjusted accordingly.
llvm-svn: 121408
2010-12-09 20:27:52 +00:00
Jim Grosbach
d18b416075
Comment grammar tweakage.
...
llvm-svn: 116322
2010-10-12 18:11:41 +00:00
Daniel Dunbar
7252b48af1
MCCodeEmitter: Add target independent fixup flag for is-pc-relative.
...
llvm-svn: 98954
2010-03-19 10:43:23 +00:00
Chris Lattner
b82b965968
make getFixupKindInfo return a const reference, allowing
...
the tables to be const. Teach MCCodeEmitter to handle
the target-indep kinds so that we don't crash on them.
llvm-svn: 95924
2010-02-11 21:27:18 +00:00
Daniel Dunbar
ddfda89472
MC: First cut at MCFixup, for getting fixup/relocation information out of an MCCodeEmitter.
...
llvm-svn: 95708
2010-02-09 22:59:55 +00:00
Daniel Dunbar
4316774ac1
llvm-mc: Tweak MCCodeEmitter skeleton.
...
llvm-svn: 80193
2009-08-27 01:34:22 +00:00
Daniel Dunbar
28c0eed122
Add missing declarations.
...
llvm-svn: 80190
2009-08-27 01:15:54 +00:00
Daniel Dunbar
fd042a5019
Sketch TargetRegistry support for MCCodeEmitter abstract interface.
...
- Of course, nothing actually can provide this interface yet.
llvm-svn: 80188
2009-08-27 00:51:57 +00:00