26 auto OBB = OBBMap.find(IBB);
27 if (OBB == OBBMap.end())
28 OBB = OBBMap.insert({IBB, make_unique<OrderedBasicBlock>(IBB)}).
first;
29 return OBB->second->dominates(InstA, InstB);
31 return DT->dominates(InstA->getParent(), InstB->getParent());
bool dominates(const Instruction *, const Instruction *) const
Return true if first instruction dominates the second.
LLVM Basic Block Representation.
const BasicBlock * getParent() const