Searched refs:OrigAdd (Results 1 – 2 of 2) sorted by relevance
1664 Instruction *OrigAdd = cast<Instruction>(AddWithCst->getOperand(0)); in ProcessUGT_ADDCST_ADD() local1665 for (Value::use_iterator UI = OrigAdd->use_begin(), E = OrigAdd->use_end(); in ProcessUGT_ADDCST_ADD()1684 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in ProcessUGT_ADDCST_ADD()1692 Builder->SetInsertPoint(OrigAdd); in ProcessUGT_ADDCST_ADD()1698 Value *ZExt = Builder->CreateZExt(Add, OrigAdd->getType()); in ProcessUGT_ADDCST_ADD()1702 IC.ReplaceInstUsesWith(*OrigAdd, ZExt); in ProcessUGT_ADDCST_ADD()1715 Instruction *OrigAdd = dyn_cast<Instruction>(OrigAddV); in ProcessUAddIdiom() local1716 if (OrigAdd == 0) return 0; in ProcessUAddIdiom()1718 Value *LHS = OrigAdd->getOperand(0), *RHS = OrigAdd->getOperand(1); in ProcessUAddIdiom()1723 Builder->SetInsertPoint(OrigAdd); in ProcessUAddIdiom()[all …]
2533 Instruction *OrigAdd = cast<Instruction>(AddWithCst->getOperand(0)); in ProcessUGT_ADDCST_ADD() local2534 for (User *U : OrigAdd->users()) { in ProcessUGT_ADDCST_ADD()2550 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in ProcessUGT_ADDCST_ADD()2558 Builder->SetInsertPoint(OrigAdd); in ProcessUGT_ADDCST_ADD()2564 Value *ZExt = Builder->CreateZExt(Add, OrigAdd->getType()); in ProcessUGT_ADDCST_ADD()2568 IC.replaceInstUsesWith(*OrigAdd, ZExt); in ProcessUGT_ADDCST_ADD()