Home
last modified time | relevance | path

Searched refs:ByRef (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-actions_test.cc1700 auto ref_wrapper = ByRef(s1); in TEST()
1705 ref_wrapper = ByRef(s2); in TEST()
1709 auto ref_wrapper1 = ByRef(s1); in TEST()
1721 const int& const_ref = ByRef(n); in TEST()
1730 int& ref = ByRef(n); in TEST()
1734 const int& const_ref = ByRef(n); in TEST()
1741 const int& r1 = ByRef<const int>(n); in TEST()
1748 Derived& r2 = ByRef<Derived>(d); in TEST()
1751 const Derived& r3 = ByRef<const Derived>(d); in TEST()
1754 Base& r4 = ByRef<Base>(d); in TEST()
[all …]
H A Dgmock-matchers-comparisons_test.cc1031 EXPECT_CALL(helper, Call(Eq(ByRef(m)))); in TEST()
1033 EXPECT_CALL(helper, Call(Ne(ByRef(m)))); in TEST()
1035 EXPECT_CALL(helper, Call(Le(ByRef(m)))); in TEST()
1037 EXPECT_CALL(helper, Call(Lt(ByRef(m)))); in TEST()
1039 EXPECT_CALL(helper, Call(Ge(ByRef(m)))); in TEST()
1041 EXPECT_CALL(helper, Call(Gt(ByRef(m)))); in TEST()
H A Dgmock-more-actions_test.cc851 InvokeArgument<0>(ByRef(g_double)); in TEST()
856 a = InvokeArgument<0>(ByRef(x)); // This calls ByRef() on a non-const. in TEST()
H A Dgmock-matchers-misc_test.cc122 const Matcher<const NotCopyable&> m = Eq(ByRef(const_value1)); in TEST()
131 const Matcher<NotCopyable&> m = Ge(ByRef(value2)); in TEST()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h624 Capture(ValueDecl *Var, bool Block, bool ByRef, bool IsNested, in Capture() argument
629 : ByRef ? Cap_ByRef in Capture()
H A DSema.h9053 SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc, in actOnLambdaInitCaptureInitialization() argument
9056 Loc, ByRef, EllipsisLoc, std::nullopt, Id, in actOnLambdaInitCaptureInitialization()
9059 QualType buildLambdaInitCaptureInitialization(SourceLocation Loc, bool ByRef,
9075 void addInitCapture(sema::LambdaScopeInfo *LSI, VarDecl *Var, bool ByRef);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp805 SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc, in buildLambdaInitCaptureInitialization() argument
814 if (ByRef) { in buildLambdaInitCaptureInitialization()
896 void Sema::addInitCapture(LambdaScopeInfo *LSI, VarDecl *Var, bool ByRef) { in addInitCapture() argument
898 LSI->addCapture(Var, /*isBlock=*/false, ByRef, in addInitCapture()
H A DSemaExpr.cpp18823 bool ByRef = false; in captureInBlock() local
18871 ByRef = true; in captureInBlock()
18880 BSI->addCapture(Var, HasBlocksAttr, ByRef, Nested, Loc, SourceLocation(), in captureInBlock()
18893 bool ByRef = true; in captureInCapturedRegion() local
18895 ByRef = (Kind == TryCaptureKind::ExplicitByRef); in captureInCapturedRegion()
18909 ByRef = S.OpenMP().isOpenMPCapturedByRef(Var, RSI->OpenMPLevel, in captureInCapturedRegion()
18913 if (ByRef) in captureInCapturedRegion()
18920 RSI->addCapture(Var, /*isBlock*/ false, ByRef, RefersToCapturedVariable, in captureInCapturedRegion()
18935 bool ByRef = false; in captureInLambda() local
18937 ByRef = (Kind == TryCaptureKind::ExplicitByRef); in captureInLambda()
[all …]
H A DSemaDecl.cpp15843 const bool ByRef = C.getCaptureKind() == LCK_ByRef; in RebuildLambdaScopeInfo() local
15844 LSI->addCapture(VD, /*IsBlock*/false, ByRef, in RebuildLambdaScopeInfo()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp142 return hasAttribute(Attribute::ByRef); in hasByRefAttr()
180 Attrs.hasParamAttr(getArgNo(), Attribute::ByRef); in hasPointeeInMemoryValueAttr()
H A DAttributes.cpp265 return get(Context, ByRef, Ty); in getWithByRefType()
1151 return SetNode ? SetNode->getAttributeType(Attribute::ByRef) : nullptr; in getByRefType()
2265 return addTypeAttr(Attribute::ByRef, Ty); in addByRefAttr()
2436 .addAttribute(Attribute::ByRef) in typeIncompatible()
H A DVerifier.cpp2025 AttrCount += Attrs.hasAttribute(Attribute::ByRef); in verifyParameterAttrs()
2109 if (Attrs.hasAttribute(Attribute::ByRef)) { in verifyParameterAttrs()
2963 if (Attrs.hasParamAttr(i, Attribute::ByRef)) { in visitFunction()
3934 Check(!Attrs.contains(Attribute::ByRef), in verifyTailCCMustTailAttrs()
3955 Attribute::ByRef}; in getParameterABIAttributes()
3966 Attrs.hasParamAttr(I, Attribute::ByRef))) in getParameterABIAttributes()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp269 Attribute::ByVal, Attribute::ByRef, Attribute::InAlloca, in visitCallBase()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp423 Attribute::Preallocated, Attribute::ByRef, in isUnsupportedFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExpandVariadics.cpp650 const bool IsByRef = CB->paramHasAttr(I, Attribute::ByRef); in expandCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp1042 else if (I.hasAttribute(Attribute::ByRef)) in incorporateFunction()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp1076 else if (I.hasAttribute(Attribute::ByRef)) in incorporateFunction()
H A DBitcodeWriter.cpp925 case Attribute::ByRef: in getAttrKindEncoding()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.h1195 Type *getByRefType() const { return getTypeAttr(Attribute::ByRef); }
H A DAttributes.td109 def ByRef : TypeAttr<"byref", IntersectPreserve, [ParamAttr]>;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp51 if (AttrFn(Attribute::ByRef)) in addFlagsUsingAttrFn()
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h2084 inline ::std::reference_wrapper<T> ByRef(T& l_value) { // NOLINT
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp1011 case Attribute::ByRef: in constructFunctionDeclaration()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2224 return Attribute::ByRef; in getAttrFromCode()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td1242 ["byref"], ["ByRef"]>];

12