Searched defs:CmpRHS (Results 1 - 5 of 5) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 36 Value *CmpRHS = ICI->getOperand(1); local 41 RHS = CmpRHS; 44 if (TrueVal == CmpLHS && FalseVal == CmpRHS) { 59 if (TrueVal == CmpRHS && FalseVal == CmpLHS) { 73 if (ConstantInt *C1 = dyn_cast<ConstantInt>(CmpRHS)) { 406 Value *CmpRHS = IC->getOperand(1); local 408 if (!match(CmpRHS, m_Zero())) 474 Value *CmpRHS = ICI->getOperand(1); local 482 if (ConstantInt *CI = dyn_cast<ConstantInt>(CmpRHS)) { 517 else if (CmpRHS [all...] |
H A D | InstCombineCompares.cpp | 802 /// FoldICmpDivCst - Fold "icmp pred, ([su]div X, DivRHS), CmpRHS" where DivRHS 803 /// and CmpRHS are both known to be integer constants. 806 ConstantInt *CmpRHS = cast<ConstantInt>(ICI.getOperand(1)); local 807 const APInt &CmpRHSV = CmpRHS->getValue(); 834 Constant *Prod = ConstantExpr::getMul(CmpRHS, DivRHS); 840 ConstantExpr::getUDiv(Prod, DivRHS)) != CmpRHS;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.h | 214 : CC(cc), CmpLHS(cmplhs), CmpMHS(cmpmiddle), CmpRHS(cmprhs), 221 // CmpLHS/CmpRHS/CmpMHS - The LHS/MHS/RHS of the comparison to emit. 224 const Value *CmpLHS, *CmpMHS, *CmpRHS; member in struct:llvm::SelectionDAGBuilder::CaseBlock
|
H A D | TargetLowering.cpp | 1678 SDValue CmpRHS = DAG.getConstant(C1.lshr(ShiftBits), CmpTy); local 1679 return DAG.getSetCC(dl, VT, Shift, CmpRHS, Cond); 1706 SDValue CmpRHS = DAG.getConstant(NewC, CmpTy); local 1707 return DAG.getSetCC(dl, VT, Shift, CmpRHS, NewCond);
|
/external/llvm/lib/Target/X86/ |
H A D | X86FastISel.cpp | 1353 const Value *CmpRHS = CI->getOperand(1); local 1360 const auto *CmpRHSC = dyn_cast<ConstantFP>(CmpRHS); 1362 CmpRHS = CmpLHS; 1394 std::swap(CmpLHS, CmpRHS); 1397 if (!X86FastEmitCompare(CmpLHS, CmpRHS, VT)) 1778 const Value *CmpRHS = CI->getOperand(1); local 1780 std::swap(CmpLHS, CmpRHS); 1784 if (!X86FastEmitCompare(CmpLHS, CmpRHS, CmpVT)) 1868 const Value *CmpRHS = CI->getOperand(1); local 1875 const auto *CmpRHSC = dyn_cast<ConstantFP>(CmpRHS); 1962 const Value *CmpRHS = CI->getOperand(1); local [all...] |
Completed in 183 milliseconds