Lines Matching refs:I1
177 bool isEquivalentOperation(const Instruction *I1,
286 bool FunctionComparator::isEquivalentOperation(const Instruction *I1, in isEquivalentOperation() argument
292 if (I1->getOpcode() != I2->getOpcode() || in isEquivalentOperation()
293 I1->getNumOperands() != I2->getNumOperands() || in isEquivalentOperation()
294 !isEquivalentType(I1->getType(), I2->getType()) || in isEquivalentOperation()
295 !I1->hasSameSubclassOptionalData(I2)) in isEquivalentOperation()
300 for (unsigned i = 0, e = I1->getNumOperands(); i != e; ++i) in isEquivalentOperation()
301 if (!isEquivalentType(I1->getOperand(i)->getType(), in isEquivalentOperation()
306 if (const LoadInst *LI = dyn_cast<LoadInst>(I1)) in isEquivalentOperation()
311 if (const StoreInst *SI = dyn_cast<StoreInst>(I1)) in isEquivalentOperation()
316 if (const CmpInst *CI = dyn_cast<CmpInst>(I1)) in isEquivalentOperation()
318 if (const CallInst *CI = dyn_cast<CallInst>(I1)) in isEquivalentOperation()
321 if (const InvokeInst *CI = dyn_cast<InvokeInst>(I1)) in isEquivalentOperation()
324 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(I1)) in isEquivalentOperation()
326 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I1)) in isEquivalentOperation()
328 if (const FenceInst *FI = dyn_cast<FenceInst>(I1)) in isEquivalentOperation()
331 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(I1)) in isEquivalentOperation()
335 if (const AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(I1)) in isEquivalentOperation()