Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp675 Value *CondV = SelI->getCondition(); in matchLeftShift() local
684 if (!match(CondV, m_ICmp(P, m_And(m_Value(A), m_Value(B)), m_Value(C))) && in matchLeftShift()
685 !match(CondV, m_ICmp(P, m_Value(C), m_And(m_Value(A), m_Value(B))))) in matchLeftShift()
790 Value *CondV = SelI->getCondition(); in matchRightShift() local
800 if (match(CondV, m_ICmp(P, m_Value(C), m_Zero())) || in matchRightShift()
801 match(CondV, m_ICmp(P, m_Zero(), m_Value(C)))) { in matchRightShift()
807 } else if (match(CondV, m_ICmp(P, m_Value(C), m_One())) || in matchRightShift()
808 match(CondV, m_ICmp(P, m_One(), m_Value(C)))) { in matchRightShift()
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp409 SDValue CondV = Op.getOperand(0); in lowerSELECT() local
421 if (Op.getSimpleValueType() == XLenVT && CondV.getOpcode() == ISD::SETCC && in lowerSELECT()
422 CondV.getOperand(0).getSimpleValueType() == XLenVT) { in lowerSELECT()
423 SDValue LHS = CondV.getOperand(0); in lowerSELECT()
424 SDValue RHS = CondV.getOperand(1); in lowerSELECT()
425 auto CC = cast<CondCodeSDNode>(CondV.getOperand(2)); in lowerSELECT()
443 SDValue Ops[] = {CondV, Zero, SetNE, TrueV, FalseV}; in lowerSELECT()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1719 llvm::Value *CondV; in EmitBranchOnBoolExpr() local
1722 CondV = EvaluateExprAsBool(Cond); in EmitBranchOnBoolExpr()
1724 Builder.CreateCondBr(CondV, TrueBlock, FalseBlock, Weights, Unpredictable); in EmitBranchOnBoolExpr()
H A DCGExprScalar.cpp4042 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local
4053 llvm::Value *TestMSB = Builder.CreateICmpSLT(CondV, zeroVec); in VisitAbstractConditionalOperator()
4085 llvm::Value *CondV = CGF.EvaluateExprAsBool(condExpr); in VisitAbstractConditionalOperator() local
4086 llvm::Value *StepV = Builder.CreateZExtOrBitCast(CondV, CGF.Int64Ty); in VisitAbstractConditionalOperator()
4097 return Builder.CreateSelect(CondV, LHS, RHS, "cond"); in VisitAbstractConditionalOperator()
H A DCGStmt.cpp1607 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt() local
1614 SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock); in EmitSwitchStmt()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstantFold.cpp738 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() local
740 Type *Ty = IntegerType::get(CondV->getContext(), 32); in ConstantFoldSelectInstruction()
747 Constant *Cond = dyn_cast<Constant>(CondV->getOperand(i)); in ConstantFoldSelectInstruction()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2295 DefinedOrUnknownSVal CondV = CondV_untested.castAs<DefinedOrUnknownSVal>(); in processSwitch() local
2321 if (Optional<NonLoc> NL = CondV.getAs<NonLoc>()) in processSwitch()