Searched defs:DivRHS (Results 1 - 2 of 2) sorted by relevance
/external/llvm/lib/Target/Sparc/ |
H A D | SparcISelDAGToDAG.cpp | 151 SDValue DivRHS = N->getOperand(1); local 166 return CurDAG->SelectNodeTo(N, Opcode, MVT::i32, DivLHS, DivRHS,
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 771 /// FoldICmpDivCst - Fold "icmp pred, ([su]div X, DivRHS), CmpRHS" where DivRHS 774 ConstantInt *DivRHS) { 789 if (DivRHS->isZero()) 791 if (DivIsSigned && DivRHS->isAllOnesValue()) 793 if (DivRHS->isOne()) { 799 // Compute Prod = CI * DivRHS. We are essentially solving an equation 800 // of form X/C1=C2. We solve for X by multiplying C1 (DivRHS) and 803 Constant *Prod = ConstantExpr::getMul(CmpRHS, DivRHS); 808 bool ProdOV = (DivIsSigned ? ConstantExpr::getSDiv(Prod, DivRHS) 773 FoldICmpDivCst(ICmpInst &ICI, BinaryOperator *DivI, ConstantInt *DivRHS) argument [all...] |
Completed in 59 milliseconds