Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:Add

190   case Instruction::Add:
200 // ADD down to exactly one bit. If the constant we are adding has
201 // no bits set below this bit, then we can eliminate the ADD.
208 // the XOR is to toggle the bit. If it is clear, then the ADD has
309 Value *Add = Builder->CreateAdd(V, NegLo, V->getName()+".off");
311 return Builder->CreateICmpULT(Add, UpperBound);
328 Value *Add = Builder->CreateAdd(V, NegLo, V->getName()+".off");
330 return Builder->CreateICmpUGT(Add, LowerBound);
1021 Value *Add = Builder->CreateAdd(Val, AddCST, Val->getName()+".off");
1022 return Builder->CreateICmpUGT(Add, ConstantInt::get(Add->getType(), 1),
1361 case Instruction::Add:
1368 return BinaryOperator::CreateAnd(V, AndRHS); // Add commutes
1588 Worklist.Add(Inst);
1909 Value *Add = Builder->CreateAdd(Val, AddCST, Val->getName()+".off");
1911 return Builder->CreateICmpULT(Add, AddCST);
2574 if (Op0I->getOpcode() == Instruction::Add) {
2598 Worklist.Add(Op0I);