LLVM API Documentation
#include "llvm/IR/Instruction.h"#include "llvm/IR/CallSite.h"#include "llvm/IR/Constants.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/LeakDetector.h"#include "llvm/IR/Module.h"#include "llvm/IR/Operator.h"#include "llvm/IR/Type.h"
Go to the source code of this file.
Functions | |
| static bool | haveSameSpecialState (const Instruction *I1, const Instruction *I2, bool IgnoreAlignment=false) |
| static bool haveSameSpecialState | ( | const Instruction * | I1, |
| const Instruction * | I2, | ||
| bool | IgnoreAlignment = false |
||
| ) | [static] |
Return true if both instructions have the same special state This must be kept in sync with lib/Transforms/IPO/MergeFunctions.cpp.
Definition at line 272 of file Instruction.cpp.
References llvm::Intrinsic::getAttributes(), llvm::Instruction::getOpcode(), and LI.
Referenced by llvm::Instruction::isIdenticalToWhenDefined(), and llvm::Instruction::isSameOperationAs().