HomeSort by: relevance | last modified time | path
    Searched defs:Condition (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
GuardUtils.cpp 23 Value *Condition, *WidenableCondition;
25 return parseWidenableBranch(U, Condition, WidenableCondition, GuardedBB,
30 Value *Condition, *WidenableCondition;
32 if (!parseWidenableBranch(U, Condition, WidenableCondition, GuardedBB,
44 bool llvm::parseWidenableBranch(const User *U, Value *&Condition,
51 Condition = C->get();
53 Condition = ConstantInt::getTrue(IfTrueBB->getContext());
  /src/external/gpl3/gcc.old/dist/gcc/d/dmd/
cond.h 32 class Condition : public ASTNode
38 virtual Condition *syntaxCopy() = 0;
58 class DVCondition : public Condition
90 class StaticIfCondition : public Condition
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
mutex.h 69 typedef std::condition_variable Condition;
122 Condition phase_condition_;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
PredicateInfo.h 18 /// propagate condition based info into the operations that may be affected.
87 // The renamed operand in the condition used for this predicate. For nested
91 // The condition associated with this predicate.
92 Value *Condition;
103 /// Fetch condition in the form of PredicateConstraint, if possible.
107 PredicateBase(PredicateType PT, Value *Op, Value *Condition)
108 : Type(PT), OriginalOp(Op), Condition(Condition) {}
117 PredicateAssume(Value *Op, IntrinsicInst *AssumeInst, Value *Condition)
118 : PredicateBase(PT_Assume, Op, Condition), AssumeInst(AssumeInst) {
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
mutex.h 69 typedef std::condition_variable Condition;
122 Condition phase_condition_;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
ARMWinEH.h 363 /// Condition : (ARM only) 4-bit field providing the condition under which the
413 // Condition is only applicable to ARM.
414 uint8_t Condition() const {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
ConstraintElimination.cpp 124 /// Turn a condition \p CmpI into a vector of constraints, using indices from \p
213 /// Represents either a condition that holds on entry to a block or a basic
222 CmpInst *Condition;
228 ConstraintOrBlock(DomTreeNode *DTN, CmpInst *Condition, bool Not)
230 Not(Not), Condition(Condition) {}
236 CmpInst *Condition;
239 StackEntry(unsigned NumIn, unsigned NumOut, CmpInst *Condition, bool IsNot)
240 : NumIn(NumIn), NumOut(NumOut), Condition(Condition), IsNot(IsNot) {
    [all...]
LoopPredication.cpp 25 // After this transformation the condition of the guard is loop invariant, so
26 // loop-unswitch can later unswitch the loop by this condition which basically
27 // predicates the loop by the widened condition:
45 // monotonic. Given a monotonic condition it's tempting to replace the induction
46 // variable in the condition with its value on the last iteration. But this
79 // By the definition of guards we can rewrite the guard condition to:
84 // And the condition above can be simplified to G(Start) && M.
92 // B(I) is true because it's the backedge condition.
93 // G(I) is true because the backedge is guarded by this condition.
97 // Note that we can use anything stronger than M, i.e. any condition whic
    [all...]
CorrelatedValuePropagation.cpp 222 // Look if the incoming value is a select with a scalar condition for which
230 Value *Condition = SI->getCondition();
231 if (!Condition->getType()->isVectorTy()) {
233 Condition, P->getIncomingBlock(i), BB, P)) {
357 // The condition can be modified by removePredecessor's PHI simplification
369 // unconditional branch by replacing the switch condition with the case
InductiveRangeCheckElimination.cpp 125 "with narrow latch condition."));
140 /// 2. a condition that is provably true for some contiguous range of values
209 /// This is the value the condition of the branch needs to evaluate to for the
358 Value *Condition = ConditionUse.get();
359 if (!Visited.insert(Condition).second)
363 if (match(Condition, m_LogicalAnd(m_Value(), m_Value()))) {
364 extractRangeChecksFromCond(L, SE, cast<User>(Condition)->getOperandUse(0),
366 extractRangeChecksFromCond(L, SE, cast<User>(Condition)->getOperandUse(1),
371 ICmpInst *ICI = dyn_cast<ICmpInst>(Condition);
1640 // values, depending on type of latch condition that defines IV iteratio
    [all...]
JumpThreading.cpp 101 "condition to use to thread over a weaker condition"),
111 cl::desc("Freeze the condition when unfolding select"), cl::init(false),
619 /// terminator with the given value as its condition, and if so what value to
953 // and we can figure out the condition value for any predecessor block.
963 // Figure out what value to use for the condition.
969 assert(isa<UndefValue>(Cond) && "Unexpected condition value");
1040 // because now the condition in this block can be threaded through
1057 Value *Condition;
1062 Condition = BI->getCondition()
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
CoreEngine.h 528 const Expr *Condition;
533 const Expr *condition, CoreEngine* eng)
534 : Eng(*eng), Src(src), Condition(condition), Pred(pred) {}
570 const Expr *getCondition() const { return Condition; }
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Syntax/
Nodes.h 11 // a way to get its condition, then and else branches, tokens for 'if' and
97 Condition,
271 /// FIXME: add condition that models 'expression or variable declaration'
379 /// static_assert(<condition>, <message>)
380 /// static_assert(<condition>)
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
CheckerManager.cpp 472 const Stmt *Condition;
477 : Checkers(checkers), Condition(Cond), Eng(eng) {}
484 ProgramPoint L = PostCondition(Condition, Pred->getLocationContext(),
487 checkFn(Condition, C);
493 /// Run checkers for branch condition.
494 void CheckerManager::runCheckersForBranchCondition(const Stmt *Condition,
500 CheckBranchConditionContext C(BranchConditionCheckers, Condition, Eng);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
EarlyIfConversion.cpp 125 /// The branch condition determined by analyzeBranch.
154 /// Predicate all instructions of the basic block with current condition
155 /// except for terminators. Reverse the condition if ReversePredicate is set.
341 auto Condition = Cond;
343 TII->reverseBranchCondition(Condition);
350 TII->PredicateInstruction(*I, Condition);
937 // The condition is pulled into the critical path.
941 LLVM_DEBUG(dbgs() << "Condition adds " << Extra << " cycles.\n");
987 R << "performing if-conversion on branch: the condition adds "
1003 R << "did not if-convert branch: the condition would add
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
BasicBlockUtils.cpp 1493 // reality, we could transform this case, but since the condition will be
1505 // doesn't have incoming edges from other blocks. If it does, the condition
1593 // block in the hub. The condition of the original terminator (if it
1595 // tuple <condition, succ0, succ1>. The function additionally filters
1598 // - condition is non-null iff the branch is conditional.
1600 // - Succ2 is non-null iff condition is non-null and the fallthrough
1606 auto Condition = Branch->isConditional() ? Branch->getCondition() : nullptr;
1630 return std::make_tuple(Condition, Succ0, Succ1);
1664 Value *Condition;
1667 std::tie(Condition, Succ0, Succ1)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
ThreadSafetyTIL.h 1410 : Terminator(COP_Branch), Condition(C) {
1416 : Terminator(Br), Condition(C) {
1423 const SExpr *condition() const { return Condition; } function in class:clang::threadSafety::Branch
1424 SExpr *condition() { return Condition; } function in class:clang::threadSafety::Branch
1439 auto Nc = Vs.traverse(Condition, Vs.subExprCtx(Ctx));
1452 SExpr *Condition;
1815 : SExpr(COP_IfThenElse), Condition(C), ThenExpr(T), ElseExpr(E) {}
1817 : SExpr(I), Condition(C), ThenExpr(T), ElseExpr(E) {
1821 SExpr *condition() { return Condition; } \/\/ Address to store to function in class:clang::threadSafety::IfThenElse
1822 const SExpr *condition() const { return Condition; } function in class:clang::threadSafety::IfThenElse
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenFunction.cpp 1512 /// Determine whether the given condition is an instrumentable condition
1516 // condition contains any other logical operator.
1527 /// operator opcode. This is used to instrument branch condition coverage for
1546 // means we need to evaluate the condition and increment the counter on TRUE:
1564 // we need to evaluate the condition and increment the counter on FALSE:
1583 // Emit Branch based on condition.
1596 /// EmitBranchOnBoolExpr - Emit a branch on a boolean condition (e.g. for an if
1597 /// statement) to the specified blocks. Based on the condition, this might try
1609 // Handle X && Y in a condition
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
Record.h 925 /// Selects the first value for which condition is true.
958 assert(Num < NumConds && "Condition number out of range!");
1476 Init *Condition;
1481 AssertionInfo(SMLoc Loc, Init *Condition, Init *Message)
1482 : Loc(Loc), Condition(Condition), Message(Message) {}
1626 void addAssertion(SMLoc Loc, Init *Condition, Init *Message) {
1627 Assertions.push_back(AssertionInfo(Loc, Condition, Message));
  /src/external/apache2/llvm/dist/llvm/lib/TableGen/
TGParser.cpp 371 CheckAssert(E.Assertion->Loc, E.Assertion->Condition, E.Assertion->Message);
435 Init *Condition = E.Assertion->Condition->resolveReferences(R);
440 E.Assertion->Loc, Condition, Message));
442 CheckAssert(E.Assertion->Loc, Condition, Message);
2001 TokError("expected ':' following a condition in !cond operator");
2020 TokError("there should be at least 1 'condition : value' in the !cond operator");
3194 Init *Condition = ParseValue(nullptr);
3195 if (!Condition)
3204 // loop, over a list of length 0 or 1 depending on the condition, and with n
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseOpenMP.cpp 1007 // If we make it here the property, selector, set, score, condition, ... are
1174 ExprResult Condition = ParseOpenMPParensExpr("user condition", RLoc);
1175 if (!Condition.isUsable())
1177 TISelector.ScoreOrCondition = Condition.get();
1179 {TraitProperty::user_condition_unknown, "<condition>"});
1465 // TODO: Perform some kind of equivalence check on the condition and score
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
IRTranslator.cpp 368 // If the leaf of the tree is a comparison, merge the condition into
371 CmpInst::Predicate Condition;
373 Condition = InvertCond ? IC->getInversePredicate() : IC->getPredicate();
376 Condition = InvertCond ? FC->getInversePredicate() : FC->getPredicate();
379 SwitchCG::CaseBlock CB(Condition, false, BOp->getOperand(0),
480 // Emit the LHS condition.
487 // Emit the RHS condition into TmpBB.
513 // Emit the LHS condition.
520 // Emit the RHS condition into TmpBB.
574 // If this condition is one of the special cases we handle, do special stuf
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/
GlobalISelEmitter.cpp 733 "Trying to pop a condition from a condition-less group");
740 "Trying to get a condition from a condition-less group");
747 /// analyzing its first condition.
759 /// The representative condition, with a type and a path (InsnVarID and OpIdx
761 std::unique_ptr<PredicateMatcher> Condition = nullptr;
784 // SwitchMatcher doesn't have a common first condition for its cases, as all
787 llvm_unreachable("Trying to pop a condition from a condition-less group")
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
OpenMPClause.h 428 /// condition 'a > 5' and directive name modifier 'parallel'.
435 /// Condition of the 'if' clause.
436 Stmt *Condition = nullptr;
447 /// Set condition.
448 void setCondition(Expr *Cond) { Condition = Cond; }
460 /// Build 'if' clause with condition \a Cond.
463 /// \param Cond Condition of the clause.
464 /// \param HelperCond Helper condition for the clause.
477 OMPClauseWithPreInit(this), LParenLoc(LParenLoc), Condition(Cond),
497 /// Returns condition
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
SelectionDAGNodes.h 2184 ISD::CondCode Condition;
2188 Condition(Cond) {}
2191 ISD::CondCode get() const { return Condition; }

Completed in 73 milliseconds

1 2