| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
This commit fixes a bug where MI parser couldn't resolve the named IR
references that referenced named global values.
llvm-svn: 244817
|
|
|
|
| |
llvm-svn: 244816
|
|
|
|
| |
llvm-svn: 244813
|
|
|
|
| |
llvm-svn: 244809
|
|
|
|
| |
llvm-svn: 244806
|
|
|
|
| |
llvm-svn: 244803
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit serializes the UsedPhysRegMask register mask from the machine
register information class. The mask is serialized as an inverted
'calleeSavedRegisters' mask to keep the output minimal.
This commit also allows the MIR parser to infer this mask from the register
mask operands if the machine function doesn't specify it.
Reviewers: Duncan P. N. Exon Smith
llvm-svn: 244548
|
|
|
|
| |
llvm-svn: 244536
|
|
|
|
| |
llvm-svn: 244534
|
|
|
|
| |
llvm-svn: 244529
|
|
|
|
| |
llvm-svn: 244357
|
|
|
|
| |
llvm-svn: 244356
|
|
|
|
|
|
|
|
| |
The block address machine operands can reference IR blocks in other functions.
This commit fixes a bug where the references to unnamed IR blocks in other
functions weren't serialized correctly.
llvm-svn: 244299
|
|
|
|
| |
llvm-svn: 244240
|
|
|
|
| |
llvm-svn: 244230
|
|
|
|
| |
llvm-svn: 244228
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit implements the initial serialization of the machine operand target
flags. It extends the 'TargetInstrInfo' class to add two new methods that help
to provide text based serialization for the target flags.
This commit can serialize only the X86 target flags, and the target flags for
the other targets will be serialized in the follow-up commits.
Reviewers: Duncan P. N. Exon Smith
llvm-svn: 244185
|
|
|
|
|
|
|
| |
This commit serializes the offset for the following operands: target index,
global address, external symbol, constant pool index, and block address.
llvm-svn: 244157
|
|
|
|
| |
llvm-svn: 244100
|
|
|
|
| |
llvm-svn: 244098
|
|
|
|
| |
llvm-svn: 244081
|
|
|
|
| |
llvm-svn: 244075
|
|
|
|
| |
llvm-svn: 244071
|
|
|
|
|
|
|
| |
These tests rely on the native backend to be built-in.
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 243959
|
|
|
|
| |
llvm-svn: 243923
|
|
|
|
|
| |
Reviewers: Duncan P. N. Exon Smith
llvm-svn: 243915
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since r241097, `DIBuilder` has only created distinct `DICompileUnit`s.
The backend is liable to start relying on that (if it hasn't already),
so make uniquable `DICompileUnit`s illegal and automatically upgrade old
bitcode. This is a nice cleanup, since we can remove an unnecessary
`DenseSet` (and the associated uniquing info) from `LLVMContextImpl`.
Almost all the testcases were updated with this script:
git grep -e '= !DICompileUnit' -l -- test |
grep -v test/Bitcode |
xargs sed -i '' -e 's,= !DICompileUnit,= distinct !DICompileUnit,'
I imagine something similar should work for out-of-tree testcases.
llvm-svn: 243885
|
|
|
|
| |
llvm-svn: 243798
|
|
|
|
|
| |
Reviewers: Duncan P. N. Exon Smith
llvm-svn: 243780
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the fake `DW_TAG_auto_variable` and `DW_TAG_arg_variable` tags,
using `DW_TAG_variable` in their place Stop exposing the `tag:` field at
all in the assembly format for `DILocalVariable`.
Most of the testcase updates were generated by the following sed script:
find test/ -name "*.ll" -o -name "*.mir" |
xargs grep -l 'DILocalVariable' |
xargs sed -i '' \
-e 's/tag: DW_TAG_arg_variable, //' \
-e 's/tag: DW_TAG_auto_variable, //'
There were only a handful of tests in `test/Assembly` that I needed to
update by hand.
(Note: a follow-up could change `DILocalVariable::DILocalVariable()` to
set the tag to `DW_TAG_formal_parameter` instead of `DW_TAG_variable`
(as appropriate), instead of having that logic magically in the backend
in `DbgVariable`. I've added a FIXME to that effect.)
llvm-svn: 243774
|
|
|
|
| |
llvm-svn: 243696
|
|
|
|
| |
llvm-svn: 243695
|
|
|
|
|
| |
Reviewers: Duncan P. N. Exon Smith
llvm-svn: 243659
|
|
|
|
|
|
|
| |
This commit serializes the save and restore machine basic block references from
the machine frame information class.
llvm-svn: 243575
|
|
|
|
| |
llvm-svn: 243554
|
|
|
|
| |
llvm-svn: 243553
|
|
|
|
|
| |
Reviewers: Duncan P. N. Exon Smith
llvm-svn: 243497
|
|
|
|
| |
llvm-svn: 243453
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit serializes the references from the machine basic blocks to the
unnamed basic blocks.
This commit adds a new attribute to the machine basic block's YAML mapping
called 'ir-block'. This attribute contains the actual reference to the
basic block.
Reviewers: Duncan P. N. Exon Smith
llvm-svn: 243340
|
|
|
|
| |
llvm-svn: 243322
|
|
|
|
|
| |
Reviewers: Duncan P. N. Exon Smith
llvm-svn: 243288
|
|
|
|
|
|
|
|
|
| |
This commit serializes the callee saved information from the class
'MachineFrameInfo'. This commit extends the YAML mappings for the fixed and
the ordinary stack objects and adds an optional 'callee-saved-register'
attribute. This attribute is used to serialize the callee save information.
llvm-svn: 243173
|
|
|
|
|
|
|
| |
This commit serializes the virtual register allocations hints of type 0.
These hints specify the preferred physical registers for allocations.
llvm-svn: 243156
|
|
|
|
| |
llvm-svn: 243128
|
|
|
|
|
|
|
|
| |
This commit adds the liveins and successors properties to machine basic blocks
in some of the MIR tests to ensure that the tests will pass when the MIR parser
will run the machine verifier after initializing a machine function.
llvm-svn: 243124
|
|
|
|
|
|
|
|
|
|
|
| |
This commit moves and transforms the generic test
'CodeGen/MIR/successor-basic-blocks.mir' into an X86 specific test
'CodeGen/MIR/X86/successor-basic-blocks.mir'. This change is required in order
to enable the machine verifier for the MIR parser, as the machine verifier
verifies that the machine basic blocks contain instructions that actually
determine the machine basic block successors.
llvm-svn: 243123
|
|
|
|
|
| |
Reviewers: Duncan P. N. Exon Smith
llvm-svn: 243062
|
|
|
|
| |
llvm-svn: 242938
|
|
|
|
| |
llvm-svn: 242916
|
|
|
|
|
|
|
|
| |
This commit begins serialization of the CFI index machine operands by
serializing one kind of CFI instruction - the .cfi_def_cfa_offset instruction.
Reviewers: Duncan P. N. Exon Smith
llvm-svn: 242845
|