Home
last modified time | relevance | path

Searched refs:CondV (Results 1 – 7 of 7) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
HDHexagonLoopIdiomRecognition.cpp676 Value *CondV = SelI->getCondition(); in matchLeftShift() local
685 if (!match(CondV, m_ICmp(P, m_And(m_Value(A), m_Value(B)), m_Value(C))) && in matchLeftShift()
686 !match(CondV, m_ICmp(P, m_Value(C), m_And(m_Value(A), m_Value(B))))) in matchLeftShift()
791 Value *CondV = SelI->getCondition(); in matchRightShift() local
801 if (match(CondV, m_ICmp(P, m_Value(C), m_Zero())) || in matchRightShift()
802 match(CondV, m_ICmp(P, m_Zero(), m_Value(C)))) { in matchRightShift()
808 } else if (match(CondV, m_ICmp(P, m_Value(C), m_One())) || in matchRightShift()
809 match(CondV, m_ICmp(P, m_One(), m_Value(C)))) { in matchRightShift()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
HDRISCVISelLowering.cpp634 SDValue CondV = Op.getOperand(0); in lowerSELECT() local
646 if (Op.getSimpleValueType() == XLenVT && CondV.getOpcode() == ISD::SETCC && in lowerSELECT()
647 CondV.getOperand(0).getSimpleValueType() == XLenVT) { in lowerSELECT()
648 SDValue LHS = CondV.getOperand(0); in lowerSELECT()
649 SDValue RHS = CondV.getOperand(1); in lowerSELECT()
650 auto CC = cast<CondCodeSDNode>(CondV.getOperand(2)); in lowerSELECT()
668 SDValue Ops[] = {CondV, Zero, SetNE, TrueV, FalseV}; in lowerSELECT()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCGExprScalar.cpp4280 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local
4291 llvm::Value *TestMSB = Builder.CreateICmpSLT(CondV, zeroVec); in VisitAbstractConditionalOperator()
4321 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local
4329 CondV = Builder.CreateICmpNE(CondV, ZeroVec, "vector_cond"); in VisitAbstractConditionalOperator()
4330 return Builder.CreateSelect(CondV, LHS, RHS, "vector_select"); in VisitAbstractConditionalOperator()
4338 llvm::Value *CondV = CGF.EvaluateExprAsBool(condExpr); in VisitAbstractConditionalOperator() local
4339 llvm::Value *StepV = Builder.CreateZExtOrBitCast(CondV, CGF.Int64Ty); in VisitAbstractConditionalOperator()
4350 return Builder.CreateSelect(CondV, LHS, RHS, "cond"); in VisitAbstractConditionalOperator()
HDCodeGenFunction.cpp1657 llvm::Value *CondV; in EmitBranchOnBoolExpr() local
1660 CondV = EvaluateExprAsBool(Cond); in EmitBranchOnBoolExpr()
1662 Builder.CreateCondBr(CondV, TrueBlock, FalseBlock, Weights, Unpredictable); in EmitBranchOnBoolExpr()
HDCGStmt.cpp1646 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt() local
1653 SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock); in EmitSwitchStmt()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
HDConstantFold.cpp740 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() local
742 Type *Ty = IntegerType::get(CondV->getContext(), 32); in ConstantFoldSelectInstruction()
749 auto *Cond = cast<Constant>(CondV->getOperand(i)); in ConstantFoldSelectInstruction()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDExprEngine.cpp2363 DefinedOrUnknownSVal CondV = CondV_untested.castAs<DefinedOrUnknownSVal>(); in processSwitch() local
2389 if (Optional<NonLoc> NL = CondV.getAs<NonLoc>()) in processSwitch()