Home
last modified time | relevance | path

Searched refs:Left (Results 1 – 25 of 123) sorted by relevance

12345

/llvm-project-15.0.7/polly/include/polly/Support/
H A DISLOperators.h23 return Left.add(Right);
28 return Left.add(Right);
33 return Left.add(Right);
40 return Left.add(Right);
47 return Left.add(Right);
54 return Left.mul(Right);
59 return Left.mul(Right);
64 return Left.mul(Right);
71 return Left.mul(Right);
78 return Left.mul(Right);
[all …]
/llvm-project-15.0.7/clang/lib/Format/
H A DTokenAnnotator.cpp55 if (Left->Previous && Left->Previous->is(tok::greater) && in isLambdaParameterList()
58 Left = Left->Previous->MatchingParen; in isLambdaParameterList()
62 return Left->Previous && Left->Previous->is(tok::r_square) && in isLambdaParameterList()
3176 if (Left.is(tok::l_paren) && Left.Previous && in splitPenalty()
3349 return Left.Tok.isLiteral() || (Left.is(tok::identifier) && Left.Previous && in spaceRequiredBetween()
3439 return Left.Previous && !Left.Previous->isOneOf( in spaceRequiredBetween()
3443 if (Left.is(tok::ellipsis) && Left.Previous && in spaceRequiredBetween()
3902 (Left.is(Keywords.kw_of) && Left.Previous && in spaceRequiredBefore()
3916 if (Left.is(tok::kw_default) && Left.Previous && in spaceRequiredBefore()
4403 if ((Left.is(tok::l_brace) || (Left.is(tok::less) && Left.Previous && in mustBreakBefore()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DAttrIterator.h84 friend bool operator==(specific_attr_iterator Left,
86 assert((Left.Current == nullptr) == (Right.Current == nullptr));
87 if (Left.Current < Right.Current)
88 Left.AdvanceToNext(Right.Current);
90 Right.AdvanceToNext(Left.Current);
91 return Left.Current == Right.Current;
93 friend bool operator!=(specific_attr_iterator Left,
95 return !(Left == Right);
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dtemp-param-subst-linear.cpp24 using Left = TypeList<L<0>...>; typedef
46 using Left = SplitAtIndex<Ints, Size<Ints> / 2>::Left; typedef
48 static_assert(Size<Left> == 8192);
56 using Ints = Concat<Left, Right>::type;
/llvm-project-15.0.7/llvm/tools/llvm-xray/
H A Dtrie-node.h49 mergeTrieNodes(const TrieNode<T> &Left, const TrieNode<T> &Right, in mergeTrieNodes() argument
56 assert(Left.FuncId == Right.FuncId); in mergeTrieNodes()
58 Left.FuncId, NewParent, {}, MergeFn(Left.ExtraData, Right.ExtraData)}); in mergeTrieNodes()
64 for (auto *Callee : Left.Callees) { in mergeTrieNodes()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DFormatAdapters.h44 size_t Left; variable
48 PadAdapter(T &&Item, size_t Left, size_t Right) in PadAdapter() argument
49 : FormatAdapter<T>(std::forward<T>(Item)), Left(Left), Right(Right) {} in PadAdapter()
53 Stream.indent(Left); in format()
92 detail::PadAdapter<T> fmt_pad(T &&Item, size_t Left, size_t Right) { in fmt_pad() argument
93 return detail::PadAdapter<T>(std::forward<T>(Item), Left, Right); in fmt_pad()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmicrosoft-abi-multiple-nonvirtual-inheritance.cpp3 struct Left { struct
11 struct ChildNoOverride : Left, Right {
14 struct ChildOverride : Left, Right {
160 Left l; in emit_ctors()
H A Dmicrosoft-abi-this-nullable.cpp4 struct Left { struct
12 struct ChildNoOverride : Left, Right {
15 struct ChildOverride : Left, Right {
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfileGenerator.h274 int32_t Left = Right; variable
275 while (Left >= LeftBoundary && Context[Left] == Context[Left + I]) {
278 Left--;
281 bool DuplicationFound = (Left < LeftBoundary);
289 std::copy(BeginIter + Right + 1, BeginIter + Left + I + 1,
291 End += Left + I - Right;
293 Right = Left + I;
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Deasily-swappable-parameters-len3.cpp12 int add(int Left, int Right) { return Left + Right; } // NO-WARN: Only 2 parameters. in add() argument
14 int magic(int Left, int Right, int X, int Y) { return 0; } in magic() argument
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp55 Left->Profile(LeftID); in areEquivalentNameSpecifier()
61 if (!Left || !Right) in areEquivalentExpr()
62 return !Left && !Right; in areEquivalentExpr()
64 Left = Left->IgnoreParens(); in areEquivalentExpr()
68 if (Left->getStmtClass() != Right->getStmtClass()) in areEquivalentExpr()
85 switch (Left->getStmtClass()) { in areEquivalentExpr()
102 return cast<StringLiteral>(Left)->getBytes() == in areEquivalentExpr()
115 return cast<DeclRefExpr>(Left)->getDecl() == in areEquivalentExpr()
121 return cast<CXXFoldExpr>(Left)->getOperator() == in areEquivalentExpr()
134 return cast<UnaryOperator>(Left)->getOpcode() == in areEquivalentExpr()
[all …]
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DMemorySSATest.cpp88 B.SetInsertPoint(Left); in TEST_F()
126 B.SetInsertPoint(Left, Left->begin()); in TEST_F()
128 B.SetInsertPoint(Left); in TEST_F()
161 B.SetInsertPoint(Left, Left->begin()); in TEST_F()
216 B.SetInsertPoint(Left, Left->begin()); in TEST_F()
218 B.SetInsertPoint(Left); in TEST_F()
226 B.SetInsertPoint(Left, Left->begin()); in TEST_F()
260 B.SetInsertPoint(Left, Left->begin()); in TEST_F()
262 B.SetInsertPoint(Left); in TEST_F()
268 B.SetInsertPoint(Left, Left->begin()); in TEST_F()
[all …]
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp123 gtestComparisonInternal(MacroType Macro, GtestCmp Cmp, StatementMatcher Left, in gtestComparisonInternal() argument
126 callee(getComparisonDecl(Cmp)), hasArgument(2, Left), in gtestComparisonInternal()
191 internal::BindableMatcher<Stmt> gtestAssert(GtestCmp Cmp, StatementMatcher Left, in gtestAssert() argument
193 return gtestComparisonInternal(MacroType::Assert, Cmp, Left, Right); in gtestAssert()
196 internal::BindableMatcher<Stmt> gtestExpect(GtestCmp Cmp, StatementMatcher Left, in gtestExpect() argument
198 return gtestComparisonInternal(MacroType::Expect, Cmp, Left, Right); in gtestExpect()
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/
H A Dswp-max.ll6 define i32 @test(i32 %Left, i32 %Right) {
8 %add = add nsw i32 %Right, %Left
10 %cmp9 = icmp slt i32 %div, %Left
33 %cmp = icmp slt i32 %dec, %Left
/llvm-project-15.0.7/lldb/source/Utility/
H A DTildeExpressionResolver.cpp84 StringRef Left = in ResolveFullPath() local
87 if (!ResolveExact(Left, Output)) { in ResolveFullPath()
92 Output.append(Expr.begin() + Left.size(), Expr.end()); in ResolveFullPath()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-purity.cpp26 void PurityChecker::Leave(const parser::SubroutineSubprogram &) { Left(); } in Leave()
34 void PurityChecker::Leave(const parser::FunctionSubprogram &) { Left(); } in Leave()
67 void PurityChecker::Left() { in Left() function in Fortran::semantics::PurityChecker
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DInefficientAlgorithmCheck.cpp20 static bool areTypesCompatible(QualType Left, QualType Right) { in areTypesCompatible() argument
21 if (const auto *LeftRefType = Left->getAs<ReferenceType>()) in areTypesCompatible()
22 Left = LeftRefType->getPointeeType(); in areTypesCompatible()
25 return Left->getCanonicalTypeUnqualified() == in areTypesCompatible()
/llvm-project-15.0.7/libcxxabi/test/
H A Ddynamic_cast.pass.cpp86 struct Left : Class6 { Pad4 _; }; struct
88 struct Main : Left, Right { Pad6 _; };
98 assert(dynamic_cast<Left*>(c1) == static_cast<Left*>(&m)); in test()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DFixItHintUtils.h26 Left, // Add the qualifier always to the left side, if that is possible. enumerator
48 QualifierPolicy CP = QualifierPolicy::Left);
H A DFixItHintUtils.cpp87 case QualifierPolicy::Left: in changeValue()
127 if (QualPolicy == QualifierPolicy::Left) in changePointer()
169 if (QualPolicy == QualifierPolicy::Left && isValueType(Pointee)) in changeReferencee()
189 assert((QualPolicy == QualifierPolicy::Left || in addQualifierToVarDecl()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp175 if (N->Left) in update()
596 if (N->Left) in dump()
597 dump(N->Left); in dump()
606 order(N->Left, Seq); in order()
633 N->Left = add(N->Left, R); in add()
645 N->Left = remove(N->Left, D); in remove()
654 return (N->Left == nullptr) ? N->Right : N->Left; in remove()
658 Node *M = N->Left; in remove()
661 M->Left = remove(N->Left, M); in remove()
674 Higher->Right = Lower->Left; in rotateLeft()
[all …]
/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DParsing.cpp222 auto Left = ParseElement(P->State); in parsePair() local
223 if (!Left) in parsePair()
224 return Left.takeError(); in parsePair()
226 P = parseChar(',', Left->State); in parsePair()
239 Op(std::move(Left->Value), std::move(Right->Value))); in parsePair()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp82 CharUnits Left = RegionSize - TypeSize; in evenFlexibleArraySize() local
83 if (Left.isNegative()) in evenFlexibleArraySize()
86 return Left % FlexSize == 0; in evenFlexibleArraySize()
/llvm-project-15.0.7/llvm/test/tools/llvm-rc/Inputs/
H A Dtag-dialog.rc4 LTEXT "Left text", 1, 0, 0, 50, 10
6 LTEXT "Left text 2", 3, 24, 0, 50, 10, 0xBADCAFE, 0xBAD00BAD
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DGtestMatchers.h45 internal::BindableMatcher<Stmt> gtestAssert(GtestCmp Cmp, StatementMatcher Left,
54 internal::BindableMatcher<Stmt> gtestExpect(GtestCmp Cmp, StatementMatcher Left,

12345