llvm.org GIT mirror llvm / 718bab7
Add comments for OrderedInstruction. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306201 cdac9f57-aa62-4fd3-8940-286f4534e8a0 Xin Tong 2 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4242 bool dominates(const Instruction *, const Instruction *) const;
4343
4444 /// Invalidate the OrderedBasicBlock cache when its basic block changes.
45 /// i.e. If an instruction is deleted or added to the basic block, the user
46 /// should call this function to invalidate the OrderedBasicBlock cache for
47 /// this basic block.
4548 void invalidateBlock(BasicBlock *BB) { OBBMap.erase(BB); }
4649 };
4750