/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | RegUsageInfoPropagate.cpp | 61 static void setRegMask(MachineInstr &MI, ArrayRef<uint32_t> RegMask) { in setRegMask() argument 62 assert(RegMask.size() == in setRegMask() 69 MO.setRegMask(RegMask.data()); in setRegMask() 122 const ArrayRef<uint32_t> RegMask = PRUI->getRegUsageInfo(F); in runOnMachineFunction() local 123 if (RegMask.empty()) in runOnMachineFunction() 125 setRegMask(MI, RegMask); in runOnMachineFunction()
|
H A D | RegUsageInfoCollector.cpp | 122 std::vector<uint32_t> RegMask; in runOnMachineFunction() local 128 RegMask.resize(RegMaskSize, ~((uint32_t)0)); in runOnMachineFunction() 141 auto SetRegAsDefined = [&RegMask] (unsigned Reg) { in runOnMachineFunction() 142 RegMask[Reg / 32] &= ~(1u << Reg % 32); in runOnMachineFunction() 182 if (MachineOperand::clobbersPhysReg(&(RegMask[0]), PReg)) in runOnMachineFunction() 189 PRUI.storeUpdateRegUsageInfo(F, RegMask); in runOnMachineFunction()
|
H A D | RegisterUsageInfo.cpp | 58 const Function &FP, ArrayRef<uint32_t> RegMask) { in storeUpdateRegUsageInfo() argument 59 RegMasks[&FP] = RegMask; in storeUpdateRegUsageInfo() 76 for (const auto &RegMask : RegMasks) in print() local 77 FPRMPairVector.push_back(&RegMask); in print()
|
H A D | LiveRegUnits.cpp | 22 void LiveRegUnits::removeRegsNotPreserved(const uint32_t *RegMask) { in removeRegsNotPreserved() argument 25 if (MachineOperand::clobbersPhysReg(RegMask, *RootReg)) { in removeRegsNotPreserved() 33 void LiveRegUnits::addRegsInMask(const uint32_t *RegMask) { in addRegsInMask() argument 36 if (MachineOperand::clobbersPhysReg(RegMask, *RootReg)) { in addRegsInMask()
|
H A D | MachineStableHash.cpp | 129 const uint32_t *RegMask = MO.getRegMask(); in stableHashValue() local 130 std::vector<llvm::stable_hash> RegMaskHashes(RegMask, in stableHashValue() 131 RegMask + RegMaskSize); in stableHashValue()
|
H A D | MachineOperand.cpp | 336 const uint32_t *RegMask = getRegMask(); in isIdenticalTo() local 338 if (RegMask == OtherRegMask) in isIdenticalTo() 345 return std::equal(RegMask, RegMask + RegMaskSize, OtherRegMask); in isIdenticalTo() 406 const uint32_t *RegMask = MO.getRegMask(); in hash_value() local 407 std::vector<stable_hash> RegMaskHashes(RegMask, RegMask + RegMaskSize); in hash_value() 940 const uint32_t *RegMask = getRegLiveOut(); in print() local 947 if (RegMask[Reg / 32] & (1U << (Reg % 32))) { in print()
|
H A D | MachineCopyPropagation.cpp | 754 const MachineOperand *RegMask = nullptr; in ForwardCopyPropagateBlock() local 757 RegMask = &MO; in ForwardCopyPropagateBlock() 777 if (RegMask) { in ForwardCopyPropagateBlock() 788 if (!RegMask->clobbersPhysReg(Reg)) { in ForwardCopyPropagateBlock()
|
H A D | MIRPrinter.cpp | 261 static void printCustomRegMask(const uint32_t *RegMask, raw_ostream &OS, in printCustomRegMask() argument 263 assert(RegMask && "Can't print an empty register mask"); in printCustomRegMask() 269 if (RegMask[I / 32] & (1u << (I % 32))) { in printCustomRegMask()
|
/openbsd/gnu/llvm/llvm/lib/Target/M68k/AsmParser/ |
H A D | M68kAsmParser.cpp | 85 RegMask, enumerator 113 uint16_t RegMask; member 265 case Kind::RegMask: in print() 358 if (MemOp.Op == M68kMemOp::Kind::RegMask) in isMoveMask() 373 uint16_t MoveMask = MemOp.RegMask; in addMoveMaskOperands() 837 M68kMemOp MemOp(M68kMemOp::Kind::RegMask); in parseRegOrMoveMask() 838 MemOp.RegMask = 0; in parseRegOrMoveMask() 842 (MemOp.Op == M68kMemOp::Kind::RegMask) && (MemOp.RegMask == 0); in parseRegOrMoveMask() 882 if (MemOp.RegMask == 0) { in parseRegOrMoveMask() 895 if (NewMaskBits & MemOp.RegMask) { in parseRegOrMoveMask() [all …]
|
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/ |
H A D | MachineOperand.h | 174 const uint32_t *RegMask; // For MO_RegisterMask and MO_RegisterLiveOut. member 643 static bool clobbersPhysReg(const uint32_t *RegMask, MCRegister PhysReg) { in clobbersPhysReg() argument 646 return !(RegMask[PhysReg / 32] & (1u << PhysReg % 32)); in clobbersPhysReg() 658 return Contents.RegMask; in getRegMask() 669 return Contents.RegMask; in getRegLiveOut() 735 Contents.RegMask = RegMaskPtr; in setRegMask() 928 Op.Contents.RegMask = Mask; in CreateRegMask() 934 Op.Contents.RegMask = Mask; in CreateRegLiveOut()
|
H A D | LiveRegUnits.h | 109 void removeRegsNotPreserved(const uint32_t *RegMask); 113 void addRegsInMask(const uint32_t *RegMask);
|
H A D | RegisterUsageInfo.h | 52 ArrayRef<uint32_t> RegMask);
|
H A D | MachineRegisterInfo.h | 895 void addPhysRegsUsedFromRegMask(const uint32_t *RegMask) { in addPhysRegsUsedFromRegMask() argument 896 UsedPhysRegMask.setBitsNotInMask(RegMask); in addPhysRegsUsedFromRegMask()
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | AArch64CollectLOH.cpp | 490 static void handleRegMaskClobber(const uint32_t *RegMask, MCPhysReg Reg, in handleRegMaskClobber() argument 492 if (!MachineOperand::clobbersPhysReg(RegMask, Reg)) in handleRegMaskClobber() 503 const uint32_t *RegMask = MO.getRegMask(); in handleNormalInst() local 505 handleRegMaskClobber(RegMask, Reg, LOHInfos); in handleNormalInst() 507 handleRegMaskClobber(RegMask, Reg, LOHInfos); in handleNormalInst()
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCallingConv.td | 216 // Trivial class to denote when a def is used only to get a RegMask, i.e. 219 class RegMask<dag mask> : CalleeSavedRegs<mask>; 221 def AMDGPU_AllVGPRs : RegMask< 225 def AMDGPU_AllAGPRs : RegMask< 229 def AMDGPU_AllVectorRegs : RegMask< 233 def AMDGPU_AllAllocatableSRegs : RegMask<
|
/openbsd/gnu/llvm/llvm/lib/Target/M68k/ |
H A D | M68kRegisterInfo.cpp | 153 const uint32_t *RegMask = getCallPreservedMask(MF, CC); in getReservedRegs() local 154 if (MachineOperand::clobbersPhysReg(RegMask, getBaseRegister())) in getReservedRegs()
|
H A D | M68kFrameLowering.cpp | 178 [Reg](MachineBasicBlock::RegisterMaskPair RegMask) { in isRegLiveIn() argument 179 return RegMask.PhysReg == Reg; in isRegLiveIn()
|
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/ |
H A D | SystemZElimCompare.cpp | 645 const uint32_t *RegMask; in fuseCompareOperations() local 647 RegMask = MBBI->getOperand(3).getRegMask(); in fuseCompareOperations() 685 MIB.addRegMask(RegMask); in fuseCompareOperations()
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MCCodeEmitter.cpp | 577 unsigned RegMask = MI.getOperand(OpIdx).getImm(); in EncodeMatrixTileListRegisterClass() local 578 assert(RegMask <= 0xFF && "Invalid register mask!"); in EncodeMatrixTileListRegisterClass() 579 return RegMask; in EncodeMatrixTileListRegisterClass()
|
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 634 SmallVectorImpl<int> &RegMask = Dest[I]; in processShuffleMasks() local 635 if (RegMask.empty()) in processShuffleMasks() 640 FirstMask = RegMask; in processShuffleMasks() 644 SecondMask = RegMask; in processShuffleMasks() 648 RegMask.clear(); in processShuffleMasks()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
H A D | ScheduleDAGRRList.cpp | 1327 static void CheckForLiveRegDefMasked(SUnit *SU, const uint32_t *RegMask, in CheckForLiveRegDefMasked() argument 1335 if (!MachineOperand::clobbersPhysReg(RegMask, i)) continue; in CheckForLiveRegDefMasked() 1424 if (const uint32_t *RegMask = getNodeRegMask(Node)) in DelayForLiveRegsBottomUp() local 1425 CheckForLiveRegDefMasked(SU, RegMask, in DelayForLiveRegsBottomUp() 2870 const uint32_t *RegMask = getNodeRegMask(SU->getNode()); in canClobberReachingPhysRegUse() local 2871 if (ImpDefs.empty() && !RegMask) in canClobberReachingPhysRegUse() 2880 if (RegMask && in canClobberReachingPhysRegUse() 2881 MachineOperand::clobbersPhysReg(RegMask, SuccPred.getReg()) && in canClobberReachingPhysRegUse()
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/ |
H A D | ARMLowOverheadLoops.cpp | 1039 for (const MachineBasicBlock::RegisterMaskPair &RegMask : ExitBB->liveins()) { in ValidateLiveOuts() local 1042 if (RegMask.PhysReg == ARM::VPR) { in ValidateLiveOuts() 1048 if (QPRs->contains(RegMask.PhysReg)) in ValidateLiveOuts() 1049 if (auto *MI = RDA.getLocalLiveOutMIDef(Header, RegMask.PhysReg)) in ValidateLiveOuts()
|
/openbsd/gnu/llvm/llvm/tools/llvm-reduce/ |
H A D | ReducerWorkItem.cpp | 310 if (auto *RegMask = TRI->getCustomEHPadPreservedMask(*DstMF)) in cloneMF() local 311 DstMRI->addPhysRegsUsedFromRegMask(RegMask); in cloneMF()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86ExpandPseudo.cpp | 238 const uint32_t *RegMask = in expandCALL_RVMARKER() local 243 .addRegMask(RegMask) in expandCALL_RVMARKER()
|
H A D | X86RegisterInfo.cpp | 564 const uint32_t *RegMask = getCallPreservedMask(MF, CC); in getReservedRegs() local 565 if (MachineOperand::clobbersPhysReg(RegMask, getBaseRegister())) in getReservedRegs()
|