Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86SpeculativeLoadHardening.cpp1574 SmallVector<MachineOperand *, 2> HardenOpRegs; in hardenLoadAddr() local
1607 HardenOpRegs.push_back(&BaseMO); in hardenLoadAddr()
1611 (HardenOpRegs.empty() || in hardenLoadAddr()
1612 HardenOpRegs.front()->getReg() != IndexMO.getReg())) in hardenLoadAddr()
1613 HardenOpRegs.push_back(&IndexMO); in hardenLoadAddr()
1615 assert((HardenOpRegs.size() == 1 || HardenOpRegs.size() == 2) && in hardenLoadAddr()
1617 assert((HardenOpRegs.size() == 1 || in hardenLoadAddr()
1618 HardenOpRegs[0]->getReg() != HardenOpRegs[1]->getReg()) && in hardenLoadAddr()
1622 llvm::erase_if(HardenOpRegs, [&](MachineOperand *Op) { in hardenLoadAddr()
1634 if (HardenOpRegs.empty()) in hardenLoadAddr()
[all …]