File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -540,41 +540,55 @@ Register Flags
540
540
The table below shows all of the possible register flags along with the
541
541
corresponding internal ``llvm::RegState `` representation:
542
542
543
+ ..
544
+ Keep this in sync with MachineInstrBuilder.h
545
+
543
546
.. list-table ::
544
547
:header-rows: 1
545
548
546
549
* - Flag
547
550
- Internal Value
551
+ - Meaning
548
552
549
553
* - ``implicit ``
550
554
- ``RegState::Implicit ``
555
+ - Not emitted register (e.g. carry, or temporary result).
551
556
552
557
* - ``implicit-def ``
553
558
- ``RegState::ImplicitDefine ``
559
+ - ``implicit `` and ``def ``
554
560
555
561
* - ``def ``
556
562
- ``RegState::Define ``
563
+ - Register definition.
557
564
558
565
* - ``dead ``
559
566
- ``RegState::Dead ``
567
+ - Unused definition.
560
568
561
569
* - ``killed ``
562
570
- ``RegState::Kill ``
571
+ - The last use of a register.
563
572
564
573
* - ``undef ``
565
574
- ``RegState::Undef ``
575
+ - Value of the register doesn't matter.
566
576
567
577
* - ``internal ``
568
578
- ``RegState::InternalRead ``
579
+ - Register reads a value that is defined inside the same instruction or bundle.
569
580
570
581
* - ``early-clobber ``
571
582
- ``RegState::EarlyClobber ``
583
+ - Register definition happens before uses.
572
584
573
585
* - ``debug-use ``
574
586
- ``RegState::Debug ``
587
+ - Register 'use' is for debugging purpose.
575
588
576
589
* - ``renamable ``
577
590
- ``RegState::Renamable ``
591
+ - Register that may be renamed.
578
592
579
593
.. _subregister-indices :
580
594
You can’t perform that action at this time.
0 commit comments