Home
last modified time | relevance | path

Searched refs:Cond0 (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp192 bool widenCondCommon(Value *Cond0, Value *Cond1, Instruction *InsertPt,
254 bool isWideningCondProfitable(Value *Cond0, Value *Cond1, bool InvertCond) { in isWideningCondProfitable() argument
256 return widenCondCommon(Cond0, Cond1, /*InsertPt=*/nullptr, ResultUnused, in isWideningCondProfitable()
504 bool GuardWideningImpl::widenCondCommon(Value *Cond0, Value *Cond1, in widenCondCommon() argument
514 if (match(Cond0, m_ICmp(Pred0, m_Value(LHS), m_ConstantInt(RHS0))) && in widenCondCommon()
534 ConstantInt::get(Cond0->getContext(), NewRHSAP); in widenCondCommon()
547 parseRangeChecks(Cond0, Checks) && parseRangeChecks(Cond1, Checks) && in widenCondCommon()
569 makeAvailableAt(Cond0, InsertPt); in widenCondCommon()
573 Result = BinaryOperator::CreateAnd(Cond0, Cond1, "wide.chk", InsertPt); in widenCondCommon()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp478 Value *Cond0 = BBBuilder.CreateFCmp(CmpInst::FCMP_OLE, Base, V0); in generateCondForPow() local
479 return BBBuilder.CreateOr(Cond0, Cond); in generateCondForPow()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1308 ConstantInt *Cond0 = TryResolveConstant(CondCmp->getOperand(0)); in simplifyTerminatorLeadingToRet() local
1310 if (!Cond0 || !Cond1) in simplifyTerminatorLeadingToRet()
1317 CondCmp->getPredicate(), Cond0, Cond1, DL)); in simplifyTerminatorLeadingToRet()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp10676 SDValue Cond0 = N0.getOperand(0); in foldVSelectToSignBitSplatMask() local
10679 if (VT != Cond0.getValueType()) in foldVSelectToSignBitSplatMask()
10695 SDValue Sra = DAG.getNode(ISD::SRA, DL, VT, Cond0, ShiftAmt); in foldVSelectToSignBitSplatMask()
10703 SDValue Sra = DAG.getNode(ISD::SRA, DL, VT, Cond0, ShiftAmt); in foldVSelectToSignBitSplatMask()
10714 SDValue Sra = DAG.getNode(ISD::SRA, DL, VT, Cond0, ShiftAmt); in foldVSelectToSignBitSplatMask()
10769 SDValue Cond0 = N0->getOperand(0); in visitSELECT() local
10774 return DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Cond0, in visitSELECT()
10782 SDValue Cond0 = N0->getOperand(0); in visitSELECT() local
10787 return DAG.getNode(ISD::SELECT, DL, N1.getValueType(), Cond0, N1, in visitSELECT()
10835 SDValue Cond0 = N0.getOperand(0), Cond1 = N0.getOperand(1); in visitSELECT() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp46023 SDValue Cond0 = Cond.getOperand(0); in combineSelect() local
46046 if (LHS == Cond0 && RHS == Cond1) { in combineSelect()
46050 Cond = DAG.getSetCC(SDLoc(Cond), CondVT, Cond0, Cond1, NewCC); in combineSelect()
46055 Cond = DAG.getSetCC(SDLoc(Cond), CondVT, Cond0, Cond1, NewCC); in combineSelect()
46073 Cond0 == InnerSetCC.getOperand(0) && in combineSelect()
46084 Cond = DAG.getSetCC(DL, CondVT, Cond0, Cond1, NewCC); in combineSelect()