/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsDelaySlotFiller.cpp | 67 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/llvm/lib/Target/Lanai/ |
D | LanaiDelaySlotFiller.cpp | 67 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/ |
D | DelaySlotFiller.cpp | 68 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/ |
D | DelaySlotFiller.cpp | 71 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/llvm/lib/CodeGen/ |
D | ImplicitNullChecks.cpp | 149 DenseMap<unsigned, MachineInstr *> RegDefs; member in __anonaf0df7bc0111::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()
|