Home
last modified time | relevance | path

Searched refs:UsedRegs (Results 1 – 25 of 32) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXMachineFunctionInfo.h43 RegisterMap UsedRegs; variable
54 UsedRegs[PTX::RegPredRegisterClass] = RegisterList(); in PTXMachineFunctionInfo()
55 UsedRegs[PTX::RegI16RegisterClass] = RegisterList(); in PTXMachineFunctionInfo()
56 UsedRegs[PTX::RegI32RegisterClass] = RegisterList(); in PTXMachineFunctionInfo()
57 UsedRegs[PTX::RegI64RegisterClass] = RegisterList(); in PTXMachineFunctionInfo()
58 UsedRegs[PTX::RegF32RegisterClass] = RegisterList(); in PTXMachineFunctionInfo()
59 UsedRegs[PTX::RegF64RegisterClass] = RegisterList(); in PTXMachineFunctionInfo()
108 UsedRegs[TRC].push_back(Reg); in addVirtualRegister()
124 name += utostr(UsedRegs[TRC].size() - 1); in addVirtualRegister()
143 return UsedRegs.lookup(TRC).size(); in getNumRegistersForClass()
/external/llvm/lib/Target/AArch64/
DAArch64LoadStoreOptimizer.cpp99 BitVector ModifiedRegs, UsedRegs; member
1032 BitVector &UsedRegs, in trackRegDefsUses() argument
1049 UsedRegs.set(*AI); in trackRegDefsUses()
1114 UsedRegs.reset(); in findMatchingStore()
1141 trackRegDefsUses(MI, ModifiedRegs, UsedRegs, TRI); in findMatchingStore()
1225 UsedRegs.reset(); in findMatchingInsn()
1279 trackRegDefsUses(MI, ModifiedRegs, UsedRegs, TRI); in findMatchingInsn()
1289 trackRegDefsUses(MI, ModifiedRegs, UsedRegs, TRI); in findMatchingInsn()
1297 trackRegDefsUses(MI, ModifiedRegs, UsedRegs, TRI); in findMatchingInsn()
1306 trackRegDefsUses(MI, ModifiedRegs, UsedRegs, TRI); in findMatchingInsn()
[all …]
/external/llvm/lib/Target/X86/
DX86CallFrameOptimization.cpp101 DenseSet<unsigned int> &UsedRegs);
261 const X86RegisterInfo &RegInfo, DenseSet<unsigned int> &UsedRegs) { in classifyInstruction() argument
308 for (unsigned int U : UsedRegs) in classifyInstruction()
367 DenseSet<unsigned int> UsedRegs; in collectCallInfo() local
369 while ((Classification = classifyInstruction(MBB, I, RegInfo, UsedRegs)) != in collectCallInfo()
416 UsedRegs.insert(Reg); in collectCallInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86CallFrameOptimization.cpp122 DenseSet<unsigned int> &UsedRegs);
279 const X86RegisterInfo &RegInfo, DenseSet<unsigned int> &UsedRegs) { in classifyInstruction() argument
342 for (unsigned int U : UsedRegs) in classifyInstruction()
407 DenseSet<unsigned int> UsedRegs; in collectCallInfo() local
413 Classification = classifyInstruction(MBB, I, RegInfo, UsedRegs); in collectCallInfo()
456 UsedRegs.insert(Reg); in collectCallInfo()
DShadowCallStack.cpp240 std::bitset<X86::NUM_TARGET_REGS> UsedRegs; in runOnMachineFunction() local
243 UsedRegs.set(LiveIn.PhysReg); in runOnMachineFunction()
249 UsedRegs.set(Op.getReg()); in runOnMachineFunction()
270 if ((Used = UsedRegs.test(*SR))) in runOnMachineFunction()
/external/llvm/lib/Target/AMDGPU/
DSIInsertWaits.cpp80 RegCounters UsedRegs; member in __anon2e6069570111::SIInsertWaits
351 UsedRegs[j] = Limit; in pushInstruction()
476 increaseCounters(Result, UsedRegs[j]); in handleOperands()
529 memset(&UsedRegs, 0, sizeof(UsedRegs)); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
DDispatchStage.cpp31 ArrayRef<unsigned> UsedRegs) { in notifyInstructionDispatched() argument
33 notifyEvent<HWInstructionEvent>(HWInstructionDispatchedEvent(IR, UsedRegs)); in notifyInstructionDispatched()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DThumb1FrameLowering.cpp517 const LivePhysRegs &UsedRegs, unsigned &PopReg, in findTemporariesForLR() argument
521 if (!UsedRegs.contains(Reg)) { in findTemporariesForLR()
588 LivePhysRegs UsedRegs(TRI); in emitPopSpecialFixUp() local
589 UsedRegs.addLiveOuts(MBB); in emitPopSpecialFixUp()
596 UsedRegs.addReg(CSRegs[i]); in emitPopSpecialFixUp()
605 UsedRegs.stepBackward(*--InstUpToMBBI); in emitPopSpecialFixUp()
629 findTemporariesForLR(GPRsNoLRSP, PopFriendly, UsedRegs, PopReg, TemporaryReg); in emitPopSpecialFixUp()
639 UsedRegs.stepBackward(*PrevMBBI); in emitPopSpecialFixUp()
640 findTemporariesForLR(GPRsNoLRSP, PopFriendly, UsedRegs, PopReg, TemporaryReg); in emitPopSpecialFixUp()
DARMFastISel.cpp231 bool FinishCall(MVT RetVT, SmallVectorImpl<unsigned> &UsedRegs,
2043 bool ARMFastISel::FinishCall(MVT RetVT, SmallVectorImpl<unsigned> &UsedRegs, in FinishCall() argument
2070 UsedRegs.push_back(RVLocs[0].getLocReg()); in FinishCall()
2071 UsedRegs.push_back(RVLocs[1].getLocReg()); in FinishCall()
2089 UsedRegs.push_back(RVLocs[0].getLocReg()); in FinishCall()
2294 SmallVector<unsigned, 4> UsedRegs; in ARMEmitLibcall() local
2295 if (!FinishCall(RetVT, UsedRegs, I, CC, NumBytes, false)) return false; in ARMEmitLibcall()
2298 static_cast<MachineInstr *>(MIB)->setPhysRegsDeadExcept(UsedRegs, TRI); in ARMEmitLibcall()
2439 SmallVector<unsigned, 4> UsedRegs; in SelectCall() local
2440 if (!FinishCall(RetVT, UsedRegs, I, CC, NumBytes, isVarArg)) in SelectCall()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DCallingConvLower.cpp36 UsedRegs.resize((TRI.getNumRegs()+31)/32); in CCState()
63 UsedRegs[Reg/32] |= 1 << (Reg&31); in MarkAllocated()
/external/llvm/lib/Target/ARM/
DThumb1FrameLowering.cpp467 LivePhysRegs UsedRegs(STI.getRegisterInfo()); in emitPopSpecialFixUp() local
468 UsedRegs.addLiveOuts(MBB); in emitPopSpecialFixUp()
476 UsedRegs.addReg(CSRegs[i]); in emitPopSpecialFixUp()
485 UsedRegs.stepBackward(*--InstUpToMBBI); in emitPopSpecialFixUp()
505 if (!UsedRegs.contains(Register)) { in emitPopSpecialFixUp()
DARMFastISel.cpp200 bool FinishCall(MVT RetVT, SmallVectorImpl<unsigned> &UsedRegs,
2016 bool ARMFastISel::FinishCall(MVT RetVT, SmallVectorImpl<unsigned> &UsedRegs, in FinishCall() argument
2043 UsedRegs.push_back(RVLocs[0].getLocReg()); in FinishCall()
2044 UsedRegs.push_back(RVLocs[1].getLocReg()); in FinishCall()
2062 UsedRegs.push_back(RVLocs[0].getLocReg()); in FinishCall()
2269 SmallVector<unsigned, 4> UsedRegs; in ARMEmitLibcall() local
2270 if (!FinishCall(RetVT, UsedRegs, I, CC, NumBytes, false)) return false; in ARMEmitLibcall()
2273 static_cast<MachineInstr *>(MIB)->setPhysRegsDeadExcept(UsedRegs, TRI); in ARMEmitLibcall()
2414 SmallVector<unsigned, 4> UsedRegs; in SelectCall() local
2415 if (!FinishCall(RetVT, UsedRegs, I, CC, NumBytes, isVarArg)) in SelectCall()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp833 SmallVector<unsigned, 8> UsedRegs; in EmitMachineNode() local
842 UsedRegs.push_back(Reg); in EmitMachineNode()
851 UsedRegs.push_back(cast<RegisterSDNode>(F->getOperand(1))->getReg()); in EmitMachineNode()
859 UsedRegs.append(MCID.getImplicitUses(), in EmitMachineNode()
867 UsedRegs.push_back(Reg); in EmitMachineNode()
873 if (!UsedRegs.empty() || II.getImplicitDefs()) in EmitMachineNode()
874 MIB->setPhysRegsDeadExcept(UsedRegs, *TRI); in EmitMachineNode()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DCallingConvLower.h164 SmallVector<uint32_t, 16> UsedRegs; variable
191 return UsedRegs[Reg/32] & (1 << (Reg&31)); in isAllocated()
DMachineInstr.h465 void setPhysRegsDeadExcept(const SmallVectorImpl<unsigned> &UsedRegs,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp913 SmallVector<unsigned, 8> UsedRegs; in EmitMachineNode() local
922 UsedRegs.push_back(Reg); in EmitMachineNode()
931 UsedRegs.push_back(cast<RegisterSDNode>(F->getOperand(1))->getReg()); in EmitMachineNode()
939 UsedRegs.append(MCID.getImplicitUses(), in EmitMachineNode()
947 UsedRegs.push_back(Reg); in EmitMachineNode()
953 if (!UsedRegs.empty() || II.getImplicitDefs()) in EmitMachineNode()
954 MIB->setPhysRegsDeadExcept(UsedRegs, *TRI); in EmitMachineNode()
/external/llvm/lib/CodeGen/
DMachineBasicBlock.cpp766 SmallVector<unsigned, 4> UsedRegs; in SplitCriticalEdge() local
778 if (std::find(UsedRegs.begin(), UsedRegs.end(), Reg) == UsedRegs.end()) in SplitCriticalEdge()
779 UsedRegs.push_back(Reg); in SplitCriticalEdge()
919 LIS->repairIntervalsInRange(this, getFirstTerminator(), end(), UsedRegs); in SplitCriticalEdge()
DCallingConvLower.cpp38 UsedRegs.resize((TRI.getNumRegs()+31)/32); in CCState()
64 UsedRegs[*AI/32] |= 1 << (*AI&31); in MarkAllocated()
DMachineInstr.cpp2105 void MachineInstr::setPhysRegsDeadExcept(ArrayRef<unsigned> UsedRegs, in setPhysRegsDeadExcept() argument
2117 if (std::none_of(UsedRegs.begin(), UsedRegs.end(), in setPhysRegsDeadExcept()
2125 for (ArrayRef<unsigned>::iterator I = UsedRegs.begin(), E = UsedRegs.end(); in setPhysRegsDeadExcept()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMFastISel.cpp199 bool FinishCall(MVT RetVT, SmallVectorImpl<unsigned> &UsedRegs,
1668 bool ARMFastISel::FinishCall(MVT RetVT, SmallVectorImpl<unsigned> &UsedRegs, in FinishCall() argument
1695 UsedRegs.push_back(RVLocs[0].getLocReg()); in FinishCall()
1696 UsedRegs.push_back(RVLocs[1].getLocReg()); in FinishCall()
1708 UsedRegs.push_back(RVLocs[0].getLocReg()); in FinishCall()
1867 SmallVector<unsigned, 4> UsedRegs; in ARMEmitLibcall() local
1868 if (!FinishCall(RetVT, UsedRegs, I, CC, NumBytes)) return false; in ARMEmitLibcall()
1871 static_cast<MachineInstr *>(MIB)->setPhysRegsDeadExcept(UsedRegs, TRI); in ARMEmitLibcall()
1980 SmallVector<unsigned, 4> UsedRegs; in SelectCall() local
1981 if (!FinishCall(RetVT, UsedRegs, I, CC, NumBytes)) return false; in SelectCall()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCallingConvLower.cpp39 UsedRegs.resize((TRI.getNumRegs()+31)/32); in CCState()
65 UsedRegs[*AI/32] |= 1 << (*AI&31); in MarkAllocated()
DMachineBasicBlock.cpp914 SmallVector<unsigned, 4> UsedRegs; in SplitCriticalEdge() local
926 if (!is_contained(UsedRegs, Reg)) in SplitCriticalEdge()
927 UsedRegs.push_back(Reg); in SplitCriticalEdge()
1066 LIS->repairIntervalsInRange(this, getFirstTerminator(), end(), UsedRegs); in SplitCriticalEdge()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp708 SmallVector<unsigned, 8> UsedRegs; in EmitMachineNode() local
711 UsedRegs.push_back(cast<RegisterSDNode>(F->getOperand(1))->getReg()); in EmitMachineNode()
715 UsedRegs.append(MCID.getImplicitUses(), in EmitMachineNode()
723 UsedRegs.push_back(Reg); in EmitMachineNode()
727 MI->setPhysRegsDeadExcept(UsedRegs, *TRI); in EmitMachineNode()
/external/llvm/include/llvm/CodeGen/
DCallingConvLower.h206 SmallVector<uint32_t, 16> UsedRegs; variable
291 return UsedRegs[Reg/32] & (1 << (Reg&31)); in isAllocated()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DCallingConvLower.h202 SmallVector<uint32_t, 16> UsedRegs; variable
285 return UsedRegs[Reg/32] & (1 << (Reg&31)); in isAllocated()

12