| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | RegAnalysis.cpp | 197 BitVector UsedRegs = BitVector(BC.MRI->getNumRegs(), false); in getFunctionUsedRegsList() local 200 beConservative(UsedRegs); in getFunctionUsedRegsList() 201 return UsedRegs; in getFunctionUsedRegsList() 206 getInstUsedRegsList(Inst, UsedRegs, /*GetClobbers*/ false); in getFunctionUsedRegsList() 207 if (UsedRegs.all()) in getFunctionUsedRegsList() 208 return UsedRegs; in getFunctionUsedRegsList() 212 return UsedRegs; in getFunctionUsedRegsList()
|
| H A D | ValidateInternalCalls.cpp | 267 BitVector UsedRegs = BitVector(BC.MRI->getNumRegs(), false); in analyzeFunction() local 268 BC.MIB->getTouchedRegs(Use, UsedRegs); in analyzeFunction() 269 if (!UsedRegs[Reg]) in analyzeFunction()
|
| /llvm-project-15.0.7/llvm/lib/MCA/Stages/ |
| H A D | InOrderIssueStage.cpp | 159 SmallVectorImpl<unsigned> &UsedRegs) { in addRegisterReadWrite() argument 166 PRF.addRegisterWrite(WriteRef(SourceIndex, &WS), UsedRegs); in addRegisterReadWrite() 179 const InstRef &IR, unsigned Ops, ArrayRef<unsigned> UsedRegs) { in notifyInstructionDispatched() argument 181 HWInstructionDispatchedEvent(IR, UsedRegs, Ops)); in notifyInstructionDispatched() 227 SmallVector<unsigned, 4> UsedRegs(PRF.getNumRegisterFiles()); in tryIssue() local 228 addRegisterReadWrite(PRF, IS, SourceIndex, STI, UsedRegs); in tryIssue() 231 notifyInstructionDispatched(IR, NumMicroOps, UsedRegs); in tryIssue()
|
| H A D | DispatchStage.cpp | 39 ArrayRef<unsigned> UsedRegs, in notifyInstructionDispatched() argument 43 HWInstructionDispatchedEvent(IR, UsedRegs, UOps)); in notifyInstructionDispatched()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86CallFrameOptimization.cpp | 115 DenseSet<unsigned int> &UsedRegs); 281 const X86RegisterInfo &RegInfo, DenseSet<unsigned int> &UsedRegs) { in classifyInstruction() argument 344 for (unsigned int U : UsedRegs) in classifyInstruction() 409 DenseSet<unsigned int> UsedRegs; in collectCallInfo() local 415 Classification = classifyInstruction(MBB, I, RegInfo, UsedRegs); in collectCallInfo() 458 UsedRegs.insert(Reg); in collectCallInfo()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | CallingConvLower.cpp | 36 UsedRegs.resize((TRI.getNumRegs()+31)/32); in CCState() 61 UsedRegs[*AI / 32] |= 1 << (*AI & 31); in MarkAllocated() 66 UsedRegs[*AI / 32] &= ~(1 << (*AI & 31)); in MarkUnallocated()
|
| H A D | MachineBasicBlock.cpp | 1058 SmallVector<Register, 4> UsedRegs; in SplitCriticalEdge() local 1067 if (!is_contained(UsedRegs, Reg)) in SplitCriticalEdge() 1068 UsedRegs.push_back(Reg); in SplitCriticalEdge() 1208 LIS->repairIntervalsInRange(this, getFirstTerminator(), end(), UsedRegs); in SplitCriticalEdge()
|
| H A D | PrologEpilogInserter.cpp | 1195 BitVector UsedRegs(TRI.getNumRegs()); in insertZeroCallUsedRegs() local 1206 UsedRegs.set(Reg); in insertZeroCallUsedRegs() 1220 if (OnlyUsed && !UsedRegs[Reg]) in insertZeroCallUsedRegs()
|
| H A D | MachineInstr.cpp | 1988 void MachineInstr::setPhysRegsDeadExcept(ArrayRef<Register> UsedRegs, in setPhysRegsDeadExcept() argument 2001 if (llvm::none_of(UsedRegs, in setPhysRegsDeadExcept() 2009 for (const Register &UsedReg : UsedRegs) in setPhysRegsDeadExcept()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | Thumb1FrameLowering.cpp | 615 const LivePhysRegs &UsedRegs, unsigned &PopReg, in findTemporariesForLR() argument 619 if (UsedRegs.available(MRI, Reg)) { in findTemporariesForLR() 687 LivePhysRegs UsedRegs(TRI); in emitPopSpecialFixUp() local 688 UsedRegs.addLiveOuts(MBB); in emitPopSpecialFixUp() 695 UsedRegs.addReg(CSRegs[i]); in emitPopSpecialFixUp() 704 UsedRegs.stepBackward(*--InstUpToMBBI); in emitPopSpecialFixUp() 728 findTemporariesForLR(GPRsNoLRSP, PopFriendly, UsedRegs, PopReg, TemporaryReg, in emitPopSpecialFixUp() 739 UsedRegs.stepBackward(*PrevMBBI); in emitPopSpecialFixUp() 740 findTemporariesForLR(GPRsNoLRSP, PopFriendly, UsedRegs, PopReg, in emitPopSpecialFixUp()
|
| H A D | ARMFastISel.cpp | 225 bool FinishCall(MVT RetVT, SmallVectorImpl<Register> &UsedRegs, 2021 bool ARMFastISel::FinishCall(MVT RetVT, SmallVectorImpl<Register> &UsedRegs, in FinishCall() argument 2048 UsedRegs.push_back(RVLocs[0].getLocReg()); in FinishCall() 2049 UsedRegs.push_back(RVLocs[1].getLocReg()); in FinishCall() 2067 UsedRegs.push_back(RVLocs[0].getLocReg()); in FinishCall() 2284 SmallVector<Register, 4> UsedRegs; in ARMEmitLibcall() local 2285 if (!FinishCall(RetVT, UsedRegs, I, CC, NumBytes, false)) return false; in ARMEmitLibcall() 2288 static_cast<MachineInstr *>(MIB)->setPhysRegsDeadExcept(UsedRegs, TRI); in ARMEmitLibcall() 2428 SmallVector<Register, 4> UsedRegs; in SelectCall() local 2429 if (!FinishCall(RetVT, UsedRegs, I, CC, NumBytes, isVarArg)) in SelectCall() [all …]
|
| H A D | ARMLoadStoreOptimizer.cpp | 867 DenseSet<unsigned> UsedRegs; in MergeOpsUpdate() local 876 UsedRegs.insert(Reg); in MergeOpsUpdate() 968 if (UsedRegs.count(MO.getReg())) in MergeOpsUpdate()
|
| /llvm-project-15.0.7/llvm/include/llvm/MCA/Stages/ |
| H A D | InOrderIssueStage.h | 106 ArrayRef<unsigned> UsedRegs);
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | InstrEmitter.cpp | 1086 SmallVector<Register, 8> UsedRegs; in EmitMachineNode() local 1095 UsedRegs.push_back(Reg); in EmitMachineNode() 1104 UsedRegs.push_back(cast<RegisterSDNode>(F->getOperand(1))->getReg()); in EmitMachineNode() 1112 UsedRegs.append(MCID.getImplicitUses(), in EmitMachineNode() 1120 UsedRegs.push_back(Reg); in EmitMachineNode() 1126 if (!UsedRegs.empty() || II.getImplicitDefs() || II.hasOptionalDef()) in EmitMachineNode() 1127 MIB->setPhysRegsDeadExcept(UsedRegs, *TRI); in EmitMachineNode()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | VarLocBasedImpl.cpp | 812 SmallVectorImpl<Register> &UsedRegs) const; 1158 SmallVectorImpl<Register> &UsedRegs) const { in getUsedRegs() 1171 assert((UsedRegs.empty() || FoundReg != UsedRegs.back()) && in getUsedRegs() 1173 UsedRegs.push_back(FoundReg); in getUsedRegs() 1530 SmallVector<Register, 32> UsedRegs; in transferRegisterDef() local 1531 getUsedRegs(OpenRanges.getVarLocs(), UsedRegs); in transferRegisterDef() 1532 for (Register Reg : UsedRegs) { in transferRegisterDef()
|
| H A D | InstrRefBasedImpl.cpp | 1942 BitVector UsedRegs(TRI->getNumRegs()); in produceMLocTransferFunction() local 1948 UsedRegs.set(ID); in produceMLocTransferFunction() 1957 BV &= UsedRegs; in produceMLocTransferFunction()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | CallingConvLower.h | 201 SmallVector<uint32_t, 16> UsedRegs; variable 276 return UsedRegs[Reg / 32] & (1 << (Reg & 31)); in isAllocated()
|
| H A D | MachineInstr.h | 521 SmallSet<Register, 4> UsedRegs; 524 UsedRegs.insert(MO.getReg()); 525 return UsedRegs; 1587 void setPhysRegsDeadExcept(ArrayRef<Register> UsedRegs,
|
| /llvm-project-15.0.7/bolt/lib/Target/X86/ |
| H A D | X86MCPlusBuilder.cpp | 3440 std::set<unsigned> UsedRegs; in indirectCallPromotion() local 3445 UsedRegs.insert(Op.getReg()); in indirectCallPromotion() 3448 if (UsedRegs.count(X86::R10) == 0) in indirectCallPromotion() 3450 else if (UsedRegs.count(X86::R11) == 0) in indirectCallPromotion()
|