Return true if I2 has the same opcode‐specific state as this instruction.
Synopsis
Declared in <llvm/IR/Instruction.h>
bool
hasSameSpecialState(
Instruction const* I2,
bool IgnoreAlignment = false,
bool IntersectAttrs = false) const;
Description
Opcode‐specific details must match. As a common example, if comparing loads, this compares the alignments (among other things).
Return Value
True if the instructions share the same opcode‐specific state.
Parameters
Name |
Description |
I2 |
The instruction to compare against. |
IgnoreAlignment |
When true, do not compare load/store alignment. |
IntersectAttrs |
When true, compare call attributes by intersection. |
Created with MrDocs