Home
last modified time | relevance | path

Searched refs:Right (Results 1 – 25 of 153) sorted by relevance

1234567

/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.cpp3062 if (Right.is(tok::identifier) && Right.Next && Right.Next->is(TT_DictLiteral)) in splitPenalty()
3413 if (Right.is(tok::l_brace) && Right.is(BK_Block)) in spaceRequiredBetween()
3531 (Right.is(tok::r_brace) && Right.MatchingParen && in spaceRequiredBetween()
3664 if (Right.is(tok::r_brace) && Right.MatchingParen && in spaceRequiredBetween()
3672 (!Right.Next || Right.Next->is(tok::semi))) { in spaceRequiredBetween()
4201 if (Right.Next && Right.Next->is(TT_FatArrow) && in mustBreakBefore()
4512 Right.is(TT_SelectorName) && !Right.is(tok::r_square) && Right.Next) { in mustBreakBefore()
4786 if (Right.is(tok::r_square) && Right.MatchingParen && in canBreakBefore()
4790 if (Right.is(TT_SelectorName) || (Right.is(tok::identifier) && Right.Next && in canBreakBefore()
4849 if (Right.is(tok::r_square) && Right.MatchingParen && in canBreakBefore()
[all …]
H A DTokenAnnotator.h174 bool spaceRequiredBeforeParens(const FormatToken &Right) const;
177 const FormatToken &Right) const;
180 const FormatToken &Right) const;
183 const FormatToken &Right) const;
186 const FormatToken &Right) const;
/llvm-project-15.0.7/clang/include/clang/AST/
H A DAttrIterator.h85 specific_attr_iterator Right) {
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;
94 specific_attr_iterator Right) {
95 return !(Left == Right);
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmicrosoft-abi-multiple-nonvirtual-inheritance.cpp7 struct Right { struct
11 struct ChildNoOverride : Left, Right {
14 struct ChildOverride : Left, Right {
166 Right r; in emit_ctors()
200 struct AsymmetricChild : LeftWithNonVirtualDtor, Right {
H A Dmicrosoft-abi-this-nullable.cpp8 struct Right { struct
12 struct ChildNoOverride : Left, Right {
15 struct ChildOverride : Left, Right {
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dtemp-param-subst-linear.cpp25 using Right = TypeList<R<0>...>; typedef
47 using Right = SplitAtIndex<Ints, Size<Ints> / 2>::Right; typedef
49 static_assert(Size<Right> == 8192);
56 using Ints = Concat<Left, Right>::type;
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfileGenerator.h253 int32_t Right = I - 1; variable
256 while (Right + I < Context.size()) {
274 int32_t Left = Right;
283 LeftBoundary = Right + 1;
286 Right += I;
289 std::copy(BeginIter + Right + 1, BeginIter + Left + I + 1,
291 End += Left + I - Right;
293 Right = Left + I;
297 std::copy(BeginIter + Right + 1, Context.end(), BeginIter + End);
298 End += Context.size() - Right - 1;
/llvm-project-15.0.7/llvm/lib/Support/
H A DFormatVariadic.cpp20 return AlignStyle::Right; in translateLocChar()
29 Where = AlignStyle::Right; in consumeFieldLayout()
65 AlignStyle Where = AlignStyle::Right; in parseReplacementItem()
107 StringRef Right = Fmt.drop_front(NumEscapedBraces * 2); in splitLiteralAndReplacement() local
108 return std::make_pair(ReplacementItem{Middle}, Right); in splitLiteralAndReplacement()
130 StringRef Right = Fmt.substr(BC + 1); in splitLiteralAndReplacement() local
134 return std::make_pair(*RI, Right); in splitLiteralAndReplacement()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DFormatAdapters.h45 size_t Right; 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()
55 Stream.indent(Right); 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-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/test/clang-tidy/checkers/modernize/
H A Dloop-convert-const.cpp37 ModifiesRightSide Right[N], OtherRight; variable
57 if (Right[I] < OtherRight) in memberFunctionsAndOperators()
80 Right[I] = OtherRight; in memberFunctionsAndOperators()
97 copyArg(Right[I]); in usedAsParameterToFunctionOrOperator()
120 constRefArg(Right[I]); in usedAsParameterToFunctionOrOperator()
134 nonConstRefArg(Right[I]); in usedAsParameterToFunctionOrOperator()
140 if (OtherRight < Right[I]) in usedAsParameterToFunctionOrOperator()
/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()
72 for (auto *Callee : Right.Callees) { in mergeTrieNodes()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A Dilist.h350 void merge(iplist_impl &Right, Compare comp) {
351 if (this == &Right)
353 this->transferNodesFromList(Right, Right.begin(), Right.end());
354 base_list_type::merge(Right, comp);
356 void merge(iplist_impl &Right) { return merge(Right, op_less); }
416 void swap(llvm::iplist<Ty> &Left, llvm::iplist<Ty> &Right) {
417 Left.swap(Right);
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp124 StatementMatcher Right) { in gtestComparisonInternal() argument
127 hasArgument(3, Right)); in gtestComparisonInternal()
192 StatementMatcher Right) { in gtestAssert() argument
193 return gtestComparisonInternal(MacroType::Assert, Cmp, Left, Right); in gtestAssert()
197 StatementMatcher Right) { in gtestExpect() argument
198 return gtestComparisonInternal(MacroType::Expect, Cmp, Left, Right); in gtestExpect()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp56 Right->Profile(RightID); in areEquivalentNameSpecifier()
61 if (!Left || !Right) in areEquivalentExpr()
62 return !Left && !Right; in areEquivalentExpr()
65 Right = Right->IgnoreParens(); in areEquivalentExpr()
68 if (Left->getStmtClass() != Right->getStmtClass()) in areEquivalentExpr()
100 cast<FloatingLiteral>(Right)->getValue()); in areEquivalentExpr()
103 cast<StringLiteral>(Right)->getBytes(); in areEquivalentExpr()
116 cast<DeclRefExpr>(Right)->getDecl(); in areEquivalentExpr()
122 cast<CXXFoldExpr>(Right)->getOperator(); in areEquivalentExpr()
135 cast<UnaryOperator>(Right)->getOpcode(); in areEquivalentExpr()
[all …]
H A DUniqueptrResetReleaseCheck.cpp117 const auto *Right = Result.Nodes.getNodeAs<Expr>("right"); in check() local
128 } else if (!Right->isPRValue()) { in check()
140 Right->getBeginLoc()), in check()
/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
23 if (const auto *RightRefType = Right->getAs<ReferenceType>()) in areTypesCompatible()
24 Right = RightRefType->getPointeeType(); in areTypesCompatible()
26 Right->getCanonicalTypeUnqualified(); in areTypesCompatible()
/llvm-project-15.0.7/libcxxabi/test/
H A Ddynamic_cast.pass.cpp87 struct Right : Class6 { Pad5 _; }; argument
88 struct Main : Left, Right { Pad6 _; };
99 assert(dynamic_cast<Right*>(c1) == static_cast<Right*>(&m)); in test()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp177 if (N->Right) in update()
598 if (N->Right) in dump()
599 dump(N->Right); in dump()
608 order(N->Right, Seq); in order()
635 N->Right = add(N->Right, R); in add()
647 N->Right = remove(N->Right, D); in remove()
659 while (M->Right) in remove()
660 M = M->Right; in remove()
662 M->Right = N->Right; in remove()
674 Higher->Right = Lower->Left; in rotateLeft()
[all …]
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DMemorySSATest.cpp92 BranchInst::Create(Merge, Right); in TEST_F()
130 B.SetInsertPoint(Right); in TEST_F()
220 B.SetInsertPoint(Right); in TEST_F()
264 B.SetInsertPoint(Right); in TEST_F()
315 BranchInst::Create(Merge, Right); in TEST_F()
351 BranchInst::Create(Merge, Right); in TEST_F()
397 BranchInst::Create(Merge, Right); in TEST_F()
441 BranchInst::Create(Merge, Right); in TEST_F()
465 SideStore->moveBefore(*Right, Right->begin()); in TEST_F()
495 BranchInst::Create(Merge, Right); in TEST_F()
[all …]
/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DParsing.cpp230 auto Right = ParseElement(P->State); in parsePair() local
231 if (!Right) in parsePair()
232 return Right.takeError(); in parsePair()
234 P = parseChar(')', Right->State); in parsePair()
239 Op(std::move(Left->Value), std::move(Right->Value))); in parsePair()
/llvm-project-15.0.7/llvm/test/tools/llvm-rc/Inputs/
H A Dtag-dialog.rc5 RTEXT "Right text", 2, 12, 0, 50, 10, 42
7 RTEXT "Right text 2", 4, 36, 0, 50, 10, 1, 2, 0x12345678
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DGtestMatchers.h46 StatementMatcher Right);
55 StatementMatcher Right);
/llvm-project-15.0.7/llvm/unittests/Support/
H A DFormatVariadicTest.cpp91 EXPECT_EQ(AlignStyle::Right, Replacements[0].Where); in TEST()
100 EXPECT_EQ(AlignStyle::Right, Replacements[0].Where); in TEST()
127 EXPECT_EQ(AlignStyle::Right, Replacements[0].Where); in TEST()
156 EXPECT_EQ(AlignStyle::Right, Replacements[0].Where); in TEST()
166 EXPECT_EQ(AlignStyle::Right, Replacements[0].Where); in TEST()
177 EXPECT_EQ(AlignStyle::Right, Replacements[0].Where); in TEST()
233 EXPECT_EQ(AlignStyle::Right, Replacements[0].Where); in TEST()
248 EXPECT_EQ(AlignStyle::Right, Replacements[0].Where); in TEST()
259 EXPECT_EQ(AlignStyle::Right, Replacements[2].Where); in TEST()

1234567