Home
last modified time | relevance | path

Searched defs:If (Results 1 – 25 of 51) sorted by relevance

123

/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DBoolPointerImplicitConversionCheck.cpp35 const IfStmt *If, in checkImpl()
74 const auto *If = Result.Nodes.getNodeAs<IfStmt>("if"); in check() local
H A DAssignmentInIfConditionCheck.cpp29 bool VisitIfStmt(IfStmt *If) { in check() argument
H A DStandaloneEmptyCheck.cpp51 const auto *If = Nodes.getNodeAs<IfStmt>(NodeId); in getCondition() local
/llvm-project/clang-tools-extra/clang-tidy/readability/
H A DMisleadingIndentationCheck.cpp19 ASTContext *Context, const IfStmt *If) { in getPrecedingIf()
34 const IfStmt *If) { in danglingElseCheck()
131 if (const auto *If = Result.Nodes.getNodeAs<IfStmt>("if")) in check() local
H A DElseAfterReturnCheck.cpp82 static const DeclRefExpr *checkInitDeclUsageInElse(const IfStmt *If) { in checkInitDeclUsageInElse()
99 static const DeclRefExpr *checkConditionVarUsageInElse(const IfStmt *If) { in checkConditionVarUsageInElse()
238 const auto *If = Result.Nodes.getNodeAs<IfStmt>("if"); in check() local
H A DAvoidUnconditionalPreprocessorIfCheck.cpp25 void If(SourceLocation Loc, SourceRange ConditionRange, in If() function
H A DRedundantPreprocessorCheck.cpp37 void If(SourceLocation Loc, SourceRange ConditionRange, in If() function in clang::tidy::readability::__anon04281d140111::RedundantPreprocessorCallbacks
H A DSimplifyBooleanExprCheck.cpp362 bool VisitIfStmt(IfStmt *If) { in VisitIfStmt()
476 auto *If = cast<IfStmt>(*First); in VisitCompoundStmt() local
751 const ASTContext &Context, const IfStmt *If, const Expr *BoolLiteral, in replaceWithReturnCondition()
774 const IfStmt *If, const Expr *ThenReturn) { in replaceCompoundReturnWithCondition()
H A DUseStdMinMaxCheck.cpp155 const auto *If = Result.Nodes.getNodeAs<IfStmt>("if"); check() local
/llvm-project/mlir/lib/Dialect/Affine/Analysis/
H A DNestedMatcher.cpp141 NestedPattern If(const NestedPattern &child) { in If() function
144 NestedPattern If(const FilterFunctionType &filter, const NestedPattern &child) { in If() function
149 NestedPattern If(ArrayRef<NestedPattern> nested) { in If() function
152 NestedPattern If(const FilterFunctionType &filter, in If() function
/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
H A DSwapIfBranches.cpp44 const IfStmt *If = nullptr; member in clang::clangd::__anon1ef8bfe10111::SwapIfBranches
/llvm-project/libcxx/test/tools/clang_tidy_checks/
H A Dproper_version_checks.cpp22 void If(clang::SourceLocation location, clang::SourceRange condition_range, ConditionValueKind) override { in If() function in libcpp::__anon878500850111::proper_version_checks_callbacks
/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp33 if (const auto *If = dyn_cast<IfStmt>(S)) in isSemicolonRequiredAfter() local
/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIOptimizeVGPRLiveRange.cpp223 collectCandidateRegisters(MachineBasicBlock * If,MachineBasicBlock * Flow,MachineBasicBlock * Endif,SmallSetVector<MachineBasicBlock *,16> & ElseBlocks,SmallVectorImpl<Register> & CandidateRegs) const collectCandidateRegisters() argument
401 updateLiveRangeInThenRegion(Register Reg,MachineBasicBlock * If,MachineBasicBlock * Flow) const updateLiveRangeInThenRegion() argument
500 optimizeLiveRange(Register Reg,MachineBasicBlock * If,MachineBasicBlock * Flow,MachineBasicBlock * Endif,SmallSetVector<MachineBasicBlock *,16> & ElseBlocks) const optimizeLiveRange() argument
[all...]
H A DSIAnnotateControlFlow.cpp52 Function *If; global() member in __anon0b4205950111::SIAnnotateControlFlow
/llvm-project/clang/include/clang/AST/
H A DEvaluatedExprVisitor.h109 void VisitIfStmt(PTR(IfStmt) If) { in VisitIfStmt()
/llvm-project/llvm/unittests/Analysis/
H A DPhiValuesTest.cpp34 BasicBlock *If = BasicBlock::Create(C, "if", F); in TEST() local
H A DSparsePropagation.cpp378 BasicBlock *If = BasicBlock::Create(Context, "if", F); TEST_F() local
418 BasicBlock *If = BasicBlock::Create(Context, "if", F); TEST_F() local
/llvm-project/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp75 void PPConditionalDirectiveRecord::If(SourceLocation Loc, in If() function in PPConditionalDirectiveRecord
/llvm-project/clang-tools-extra/unittests/clang-tidy/
H A DReadabilityModuleTest.cpp140 TEST(BracesAroundStatementsCheckTest, If) { in TEST() argument
H A DOverlappingReplacementsTest.cpp50 auto *If = Result.Nodes.getNodeAs<IfStmt>(BoundIf); in check() local
/llvm-project/clang-tools-extra/pseudo/unittests/
H A DDirectiveTreeTest.cpp
/llvm-project/clang/unittests/Format/
H A DFormatTestVerilog.cpp729 TEST_F(FormatTestVerilog,If) TEST_F() argument
/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp581 auto *If = IfStmt::Create(C, SourceLocation(), IfStatementKind::Ordinary, in create_dispatch_once() local
690 auto *If = in create_OSAtomicCompareAndSwap() local
/llvm-project/clang/include/clang/Basic/
H A DOpenACCKinds.h186 If, global() enumerator

123