Home
last modified time | relevance | path

Searched refs:RefType (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamRef.h24 template <class RefType, class StreamType> class BinaryStreamRefBase {
59 RefType drop_front(uint64_t N) const { in drop_front()
61 return RefType(); in drop_front()
64 RefType Result(static_cast<const RefType &>(*this)); in drop_front()
77 RefType drop_back(uint64_t N) const { in drop_back()
79 return RefType(); in drop_back()
81 RefType Result(static_cast<const RefType &>(*this)); in drop_back()
97 RefType keep_front(uint64_t N) const { in keep_front()
103 RefType keep_back(uint64_t N) const { in keep_back()
110 RefType drop_symmetric(uint64_t N) const { in drop_symmetric()
[all …]
/freebsd/sys/contrib/dev/acpica/components/executer/
H A Dexresolv.c265 UINT8 RefType; in AcpiExResolveObjectToValue() local
279 RefType = StackDesc->Reference.Class; in AcpiExResolveObjectToValue()
281 switch (RefType) in AcpiExResolveObjectToValue()
289 Status = AcpiDsMethodDataGetValue (RefType, in AcpiExResolveObjectToValue()
399 RefType, StackDesc)); in AcpiExResolveObjectToValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/
H A DSeedCollector.cpp127 std::string RefType = dyn_cast<LoadInst>(I) ? "Load" in print() local
130 OS << "[Inst=" << *I << " Ty=" << Ty << " " << RefType << "]\n"; in print()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSwift.cpp53 } else if (const auto *RefType = Ty->getAs<ReferenceType>()) { in isValidSwiftIndirectResultType() local
54 Ty = RefType->getPointeeType(); in isValidSwiftIndirectResultType()
65 } else if (const auto *RefType = Ty->getAs<ReferenceType>()) { in isValidSwiftErrorResultType() local
66 Ty = RefType->getPointeeType(); in isValidSwiftErrorResultType()
H A DSemaOverload.cpp5171 const ReferenceType *RefType in FindConversionForRefInit() local
5173 if (RefType && !RefType->getPointeeType()->isFunctionType()) in FindConversionForRefInit()
5191 const ReferenceType *RefType = in FindConversionForRefInit() local
5193 if (!RefType || in FindConversionForRefInit()
5194 (!RefType->isLValueReferenceType() && in FindConversionForRefInit()
5195 !RefType->getPointeeType()->isFunctionType())) in FindConversionForRefInit()
H A DSemaDeclAttr.cpp439 if (const auto *RefType = ParamType->getAs<ReferenceType>(); in checkFunParamsAreScopedLockable() local
440 RefType && in checkFunParamsAreScopedLockable()
441 checkRecordTypeForScopedCapability(S, RefType->getPointeeType())) in checkFunParamsAreScopedLockable()
H A DSemaDeclCXX.cpp1362 QualType RefType = in checkTupleLikeDecomposition() local
1364 if (RefType.isNull()) in checkTupleLikeDecomposition()
1368 B->getDeclName().getAsIdentifierInfo(), RefType, in checkTupleLikeDecomposition()
H A DSemaExpr.cpp18974 if (const ReferenceType *RefType = CaptureType->getAs<ReferenceType>()){ in captureInLambda() local
18975 if (!RefType->getPointeeType()->isFunctionType()) in captureInLambda()
18976 CaptureType = RefType->getPointeeType(); in captureInLambda()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp704 if (const auto *RefType = ParmType->getAs<RValueReferenceType>()) { in findFunctionArgMutation() local
705 if (!RefType->getPointeeType().getQualifiers() && in findFunctionArgMutation()
706 RefType->getPointeeType()->getAs<TemplateTypeParmType>()) { in findFunctionArgMutation()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h629 if (CanQual<ReferenceType> RefType = getAs<ReferenceType>())
630 return RefType->getPointeeType();
H A DType.h8306 if (const auto *RefType = (*this)->getAs<ReferenceType>())
8307 return RefType->getPointeeType();
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp3580 if (const auto *RefType = getTypePtr()->getAs<ReferenceType>()) in getNonLValueExprType() local
3581 return RefType->getPointeeType(); in getNonLValueExprType()
H A DExpr.cpp3445 bool RefType = Field->getType()->isReferenceType(); in isConstantInitializer() local
3446 if (!Elt->isConstantInitializer(Ctx, RefType, Culprit)) in isConstantInitializer()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp567 QualType RefType = M->getType().withoutLocalFastQualifiers(); in EmitMaterializeTemporaryExpr() local
568 if (RefType.getPointerAuth()) { in EmitMaterializeTemporaryExpr()
570 LValue LV = MakeRawAddrLValue(Object.getPointer(), RefType, in EmitMaterializeTemporaryExpr()