/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-actions_test.cc | 1636 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 D | gmock-matchers-comparisons_test.cc | 975 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 D | gmock-more-actions_test.cc | 822 InvokeArgument<0>(ByRef(g_double)); in TEST() 827 a = InvokeArgument<0>(ByRef(x)); // This calls ByRef() on a non-const. in TEST()
|
H A D | gmock-matchers-misc_test.cc | 121 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 D | ScopeInfo.h | 624 Capture(ValueDecl *Var, bool Block, bool ByRef, bool IsNested, in Capture() argument 629 : ByRef ? Cap_ByRef in Capture()
|
H A D | Sema.h | 8776 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 D | SemaLambda.cpp | 784 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 D | SemaExpr.cpp | 18377 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 D | SemaDecl.cpp | 15392 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 D | Attributes.cpp | 263 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 D | Function.cpp | 149 return hasAttribute(Attribute::ByRef); in hasByRefAttr() 187 Attrs.hasParamAttr(getArgNo(), Attribute::ByRef); in hasPointeeInMemoryValueAttr()
|
H A D | Verifier.cpp | 1950 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 D | Attributes.td | 84 def ByRef : TypeAttr<"byref", [ParamAttr]>;
|
H A D | Attributes.h | 1138 Type *getByRefType() const { return getTypeAttr(Attribute::ByRef); }
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ExpandVariadics.cpp | 672 const bool IsByRef = CB->paramHasAttr(I, Attribute::ByRef); in expandCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
H A D | DXILValueEnumerator.cpp | 1042 else if (I.hasAttribute(Attribute::ByRef)) in incorporateFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
H A D | ValueEnumerator.cpp | 1073 else if (I.hasAttribute(Attribute::ByRef)) in incorporateFunction()
|
H A D | BitcodeWriter.cpp | 872 case Attribute::ByRef: in getAttrKindEncoding()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CallLowering.cpp | 52 if (AttrFn(Attribute::ByRef)) in addFlagsUsingAttrFn()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CodeExtractor.cpp | 1000 case Attribute::ByRef: in constructFunction()
|
/freebsd/contrib/googletest/googlemock/include/gmock/ |
H A D | gmock-actions.h | 2008 inline ::std::reference_wrapper<T> ByRef(T& l_value) { // NOLINT
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Attr.td | 1117 ["byref"], ["ByRef"]>];
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 2171 return Attribute::ByRef; in getAttrFromCode()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 11525 if (Arg.hasAttribute(Attribute::ByRef)) in LowerArguments()
|