ΒΆllvm::MDNode* intersectAccessGroups(
const llvm::Instruction* Inst1,
const llvm::Instruction* Inst2)
llvm::MDNode* intersectAccessGroups(
const llvm::Instruction* Inst1,
const llvm::Instruction* Inst2)
Description
Compute the access-group list of access groups that @p Inst1 and @p Inst2 are both in. If either instruction does not access memory at all, it is considered to be in every list. If the list contains just one access group, it is returned directly. If the list is empty, returns nullptr.
Declared at: llvm/include/llvm/Analysis/VectorUtils.h:283
Parameters
- const llvm::Instruction* Inst1
- const llvm::Instruction* Inst2