Home
last modified time | relevance | path

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

/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-actions_test.cc1636 auto ref_wrapper = ByRef(s1); in TEST()
1641 ref_wrapper = ByRef(s2); in TEST()
1645 auto ref_wrapper1 = ByRef(s1); in TEST()
1657 const int& const_ref = ByRef(n); in TEST()
1666 int& ref = ByRef(n); in TEST()
1670 const int& const_ref = ByRef(n); in TEST()
1677 const int& r1 = ByRef<const int>(n); in TEST()
1684 Derived& r2 = ByRef<Derived>(d); in TEST()
1687 const Derived& r3 = ByRef<const Derived>(d); in TEST()
1690 Base& r4 = ByRef<Base>(d); in TEST()
[all …]
H A Dgmock-matchers-comparisons_test.cc975 EXPECT_CALL(helper, Call(Eq(ByRef(m)))); in TEST()
977 EXPECT_CALL(helper, Call(Ne(ByRef(m)))); in TEST()
979 EXPECT_CALL(helper, Call(Le(ByRef(m)))); in TEST()
981 EXPECT_CALL(helper, Call(Lt(ByRef(m)))); in TEST()
983 EXPECT_CALL(helper, Call(Ge(ByRef(m)))); in TEST()
985 EXPECT_CALL(helper, Call(Gt(ByRef(m)))); in TEST()
H A Dgmock-more-actions_test.cc822 InvokeArgument<0>(ByRef(g_double)); in TEST()
827 a = InvokeArgument<0>(ByRef(x)); // This calls ByRef() on a non-const. in TEST()
H A Dgmock-matchers-misc_test.cc121 const Matcher<const NotCopyable&> m = Eq(ByRef(const_value1)); in TEST()
130 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.h8776 SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc, in actOnLambdaInitCaptureInitialization() argument
8779 Loc, ByRef, EllipsisLoc, std::nullopt, Id, in actOnLambdaInitCaptureInitialization()
8783 SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc,
8797 void addInitCapture(sema::LambdaScopeInfo *LSI, VarDecl *Var, bool ByRef);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp784 SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc, in buildLambdaInitCaptureInitialization() argument
793 if (ByRef) { in buildLambdaInitCaptureInitialization()
875 void Sema::addInitCapture(LambdaScopeInfo *LSI, VarDecl *Var, bool ByRef) { in addInitCapture() argument
877 LSI->addCapture(Var, /*isBlock=*/false, ByRef, in addInitCapture()
H A DSemaExpr.cpp18377 bool ByRef = false; in captureInBlock() local
18425 ByRef = true; in captureInBlock()
18434 BSI->addCapture(Var, HasBlocksAttr, ByRef, Nested, Loc, SourceLocation(), in captureInBlock()
18447 bool ByRef = true; in captureInCapturedRegion() local
18449 ByRef = (Kind == Sema::TryCapture_ExplicitByRef); in captureInCapturedRegion()
18463 ByRef = S.OpenMP().isOpenMPCapturedByRef(Var, RSI->OpenMPLevel, in captureInCapturedRegion()
18467 if (ByRef) in captureInCapturedRegion()
18474 RSI->addCapture(Var, /*isBlock*/ false, ByRef, RefersToCapturedVariable, in captureInCapturedRegion()
18489 bool ByRef = false; in captureInLambda() local
18491 ByRef = (Kind == Sema::TryCapture_ExplicitByRef); in captureInLambda()
[all …]
H A DSemaDecl.cpp15392 const bool ByRef = C.getCaptureKind() == LCK_ByRef; in RebuildLambdaScopeInfo() local
15393 LSI->addCapture(VD, /*IsBlock*/false, ByRef, in RebuildLambdaScopeInfo()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp263 return get(Context, ByRef, Ty); in getWithByRefType()
942 return SetNode ? SetNode->getAttributeType(Attribute::ByRef) : nullptr; in getByRefType()
2010 return addTypeAttr(Attribute::ByRef, Ty); in addByRefAttr()
2137 .addAttribute(Attribute::ByRef) in typeIncompatible()
H A DFunction.cpp149 return hasAttribute(Attribute::ByRef); in hasByRefAttr()
187 Attrs.hasParamAttr(getArgNo(), Attribute::ByRef); in hasPointeeInMemoryValueAttr()
H A DVerifier.cpp1950 AttrCount += Attrs.hasAttribute(Attribute::ByRef); in verifyParameterAttrs()
2030 if (Attrs.hasAttribute(Attribute::ByRef)) { in verifyParameterAttrs()
2818 if (Attrs.hasParamAttr(i, Attribute::ByRef)) { in visitFunction()
3790 Check(!Attrs.contains(Attribute::ByRef), in verifyTailCCMustTailAttrs()
3811 Attribute::ByRef}; in getParameterABIAttributes()
3822 Attrs.hasParamAttr(I, Attribute::ByRef))) in getParameterABIAttributes()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.td84 def ByRef : TypeAttr<"byref", [ParamAttr]>;
H A DAttributes.h1138 Type *getByRefType() const { return getTypeAttr(Attribute::ByRef); }
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExpandVariadics.cpp672 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.cpp1073 else if (I.hasAttribute(Attribute::ByRef)) in incorporateFunction()
H A DBitcodeWriter.cpp872 case Attribute::ByRef: in getAttrKindEncoding()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp52 if (AttrFn(Attribute::ByRef)) in addFlagsUsingAttrFn()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp1000 case Attribute::ByRef: in constructFunction()
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h2008 inline ::std::reference_wrapper<T> ByRef(T& l_value) { // NOLINT
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td1117 ["byref"], ["ByRef"]>];
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2171 return Attribute::ByRef; in getAttrFromCode()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp11525 if (Arg.hasAttribute(Attribute::ByRef)) in LowerArguments()