| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCRegisterInfo.h | 78 bool contains(MCRegister Reg1, MCRegister Reg2) const { in contains() 215 MCRegister advance() { in advance() 461 MCRegister getSubReg(MCRegister Reg, unsigned Idx) const; 465 MCRegister getMatchingSuperReg(MCRegister Reg, unsigned SubIdx, 471 unsigned getSubRegIndex(MCRegister RegNo, MCRegister SubRegNo) const; 560 bool isSubRegister(MCRegister RegA, MCRegister RegB) const { in isSubRegister() 565 bool isSuperRegister(MCRegister RegA, MCRegister RegB) const; 568 bool isSubRegisterEq(MCRegister RegA, MCRegister RegB) const { in isSubRegisterEq() 574 bool isSuperRegisterEq(MCRegister RegA, MCRegister RegB) const { in isSuperRegisterEq() 580 bool isSuperOrSubRegisterEq(MCRegister RegA, MCRegister RegB) const { in isSuperOrSubRegisterEq() [all …]
|
| H A D | MCRegister.h | 23 class MCRegister { 24 friend hash_code hash_value(const MCRegister &); 28 constexpr MCRegister(unsigned Val = 0): Reg(Val) {} in Reg() 66 static MCRegister from(unsigned Val) { in from() 68 return MCRegister(Val); in from() 78 bool operator==(const MCRegister &Other) const { return Reg == Other.Reg; } 79 bool operator!=(const MCRegister &Other) const { return Reg != Other.Reg; } 95 template<> struct DenseMapInfo<MCRegister> { 102 static unsigned getHashValue(const MCRegister &Val) { 105 static bool isEqual(const MCRegister &LHS, const MCRegister &RHS) { [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | Register.h | 24 constexpr Register(MCRegister Val): Reg(Val) {} in Register() 45 return MCRegister::isStackSlot(Reg); in isStackSlot() 54 return int(Reg - MCRegister::FirstStackSlot); in stackSlot2Index() 66 return MCRegister::isPhysicalRegister(Reg); in isPhysicalRegister() 79 return Reg & ~MCRegister::VirtualRegFlag; in virtReg2Index() 86 return Index | MCRegister::VirtualRegFlag; in index2VirtReg() 113 operator MCRegister() const { in MCRegister() function 114 return MCRegister(Reg); in MCRegister() 120 MCRegister asMCReg() const { in asMCReg() 121 assert(Reg == MCRegister::NoRegister || in asMCReg() [all …]
|
| H A D | ReachingDefAnalysis.h | 142 int getReachingDef(MachineInstr *MI, MCRegister PhysReg) const; 146 MCRegister PhysReg) const; 155 MCRegister PhysReg) const; 160 MCRegister PhysReg) const; 176 bool isRegUsedAfter(MachineInstr *MI, MCRegister PhysReg) const; 183 int getClearance(MachineInstr *MI, MCRegister PhysReg) const; 187 void getReachingLocalUses(MachineInstr *MI, MCRegister PhysReg, 194 void getLiveOuts(MachineBasicBlock *MBB, MCRegister PhysReg, 200 bool getLiveInUses(MachineBasicBlock *MBB, MCRegister PhysReg, 239 bool isSafeToDefRegAt(MachineInstr *MI, MCRegister PhysReg, [all …]
|
| H A D | LiveRegMatrix.h | 107 InterferenceKind checkInterference(LiveInterval &VirtReg, MCRegister PhysReg); 114 bool checkInterference(SlotIndex Start, SlotIndex End, MCRegister PhysReg); 119 void assign(LiveInterval &VirtReg, MCRegister PhysReg); 127 bool isPhysRegUsed(MCRegister PhysReg) const; 140 MCRegister PhysReg = MCRegister::NoRegister); 145 bool checkRegUnitInterference(LiveInterval &VirtReg, MCRegister PhysReg); 151 LiveIntervalUnion::Query &query(const LiveRange &LR, MCRegister RegUnit);
|
| H A D | TargetRegisterInfo.h | 85 MCRegister getRegister(unsigned i) const { in getRegister() 327 const TargetRegisterClass *getMinimalPhysRegClass(MCRegister Reg, 359 bool isInAllocatableClass(MCRegister RegNo) const { in isInAllocatableClass() 433 bool hasRegUnit(MCRegister Reg, Register RegUnit) const { in hasRegUnit() 534 MCRegister PhysReg) const { in isAsmClobberable() 558 virtual bool isCallerPreservedPhysReg(MCRegister PhysReg, in isCallerPreservedPhysReg() 565 virtual bool isCalleeSavedPhysReg(MCRegister PhysReg, 575 MCRegister getMatchingSuperReg(MCRegister Reg, unsigned SubIdx, in getMatchingSuperReg() 1013 virtual StringRef getRegAsmName(MCRegister Reg) const { in getRegAsmName() 1080 void markSuperRegs(BitVector &RegisterSet, MCRegister Reg) const; [all …]
|
| H A D | CallingConvLower.h | 277 bool isAllocated(MCRegister Reg) const { in isAllocated() 328 bool IsShadowAllocatedReg(MCRegister Reg) const; 351 MCRegister AllocateReg(MCPhysReg Reg) { in AllocateReg() 353 return MCRegister(); in AllocateReg() 359 MCRegister AllocateReg(MCPhysReg Reg, MCPhysReg ShadowReg) { in AllocateReg() 361 return MCRegister(); in AllocateReg() 373 return MCRegister(); // Didn't find the reg. in AllocateReg() 411 MCRegister AllocateReg(ArrayRef<MCPhysReg> Regs, const MCPhysReg *ShadowRegs) { in AllocateReg() 414 return MCRegister(); // Didn't find the reg. in AllocateReg() 417 MCRegister Reg = Regs[FirstUnalloc], ShadowReg = ShadowRegs[FirstUnalloc]; in AllocateReg()
|
| H A D | MachineRegisterInfo.h | 146 std::vector<std::pair<MCRegister, Register>> LiveIns; 235 void disableCalleeSavedRegister(MCRegister Reg); 620 bool isConstantPhysReg(MCRegister PhysReg) const; 826 void updateDbgUsersToReg(MCRegister OldReg, MCRegister NewReg, in updateDbgUsersToReg() 828 SmallSet<MCRegister, 4> OldRegUnits; in updateDbgUsersToReg() 897 bool canReserveReg(MCRegister PhysReg) const { in canReserveReg() 915 bool isReserved(MCRegister PhysReg) const { in isReserved() 933 bool isAllocatable(MCRegister PhysReg) const { in isAllocatable() 956 ArrayRef<std::pair<MCRegister, Register>> liveins() const { in liveins() 964 MCRegister getLiveInPhysReg(Register VReg) const; [all …]
|
| H A D | RegisterClassInfo.h | 116 MCRegister getLastCalleeSavedAlias(MCRegister PhysReg) const { in getLastCalleeSavedAlias() 119 return MCRegister::NoRegister; in getLastCalleeSavedAlias()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCRegisterInfo.cpp | 23 MCRegister 24 MCRegisterInfo::getMatchingSuperReg(MCRegister Reg, unsigned SubIdx, in getMatchingSuperReg() 32 MCRegister MCRegisterInfo::getSubReg(MCRegister Reg, unsigned Idx) const { in getSubReg() 44 unsigned MCRegisterInfo::getSubRegIndex(MCRegister Reg, in getSubRegIndex() 45 MCRegister SubReg) const { in getSubRegIndex() 68 int MCRegisterInfo::getDwarfRegNum(MCRegister RegNum, bool isEH) const { in getDwarfRegNum() 109 int MCRegisterInfo::getSEHRegNum(MCRegister RegNum) const { in getSEHRegNum() 110 const DenseMap<MCRegister, int>::const_iterator I = L2SEHRegs.find(RegNum); in getSEHRegNum() 115 int MCRegisterInfo::getCodeViewRegNum(MCRegister RegNum) const { in getCodeViewRegNum() 118 const DenseMap<MCRegister, int>::const_iterator I = L2CVRegs.find(RegNum); in getCodeViewRegNum()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineCopyPropagation.cpp | 91 SmallVector<MCRegister, 4> DefRegs; 95 DenseMap<MCRegister, CopyInfo> Copies; 102 for (MCRegister Reg : Regs) { in markRegsUnavailable() 117 SmallSet<MCRegister, 8> RegsToInvalidate; in invalidateRegister() 130 for (MCRegister InvalidReg : RegsToInvalidate) in invalidateRegister() 281 bool eraseIfRedundant(MachineInstr &Copy, MCRegister Src, MCRegister Def); 352 MCRegister Src, MCRegister Def) { in eraseIfRedundant() 617 MCRegister Reg = MO.getReg().asMCReg(); in ForwardCopyPropagateBlock() 640 MCRegister Reg = MO.getReg().asMCReg(); in ForwardCopyPropagateBlock() 654 MCRegister Reg = MO.getReg().asMCReg(); in ForwardCopyPropagateBlock() [all …]
|
| H A D | LiveRegMatrix.cpp | 81 LiveInterval &VRegInterval, MCRegister PhysReg, in foreachUnit() 104 void LiveRegMatrix::assign(LiveInterval &VirtReg, MCRegister PhysReg) { in assign() 138 bool LiveRegMatrix::isPhysRegUsed(MCRegister PhysReg) const { in isPhysRegUsed() 147 MCRegister PhysReg) { in checkRegMaskInterference() 165 MCRegister PhysReg) { in checkRegUnitInterference() 179 MCRegister RegUnit) { in query() 186 LiveRegMatrix::checkInterference(LiveInterval &VirtReg, MCRegister PhysReg) { in checkInterference() 200 [&](MCRegister Unit, const LiveRange &LR) { in checkInterference() 210 MCRegister PhysReg) { in checkInterference() 246 return MCRegister::NoRegister; in getOneVReg()
|
| H A D | ReachingDefAnalysis.cpp | 33 static bool isValidRegUseOf(const MachineOperand &MO, MCRegister PhysReg) { in isValidRegUseOf() 41 static bool isValidRegDefOf(const MachineOperand &MO, MCRegister PhysReg) { in isValidRegDefOf() 258 MCRegister PhysReg) const { in getReachingDef() 279 MCRegister PhysReg) const { in getReachingLocalMIDef() 315 MCRegister PhysReg) const { in getClearance() 321 MCRegister PhysReg) const { in hasLocalDefBefore() 326 MCRegister PhysReg, in getReachingLocalUses() 351 MCRegister PhysReg, in getLiveInUses() 396 MCRegister PhysReg, in getGlobalReachingDefs() 466 MCRegister PhysReg) const { in isRegUsedAfter() [all …]
|
| H A D | InterferenceCache.h | 47 MCRegister PhysReg = 0; 105 PhysReg = MCRegister::NoRegister; in clear() 111 MCRegister getPhysReg() const { return PhysReg; } in getPhysReg() 123 void reset(MCRegister physReg, LiveIntervalUnion *LIUArray, 155 Entry *get(MCRegister PhysReg); 208 void setPhysReg(InterferenceCache &Cache, MCRegister PhysReg) { in setPhysReg()
|
| H A D | RegAllocGreedy.cpp | 353 MCRegister PhysReg; 538 MCRegister PhysReg; 822 MCRegister PhysReg; in tryAssign() 875 MCRegister PhysReg; in canReassign() 1093 MCRegister BestEvicteePhys; in getCheapestEvicteeWeight() 1179 MCRegister BestPhys; in tryEvict() 1208 MCRegister PhysReg = *I; in tryEvict() 2767 MCRegister PhysReg = in tryRecoloringCandidates() 2825 MCRegister 2905 MCRegister OtherPhysReg = in collectHintInfo() [all …]
|
| H A D | RegAllocBasic.cpp | 103 MCRegister selectOrSplit(LiveInterval &VirtReg, 122 bool spillInterferences(LiveInterval &VirtReg, MCRegister PhysReg, 211 bool RABasic::spillInterferences(LiveInterval &VirtReg, MCRegister PhysReg, in spillInterferences() 263 MCRegister RABasic::selectOrSplit(LiveInterval &VirtReg, in selectOrSplit() 266 SmallVector<MCRegister, 8> PhysRegSpillCands; in selectOrSplit() 271 for (MCRegister PhysReg : Order) { in selectOrSplit() 291 for (MCRegister &PhysReg : PhysRegSpillCands) { in selectOrSplit()
|
| H A D | MachineRegisterInfo.cpp | 437 for (const std::pair<MCRegister, Register> &LI : liveins()) in isLiveIn() 445 MCRegister MachineRegisterInfo::getLiveInPhysReg(Register VReg) const { in getLiveInPhysReg() 446 for (const std::pair<MCRegister, Register> &LI : liveins()) in getLiveInPhysReg() 449 return MCRegister(); in getLiveInPhysReg() 454 Register MachineRegisterInfo::getLiveInVirtReg(MCRegister PReg) const { in getLiveInVirtReg() 455 for (const std::pair<MCRegister, Register> &LI : liveins()) in getLiveInVirtReg() 513 bool MachineRegisterInfo::isConstantPhysReg(MCRegister PhysReg) const { in isConstantPhysReg() 570 bool MachineRegisterInfo::isPhysRegModified(MCRegister PhysReg, in isPhysRegModified() 585 bool MachineRegisterInfo::isPhysRegUsed(MCRegister PhysReg, in isPhysRegUsed() 598 void MachineRegisterInfo::disableCalleeSavedRegister(MCRegister Reg) { in disableCalleeSavedRegister() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIRegisterInfo.h | 48 void reserveRegisterTuples(BitVector &, MCRegister Reg) const; 63 MCRegister reservedPrivateSegmentBufferReg(const MachineFunction &MF) const; 133 StringRef getRegAsmName(MCRegister Reg) const override; 136 unsigned getHWRegIndex(MCRegister Reg) const { in getHWRegIndex() 151 const TargetRegisterClass *getPhysRegClass(MCRegister Reg) const; 222 MCRegister findUnusedRegister(const MachineRegisterInfo &MRI, 235 bool isConstantPhysReg(MCRegister PhysReg) const override; 260 MCRegister getReturnAddressReg(const MachineFunction &MF) const; 292 MCRegister getVCC() const; 355 MCRegister ScratchOffsetReg, int64_t InstrOffset,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86MCTargetDesc.h | 29 class MCRegister; variable 120 MCRegister getX86SubSuperRegister(MCRegister, unsigned, bool High=false); 124 MCRegister getX86SubSuperRegisterOrZero(MCRegister, unsigned,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/Disassembler/ |
| H A D | RISCVDisassembler.cpp | 73 MCRegister Reg = RISCV::X0 + RegNo; in DecodeGPRRegisterClass() 84 MCRegister Reg = RISCV::F0_H + RegNo; in DecodeFPR16RegisterClass() 95 MCRegister Reg = RISCV::F0_F + RegNo; in DecodeFPR32RegisterClass() 106 MCRegister Reg = RISCV::F8_F + RegNo; in DecodeFPR32CRegisterClass() 117 MCRegister Reg = RISCV::F0_D + RegNo; in DecodeFPR64RegisterClass() 159 MCRegister Reg = RISCV::X8 + RegNo; in DecodeGPRCRegisterClass() 170 MCRegister Reg = RISCV::V0 + RegNo; in DecodeVRRegisterClass() 187 MCRegister Reg = in DecodeVRM2RegisterClass() 207 MCRegister Reg = in DecodeVRM4RegisterClass() 227 MCRegister Reg = in DecodeVRM8RegisterClass() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXInstrInfo.h | 52 const DebugLoc &DL, MCRegister DestReg, MCRegister SrcReg,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64RegisterInfo.h | 37 bool isReservedReg(const MachineFunction &MF, MCRegister Reg) const; 95 MCRegister PhysReg) const override; 96 bool isConstantPhysReg(MCRegister PhysReg) const override;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | Thumb1InstrInfo.h | 41 const DebugLoc &DL, MCRegister DestReg, MCRegister SrcReg,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVRegisterInfo.h | 34 MCRegister PhysReg) const override; 36 bool isConstantPhysReg(MCRegister PhysReg) const override;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFInstrInfo.h | 33 const DebugLoc &DL, MCRegister DestReg, MCRegister SrcReg,
|