Lines Matching refs:I1
186 bool isEquivalentOperation(const Instruction *I1,
294 bool FunctionComparator::isEquivalentOperation(const Instruction *I1,
300 if (I1->getOpcode() != I2->getOpcode() ||
301 I1->getNumOperands() != I2->getNumOperands() ||
302 !isEquivalentType(I1->getType(), I2->getType()) ||
303 !I1->hasSameSubclassOptionalData(I2))
308 for (unsigned i = 0, e = I1->getNumOperands(); i != e; ++i)
309 if (!isEquivalentType(I1->getOperand(i)->getType(),
314 if (const LoadInst *LI = dyn_cast<LoadInst>(I1))
319 if (const StoreInst *SI = dyn_cast<StoreInst>(I1))
324 if (const CmpInst *CI = dyn_cast<CmpInst>(I1))
326 if (const CallInst *CI = dyn_cast<CallInst>(I1))
329 if (const InvokeInst *CI = dyn_cast<InvokeInst>(I1))
332 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(I1))
334 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I1))
336 if (const FenceInst *FI = dyn_cast<FenceInst>(I1))
339 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(I1))
343 if (const AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(I1))