Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/include/llvm/CodeGen/TargetRegisterInfo.h
Show First 20 Lines • Show All 525 Lines • ▼ Show 20 Line(s) | 249 | public: | |||
---|---|---|---|---|---|
526 | } | 526 | } | ||
527 | 527 | | |||
528 | /// Physical registers that may be modified within a function but are | 528 | /// Physical registers that may be modified within a function but are | ||
529 | /// guaranteed to be restored before any uses. This is useful for targets that | 529 | /// guaranteed to be restored before any uses. This is useful for targets that | ||
530 | /// have call sequences where a GOT register may be updated by the caller | 530 | /// have call sequences where a GOT register may be updated by the caller | ||
531 | /// prior to a call and is guaranteed to be restored (also by the caller) | 531 | /// prior to a call and is guaranteed to be restored (also by the caller) | ||
532 | /// after the call. | 532 | /// after the call. | ||
533 | virtual bool isCallerPreservedPhysReg(unsigned PhysReg, | 533 | virtual bool isCallerPreservedPhysReg(unsigned PhysReg, | ||
534 | const MachineFunction &MF) const { | 534 | const MachineFunction &MF) const; | ||
535 | return false; | | |||
536 | } | | |||
537 | 535 | | |||
538 | /// Prior to adding the live-out mask to a stackmap or patchpoint | 536 | /// Prior to adding the live-out mask to a stackmap or patchpoint | ||
539 | /// instruction, provide the target the opportunity to adjust it (mainly to | 537 | /// instruction, provide the target the opportunity to adjust it (mainly to | ||
540 | /// remove pseudo-registers that should be ignored). | 538 | /// remove pseudo-registers that should be ignored). | ||
541 | virtual void adjustStackMapLiveOutMask(uint32_t *Mask) const {} | 539 | virtual void adjustStackMapLiveOutMask(uint32_t *Mask) const {} | ||
542 | 540 | | |||
543 | /// Return a super-register of the specified register | 541 | /// Return a super-register of the specified register | ||
544 | /// Reg so its sub-register of index SubIdx is Reg. | 542 | /// Reg so its sub-register of index SubIdx is Reg. | ||
▲ Show 20 Lines • Show All 654 Lines • Show Last 20 Lines |