Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIdenticalExprChecker.cpp139 const Expr *Cond2 = I2->getCond(); in VisitIfStmt() local
140 if (isIdenticalStmt(AC->getASTContext(), Cond1, Cond2, false)) { in VisitIfStmt()
142 PathDiagnosticLocation ELoc(Cond2, BR.getSourceManager(), AC); in VisitIfStmt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp87 auto Cond2 = createCond(BBBuilder, Arg2, Cmp2, Val2); in createOrCond() local
89 return BBBuilder.CreateOr(Cond1, Cond2); in createOrCond()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h1670 Value *CreateLogicalAnd(Value *Cond1, Value *Cond2, const Twine &Name = "") {
1671 assert(Cond2->getType()->isIntOrIntVectorTy(1));
1672 return CreateSelect(Cond1, Cond2,
1673 ConstantInt::getNullValue(Cond2->getType()), Name);
1676 Value *CreateLogicalOr(Value *Cond1, Value *Cond2, const Twine &Name = "") {
1677 assert(Cond2->getType()->isIntOrIntVectorTy(1));
1678 return CreateSelect(Cond1, ConstantInt::getAllOnesValue(Cond2->getType()),
1679 Cond2, Name);
1682 Value *CreateLogicalOp(Instruction::BinaryOps Opc, Value *Cond1, Value *Cond2,
1686 return CreateLogicalAnd(Cond1, Cond2, Name);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp2401 Value *Cond1, *Cond2; in hoistMinMax() local
2402 if (match(&I, m_LogicalOr(m_Value(Cond1), m_Value(Cond2)))) { in hoistMinMax()
2404 } else if (match(&I, m_LogicalAnd(m_Value(Cond1), m_Value(Cond2)))) { in hoistMinMax()
2430 !MatchICmpAgainstInvariant(Cond2, P2, LHS2, RHS2)) in hoistMinMax()
2465 eraseInstruction(*cast<Instruction>(Cond2), SafetyInfo, MSSAU); in hoistMinMax()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DIfConversion.cpp1785 SmallVector<MachineOperand, 4> *Cond2 = &RevCond; in IfConvertDiamondCommon() local
1798 std::swap(Cond1, Cond2); in IfConvertDiamondCommon()
1981 PredicateBlock(*BBI2, DI2, *Cond2); in IfConvertDiamondCommon()
H A DCodeGenPrepare.cpp8654 Value *Cond1, *Cond2; in splitBranchCondition() local
8656 m_LogicalAnd(m_OneUse(m_Value(Cond1)), m_OneUse(m_Value(Cond2))))) in splitBranchCondition()
8659 m_OneUse(m_Value(Cond2))))) in splitBranchCondition()
8670 if (!IsGoodCond(Cond1) || !IsGoodCond(Cond2)) in splitBranchCondition()
8695 auto *Br2 = IRBuilder<>(TmpBB).CreateCondBr(Cond2, TBB, FBB); in splitBranchCondition()
8696 if (auto *I = dyn_cast<Instruction>(Cond2)) { in splitBranchCondition()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp3052 const Value *Cond2 = SI2->getCondition(); in isNonEqualSelect() local
3053 if (Cond1 == Cond2) in isNonEqualSelect()