/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 274 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() local 275 auto *V1VTy = CondV->getType(); in ConstantFoldSelectInstruction() 277 Type *Ty = IntegerType::get(CondV->getContext(), 32); in ConstantFoldSelectInstruction() 284 auto *Cond = cast<Constant>(CondV->getOperand(i)); in ConstantFoldSelectInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonLoopIdiomRecognition.cpp | 692 Value *CondV = SelI->getCondition(); in matchLeftShift() local 701 if (!match(CondV, m_ICmp(P, m_And(m_Value(A), m_Value(B)), m_Value(C))) && in matchLeftShift() 702 !match(CondV, m_ICmp(P, m_Value(C), m_And(m_Value(A), m_Value(B))))) in matchLeftShift() 806 Value *CondV = SelI->getCondition(); in matchRightShift() local 816 if (match(CondV, m_c_ICmp(P, m_Value(C), m_Zero()))) { in matchRightShift() 822 } else if (match(CondV, m_c_ICmp(P, m_Value(C), m_One()))) { in matchRightShift()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 2011 llvm::Value *CondV; in EmitBranchOnBoolExpr() local 2014 CondV = EvaluateExprAsBool(Cond); in EmitBranchOnBoolExpr() 2029 maybeUpdateMCDCCondBitmap(MCDCBaseExpr, CondV); in EmitBranchOnBoolExpr() 2049 llvm::Value *NewCondV = emitCondLikelihoodViaExpectIntrinsic(CondV, LH); in EmitBranchOnBoolExpr() 2050 if (CondV != NewCondV) in EmitBranchOnBoolExpr() 2051 CondV = NewCondV; in EmitBranchOnBoolExpr() 2058 Builder.CreateCondBr(CondV, TrueBlock, FalseBlock, Weights, Unpredictable); in EmitBranchOnBoolExpr()
|
H A D | CGExprScalar.cpp | 5220 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local 5231 llvm::Value *TestMSB = Builder.CreateICmpSLT(CondV, zeroVec); in VisitAbstractConditionalOperator() 5260 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local 5268 CondV = Builder.CreateICmpNE(CondV, ZeroVec, "vector_cond"); in VisitAbstractConditionalOperator() 5269 return Builder.CreateSelect(CondV, LHS, RHS, "vector_select"); in VisitAbstractConditionalOperator() 5277 llvm::Value *CondV = CGF.EvaluateExprAsBool(condExpr); in VisitAbstractConditionalOperator() local 5278 llvm::Value *StepV = Builder.CreateZExtOrBitCast(CondV, CGF.Int64Ty); in VisitAbstractConditionalOperator() 5294 return Builder.CreateSelect(CondV, LHS, RHS, "cond"); in VisitAbstractConditionalOperator()
|
H A D | CGStmt.cpp | 2180 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt() local 2187 SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock); in EmitSwitchStmt()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 7561 SDValue CondV = N->getOperand(0); in combineSelectToBinOp() 7570 SDValue Neg = DAG.getNegative(CondV, DL, VT); in combineSelectToBinOp() 7575 SDValue Neg = DAG.getNode(ISD::ADD, DL, VT, CondV, in combineSelectToBinOp() 7582 SDValue Neg = DAG.getNode(ISD::ADD, DL, VT, CondV, in combineSelectToBinOp() 7588 SDValue Neg = DAG.getNegative(CondV, DL, VT); in combineSelectToBinOp() 7598 SDValue Neg = DAG.getNegative(CondV, DL, VT); in combineSelectToBinOp() 7605 if (CondV.getOpcode() == ISD::SETCC && TrueV.getOpcode() == ISD::SETCC && in combineSelectToBinOp() 7607 SDValue LHS = CondV.getOperand(0); in combineSelectToBinOp() 7608 SDValue RHS = CondV.getOperand(1); in combineSelectToBinOp() 7609 ISD::CondCode CC = cast<CondCodeSDNode>(CondV in combineSelectToBinOp() 7559 SDValue CondV = N->getOperand(0); combineSelectToBinOp() local 7692 SDValue CondV = Op.getOperand(0); lowerSELECT() local 7870 SDValue CondV = Op.getOperand(1); lowerBRCOND() local [all...] |
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngine.cpp | 2997 DefinedOrUnknownSVal CondV = CondV_untested.castAs<DefinedOrUnknownSVal>(); in processSwitch() local 3023 if (std::optional<NonLoc> NL = CondV.getAs<NonLoc>()) in processSwitch()
|