Home
last modified time | relevance | path

Searched refs:InstrPos (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp270 DenseMap<const MachineInstr *, unsigned> InstrPos; member in __anon8ca993b90111::OptimizeLEAPass
289 assert(InstrPos.find(&First) != InstrPos.end() && in calcInstrDist()
290 InstrPos.find(&Last) != InstrPos.end() && in calcInstrDist()
293 return InstrPos[&Last] - InstrPos[&First]; in calcInstrDist()
452 InstrPos[&MI] = Pos += 2; in findLEAs()
503 InstrPos[DefMI] = InstrPos[&MI] - 1; in removeRedundantAddrCalc()
506 assert(((InstrPos[DefMI] == 1 && in removeRedundantAddrCalc()
508 InstrPos[DefMI] > in removeRedundantAddrCalc()
509 InstrPos[&*std::prev(MachineBasicBlock::iterator(DefMI))]) && in removeRedundantAddrCalc()
628 InstrPos.clear(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp295 DenseMap<const MachineInstr *, unsigned> InstrPos; member in __anon1a0dfff10211::OptimizeLEAPass
316 assert(InstrPos.find(&First) != InstrPos.end() && in calcInstrDist()
317 InstrPos.find(&Last) != InstrPos.end() && in calcInstrDist()
320 return InstrPos[&Last] - InstrPos[&First]; in calcInstrDist()
479 InstrPos[&MI] = Pos += 2; in findLEAs()
530 InstrPos[DefMI] = InstrPos[&MI] - 1; in removeRedundantAddrCalc()
533 assert(((InstrPos[DefMI] == 1 && in removeRedundantAddrCalc()
535 InstrPos[DefMI] > in removeRedundantAddrCalc()
536 InstrPos[&*std::prev(MachineBasicBlock::iterator(DefMI))]) && in removeRedundantAddrCalc()
686 InstrPos.clear(); in runOnMachineFunction()