| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | GuardUtils.cpp | 23 Value *Condition, *WidenableCondition; in isWidenableBranch() local 25 return parseWidenableBranch(U, Condition, WidenableCondition, GuardedBB, in isWidenableBranch() 30 Value *Condition, *WidenableCondition; in isGuardAsWidenableBranch() local 32 if (!parseWidenableBranch(U, Condition, WidenableCondition, GuardedBB, in isGuardAsWidenableBranch() 44 bool llvm::parseWidenableBranch(const User *U, Value *&Condition, in parseWidenableBranch() argument 51 Condition = C->get(); in parseWidenableBranch() 53 Condition = ConstantInt::getTrue(IfTrueBB->getContext()); in parseWidenableBranch()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | PredicateInfo.h | 94 Value *Condition; variable 109 PredicateBase(PredicateType PT, Value *Op, Value *Condition) in PredicateBase() argument 110 : Type(PT), OriginalOp(Op), Condition(Condition) {} in PredicateBase() 119 PredicateAssume(Value *Op, IntrinsicInst *AssumeInst, Value *Condition) in PredicateAssume() argument 120 : PredicateBase(PT_Assume, Op, Condition), AssumeInst(AssumeInst) {} in PredicateAssume() 151 Value *Condition, bool TakenEdge) in PredicateBranch() argument 152 : PredicateWithEdge(PT_Branch, Op, BranchBB, SplitBB, Condition), in PredicateBranch()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | StaticAssertCheck.cpp | 57 auto Condition = in registerMatchers() local 63 Finder->addMatcher(conditionalOperator(hasCondition(Condition), in registerMatchers() 69 ifStmt(hasCondition(Condition), unless(isInTemplateInstantiation())) in registerMatchers() 79 const auto *Condition = Result.Nodes.getNodeAs<Expr>("condition"); in check() local 93 if (MacroName != "assert" || Condition->isValueDependent() || in check() 94 Condition->isTypeDependent() || Condition->isInstantiationDependent() || in check() 95 !Condition->isEvaluatable(*ASTCtx)) in check()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefBranchChecker.cpp | 56 void checkBranchCondition(const Stmt *Condition, CheckerContext &Ctx) const; 61 void UndefBranchChecker::checkBranchCondition(const Stmt *Condition, in checkBranchCondition() argument 64 if (isa<ObjCForCollectionStmt>(Condition)) in checkBranchCondition() 66 SVal X = Ctx.getSVal(Condition); in checkBranchCondition() 91 const Expr *Ex = cast<Expr>(Condition); in checkBranchCondition()
|
| H A D | TraversalChecker.cpp | 30 void checkBranchCondition(const Stmt *Condition, CheckerContext &C) const; 36 void TraversalDumper::checkBranchCondition(const Stmt *Condition, in checkBranchCondition() argument 40 const Stmt *Parent = dyn_cast<ObjCForCollectionStmt>(Condition); in checkBranchCondition() 43 Parent = Parents.getParent(Condition); in checkBranchCondition()
|
| H A D | TestAfterDivZeroChecker.cpp | 85 void checkBranchCondition(const Stmt *Condition, CheckerContext &C) const; 212 void TestAfterDivZeroChecker::checkBranchCondition(const Stmt *Condition, in checkBranchCondition() argument 214 if (const BinaryOperator *B = dyn_cast<BinaryOperator>(Condition)) { in checkBranchCondition() 230 } else if (const UnaryOperator *U = dyn_cast<UnaryOperator>(Condition)) { in checkBranchCondition() 246 dyn_cast<ImplicitCastExpr>(Condition)) { in checkBranchCondition() 252 SVal Val = C.getSVal(Condition); in checkBranchCondition()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/ |
| H A D | PThreadEvent.cpp | 133 err = ::pthread_cond_timedwait(m_set_condition.Condition(), in WaitForSetEvents() 144 err = ::pthread_cond_wait(m_set_condition.Condition(), m_mutex.Mutex()); in WaitForSetEvents() 174 err = ::pthread_cond_timedwait(m_reset_condition.Condition(), in WaitForEventsToReset() 179 err = ::pthread_cond_wait(m_reset_condition.Condition(), m_mutex.Mutex()); in WaitForEventsToReset()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | RedundantPreprocessorCheck.cpp | 24 std::string Condition; member 41 StringRef Condition = in If() local 44 checkMacroRedundancy(Loc, Condition, IfStack, DK_If, DK_If, true); in If() 80 if (Entry.Condition == MacroName) { in checkMacroRedundancy()
|
| /llvm-project-15.0.7/libc/utils/UnitTest/ |
| H A D | FPMatcher.h | 27 template <typename T, __llvm_libc::testing::TestCondition Condition> 31 static_assert(Condition == __llvm_libc::testing::Cond_EQ || 32 Condition == __llvm_libc::testing::Cond_NE, 44 if (Condition == __llvm_libc::testing::Cond_EQ) in match()
|
| /llvm-project-15.0.7/compiler-rt/lib/gwp_asan/ |
| H A D | utilities.h | 21 GWP_ASAN_ALWAYS_INLINE void Check(bool Condition, const char *Message) { in Check() argument 22 if (Condition) in Check()
|
| /llvm-project-15.0.7/llvm/lib/Target/Lanai/ |
| H A D | LanaiInstrInfo.cpp | 597 Condition.clear(); in analyzeBranch() 620 if (Condition.empty()) { in analyzeBranch() 627 Condition.push_back(MachineOperand::CreateImm(BranchCond)); in analyzeBranch() 643 SmallVectorImpl<llvm::MachineOperand> &Condition) const { in reverseBranchCondition() 644 assert((Condition.size() == 1) && in reverseBranchCondition() 648 static_cast<LPCC::CondCode>(Condition[0].getImm()); in reverseBranchCondition() 649 Condition[0].setImm(getOppositeCondition(BranchCond)); in reverseBranchCondition() 659 ArrayRef<MachineOperand> Condition, in insertBranch() argument 667 if (Condition.empty()) { in insertBranch() 674 assert((Condition.size() == 1) && in insertBranch() [all …]
|
| H A D | LanaiInstrInfo.h | 89 SmallVectorImpl<MachineOperand> &Condition, 137 SmallVectorImpl<MachineOperand> &Condition) const override; 141 ArrayRef<MachineOperand> Condition,
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/ |
| H A D | scudo_termination.cpp | 35 void NORETURN CheckFailed(const char *File, int Line, const char *Condition, in CheckFailed() argument 38 File, Line, Condition, Value1, Value2); in CheckFailed()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/ |
| H A D | CodeViewError.cpp | 23 std::string message(int Condition) const override { in message() 24 switch (static_cast<cv_error_code>(Condition)) { in message()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/DIA/ |
| H A D | DIAError.cpp | 13 std::string message(int Condition) const override { in message() 14 switch (static_cast<dia_error_code>(Condition)) { in message()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/ |
| H A D | GenericError.cpp | 22 std::string message(int Condition) const override { in message() 23 switch (static_cast<pdb_error_code>(Condition)) { in message()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/MSF/ |
| H A D | MSFError.cpp | 23 std::string message(int Condition) const override { in message() 24 switch (static_cast<msf_error_code>(Condition)) { in message()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | RawError.cpp | 14 std::string message(int Condition) const override { in message() 15 switch (static_cast<raw_error_code>(Condition)) { in message()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCPredicates.h | 87 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { in getPredicate() argument 88 return (Predicate)((Condition & ~BR_HINT_MASK) | in getPredicate()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/ |
| H A D | PreferIsaOrDynCastInConditionalsCheck.cpp | 27 auto Condition = hasCondition(implicitCastExpr(has( in registerMatchers() local 41 Condition); in registerMatchers() 58 ifStmt(Any), whileStmt(Any), doStmt(Condition), in registerMatchers()
|
| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | Error.cpp | 159 void CheckAssert(SMLoc Loc, Init *Condition, Init *Message) { in CheckAssert() argument 160 auto *CondValue = dyn_cast_or_null<IntInit>(Condition->convertInitializerTo( in CheckAssert() 161 IntRecTy::get(Condition->getRecordKeeper()))); in CheckAssert()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMWinCOFFStreamer.cpp | 101 void emitARMWinCFIEpilogStart(unsigned Condition) override; 223 void ARMTargetWinCOFFStreamer::emitARMWinCFIEpilogStart(unsigned Condition) { in emitARMWinCFIEpilogStart() argument 231 CurFrame->EpilogMap[CurrentEpilog].Condition = Condition; in emitARMWinCFIEpilogStart()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngine.cpp | 2231 const auto *Ex = dyn_cast<Expr>(Condition); in RecoverCastedSymbol() 2265 while (Condition) { in getRightmostLeaf() 2268 return Condition; in getRightmostLeaf() 2270 Condition = BO->getRHS()->IgnoreParens(); in getRightmostLeaf() 2293 Condition = Ex->IgnoreParens(); in ResolveCondition() 2297 return Condition; in ResolveCondition() 2317 assert(LastStmt == Condition || LastStmt == getRightmostLeaf(Condition)); in ResolveCondition() 2406 assert((!Condition || !isa<CXXBindTemporaryExpr>(Condition)) && in processBranch() 2413 if (!Condition) { in processBranch() 2421 Condition = Ex->IgnoreParens(); in processBranch() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPredication.cpp | 300 unsigned collectChecks(SmallVectorImpl<Value *> &Checks, Value *Condition, 748 Value *Condition, in collectChecks() argument 757 SmallVector<Value *, 4> Worklist(1, Condition); in collectChecks() 761 Value *Condition = Worklist.pop_back_val(); in collectChecks() local 762 if (!Visited.insert(Condition).second) in collectChecks() 767 if (match(Condition, m_And(m_Value(LHS), m_Value(RHS)))) { in collectChecks() 773 if (match(Condition, in collectChecks() 776 WideableCond = Condition; in collectChecks() 780 if (ICmpInst *ICI = dyn_cast<ICmpInst>(Condition)) { in collectChecks() 790 Checks.push_back(Condition); in collectChecks()
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | mutex.h | 69 typedef std::condition_variable Condition; typedef 122 Condition phase_condition_;
|