HomeSort by relevance Sort by last modified time
    Searched refs:Reg (Results 1 - 25 of 282) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/qemu/target-i386/
ops_sse_header.h 21 #define Reg MMXReg
24 #define Reg XMMReg
31 #define dh_ctype_Reg Reg *
38 DEF_HELPER_2(glue(psrlw, SUFFIX), void, Reg, Reg)
39 DEF_HELPER_2(glue(psraw, SUFFIX), void, Reg, Reg)
40 DEF_HELPER_2(glue(psllw, SUFFIX), void, Reg, Reg)
41 DEF_HELPER_2(glue(psrld, SUFFIX), void, Reg, Reg
    [all...]
  /external/llvm/lib/Target/Hexagon/
HexagonCallingConvLower.h 73 bool isAllocated(unsigned Reg) const {
74 return UsedRegs[Reg/32] & (1 << (Reg&31));
120 unsigned AllocateReg(unsigned Reg) {
121 if (isAllocated(Reg)) return 0;
122 MarkAllocated(Reg);
123 return Reg;
127 unsigned AllocateReg(unsigned Reg, unsigned ShadowReg) {
128 if (isAllocated(Reg)) return 0;
129 MarkAllocated(Reg);
    [all...]
  /external/llvm/lib/Target/Sparc/
SparcMachineFunctionInfo.h 43 void setGlobalBaseReg(unsigned Reg) { GlobalBaseReg = Reg; }
49 void setSRetReturnReg(unsigned Reg) { SRetReturnReg = Reg; }
  /external/llvm/lib/CodeGen/
MachineRegisterInfo.cpp 43 MachineRegisterInfo::setRegClass(unsigned Reg, const TargetRegisterClass *RC) {
45 VRegInfo[Reg].first = RC;
49 MachineRegisterInfo::constrainRegClass(unsigned Reg,
52 const TargetRegisterClass *OldRC = getRegClass(Reg);
61 setRegClass(Reg, NewRC);
66 MachineRegisterInfo::recomputeRegClass(unsigned Reg, const TargetMachine &TM) {
68 const TargetRegisterClass *OldRC = getRegClass(Reg);
77 for (reg_nodbg_iterator I = reg_nodbg_begin(Reg), E = reg_nodbg_end(); I != E;
93 setRegClass(Reg, NewRC);
107 unsigned Reg = TargetRegisterInfo::index2VirtReg(getNumVirtRegs())
    [all...]
MachineInstrBundle.cpp 133 unsigned Reg = MO.getReg();
134 if (!Reg)
136 assert(TargetRegisterInfo::isPhysicalRegister(Reg));
137 if (LocalDefSet.count(Reg)) {
141 KilledDefSet.insert(Reg);
143 if (ExternUseSet.insert(Reg)) {
144 ExternUses.push_back(Reg);
146 UndefUseSet.insert(Reg);
150 KilledUseSet.insert(Reg);
156 unsigned Reg = MO.getReg()
    [all...]
AggressiveAntiDepBreaker.cpp 60 unsigned AggressiveAntiDepState::GetGroup(unsigned Reg) {
61 unsigned Node = GroupNodeIndices[Reg];
73 for (unsigned Reg = 0; Reg != NumTargetRegs; ++Reg) {
74 if ((GetGroup(Reg) == Group) && (RegRefs->count(Reg) > 0))
75 Regs.push_back(Reg);
82 assert(GroupNodeIndices[0] == 0 && "Reg 0 not in Group 0!");
95 unsigned AggressiveAntiDepState::LeaveGroup(unsigned Reg)
    [all...]
CriticalAntiDepBreaker.cpp 66 unsigned Reg = *AI;
67 Classes[Reg] = reinterpret_cast<TargetRegisterClass *>(-1);
68 KillIndices[Reg] = BBSize;
69 DefIndices[Reg] = ~0u;
81 unsigned Reg = *AI;
82 Classes[Reg] = reinterpret_cast<TargetRegisterClass *>(-1);
83 KillIndices[Reg] = BBSize;
84 DefIndices[Reg] = ~0u;
100 for (unsigned Reg = 0; Reg != TRI->getNumRegs(); ++Reg)
    [all...]
DeadMachineInstructionElim.cpp 69 unsigned Reg = MO.getReg();
70 if (TargetRegisterInfo::isPhysicalRegister(Reg)) {
72 if (LivePhysRegs.test(Reg) || MRI->isReserved(Reg))
75 if (!MRI->use_nodbg_empty(Reg))
127 unsigned Reg = MO.getReg();
128 if (!TargetRegisterInfo::isVirtualRegister(Reg))
131 for (MachineRegisterInfo::use_iterator I = MRI->use_begin(Reg),
155 unsigned Reg = MO.getReg();
156 if (TargetRegisterInfo::isPhysicalRegister(Reg)) {
    [all...]
LiveVariables.cpp 131 void LiveVariables::HandleVirtRegUse(unsigned reg, MachineBasicBlock *MBB,
133 assert(MRI->getVRegDef(reg) && "Register use before def!");
137 VarInfo& VRInfo = getVarInfo(reg);
168 if (MBB == MRI->getVRegDef(reg)->getParent()) return;
179 MarkVirtRegAliveInBlock(VRInfo, MRI->getVRegDef(reg)->getParent(), *PI);
182 void LiveVariables::HandleVirtRegDef(unsigned Reg, MachineInstr *MI) {
183 VarInfo &VRInfo = getVarInfo(Reg);
192 MachineInstr *LiveVariables::FindLastPartialDef(unsigned Reg,
197 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) {
219 if (TRI->isSubRegister(Reg, DefReg))
    [all...]
AllocationOrder.h 52 unsigned Reg = Order[Pos++];
53 if (!isHint(Reg))
54 return Reg;
RegisterPressure.cpp 49 void RegisterPressure::increase(unsigned Reg, const TargetRegisterInfo *TRI,
51 if (TargetRegisterInfo::isVirtualRegister(Reg)) {
52 const TargetRegisterClass *RC = MRI->getRegClass(Reg);
59 TRI->getRegUnitPressureSets(Reg),
60 TRI->getRegUnitWeight(Reg));
65 void RegisterPressure::decrease(unsigned Reg, const TargetRegisterInfo *TRI,
67 if (TargetRegisterInfo::isVirtualRegister(Reg)) {
68 const TargetRegisterClass *RC = MRI->getRegClass(Reg);
73 decreaseSetPressure(MaxSetPressure, TRI->getRegUnitPressureSets(Reg),
74 TRI->getRegUnitWeight(Reg));
    [all...]
  /external/llvm/include/llvm/CodeGen/
LiveVariables.h 106 /// isLiveIn - Is Reg live in to MBB? This means that Reg is live through
107 /// MBB, or it is killed in MBB. If Reg is only used by PHI instructions in
110 unsigned Reg,
150 /// HandlePhysRegKill - Add kills of Reg and its sub-registers to the
153 bool HandlePhysRegKill(unsigned Reg, MachineInstr *MI);
158 void HandlePhysRegUse(unsigned Reg, MachineInstr *MI);
159 void HandlePhysRegDef(unsigned Reg, MachineInstr *MI,
165 MachineInstr *FindLastRefOrPartRef(unsigned Reg);
170 MachineInstr *FindLastPartialDef(unsigned Reg,
    [all...]
FunctionLoweringInfo.h 153 const LiveOutInfo *GetLiveOutRegInfo(unsigned Reg) {
154 if (!LiveOutRegInfo.inBounds(Reg))
157 const LiveOutInfo *LOI = &LiveOutRegInfo[Reg];
169 const LiveOutInfo *GetLiveOutRegInfo(unsigned Reg, unsigned BitWidth);
172 void AddLiveOutRegInfo(unsigned Reg, unsigned NumSignBits,
178 LiveOutRegInfo.grow(Reg);
179 LiveOutInfo &LOI = LiveOutRegInfo[Reg];
197 unsigned Reg = It->second;
198 LiveOutRegInfo.grow(Reg);
199 LiveOutRegInfo[Reg].IsValid = false
    [all...]
RegisterScavenging.h 45 ScavengedInfo(int FI = -1) : FrameIndex(FI), Reg(0), Restore(NULL) {}
52 unsigned Reg;
162 void setUsed(unsigned Reg);
165 bool isReserved(unsigned Reg) const { return MRI->isReserved(Reg); }
171 bool isUsed(unsigned Reg, bool CheckReserved = true) const {
172 return !RegsAvailable.test(Reg) || (CheckReserved && isReserved(Reg));
175 /// isAliasUsed - Is Reg or an alias currently in use?
176 bool isAliasUsed(unsigned Reg) const
    [all...]
MachineRegisterInfo.h 78 return MO->Contents.Reg.Next;
165 /// Verify the sanity of the use list for Reg.
166 void verifyUseList(unsigned Reg) const;
201 /// Reg are Debug instructions.
280 MachineInstr *getVRegDef(unsigned Reg) const;
285 MachineInstr *getUniqueVRegDef(unsigned Reg) const;
291 void clearKillFlags(unsigned Reg) const;
308 const TargetRegisterClass *getRegClass(unsigned Reg) const {
309 return VRegInfo[Reg].first;
314 void setRegClass(unsigned Reg, const TargetRegisterClass *RC)
    [all...]
CallingConvLower.h 239 bool isAllocated(unsigned Reg) const {
240 return UsedRegs[Reg/32] & (1 << (Reg&31));
291 unsigned AllocateReg(unsigned Reg) {
292 if (isAllocated(Reg)) return 0;
293 MarkAllocated(Reg);
294 return Reg;
298 unsigned AllocateReg(unsigned Reg, unsigned ShadowReg) {
299 if (isAllocated(Reg)) return 0;
300 MarkAllocated(Reg);
    [all...]
LiveIntervalAnalysis.h 105 LiveInterval &getInterval(unsigned Reg) {
106 LiveInterval *LI = VirtRegIntervals[Reg];
111 const LiveInterval &getInterval(unsigned Reg) const {
112 return const_cast<LiveIntervals*>(this)->getInterval(Reg);
115 bool hasInterval(unsigned Reg) const {
116 return VirtRegIntervals.inBounds(Reg) && VirtRegIntervals[Reg];
120 LiveInterval &getOrCreateInterval(unsigned Reg) {
121 if (!hasInterval(Reg)) {
122 VirtRegIntervals.grow(Reg);
    [all...]
  /external/llvm/lib/Target/Mips/
MipsMachineFunction.h 69 void setSRetReturnReg(unsigned Reg) { SRetReturnReg = Reg; }
92 int getEhDataRegFI(unsigned Reg) const { return EhDataRegFI[Reg]; }
  /external/llvm/lib/Target/SystemZ/
SystemZMachineFunctionInfo.h 34 void setLowSavedGPR(unsigned Reg) { LowSavedGPR = Reg; }
39 void setHighSavedGPR(unsigned Reg) { HighSavedGPR = Reg; }
  /external/llvm/lib/Target/R600/
SIFixSGPRCopies.cpp 84 unsigned Reg) const;
106 /// \p Reg until it finds an Instruction that isn't a COPY returns
111 unsigned Reg) const {
112 // The Reg parameter to the function must always be defined by either a PHI
114 assert(TargetRegisterInfo::isVirtualRegister(Reg) &&
115 "Reg cannot be a physical register");
117 const TargetRegisterClass *RC = MRI.getRegClass(Reg);
118 for (MachineRegisterInfo::use_iterator I = MRI.use_begin(Reg),
144 unsigned Reg = MI.getOperand(0).getReg();
145 const TargetRegisterClass *RC = inferRegClass(TRI, MRI, Reg);
    [all...]
  /external/llvm/include/llvm/Target/
TargetRegisterInfo.h 76 bool contains(unsigned Reg) const {
77 return MC->contains(Reg);
160 /// For all Reg in SuperRC:
161 /// this->contains(Reg:Idx)
225 // Pointer to array of lane masks, one per sub-reg index.
254 /// returns true if Reg is in the range used for stack slots.
260 static bool isStackSlot(unsigned Reg) {
261 return int(Reg) >= (1 << 30);
266 static int stackSlot2Index(unsigned Reg) {
267 assert(isStackSlot(Reg) && "Not a stack slot")
    [all...]
  /external/llvm/lib/MC/
MCRegisterInfo.cpp 18 unsigned MCRegisterInfo::getMatchingSuperReg(unsigned Reg, unsigned SubIdx,
20 for (MCSuperRegIterator Supers(Reg, this); Supers.isValid(); ++Supers)
21 if (RC->contains(*Supers) && Reg == getSubReg(*Supers, SubIdx))
26 unsigned MCRegisterInfo::getSubReg(unsigned Reg, unsigned Idx) const {
31 const uint16_t *SRI = SubRegIndices + get(Reg).SubRegIndices;
32 for (MCSubRegIterator Subs(Reg, this); Subs.isValid(); ++Subs, ++SRI)
38 unsigned MCRegisterInfo::getSubRegIndex(unsigned Reg, unsigned SubReg) const {
42 const uint16_t *SRI = SubRegIndices + get(Reg).SubRegIndices;
43 for (MCSubRegIterator Subs(Reg, this); Subs.isValid(); ++Subs, ++SRI)
  /external/llvm/lib/Target/ARM/
MLxExpansionPass.cpp 65 bool hasRAWHazard(unsigned Reg, MachineInstr *MI) const;
89 unsigned Reg = MI->getOperand(1).getReg();
90 if (TargetRegisterInfo::isPhysicalRegister(Reg))
94 MachineInstr *DefMI = MRI->getVRegDef(Reg);
99 Reg = DefMI->getOperand(1).getReg();
100 if (TargetRegisterInfo::isVirtualRegister(Reg)) {
101 DefMI = MRI->getVRegDef(Reg);
105 Reg = DefMI->getOperand(2).getReg();
106 if (TargetRegisterInfo::isVirtualRegister(Reg)) {
107 DefMI = MRI->getVRegDef(Reg);
    [all...]
ARMBaseRegisterInfo.h 38 static inline bool isARMArea1Register(unsigned Reg, bool isIOS) {
40 switch (Reg) {
53 static inline bool isARMArea2Register(unsigned Reg, bool isIOS) {
55 switch (Reg) {
64 static inline bool isARMArea3Register(unsigned Reg, bool isIOS) {
66 switch (Reg) {
128 void UpdateRegAllocHint(unsigned Reg, unsigned NewReg,
156 bool isLowRegister(unsigned Reg) const;
  /external/llvm/include/llvm/MC/
MCInstBuilder.h 32 MCInstBuilder &addReg(unsigned Reg) {
33 Inst.addOperand(MCOperand::CreateReg(Reg));

Completed in 750 milliseconds

1 2 3 4 5 6 7 8 91011>>