Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp694 Value *CondV = SelI->getCondition(); in matchLeftShift() local
703 if (!match(CondV, m_ICmp(P, m_And(m_Value(A), m_Value(B)), m_Value(C))) && in matchLeftShift()
704 !match(CondV, m_ICmp(P, m_Value(C), m_And(m_Value(A), m_Value(B))))) in matchLeftShift()
809 Value *CondV = SelI->getCondition(); in matchRightShift() local
819 if (match(CondV, m_ICmp(P, m_Value(C), m_Zero())) || in matchRightShift()
820 match(CondV, m_ICmp(P, m_Zero(), m_Value(C)))) { in matchRightShift()
826 } else if (match(CondV, m_ICmp(P, m_Value(C), m_One())) || in matchRightShift()
827 match(CondV, m_ICmp(P, m_One(), m_Value(C)))) { in matchRightShift()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1797 llvm::Value *CondV; in EmitBranchOnBoolExpr() local
1800 CondV = EvaluateExprAsBool(Cond); in EmitBranchOnBoolExpr()
1820 llvm::Value *NewCondV = emitCondLikelihoodViaExpectIntrinsic(CondV, LH); in EmitBranchOnBoolExpr()
1821 if (CondV != NewCondV) in EmitBranchOnBoolExpr()
1822 CondV = NewCondV; in EmitBranchOnBoolExpr()
1829 Builder.CreateCondBr(CondV, TrueBlock, FalseBlock, Weights, Unpredictable); in EmitBranchOnBoolExpr()
H A DCGExprScalar.cpp4546 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local
4557 llvm::Value *TestMSB = Builder.CreateICmpSLT(CondV, zeroVec); in VisitAbstractConditionalOperator()
4585 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local
4593 CondV = Builder.CreateICmpNE(CondV, ZeroVec, "vector_cond"); in VisitAbstractConditionalOperator()
4594 return Builder.CreateSelect(CondV, LHS, RHS, "vector_select"); in VisitAbstractConditionalOperator()
4602 llvm::Value *CondV = CGF.EvaluateExprAsBool(condExpr); in VisitAbstractConditionalOperator() local
4603 llvm::Value *StepV = Builder.CreateZExtOrBitCast(CondV, CGF.Int64Ty); in VisitAbstractConditionalOperator()
4614 return Builder.CreateSelect(CondV, LHS, RHS, "cond"); in VisitAbstractConditionalOperator()
H A DCGStmt.cpp1890 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt() local
1897 SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock); in EmitSwitchStmt()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp536 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() local
537 auto *V1VTy = CondV->getType(); in ConstantFoldSelectInstruction()
539 Type *Ty = IntegerType::get(CondV->getContext(), 32); in ConstantFoldSelectInstruction()
546 auto *Cond = cast<Constant>(CondV->getOperand(i)); in ConstantFoldSelectInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp2887 SDValue CondV = Op.getOperand(0); in lowerSELECT() local
2909 if (VT == XLenVT && CondV.getOpcode() == ISD::SETCC && in lowerSELECT()
2910 CondV.getOperand(0).getSimpleValueType() == XLenVT) { in lowerSELECT()
2911 SDValue LHS = CondV.getOperand(0); in lowerSELECT()
2912 SDValue RHS = CondV.getOperand(1); in lowerSELECT()
2946 SDValue Ops[] = {CondV, Zero, SetNE, TrueV, FalseV}; in lowerSELECT()
2952 SDValue CondV = Op.getOperand(1); in lowerBRCOND() local
2956 if (CondV.getOpcode() == ISD::SETCC && in lowerBRCOND()
2957 CondV.getOperand(0).getValueType() == XLenVT) { in lowerBRCOND()
2958 SDValue LHS = CondV.getOperand(0); in lowerBRCOND()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2459 DefinedOrUnknownSVal CondV = CondV_untested.castAs<DefinedOrUnknownSVal>(); in processSwitch() local
2485 if (Optional<NonLoc> NL = CondV.getAs<NonLoc>()) in processSwitch()