Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp692 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()
807 Value *CondV = SelI->getCondition(); in matchRightShift() local
817 if (match(CondV, m_ICmp(P, m_Value(C), m_Zero())) || in matchRightShift()
818 match(CondV, m_ICmp(P, m_Zero(), m_Value(C)))) { in matchRightShift()
824 } else if (match(CondV, m_ICmp(P, m_Value(C), m_One())) || in matchRightShift()
825 match(CondV, m_ICmp(P, m_One(), m_Value(C)))) { in matchRightShift()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1932 llvm::Value *CondV; in EmitBranchOnBoolExpr() local
1935 CondV = EvaluateExprAsBool(Cond); in EmitBranchOnBoolExpr()
1950 maybeUpdateMCDCCondBitmap(MCDCBaseExpr, CondV); in EmitBranchOnBoolExpr()
1970 llvm::Value *NewCondV = emitCondLikelihoodViaExpectIntrinsic(CondV, LH); in EmitBranchOnBoolExpr()
1971 if (CondV != NewCondV) in EmitBranchOnBoolExpr()
1972 CondV = NewCondV; in EmitBranchOnBoolExpr()
1979 Builder.CreateCondBr(CondV, TrueBlock, FalseBlock, Weights, Unpredictable); in EmitBranchOnBoolExpr()
H A DCGExprScalar.cpp4878 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local
4889 llvm::Value *TestMSB = Builder.CreateICmpSLT(CondV, zeroVec); in VisitAbstractConditionalOperator()
4918 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local
4926 CondV = Builder.CreateICmpNE(CondV, ZeroVec, "vector_cond"); in VisitAbstractConditionalOperator()
4927 return Builder.CreateSelect(CondV, LHS, RHS, "vector_select"); in VisitAbstractConditionalOperator()
4935 llvm::Value *CondV = CGF.EvaluateExprAsBool(condExpr); in VisitAbstractConditionalOperator() local
4936 llvm::Value *StepV = Builder.CreateZExtOrBitCast(CondV, CGF.Int64Ty); in VisitAbstractConditionalOperator()
4947 return Builder.CreateSelect(CondV, LHS, RHS, "cond"); in VisitAbstractConditionalOperator()
H A DCGStmt.cpp2001 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt() local
2008 SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock); in EmitSwitchStmt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp342 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() local
343 auto *V1VTy = CondV->getType(); in ConstantFoldSelectInstruction()
345 Type *Ty = IntegerType::get(CondV->getContext(), 32); in ConstantFoldSelectInstruction()
352 auto *Cond = cast<Constant>(CondV->getOperand(i)); in ConstantFoldSelectInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp7060 SDValue CondV = N->getOperand(0); in combineSelectToBinOp() local
7096 SDValue LHS = CondV.getOperand(0); in combineSelectToBinOp()
7097 SDValue RHS = CondV.getOperand(1); in combineSelectToBinOp()
7183 SDValue CondV = Op.getOperand(0); in lowerSELECT() local
7269 if (CondV.getOpcode() != ISD::SETCC || in lowerSELECT()
7284 SDValue LHS = CondV.getOperand(0); in lowerSELECT()
7285 SDValue RHS = CondV.getOperand(1); in lowerSELECT()
7337 SDValue CondV = Op.getOperand(1); in lowerBRCOND() local
7341 if (CondV.getOpcode() == ISD::SETCC && in lowerBRCOND()
7343 SDValue LHS = CondV.getOperand(0); in lowerBRCOND()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2985 DefinedOrUnknownSVal CondV = CondV_untested.castAs<DefinedOrUnknownSVal>(); in processSwitch() local
3011 if (std::optional<NonLoc> NL = CondV.getAs<NonLoc>()) in processSwitch()