Home
last modified time | relevance | path

Searched defs:Reg (Results 1 – 25 of 438) sorted by relevance

12345678910>>...18

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DRegister.h20 unsigned Reg; variable
23 Register(unsigned Val = 0): Reg(Val) {} in Reg() function
45 static bool isStackSlot(unsigned Reg) { in isStackSlot()
50 static int stackSlot2Index(unsigned Reg) { in stackSlot2Index()
63 static bool isPhysicalRegister(unsigned Reg) { in isPhysicalRegister()
69 static bool isVirtualRegister(unsigned Reg) { in isVirtualRegister()
76 static unsigned virtReg2Index(unsigned Reg) { in virtReg2Index()
DMachineRegisterInfo.h286 inline iterator_range<reg_iterator> reg_operands(unsigned Reg) const { in reg_operands()
302 reg_instructions(unsigned Reg) const { in reg_instructions()
317 inline iterator_range<reg_bundle_iterator> reg_bundles(unsigned Reg) const { in reg_bundles()
337 reg_nodbg_operands(unsigned Reg) const { in reg_nodbg_operands()
354 reg_nodbg_instructions(unsigned Reg) const { in reg_nodbg_instructions()
371 reg_nodbg_bundles(unsigned Reg) const { in reg_nodbg_bundles()
389 inline iterator_range<def_iterator> def_operands(unsigned Reg) const { in def_operands()
405 def_instructions(unsigned Reg) const { in def_instructions()
420 inline iterator_range<def_bundle_iterator> def_bundles(unsigned Reg) const { in def_bundles()
428 StringRef getVRegName(unsigned Reg) const { in getVRegName()
[all …]
DLiveRegUnits.h56 Register Reg = O->getReg(); in accumulateUsedDefed() local
87 void addReg(MCPhysReg Reg) { in addReg()
94 void addRegMasked(MCPhysReg Reg, LaneBitmask Mask) { in addRegMasked()
103 void removeReg(MCPhysReg Reg) { in removeReg()
117 bool available(MCPhysReg Reg) const { in available()
DLiveIntervals.h114 LiveInterval &getInterval(Register Reg) { in getInterval()
121 const LiveInterval &getInterval(Register Reg) const { in getInterval()
125 bool hasInterval(Register Reg) const { in hasInterval()
131 LiveInterval &createEmptyInterval(Register Reg) { in createEmptyInterval()
138 LiveInterval &createAndComputeVirtRegInterval(Register Reg) { in createAndComputeVirtRegInterval()
145 void removeInterval(unsigned Reg) { in removeInterval()
425 void removeAllRegUnitsForPhysReg(unsigned Reg) { in removeAllRegUnitsForPhysReg()
DLivePhysRegs.h79 void addReg(MCPhysReg Reg) { in addReg()
89 void removeReg(MCPhysReg Reg) { in removeReg()
106 bool contains(MCPhysReg Reg) const { return LiveRegs.count(Reg); } in contains()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64TargetStreamer.h42 virtual void EmitARM64WinCFISaveReg(unsigned Reg, int Offset) {} in EmitARM64WinCFISaveReg()
43 virtual void EmitARM64WinCFISaveRegX(unsigned Reg, int Offset) {} in EmitARM64WinCFISaveRegX()
44 virtual void EmitARM64WinCFISaveRegP(unsigned Reg, int Offset) {} in EmitARM64WinCFISaveRegP()
45 virtual void EmitARM64WinCFISaveRegPX(unsigned Reg, int Offset) {} in EmitARM64WinCFISaveRegPX()
46 virtual void EmitARM64WinCFISaveFReg(unsigned Reg, int Offset) {} in EmitARM64WinCFISaveFReg()
47 virtual void EmitARM64WinCFISaveFRegX(unsigned Reg, int Offset) {} in EmitARM64WinCFISaveFRegX()
48 virtual void EmitARM64WinCFISaveFRegP(unsigned Reg, int Offset) {} in EmitARM64WinCFISaveFRegP()
49 virtual void EmitARM64WinCFISaveFRegPX(unsigned Reg, int Offset) {} in EmitARM64WinCFISaveFRegPX()
DAArch64WinCOFFStreamer.cpp65 int Reg, in EmitARM64WinUnwindCode()
96 void AArch64TargetWinCOFFStreamer::EmitARM64WinCFISaveReg(unsigned Reg, in EmitARM64WinCFISaveReg()
103 void AArch64TargetWinCOFFStreamer::EmitARM64WinCFISaveRegX(unsigned Reg, in EmitARM64WinCFISaveRegX()
108 void AArch64TargetWinCOFFStreamer::EmitARM64WinCFISaveRegP(unsigned Reg, in EmitARM64WinCFISaveRegP()
113 void AArch64TargetWinCOFFStreamer::EmitARM64WinCFISaveRegPX(unsigned Reg, in EmitARM64WinCFISaveRegPX()
118 void AArch64TargetWinCOFFStreamer::EmitARM64WinCFISaveFReg(unsigned Reg, in EmitARM64WinCFISaveFReg()
125 void AArch64TargetWinCOFFStreamer::EmitARM64WinCFISaveFRegX(unsigned Reg, in EmitARM64WinCFISaveFRegX()
130 void AArch64TargetWinCOFFStreamer::EmitARM64WinCFISaveFRegP(unsigned Reg, in EmitARM64WinCFISaveFRegP()
135 void AArch64TargetWinCOFFStreamer::EmitARM64WinCFISaveFRegPX(unsigned Reg, in EmitARM64WinCFISaveFRegPX()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCRegister.h23 unsigned Reg; variable
26 MCRegister(unsigned Val = 0): Reg(Val) {} in Reg() function
46 static bool isStackSlot(unsigned Reg) { in isStackSlot()
52 static bool isPhysicalRegister(unsigned Reg) { in isPhysicalRegister()
DMCRegisterInfo.h67 bool contains(MCRegister Reg) const { in contains()
245 mc_difflist_iterator(MCRegister Reg, const MCPhysReg *DiffList) { in mc_difflist_iterator()
283 mc_subreg_iterator(MCRegister Reg, const MCRegisterInfo *MCRI) in mc_subreg_iterator()
295 mc_superreg_iterator(MCRegister Reg, const MCRegisterInfo *MCRI) in mc_superreg_iterator()
302 iterator_range<mc_subreg_iterator> subregs(MCRegister Reg) const { in subregs()
309 iterator_range<mc_subreg_iterator> subregs_inclusive(MCRegister Reg) const { in subregs_inclusive()
315 iterator_range<mc_superreg_iterator> superregs(MCRegister Reg) const { in superregs()
323 superregs_inclusive(MCRegister Reg) const { in superregs_inclusive()
331 sub_and_superregs_inclusive(MCRegister Reg) const { in sub_and_superregs_inclusive()
607 MCSubRegIndexIterator(MCRegister Reg, const MCRegisterInfo *MCRI) in MCSubRegIndexIterator()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonVectorPrint.cpp73 static bool isVecReg(unsigned Reg) { in isVecReg()
95 static void addAsmInstr(MachineBasicBlock *MBB, unsigned Reg, in addAsmInstr()
107 static bool getInstrVecReg(const MachineInstr &MI, unsigned &Reg) { in getInstrVecReg()
143 unsigned Reg = 0; in runOnMachineFunction() local
151 unsigned Reg = 0; in runOnMachineFunction() local
167 unsigned Reg = 0; in runOnMachineFunction() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAggressiveAntiDepBreaker.cpp75 unsigned AggressiveAntiDepState::GetGroup(unsigned Reg) { in GetGroup()
88 for (unsigned Reg = 0; Reg != NumTargetRegs; ++Reg) { in GetGroupRegs() local
109 unsigned AggressiveAntiDepState::LeaveGroup(unsigned Reg) { in LeaveGroup()
119 bool AggressiveAntiDepState::IsLive(unsigned Reg) { in IsLive()
165 unsigned Reg = *AI; in StartBlock() local
179 unsigned Reg = *I; in StartBlock() local
210 for (unsigned Reg = 0; Reg != TRI->getNumRegs(); ++Reg) { in Observe() local
235 Register Reg = MO.getReg(); in IsImplicitDefUse() local
255 const Register Reg = MO.getReg(); in GetPassthruRegs() local
301 void AggressiveAntiDepBreaker::HandleLastUse(unsigned Reg, unsigned KillIdx, in HandleLastUse()
[all …]
DMIRVRegNamerUtils.h33 Register Reg; variable
37 NamedVReg(Register Reg, std::string Name = "") : Reg(Reg), Name(Name) {} in Reg() function
DMachineRegisterInfo.cpp58 MachineRegisterInfo::setRegClass(unsigned Reg, const TargetRegisterClass *RC) { in setRegClass()
63 void MachineRegisterInfo::setRegBank(unsigned Reg, in setRegBank()
69 constrainRegClass(MachineRegisterInfo &MRI, unsigned Reg, in constrainRegClass()
85 MachineRegisterInfo::constrainRegClass(unsigned Reg, in constrainRegClass()
92 MachineRegisterInfo::constrainRegAttrs(unsigned Reg, in constrainRegAttrs()
122 MachineRegisterInfo::recomputeRegClass(unsigned Reg) { in recomputeRegClass()
147 unsigned Reg = Register::index2VirtReg(getNumVirtRegs()); in createIncompleteVirtualRegister() local
165 unsigned Reg = createIncompleteVirtualRegister(Name); in createVirtualRegister() local
174 unsigned Reg = createIncompleteVirtualRegister(Name); in cloneVirtualRegister() local
190 unsigned Reg = createIncompleteVirtualRegister(Name); in createGenericVirtualRegister() local
[all …]
DMachineCopyPropagation.cpp101 for (unsigned Reg : Regs) { in markRegsUnavailable() local
112 void invalidateRegister(unsigned Reg, const TargetRegisterInfo &TRI) { in invalidateRegister()
134 void clobberRegister(unsigned Reg, const TargetRegisterInfo &TRI) { in clobberRegister()
197 MachineInstr *findAvailBackwardCopy(MachineInstr &I, unsigned Reg, in findAvailBackwardCopy()
218 MachineInstr *findAvailCopy(MachineInstr &DestCopy, unsigned Reg, in findAvailCopy()
310 void MachineCopyPropagation::ReadRegister(unsigned Reg, MachineInstr &Reader, in ReadRegister()
600 Register Reg = MO.getReg(); in ForwardCopyPropagateBlock() local
623 Register Reg = MO.getReg(); in ForwardCopyPropagateBlock() local
637 Register Reg = MO.getReg(); in ForwardCopyPropagateBlock() local
656 Register Reg = MO.getReg(); in ForwardCopyPropagateBlock() local
[all …]
DCriticalAntiDepBreaker.cpp75 unsigned Reg = *AI; in StartBlock() local
89 unsigned Reg = *I; in StartBlock() local
93 unsigned Reg = *AI; in StartBlock() local
119 for (unsigned Reg = 0; Reg != TRI->getNumRegs(); ++Reg) { in Observe() local
190 Register Reg = MO.getReg(); in PrescanInstruction() local
285 Register Reg = MO.getReg(); in ScanInstruction() local
316 Register Reg = MO.getReg(); in ScanInstruction() local
477 for (unsigned Reg = 0; Reg < TRI->getNumRegs(); ++Reg) { in BreakAntiDependencies() local
626 Register Reg = MO.getReg(); in BreakAntiDependencies() local
DLiveVariables.cpp182 void LiveVariables::HandleVirtRegDef(unsigned Reg, MachineInstr &MI) { in HandleVirtRegDef()
192 MachineInstr *LiveVariables::FindLastPartialDef(unsigned Reg, in FindLastPartialDef()
231 void LiveVariables::HandlePhysRegUse(unsigned Reg, MachineInstr &MI) { in HandlePhysRegUse()
281 MachineInstr *LiveVariables::FindLastRefOrPartRef(unsigned Reg) { in FindLastRefOrPartRef()
311 bool LiveVariables::HandlePhysRegKill(unsigned Reg, MachineInstr *MI) { in HandlePhysRegKill()
426 for (unsigned Reg = 1, NumRegs = TRI->getNumRegs(); Reg != NumRegs; ++Reg) { in HandleRegMask() local
443 void LiveVariables::HandlePhysRegDef(unsigned Reg, MachineInstr *MI, in HandlePhysRegDef()
489 unsigned Reg = Defs.back(); in UpdatePhysRegDefs() local
656 const unsigned Reg = Register::index2VirtReg(i); in runOnMachineFunction() local
681 void LiveVariables::replaceKillInstruction(unsigned Reg, MachineInstr &OldMI, in replaceKillInstruction()
[all …]
DRegisterScavenging.cpp53 void RegScavenger::setRegUsed(Register Reg, LaneBitmask LaneMask) { in setRegUsed()
100 void RegScavenger::addRegUnits(BitVector &BV, Register Reg) { in addRegUnits()
105 void RegScavenger::removeRegUnits(BitVector &BV, Register Reg) { in removeRegUnits()
137 Register Reg = MO.getReg(); in determineKillsAndDefs() local
208 Register Reg = MO.getReg(); in forward() local
282 bool RegScavenger::isRegUsed(Register Reg, bool includeReserved) const { in isRegUsed()
399 for (MCPhysReg Reg : AllocationOrder) { in findSurvivorBackwards() local
417 for (MCPhysReg Reg : AllocationOrder) { in findSurvivorBackwards() local
461 RegScavenger::spill(Register Reg, const TargetRegisterClass &RC, int SPAdj, in spill()
593 MCPhysReg Reg = P.first; in scavengeRegisterBackwards() local
[all …]
DLivePhysRegs.cpp85 Register Reg = O->getReg(); in stepForward() local
103 for (auto Reg : Clobbers) { in stepForward() local
155 MCPhysReg Reg = LI.PhysReg; in addBlockLiveIns() local
258 for (MCPhysReg Reg : LiveRegs) { in addLiveIns() local
291 Register Reg = MO->getReg(); in recomputeLivenessFlags() local
308 Register Reg = MO->getReg(); in recomputeLivenessFlags() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.h43 static inline bool isARMArea1Register(unsigned Reg, bool isIOS) { in isARMArea1Register()
59 static inline bool isARMArea2Register(unsigned Reg, bool isIOS) { in isARMArea2Register()
71 static inline bool isARMArea3Register(unsigned Reg, bool isIOS) { in isARMArea3Register()
89 static inline bool isCalleeSavedRegister(unsigned Reg, in isCalleeSavedRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCTargetDesc.h64 inline unsigned getRegAsGR64(unsigned Reg) { in getRegAsGR64()
69 inline unsigned getRegAsGR32(unsigned Reg) { in getRegAsGR32()
74 inline unsigned getRegAsGRH32(unsigned Reg) { in getRegAsGRH32()
79 inline unsigned getRegAsVR128(unsigned Reg) { in getRegAsVR128()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFastISel.cpp57 unsigned Reg; member
75 void setReg(unsigned Reg) { in setReg()
287 unsigned Reg = getRegForValue(Op); in computeAddress() local
373 unsigned Reg = getRegForValue(Obj); in computeAddress() local
382 unsigned Reg = Addr.getReg(); in materializeLoadStoreOperands() local
415 unsigned WebAssemblyFastISel::maskI1Value(unsigned Reg, const Value *V) { in maskI1Value()
434 unsigned Reg = getRegForValue(V); in getRegForI1Value() local
440 unsigned WebAssemblyFastISel::zeroExtendToI32(unsigned Reg, const Value *V, in zeroExtendToI32()
476 unsigned WebAssemblyFastISel::signExtendToI32(unsigned Reg, const Value *V, in signExtendToI32()
512 unsigned WebAssemblyFastISel::zeroExtend(unsigned Reg, const Value *V, in zeroExtend()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp93 unsigned Reg = CS.getReg(); in assignCalleeSavedSpillSlots() local
116 unsigned Reg = SystemZ::ArgGPRs[FirstGPR]; in assignCalleeSavedSpillSlots() local
130 unsigned Reg = CS.getReg(); in assignCalleeSavedSpillSlots() local
158 unsigned Reg = CS.getReg(); in assignCalleeSavedSpillSlots() local
212 unsigned Reg = CSRegs[I]; in determineCalleeSaves() local
270 unsigned Reg = CSI[I].getReg(); in spillCalleeSavedRegisters() local
283 unsigned Reg = CSI[I].getReg(); in spillCalleeSavedRegisters() local
315 unsigned Reg = CSI[I].getReg(); in restoreCalleeSavedRegisters() local
347 unsigned Reg = CSI[I].getReg(); in restoreCalleeSavedRegisters() local
394 unsigned Reg, int64_t NumBytes, in emitIncrement()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CallingConv.cpp40 for (auto Reg : RegList) { in CC_X86_32_RegCall_Assign2Regs() local
53 unsigned Reg = State.AllocateReg(AvailableRegs[I]); in CC_X86_32_RegCall_Assign2Regs() local
101 for (auto Reg : RegList) { in CC_X86_VectorCallAssignRegister() local
160 if (unsigned Reg = State.AllocateReg(CC_X86_VectorCallGetSSEs(ValVT))) { in CC_X86_64_VectorCall() local
211 if (unsigned Reg = State.AllocateReg(CC_X86_VectorCallGetSSEs(ValVT))) { in CC_X86_32_VectorCall() local
261 if (unsigned Reg = State.AllocateReg(RegList)) { in CC_X86_32_MCUInReg() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsOptimizePICCall.cpp137 static MVT::SimpleValueType getRegTy(unsigned Reg, MachineFunction &MF) { in getRegTy()
168 unsigned Reg = Ty == MVT::i32 ? Mips::GP : Mips::GP_64; in eraseGPOpnd() local
234 unsigned Reg; in visitNode() local
266 bool OptimizePICCall::isCallViaRegister(MachineInstr &MI, unsigned &Reg, in isCallViaRegister()
308 unsigned Reg = ScopedHT.lookup(Entry).second; in getReg() local
313 void OptimizePICCall::incCntAndSetReg(ValueType Entry, unsigned Reg) { in incCntAndSetReg()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/Disassembler/
DMipsDisassembler.cpp1409 unsigned Reg = getReg(Decoder, Mips::GPR64RegClassID, RegNo); in DecodeGPR64RegisterClass() local
1420 unsigned Reg = getReg(Decoder, Mips::GPRMM16RegClassID, RegNo); in DecodeGPRMM16RegisterClass() local
1431 unsigned Reg = getReg(Decoder, Mips::GPRMM16ZeroRegClassID, RegNo); in DecodeGPRMM16ZeroRegisterClass() local
1442 unsigned Reg = getReg(Decoder, Mips::GPRMM16MovePRegClassID, RegNo); in DecodeGPRMM16MovePRegisterClass() local
1453 unsigned Reg = getReg(Decoder, Mips::GPR32RegClassID, RegNo); in DecodeGPR32RegisterClass() local
1482 unsigned Reg = getReg(Decoder, Mips::FGR64RegClassID, RegNo); in DecodeFGR64RegisterClass() local
1494 unsigned Reg = getReg(Decoder, Mips::FGR32RegClassID, RegNo); in DecodeFGR32RegisterClass() local
1505 unsigned Reg = getReg(Decoder, Mips::CCRRegClassID, RegNo); in DecodeCCRRegisterClass() local
1516 unsigned Reg = getReg(Decoder, Mips::FCCRegClassID, RegNo); in DecodeFCCRegisterClass() local
1527 unsigned Reg = getReg(Decoder, Mips::FGRCCRegClassID, RegNo); in DecodeFGRCCRegisterClass() local
[all …]

12345678910>>...18