Searched defs:Rem (Results 1 - 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp76 void eliminateIVRemainder(BinaryOperator *Rem, Value *IVOperand,
185 void SimplifyIndvar::eliminateIVRemainder(BinaryOperator *Rem, argument
190 if (IVOperand != Rem->getOperand(0))
194 const SCEV *S = SE->getSCEV(Rem->getOperand(0));
195 const SCEV *X = SE->getSCEV(Rem->getOperand(1));
198 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent());
206 Rem->replaceAllUsesWith(Rem->getOperand(0));
219 ICmpInst *ICmp = new ICmpInst(Rem, ICmpInst::ICMP_EQ,
220 Rem
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp205 Value *Rem; local
207 Rem = Builder->CreateURem(Op0BO, Op1BO);
209 Rem = Builder->CreateSRem(Op0BO, Op1BO);
210 Rem->takeName(BO);
213 return BinaryOperator::CreateSub(Op0BO, Rem);
214 return BinaryOperator::CreateSub(Rem, Op0BO);
H A DInstCombineShifts.cpp47 Value *Rem = Builder->CreateAnd(A, ConstantInt::get(I.getType(), *B-1), local
49 I.setOperand(1, Rem);

Completed in 29 milliseconds