Home
last modified time | relevance | path

Searched refs:RegDefs (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsDelaySlotFiller.cpp67 SmallSet<unsigned, 32>& RegDefs,
71 SmallSet<unsigned, 32>& RegDefs,
79 SmallSet<unsigned, 32> &RegDefs,
129 SmallSet<unsigned, 32> RegDefs; in findDelayInstr() local
132 insertDefsUses(slot, RegDefs, RegUses); in findDelayInstr()
157 if (delayHasHazard(FI, sawLoad, sawStore, RegDefs, RegUses)) { in findDelayInstr()
158 insertDefsUses(FI, RegDefs, RegUses); in findDelayInstr()
172 SmallSet<unsigned, 32> &RegDefs, in delayHasHazard() argument
206 if (IsRegInSet(RegDefs, Reg) || IsRegInSet(RegUses, Reg)) in delayHasHazard()
211 if (IsRegInSet(RegDefs, Reg)) in delayHasHazard()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiDelaySlotFiller.cpp67 SmallSet<unsigned, 32> &RegDefs,
73 bool &SawStore, SmallSet<unsigned, 32> &RegDefs,
148 SmallSet<unsigned, 32> RegDefs; in findDelayInstr() local
151 insertDefsUses(Slot, RegDefs, RegUses); in findDelayInstr()
169 if (delayHasHazard(FI, SawLoad, SawStore, RegDefs, RegUses)) { in findDelayInstr()
170 insertDefsUses(FI, RegDefs, RegUses); in findDelayInstr()
180 bool &SawStore, SmallSet<unsigned, 32> &RegDefs, in delayHasHazard() argument
213 if (isRegInSet(RegDefs, Reg) || isRegInSet(RegUses, Reg)) in delayHasHazard()
218 if (isRegInSet(RegDefs, Reg)) in delayHasHazard()
227 SmallSet<unsigned, 32> &RegDefs, in insertDefsUses() argument
[all …]
/external/llvm/lib/Target/Lanai/
DLanaiDelaySlotFiller.cpp67 SmallSet<unsigned, 32> &RegDefs,
73 bool &SawStore, SmallSet<unsigned, 32> &RegDefs,
149 SmallSet<unsigned, 32> RegDefs; in findDelayInstr() local
152 insertDefsUses(Slot, RegDefs, RegUses); in findDelayInstr()
170 if (delayHasHazard(FI, SawLoad, SawStore, RegDefs, RegUses)) { in findDelayInstr()
171 insertDefsUses(FI, RegDefs, RegUses); in findDelayInstr()
181 bool &SawStore, SmallSet<unsigned, 32> &RegDefs, in delayHasHazard() argument
214 if (isRegInSet(RegDefs, Reg) || isRegInSet(RegUses, Reg)) in delayHasHazard()
219 if (isRegInSet(RegDefs, Reg)) in delayHasHazard()
228 SmallSet<unsigned, 32> &RegDefs, in insertDefsUses() argument
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/
DDelaySlotFiller.cpp68 SmallSet<unsigned, 32>& RegDefs,
76 SmallSet<unsigned, 32> &RegDefs,
132 SmallSet<unsigned, 32> RegDefs; in findDelayInstr() local
155 insertDefsUses(slot, RegDefs, RegUses); in findDelayInstr()
177 if (delayHasHazard(I, sawLoad, sawStore, RegDefs, RegUses)) { in findDelayInstr()
178 insertDefsUses(I, RegDefs, RegUses); in findDelayInstr()
190 SmallSet<unsigned, 32> &RegDefs, in delayHasHazard() argument
220 if (IsRegInSet(RegDefs, Reg) || IsRegInSet(RegUses, Reg)) in delayHasHazard()
225 if (IsRegInSet(RegDefs, Reg)) in delayHasHazard()
260 SmallSet<unsigned, 32>& RegDefs, in insertDefsUses() argument
[all …]
/external/llvm/lib/Target/Sparc/
DDelaySlotFiller.cpp71 SmallSet<unsigned, 32>& RegDefs,
75 SmallSet<unsigned, 32>& RegDefs,
83 SmallSet<unsigned, 32> &RegDefs,
173 SmallSet<unsigned, 32> RegDefs; in findDelayInstr() local
198 insertCallDefsUses(slot, RegDefs, RegUses); in findDelayInstr()
200 insertDefsUses(slot, RegDefs, RegUses); in findDelayInstr()
220 if (delayHasHazard(I, sawLoad, sawStore, RegDefs, RegUses)) { in findDelayInstr()
221 insertDefsUses(I, RegDefs, RegUses); in findDelayInstr()
233 SmallSet<unsigned, 32> &RegDefs, in delayHasHazard() argument
263 if (IsRegInSet(RegDefs, Reg) || IsRegInSet(RegUses, Reg)) in delayHasHazard()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DDelaySlotFiller.cpp69 SmallSet<unsigned, 32>& RegDefs,
73 SmallSet<unsigned, 32>& RegDefs,
81 SmallSet<unsigned, 32> &RegDefs,
171 SmallSet<unsigned, 32> RegDefs; in findDelayInstr() local
196 insertCallDefsUses(slot, RegDefs, RegUses); in findDelayInstr()
198 insertDefsUses(slot, RegDefs, RegUses); in findDelayInstr()
218 if (delayHasHazard(I, sawLoad, sawStore, RegDefs, RegUses)) { in findDelayInstr()
219 insertDefsUses(I, RegDefs, RegUses); in findDelayInstr()
231 SmallSet<unsigned, 32> &RegDefs, in delayHasHazard() argument
261 if (IsRegInSet(RegDefs, Reg) || IsRegInSet(RegUses, Reg)) in delayHasHazard()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonHazardRecognizer.cpp36 RegDefs.clear(); in Reset()
52 if (!MO.isReg() || RegDefs.count(MO.getReg()) == 0) in getHazardType()
88 RegDefs.clear(); in AdvanceCycle()
118 RegDefs.insert(MO.getReg()); in EmitInstruction()
DHexagonHazardRecognizer.h42 SmallSet<unsigned, 8> RegDefs; variable
/external/llvm/lib/CodeGen/
DImplicitNullChecks.cpp149 DenseMap<unsigned, MachineInstr *> RegDefs; member in __anonbe135b060111::HazardDetector
208 auto It = RegDefs.find(MO.getReg()); in rememberInstruction()
209 if (It == RegDefs.end()) in rememberInstruction()
210 RegDefs.insert({MO.getReg(), MI}); in rememberInstruction()
233 for (auto &RegDef : RegDefs) { in isSafeToHoist()
266 assert((!MO.isDef() || RegDefs.count(MO.getReg())) && in isSafeToHoist()
268 return !MO.isDef() || RegDefs.find(MO.getReg())->second == MI; in isSafeToHoist()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
DDispatchStage.cpp37 SmallVector<unsigned, 4> RegDefs; in checkPRF() local
40 RegDefs.emplace_back(RegDef->getRegisterID()); in checkPRF()
42 const unsigned RegisterMask = PRF.isAvailable(RegDefs); in checkPRF()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSILoadStoreOptimizer.cpp178 DenseSet<unsigned> &RegDefs, in addDefsUsesToList() argument
183 RegDefs.insert(Op.getReg()); in addDefsUsesToList()
206 DenseSet<unsigned> &RegDefs, in addToListsIfDependent() argument
219 ((Use.readsReg() && RegDefs.count(Use.getReg())) || in addToListsIfDependent()
223 addDefsUsesToList(MI, RegDefs, PhysRegUses); in addToListsIfDependent()