Searched refs:CmpRHS (Results 1 - 7 of 7) 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/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...] |
/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 | SelectionDAGBuilder.cpp | 1535 Cases[0].CmpRHS == Cases[1].CmpRHS) || 1536 (Cases[0].CmpRHS == Cases[1].CmpLHS && 1537 Cases[0].CmpLHS == Cases[1].CmpRHS)) { 1543 if (Cases[0].CmpRHS == Cases[1].CmpRHS && 1545 isa<Constant>(Cases[0].CmpRHS) && 1546 cast<Constant>(Cases[0].CmpRHS)->isNullValue()) { 1620 ExportFromCurrentBlock(SwitchCases[i].CmpRHS); 1659 if (CB.CmpRHS [all...] |
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/Analysis/ |
H A D | InstructionSimplify.cpp | 1645 Value *CmpLHS = Cmp->getOperand(0), *CmpRHS = Cmp->getOperand(1); 1646 if (Pred == Cmp->getPredicate() && LHS == CmpLHS && RHS == CmpRHS) 1649 LHS == CmpRHS && RHS == CmpLHS)
|
Completed in 199 milliseconds