Home
last modified time | relevance | path

Searched refs:TL (Results 1 – 25 of 96) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp60 SourceLocation Loc = TL.getNameLoc(); in VisitTypedefTypeLoc()
84 if (auto *C = TL.getNamedConcept()) in VisitAutoTypeLoc()
118 bool VisitTagTypeLoc(TagTypeLoc TL) { in VisitTagTypeLoc() argument
119 TagDecl *D = TL.getDecl(); in VisitTagTypeLoc()
124 if (TL.isDefinition()) { in VisitTagTypeLoc()
135 return IndexCtx.handleReference(TL.getIFaceDecl(), TL.getNameLoc(), in VisitObjCInterfaceTypeLoc()
141 IndexCtx.handleReference(TL.getProtocol(i), TL.getProtocolLoc(i), in VisitObjCObjectTypeLoc()
165 auto *T = TL.getTypePtr(); in VisitTemplateSpecializationTypeLoc()
195 auto *T = TL.getTypePtr(); in VisitDeducedTemplateSpecializationTypeLoc()
205 return IndexCtx.handleReference(TL.getDecl(), TL.getNameLoc(), Parent, in VisitInjectedClassNameTypeLoc()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DComment.cpp129 TypeLoc TL = SrcTL.IgnoreParens(); in lookThroughTypedefOrTypeAliasLocs() local
138 if (PointerTypeLoc PointerTL = TL.getAs<PointerTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs()
144 if (AdjustedTypeLoc ATL = TL.getAs<AdjustedTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs()
153 return TL; in lookThroughTypedefOrTypeAliasLocs()
158 while (PrevTL != TL) { in getFunctionTypeLoc()
159 PrevTL = TL; in getFunctionTypeLoc()
160 TL = lookThroughTypedefOrTypeAliasLocs(TL); in getFunctionTypeLoc()
163 if (FunctionTypeLoc FTL = TL.getAs<FunctionTypeLoc>()) { in getFunctionTypeLoc()
169 TL.getAs<TemplateSpecializationTypeLoc>()) { in getFunctionTypeLoc()
354 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill() local
[all …]
H A DTypeLoc.cpp55 if (TL.isNull()) return SourceRange(); in getLocalSourceRangeImpl()
56 return TypeLocRanger().Visit(TL); in getLocalSourceRangeImpl()
126 return NextLoc().Visit(TL); in getNextTypeLocImpl()
135 switch (TL.getTypeLocClass()) { in initializeImpl()
185 TypeLoc TL(getType(), Data); in copy() local
187 TypeLocCopier(other).Visit(TL); in copy()
189 } while ((TL = TL.getNextTypeLoc())); in copy()
311 return TSTChecker().Visit(TL); in isKind()
443 TL = PTL.getInnerLoc(); in IgnoreParensImpl()
444 return TL; in IgnoreParensImpl()
[all …]
H A DASTTypeTraits.cpp203 else if (const TypeLoc *TL = get<TypeLoc>()) in print() local
204 TL->getType().print(OS, PP); in print()
240 if (const TypeLoc *TL = get<TypeLoc>()) in getSourceRange() local
241 return TL->getSourceRange(); in getSourceRange()
H A DNestedNameSpecifier.cpp444 TypeLoc TL(Qualifier->getAsType(), TypeData); in getLocalSourceRange() local
445 return SourceRange(TL.getBeginLoc(), in getLocalSourceRange()
565 TypeLoc TL, in Extend() argument
569 TL.getTypePtr()); in Extend()
572 SavePointer(TL.getOpaqueData(), Buffer, BufferSize, BufferCapacity); in Extend()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp41 handleAttr(TL); in VisitAttributedTypeLoc()
63 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute() local
64 while (TL) { in lookForAttribute()
66 TL = QL.getUnqualifiedLoc(); in lookForAttribute()
70 TL = Attr.getModifiedLoc(); in lookForAttribute()
73 TL = MDTL.getInnerLoc(); in lookForAttribute()
75 TL = Arr.getElementLoc(); in lookForAttribute()
77 TL = PT.getPointeeLoc(); in lookForAttribute()
79 TL = RT.getPointeeLoc(); in lookForAttribute()
242 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps() local
[all …]
H A DTransAutoreleasePool.cpp267 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { in VisitTypedefTypeLoc() argument
268 return checkRef(TL.getBeginLoc(), TL.getTypedefNameDecl()->getLocation()); in VisitTypedefTypeLoc()
271 bool VisitTagTypeLoc(TagTypeLoc TL) { in VisitTagTypeLoc() argument
272 return checkRef(TL.getBeginLoc(), TL.getDecl()->getLocation()); in VisitTagTypeLoc()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp110 SourceLocation StartLocationForType(TypeLoc TL) { in StartLocationForType() argument
118 TL = TL.getNextTypeLoc(); in StartLocationForType()
120 return TL.getBeginLoc(); in StartLocationForType()
123 SourceLocation EndLocationForType(TypeLoc TL) { in EndLocationForType() argument
126 TL.getTypeLocClass() == TypeLoc::Qualified) in EndLocationForType()
127 TL = TL.getNextTypeLoc(); in EndLocationForType()
133 return TL.castAs<TemplateSpecializationTypeLoc>() in EndLocationForType()
137 return TL.getEndLoc(); in EndLocationForType()
142 while (TL.getTypeLocClass() == TypeLoc::Qualified) in GetNestedNameForType()
143 TL = TL.getNextTypeLoc(); in GetNestedNameForType()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DRecursiveASTVisitor.h222 bool TraverseTypeLoc(TypeLoc TL);
414 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); }
708 if (TL.isNull())
711 switch (TL.getTypeLocClass()) {
1315 if (TL.getParam(I)) {
1352 if (TL.isConstrained()) {
1394 if (TL.getQualifierLoc()) {
1405 if (TL.getQualifierLoc()) {
1419 ObjCProtocolLoc ProtocolLoc(TL.getProtocol(I), TL.getProtocolLoc(I));
1429 if (TL.getTypePtr()->getBaseType().getTypePtr() != TL.getTypePtr())
[all …]
H A DTypeLoc.h239 static TypeLoc getNextTypeLocImpl(TypeLoc TL);
240 static TypeLoc IgnoreParensImpl(TypeLoc TL);
273 static bool isKind(const TypeLoc &TL) { in isKind() argument
274 return !TL.getType().hasLocalQualifiers(); in isKind()
327 static bool isKind(const TypeLoc &TL) { in isKind() argument
328 return TL.getType().hasLocalQualifiers(); in isKind()
374 static bool isKind(const TypeLoc &TL) { in isKind() argument
375 return !TL.getType().hasLocalQualifiers() && in isKind()
499 static bool isKind(const TypeLoc &TL) { in isKind() argument
503 static bool isKind(const UnqualTypeLoc &TL) { in isKind() argument
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h4366 if (!TL) in TransformNestedNameSpecifierLoc()
5083 return TL; in TransformTypeInObjectScope()
6121 TL.getBeginLoc(), TL.getParams(), in TransformFunctionProtoType()
6147 TL.getBeginLoc(), TL.getParams(), in TransformFunctionProtoType()
6603 TLB, TL, in TransformTemplateTypeParmType()
6857 ArgIterator(TL, 0), ArgIterator(TL, TL.getNumArgs()), in TransformAutoType()
6896 TL.getFoundDecl(), TL.getTypePtr()->getTypeConstraintConcept(), in TransformAutoType()
7102 SemaRef.Diag((TL.getAttr() ? TL.getAttr()->getLocation() in TransformAttributedType()
7352 TL.getProtocolLocs(), TL.getProtocolRAngleLoc()); in TransformObjCTypeParamType()
7471 TL.getTypeArgsRAngleLoc(), TL.getProtocolLAngleLoc(), in TransformObjCObjectType()
[all …]
H A DSemaType.cpp6203 TL.setAttr(State.takeAttrForAttributedType(TL.getTypePtr())); in fillAttributedTypeLoc()
6241 Visit(TL.getInnerLoc()); in VisitMacroQualifiedTypeLoc()
6242 TL.setExpansionLoc( in VisitMacroQualifiedTypeLoc()
6250 void VisitPointerTypeLoc(PointerTypeLoc TL) { Visit(TL.getNextTypeLoc()); } in VisitPointerTypeLoc() argument
6287 TL.copy(NamedTL); in VisitTemplateSpecializationTypeLoc()
6343 TL.copy(ETL); in VisitElaboratedTypeLoc()
6368 TL.copy( in VisitDependentTemplateSpecializationTypeLoc()
6571 TL.setKWLoc(Chunk.Loc); in VisitPipeTypeLoc()
6579 void VisitVectorTypeLoc(VectorTypeLoc TL) { TL.setNameLoc(Chunk.Loc); } in VisitVectorTypeLoc() argument
6682 TL.setExpansionLoc( in GetTypeSourceInfoForDeclarator()
[all …]
H A DSemaTemplateVariadic.cpp74 bool VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) { in VisitTemplateTypeParmTypeLoc() argument
75 if (TL.getTypePtr()->isParameterPack()) in VisitTemplateTypeParmTypeLoc()
76 addUnexpanded(TL.getTypePtr(), TL.getNameLoc()); in VisitTemplateTypeParmTypeLoc()
153 bool TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc() argument
154 if ((!TL.getType().isNull() && in TraverseTypeLoc()
155 TL.getType()->containsUnexpandedParameterPack()) || in TraverseTypeLoc()
157 return inherited::TraverseTypeLoc(TL); in TraverseTypeLoc()
538 void Sema::collectUnexpandedParameterPacks(TypeLoc TL, in collectUnexpandedParameterPacks() argument
540 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc(TL); in collectUnexpandedParameterPacks()
625 PackExpansionTypeLoc TL = TLB.push<PackExpansionTypeLoc>(Result); in CheckPackExpansion() local
[all …]
H A DSemaTemplateInstantiate.cpp2243 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType()
2244 return TL.getType(); in TransformTemplateTypeParmType()
2263 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType()
2311 NewTL.setNameLoc(TL.getNameLoc()); in TransformTemplateTypeParmType()
2324 QualType Result = TL.getType(); in TransformSubstTemplateTypeParmPackType()
2330 NewTL.setNameLoc(TL.getNameLoc()); in TransformSubstTemplateTypeParmPackType()
2628 if (TL.getType().isNull()) in SubstType()
2636 TLB.pushFullCopy(TL); in SubstType()
2642 TLB.reserve(TL.getFullDataSize()); in SubstType()
2712 TypeLoc TL = T->getTypeLoc(); in SubstFunctionDeclType() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp342 if (TL.getSizeExpr()) in VisitArrayTypeLoc()
347 VisitArrayTypeLoc(TL); in VisitConstantArrayTypeLoc()
351 VisitArrayTypeLoc(TL); in VisitIncompleteArrayTypeLoc()
355 VisitArrayTypeLoc(TL); in VisitVariableArrayTypeLoc()
360 VisitArrayTypeLoc(TL); in VisitDependentSizedArrayTypeLoc()
420 VisitFunctionTypeLoc(TL); in VisitFunctionProtoTypeLoc()
424 VisitFunctionTypeLoc(TL); in VisitFunctionNoProtoTypeLoc()
440 if (TL.getNumProtocols()) { in VisitObjCTypeParamTypeLoc()
492 if (TL.isDecltypeAuto()) in VisitAutoTypeLoc()
5645 for (; !TL.isNull(); TL = TL.getNextTypeLoc()) in AddTypeLoc()
[all …]
H A DASTReader.cpp6843 VisitArrayTypeLoc(TL); in VisitConstantArrayTypeLoc()
6847 VisitArrayTypeLoc(TL); in VisitIncompleteArrayTypeLoc()
6851 VisitArrayTypeLoc(TL); in VisitVariableArrayTypeLoc()
6856 VisitArrayTypeLoc(TL); in VisitDependentSizedArrayTypeLoc()
6912 VisitFunctionTypeLoc(TL); in VisitFunctionProtoTypeLoc()
6916 VisitFunctionTypeLoc(TL); in VisitFunctionNoProtoTypeLoc()
6990 TL.setAttr(ReadAttr()); in VisitAttributedTypeLoc()
7018 TL.setArgLocInfo(i, in VisitTemplateSpecializationTypeLoc()
7052 TL.setArgLocInfo(I, in VisitDependentTemplateSpecializationTypeLoc()
7112 for (; !TL.isNull(); TL = TL.getNextTypeLoc()) in readTypeLoc()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h108 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { in VisitTypedefTypeLoc() argument
110 Lexer::getLocForEndOfToken(TL.getBeginLoc(), 0, SM, LangOpts); in VisitTypedefTypeLoc()
111 return visit(TL.getTypedefNameDecl(), TL.getBeginLoc(), TypeEndLoc); in VisitTypedefTypeLoc()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDirectXSubtarget.h32 DirectXTargetLowering TL; variable
46 return &TL; in getTargetLowering()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DSafeStack.cpp114 const TargetLoweringBase &TL; member in __anon8ecd001f0111::SafeStack
192 SafeStack(Function &F, const TargetLoweringBase &TL, const DataLayout &DL, in SafeStack() argument
194 : F(F), TL(TL), DL(DL), DTU(DTU), SE(SE), in SafeStack()
366 Value *StackGuardVar = TL.getIRStackGuard(IRB); in getStackGuard()
370 TL.insertSSPDeclarations(*M); in getStackGuard()
798 UnsafeStackPtr = TL.getSafeStackPointerLocation(IRB); in run()
885 auto *TL = TM->getSubtargetImpl(F)->getTargetLowering(); in runOnFunction() local
886 if (!TL) in runOnFunction()
945 auto *TL = TM->getSubtargetImpl(F)->getTargetLowering(); in run() local
946 if (!TL) in run()
[all …]
H A DExpandMemCmp.cpp892 const TargetTransformInfo *TTI, const TargetLowering *TL,
898 const TargetLowering *TL,
917 const TargetLowering* TL = in runOnFunction() local
931 auto PA = runImpl(F, TLI, TTI, TL, PSI, BFI, DT); in runOnFunction()
947 const TargetTransformInfo *TTI, const TargetLowering *TL, in runOnBlock() argument
958 expandMemCmp(CI, TTI, TL, &DL, PSI, BFI, DTU, Func == LibFunc_bcmp)) { in runOnBlock()
967 const TargetLowering *TL, ProfileSummaryInfo *PSI, in runImpl() argument
976 if (runOnBlock(*BBIt, TLI, TTI, TL, DL, PSI, BFI, DTU ? &*DTU : nullptr)) { in runImpl()
999 const auto *TL = TM->getSubtargetImpl(F)->getTargetLowering(); in run() local
1009 return runImpl(F, &TLI, &TTI, TL, PSI, BFI, DT); in run()
H A DComplexDeinterleavingPass.cpp222 explicit ComplexDeinterleavingGraph(const TargetLowering *TL, in ComplexDeinterleavingGraph() argument
224 : TL(TL), TLI(TLI) {} in ComplexDeinterleavingGraph()
227 const TargetLowering *TL = nullptr; member in __anon4b5acc0a0111::ComplexDeinterleavingGraph
430 : TL(tl), TLI(tli) {} in ComplexDeinterleaving()
436 const TargetLowering *TL = nullptr; member in __anon4b5acc0a0111::ComplexDeinterleaving
453 if (!ComplexDeinterleaving(TL, &TLI).runOnFunction(F)) in run()
466 const auto *TL = TM->getSubtargetImpl(F)->getTargetLowering(); in runOnFunction() local
468 return ComplexDeinterleaving(TL, &TLI).runOnFunction(F); in runOnFunction()
478 if (!TL->isComplexDeinterleavingSupported()) { in runOnFunction()
533 ComplexDeinterleavingGraph Graph(TL, TLI); in evaluateBasicBlock()
[all …]
/freebsd-14.2/sys/dev/pms/RefTisa/sat/src/
H A Dsmsat.c5325 sm_memset(TL, 0, sizeof(TL)); in smsatRead12()
5766 sm_memset(TL, 0, sizeof(TL)); in smsatRead16()
6978 sm_memset(TL, 0, sizeof(TL)); in smsatWrite12()
7399 sm_memset(TL, 0, sizeof(TL)); in smsatWrite16()
7828 sm_memset(TL, 0, sizeof(TL)); in smsatVerify10()
8112 sm_memset(TL, 0, sizeof(TL)); in smsatVerify12()
8386 sm_memset(TL, 0, sizeof(TL)); in smsatVerify16()
15047 sm_memset(TL, 0, sizeof(TL)); in smsatWriteAndVerify10()
15475 sm_memset(TL, 0, sizeof(TL)); in smsatWriteAndVerify12()
15901 sm_memset(TL, 0, sizeof(TL)); in smsatWriteAndVerify16()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp34 : MF(MF), MRI(MF.getRegInfo()), TL(*MF.getSubtarget().getTargetLowering()), in GISelKnownBits()
55 return TL.computeKnownAlignForTargetInstr(*this, R, MRI, Depth + 1); in computeKnownAlignment()
184 TL.computeKnownBitsForTargetInstr(*this, R, Known, DemandedElts, MRI, in computeKnownBitsImpl()
264 TL.computeKnownBitsForFrameIndex(FrameIdx, Known, MF); in computeKnownBitsImpl()
378 if (TL.getBooleanContents(DstTy.isVector(), in computeKnownBitsImpl()
584 if (TL.getBooleanContents(DstTy.isVector(), false) == in computeKnownBitsImpl()
711 if (TL.getBooleanContents(DstTy.isVector(), false) == in computeNumSignBits()
723 auto BC = TL.getBooleanContents(DstTy.isVector(), IsFP); in computeNumSignBits()
736 TL.computeNumSignBitsForTargetInstr(*this, R, DemandedElts, MRI, Depth); in computeNumSignBits()
/freebsd-14.2/sys/dev/pms/RefTisa/tisa/sassata/sata/host/
H A Dsat.c1268 osti_memset(TL, 0, sizeof(TL)); in satRead10()
1994 osti_memset(TL, 0, sizeof(TL)); in satRead12()
2427 osti_memset(TL, 0, sizeof(TL)); in satRead16()
3205 osti_memset(TL, 0, sizeof(TL)); in satWrite16()
3637 osti_memset(TL, 0, sizeof(TL)); in satWrite12()
4058 osti_memset(TL, 0, sizeof(TL)); in satWrite10()
7852 osti_memset(TL, 0, sizeof(TL)); in satVerify10()
8278 osti_memset(TL, 0, sizeof(TL)); in satVerify12()
8560 osti_memset(TL, 0, sizeof(TL)); in satVerify16()
13521 osti_memset(TL, 0, sizeof(TL)); in satWriteAndVerify10()
[all …]
/freebsd-14.2/sys/contrib/ck/include/
H A Dck_elide.h231 #define CK_ELIDE_TRYLOCK_PROTOTYPE(N, T, TL_P, TL) \ argument
288 #define CK_ELIDE_TRYLOCK_PROTOTYPE(N, T, TL_P, TL) \ argument

1234