Home
last modified time | relevance | path

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

/freebsd/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/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/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h1681 Value *CreateLogicalAnd(Value *Cond1, Value *Cond2, const Twine &Name = "") {
1682 assert(Cond2->getType()->isIntOrIntVectorTy(1));
1683 return CreateSelect(Cond1, Cond2,
1684 ConstantInt::getNullValue(Cond2->getType()), Name);
1687 Value *CreateLogicalOr(Value *Cond1, Value *Cond2, const Twine &Name = "") {
1688 assert(Cond2->getType()->isIntOrIntVectorTy(1));
1689 return CreateSelect(Cond1, ConstantInt::getAllOnesValue(Cond2->getType()),
1690 Cond2, Name);
1693 Value *CreateLogicalOp(Instruction::BinaryOps Opc, Value *Cond1, Value *Cond2,
1697 return CreateLogicalAnd(Cond1, Cond2, Name);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLICM.cpp2416 Value *Cond1, *Cond2; in hoistMinMax() local
2417 if (match(&I, m_LogicalOr(m_Value(Cond1), m_Value(Cond2)))) { in hoistMinMax()
2419 } else if (match(&I, m_LogicalAnd(m_Value(Cond1), m_Value(Cond2)))) { in hoistMinMax()
2445 !MatchICmpAgainstInvariant(Cond2, P2, LHS2, RHS2)) in hoistMinMax()
2480 eraseInstruction(*cast<Instruction>(Cond2), SafetyInfo, MSSAU); in hoistMinMax()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DIfConversion.cpp1786 SmallVector<MachineOperand, 4> *Cond2 = &RevCond; in IfConvertDiamondCommon() local
1799 std::swap(Cond1, Cond2); in IfConvertDiamondCommon()
1982 PredicateBlock(*BBI2, DI2, *Cond2); in IfConvertDiamondCommon()
H A DCodeGenPrepare.cpp8771 Value *Cond1, *Cond2; in splitBranchCondition() local
8773 m_LogicalAnd(m_OneUse(m_Value(Cond1)), m_OneUse(m_Value(Cond2))))) in splitBranchCondition()
8776 m_OneUse(m_Value(Cond2))))) in splitBranchCondition()
8787 if (!IsGoodCond(Cond1) || !IsGoodCond(Cond2)) in splitBranchCondition()
8812 auto *Br2 = IRBuilder<>(TmpBB).CreateCondBr(Cond2, TBB, FBB); in splitBranchCondition()
8813 if (auto *I = dyn_cast<Instruction>(Cond2)) { in splitBranchCondition()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp3530 const Value *Cond2 = SI2->getCondition(); in isNonEqualSelect() local
3531 if (Cond1 == Cond2) in isNonEqualSelect()