Searched refs:Condition (Results 26 - 50 of 68) sorted by relevance

123

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1395 Value *Condition = BI->getCondition();
1399 if (Condition == Val) {
1407 Result = getValueFromCondition(Val, Condition, isTrueDest);
1418 if (usesOperand(Usr, Condition)) {
1419 // If Val has Condition as an operand and Val can be folded into a
1420 // constant with either Condition == true or Condition == false,
1424 // %Val = and i1 %Condition, true.
1425 // br %Condition, label %then, label %else
1427 Result = constantFoldUser(Usr, Condition, ConditionVa
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h1408 : Terminator(COP_Branch), Condition(C) {
1414 : Terminator(Br), Condition(C) {
1421 const SExpr *condition() const { return Condition; }
1422 SExpr *condition() { return Condition; }
1437 auto Nc = Vs.traverse(Condition, Vs.subExprCtx(Ctx));
1450 SExpr *Condition; member in class:clang::threadSafety::Branch
1813 : SExpr(COP_IfThenElse), Condition(C), ThenExpr(T), ElseExpr(E) {}
1815 : SExpr(I), Condition(C), ThenExpr(T), ElseExpr(E) {}
1819 SExpr *condition() { return Condition; } // Address to store to
1820 const SExpr *condition() const { return Condition; }
1848 SExpr* Condition; member in class:clang::threadSafety::IfThenElse
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCoreEngine.h528 const Expr *Condition; member in class:clang::ento::SwitchNodeBuilder
534 : Eng(*eng), Src(src), Condition(condition), Pred(pred) {}
570 const Expr *getCondition() const { return Condition; }
H A DExprEngine.h303 void processBranch(const Stmt *Condition,
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DARMWinEH.h281 /// Condition : (ARM only) 4-bit field providing the condition under which the
331 // Condition is only applicable to ARM.
332 uint8_t Condition() const { function in struct:llvm::ARM::WinEH::EpilogueScope
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLocalizationChecker.cpp1245 const Expr *Condition) const {
1248 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Condition)) {
1262 } else if (const BinaryOperator *B = dyn_cast<BinaryOperator>(Condition)) {
1343 const Expr *Condition = I->getCond()->IgnoreParenImpCasts();
1344 if (isCheckingPlurality(Condition)) {
1373 const Expr *Condition = C->getCond()->IgnoreParenImpCasts();
1374 if (isCheckingPlurality(Condition)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp1020 Value *Condition; local
1025 Condition = BI->getCondition();
1027 Condition = SI->getCondition();
1031 Condition = IB->getAddress()->stripPointerCasts();
1039 if (Instruction *I = dyn_cast<Instruction>(Condition)) {
1046 Condition = SimpleVal;
1052 if (isa<UndefValue>(Condition)) {
1077 if (getKnownConstant(Condition, Preference)) {
1086 Instruction *CondInst = dyn_cast<Instruction>(Condition);
1091 if (ProcessThreadableEdges(Condition, B
[all...]
H A DInductiveRangeCheckElimination.cpp340 Value *Condition = ConditionUse.get(); local
341 if (!Visited.insert(Condition).second)
345 if (match(Condition, m_And(m_Value(), m_Value()))) {
346 extractRangeChecksFromCond(L, SE, cast<User>(Condition)->getOperandUse(0),
348 extractRangeChecksFromCond(L, SE, cast<User>(Condition)->getOperandUse(1),
353 ICmpInst *ICI = dyn_cast<ICmpInst>(Condition);
H A DCorrelatedValuePropagation.cpp231 Value *Condition = SI->getCondition(); local
232 if (!Condition->getType()->isVectorTy()) {
234 Condition, P->getIncomingBlock(i), BB, P)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h521 /// successors of this VPBlockBase. \p Condition is set as the successor
525 VPValue *Condition) {
527 assert(Condition && "Setting two successors without condition!");
528 CondBit = Condition;
1564 /// parent to \p IfTrue and \p IfFalse. \p Condition is set as the successor
1568 VPValue *Condition, VPBlockBase *BlockPtr) {
1573 BlockPtr->setTwoSuccessors(IfTrue, IfFalse, Condition);
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2356 llvm::Value *Condition = nullptr;
2359 Condition = EmitX86CpuIs(RO.Conditions.Architecture);
2363 Condition =
2364 Condition ? Builder.CreateAnd(Condition, FeatureCond) : FeatureCond;
2366 return Condition;
2406 llvm::Value *Condition = FormResolverCondition(RO);
2409 if (!Condition) {
2422 Builder.CreateCondBr(Condition, RetBlock, CurBlock);
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp227 return *K == bugreporter::TrackingKind::Condition;
703 if (TKind == bugreporter::TrackingKind::Condition)
1115 if (TKind == bugreporter::TrackingKind::Condition)
1459 if (TKind == TrackingKind::Condition &&
1504 if (TKind == bugreporter::TrackingKind::Condition)
1810 if (const Expr *Condition = NB->getLastCondition()) {
1816 N, Condition, BR, bugreporter::TrackingKind::Condition,
1818 return constructDebugPieceForTrackedCondition(Condition, N, BRC);
2303 // Condition to
[all...]
H A DCallEvent.cpp131 bool CallEvent::hasNonNullArgumentsWithType(bool (*Condition)(QualType)) const {
148 if (Condition(*I))
/freebsd-12-stable/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp87 std::string message(int Condition) const override {
88 switch (static_cast<index_error_code>(Condition)) {
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DChecker.h272 static void _checkBranchCondition(void *checker, const Stmt *Condition, argument
274 ((const CHECKER *)checker)->checkBranchCondition(Condition, C);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollPeel.cpp186 Value *Condition = BI->getCondition();
189 if (!match(Condition, m_ICmp(Pred, m_Value(LeftVal), m_Value(RightVal))))
H A DPredicateInfo.cpp841 << " Comparison:" << *PB->Condition << " Edge: [";
855 << " Comparison:" << *PA->Condition << " }\n";
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h431 /// Condition of the 'if' clause.
432 Stmt *Condition = nullptr; member in class:clang::OMPIfClause
444 void setCondition(Expr *Cond) { Condition = Cond; }
459 /// \param Cond Condition of the clause.
473 LParenLoc(LParenLoc), Condition(Cond), ColonLoc(ColonLoc),
493 Expr *getCondition() const { return cast_or_null<Expr>(Condition); }
501 child_range children() { return child_range(&Condition, &Condition + 1); }
504 return const_child_range(&Condition, &Condition
532 Stmt *Condition = nullptr; member in class:clang::OMPFinalClause
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitors.h99 Condition
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DEarlyIfConversion.cpp339 auto Condition = Cond; local
341 TII->reverseBranchCondition(Condition);
348 TII->PredicateInstruction(*I, Condition);
851 LLVM_DEBUG(dbgs() << "Condition adds " << Extra << " cycles.\n");
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp755 std::unique_ptr<PredicateMatcher> Condition = nullptr; member in class:__anon5929::SwitchMatcher
5572 for (auto &Condition : Conditions)
5573 Condition->emitPredicateOpcodes(
5638 assert(Condition == nullptr && "Already finalized");
5648 Condition = Matchers[0]->popFirstCondition();
5657 if (const auto *Condition = dyn_cast<InstructionOpcodeMatcher>(&P)) {
5659 << MatchTable::IntValue(Condition->getInsnVarID());
5662 if (const auto *Condition = dyn_cast<LLTOperandMatcher>(&P)) {
5664 << MatchTable::IntValue(Condition->getInsnVarID())
5666 << MatchTable::IntValue(Condition
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp241 return child_range(&Condition, &Condition + 1);
259 return child_range(&Condition, &Condition + 1);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp46 std::string message(int Condition) const override {
47 switch (static_cast<RuntimeDyldErrorCode>(Condition)) {
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2156 ISD::CondCode Condition; member in class:llvm::CondCodeSDNode
2160 Condition(Cond) {}
2163 ISD::CondCode get() const { return Condition; }
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4473 const Expr *const Condition = Node.getCond(); local
4474 return (Condition != nullptr &&
4475 InnerMatcher.matches(*Condition, Finder, Builder));

Completed in 310 milliseconds

123