Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Sema/
H A DScopeInfo.h592 Capture(VarDecl *Var, bool Block, bool ByRef, bool IsNested, in Capture() argument
597 Kind(Block ? Cap_Block : ByRef ? Cap_ByRef : Cap_ByCopy), in Capture()
H A DSema.h6970 SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc, in actOnLambdaInitCaptureInitialization() argument
6973 Loc, ByRef, EllipsisLoc, None, Id, in actOnLambdaInitCaptureInitialization()
6977 SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc,
/llvm-project-15.0.7/llvm/lib/IR/
H A DAttributes.cpp195 return get(Context, ByRef, Ty); in getWithByRefType()
723 return SetNode ? SetNode->getAttributeType(Attribute::ByRef) : nullptr; in getByRefType()
1747 return addTypeAttr(Attribute::ByRef, Ty); in addByRefAttr()
1840 .addAttribute(Attribute::ByRef) in typeIncompatible()
H A DVerifier.cpp1780 AttrCount += Attrs.hasAttribute(Attribute::ByRef); in verifyParameterAttrs()
1850 if (Attrs.hasAttribute(Attribute::ByRef)) { in verifyParameterAttrs()
1871 if (Attrs.hasAttribute(Attribute::ByRef)) { in verifyParameterAttrs()
2515 if (Attrs.hasParamAttr(i, Attribute::ByRef)) { in visitFunction()
3441 Check(!Attrs.contains(Attribute::ByRef), in verifyTailCCMustTailAttrs()
3462 Attribute::ByRef}; in getParameterABIAttributes()
3473 Attrs.hasParamAttr(I, Attribute::ByRef))) in getParameterABIAttributes()
H A DFunction.cpp117 return hasAttribute(Attribute::ByRef); in hasByRefAttr()
155 Attrs.hasParamAttr(getArgNo(), Attribute::ByRef); in hasPointeeInMemoryValueAttr()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DAttributes.td78 def ByRef : TypeAttr<"byref", [ParamAttr]>;
H A DAttributes.h1132 Type *getByRefType() const { return getTypeAttr(Attribute::ByRef); }
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLambda.cpp791 SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc, in buildLambdaInitCaptureInitialization() argument
800 if (ByRef) { in buildLambdaInitCaptureInitialization()
H A DSemaExpr.cpp18409 bool ByRef = false; in captureInBlock() local
18457 ByRef = true; in captureInBlock()
18480 bool ByRef = true; in captureInCapturedRegion() local
18482 ByRef = (Kind == Sema::TryCapture_ExplicitByRef); in captureInCapturedRegion()
18496 ByRef = S.isOpenMPCapturedByRef(Var, RSI->OpenMPLevel, in captureInCapturedRegion()
18500 if (ByRef) in captureInCapturedRegion()
18526 bool ByRef = false; in captureInLambda() local
18528 ByRef = (Kind == Sema::TryCapture_ExplicitByRef); in captureInLambda()
18530 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in captureInLambda()
18534 if (ByRef) { in captureInLambda()
[all …]
H A DSemaDecl.cpp14684 const bool ByRef = C.getCaptureKind() == LCK_ByRef; in RebuildLambdaScopeInfo() local
14685 LSI->addCapture(VD, /*IsBlock*/false, ByRef, in RebuildLambdaScopeInfo()
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-actions.h1141 inline ::std::reference_wrapper<T> ByRef(T& l_value) { // NOLINT
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp1037 else if (I.hasAttribute(Attribute::ByRef)) in incorporateFunction()
H A DBitcodeWriter.cpp777 case Attribute::ByRef: in getAttrKindEncoding()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp1042 else if (I.hasAttribute(Attribute::ByRef)) in incorporateFunction()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp991 case Attribute::ByRef: in constructFunction()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DAttr.td953 let Args = [EnumArgument<"Type", "BlockType", ["byref"], ["ByRef"]>];
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1999 return Attribute::ByRef; in getAttrFromCode()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp10354 if (Arg.hasAttribute(Attribute::ByRef)) in LowerArguments()