Searched refs:Condition (Results 1 - 25 of 68) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCodeViewError.cpp23 std::string message(int Condition) const override {
24 switch (static_cast<cv_error_code>(Condition)) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMSFError.cpp23 std::string message(int Condition) const override {
24 switch (static_cast<msf_error_code>(Condition)) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIAError.cpp14 std::string message(int Condition) const override {
15 switch (static_cast<dia_error_code>(Condition)) {
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_termination.cpp35 void NORETURN CheckFailed(const char *File, int Line, const char *Condition, argument
38 File, Line, Condition, Value1, Value2);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DGenericError.cpp23 std::string message(int Condition) const override {
24 switch (static_cast<pdb_error_code>(Condition)) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DRawError.cpp15 std::string message(int Condition) const override {
16 switch (static_cast<raw_error_code>(Condition)) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DGuardUtils.cpp23 Value *Condition, *WidenableCondition; local
25 return parseWidenableBranch(U, Condition, WidenableCondition, GuardedBB,
30 Value *Condition, *WidenableCondition; local
32 if (!parseWidenableBranch(U, Condition, WidenableCondition, GuardedBB,
44 bool llvm::parseWidenableBranch(const User *U, Value *&Condition, argument
51 Condition = C->get();
53 Condition = ConstantInt::getTrue(IfTrueBB->getContext());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCPredicates.h87 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { argument
88 return (Predicate)((Condition & ~BR_HINT_MASK) |
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUndefBranchChecker.cpp54 void checkBranchCondition(const Stmt *Condition, CheckerContext &Ctx) const;
59 void UndefBranchChecker::checkBranchCondition(const Stmt *Condition, argument
61 SVal X = Ctx.getSVal(Condition);
86 const Expr *Ex = cast<Expr>(Condition);
H A DTraversalChecker.cpp30 void checkBranchCondition(const Stmt *Condition, CheckerContext &C) const;
36 void TraversalDumper::checkBranchCondition(const Stmt *Condition, argument
40 const Stmt *Parent = dyn_cast<ObjCForCollectionStmt>(Condition);
43 Parent = Parents.getParent(Condition);
H A DTestAfterDivZeroChecker.cpp85 void checkBranchCondition(const Stmt *Condition, CheckerContext &C) const;
212 void TestAfterDivZeroChecker::checkBranchCondition(const Stmt *Condition, argument
214 if (const BinaryOperator *B = dyn_cast<BinaryOperator>(Condition)) {
230 } else if (const UnaryOperator *U = dyn_cast<UnaryOperator>(Condition)) {
246 dyn_cast<ImplicitCastExpr>(Condition)) {
252 SVal Val = C.getSVal(Condition);
H A DCheckerDocumentation.cpp127 void checkBranchCondition(const Stmt *Condition, CheckerContext &Ctx) const {} argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DGuardUtils.h41 /// the parameters (Condition, WidenableCondition, IfTrueBB and IfFalseFF)
43 bool parseWidenableBranch(const User *U, Value *&Condition,
48 /// modified. Unlike previous version, Condition is optional and may be null.
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h117 Value *Condition; member in class:llvm::PredicateWithCondition
124 PredicateWithCondition(PredicateType PT, Value *Op, Value *Condition) argument
125 : PredicateBase(PT, Op), Condition(Condition) {}
134 PredicateAssume(Value *Op, IntrinsicInst *AssumeInst, Value *Condition) argument
135 : PredicateWithCondition(PT_Assume, Op, Condition),
167 Value *Condition, bool TakenEdge)
168 : PredicateWithEdge(PT_Branch, Op, BranchBB, SplitBB, Condition),
166 PredicateBranch(Value *Op, BasicBlock *BranchBB, BasicBlock *SplitBB, Value *Condition, bool TakenEdge) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.h88 SmallVectorImpl<MachineOperand> &Condition,
136 SmallVectorImpl<MachineOperand> &Condition) const override;
140 ArrayRef<MachineOperand> Condition,
H A DLanaiInstrInfo.cpp370 // Condition code is after the operand before SR.
447 // 3: Condition code.
565 SmallVectorImpl<MachineOperand> &Condition,
601 Condition.clear();
624 if (Condition.empty()) {
631 Condition.push_back(MachineOperand::CreateImm(BranchCond));
647 SmallVectorImpl<llvm::MachineOperand> &Condition) const {
648 assert((Condition.size() == 1) &&
652 static_cast<LPCC::CondCode>(Condition[0].getImm());
653 Condition[
562 analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TrueBlock, MachineBasicBlock *&FalseBlock, SmallVectorImpl<MachineOperand> &Condition, bool AllowModify) const argument
660 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TrueBlock, MachineBasicBlock *FalseBlock, ArrayRef<MachineOperand> Condition, const DebugLoc &DL, int *BytesAdded) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBSymbol.h59 #define DECLARE_PDB_SYMBOL_CUSTOM_TYPE(Condition) \
65 static bool classof(const PDBSymbol *S) { return Condition; }
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dreport.cpp41 const char *Condition, u64 Value1, u64 Value2) {
48 Report.append("CHECK failed @ %s:%d %s (%llu, %llu)\n", File, Line, Condition,
40 reportCheckFailed(const char *File, int Line, const char *Condition, u64 Value1, u64 Value2) argument
H A Dinternal_defs.h82 const char *Condition, u64 Value1, u64 Value2);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp298 unsigned collectChecks(SmallVectorImpl<Value *> &Checks, Value *Condition,
738 Value *Condition,
747 SmallVector<Value *, 4> Worklist(1, Condition);
751 Value *Condition = Worklist.pop_back_val(); local
752 if (!Visited.insert(Condition).second)
757 if (match(Condition, m_And(m_Value(LHS), m_Value(RHS)))) {
763 if (match(Condition,
766 WideableCond = Condition;
770 if (ICmpInst *ICI = dyn_cast<ICmpInst>(Condition)) {
780 Checks.push_back(Condition);
737 collectChecks(SmallVectorImpl<Value *> &Checks, Value *Condition, SCEVExpander &Expander, Instruction *Guard) argument
[all...]
H A DStructurizeCFG.cpp219 Value *invert(Value *Condition);
405 Value *StructurizeCFG::invert(Value *Condition) { argument
407 if (Constant *C = dyn_cast<Constant>(Condition))
412 if (match(Condition, m_Not(m_Value(NotCondition))))
415 if (Instruction *Inst = dyn_cast<Instruction>(Condition)) {
418 for (User *U : Condition->users())
420 if (I->getParent() == Parent && match(I, m_Not(m_Specific(Condition))))
424 return BinaryOperator::CreateNot(Condition, "", Parent->getTerminator());
427 if (Argument *Arg = dyn_cast<Argument>(Condition)) {
429 return BinaryOperator::CreateNot(Condition,
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp35 std::string message(int Condition) const override {
36 switch (static_cast<JITLinkErrorCode>(Condition)) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2001 /// This function returns the SVal bound to Condition->IgnoreCasts if all the
2004 const Stmt *Condition,
2008 const auto *Ex = dyn_cast<Expr>(Condition);
2041 static const Stmt *getRightmostLeaf(const Stmt *Condition) { argument
2042 while (Condition) {
2043 const auto *BO = dyn_cast<BinaryOperator>(Condition);
2045 return Condition;
2047 Condition = BO->getRHS()->IgnoreParens();
2057 // given 'Condition'.
2067 static const Stmt *ResolveCondition(const Stmt *Condition, argument
2003 RecoverCastedSymbol(ProgramStateRef state, const Stmt *Condition, const LocationContext *LCtx, ASTContext &Ctx) argument
2100 processBranch(const Stmt *Condition, NodeBuilderContext& BldCtx, ExplodedNode *Pred, ExplodedNodeSet &Dst, const CFGBlock *DstT, const CFGBlock *DstF) argument
[all...]
H A DCheckerManager.cpp472 const Stmt *Condition; member in struct:__anon881::CheckBranchConditionContext
477 : Checkers(checkers), Condition(Cond), Eng(eng) {}
484 ProgramPoint L = PostCondition(Condition, Pred->getLocationContext(),
487 checkFn(Condition, C);
494 void CheckerManager::runCheckersForBranchCondition(const Stmt *Condition, argument
500 CheckBranchConditionContext C(BranchConditionCheckers, Condition, Eng);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSubEngine.h75 virtual void processBranch(const Stmt *Condition,

Completed in 303 milliseconds

123