Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp59 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { in VisitTypedefTypeLoc() argument
60 SourceLocation Loc = TL.getNameLoc(); in VisitTypedefTypeLoc()
61 TypedefNameDecl *ND = TL.getTypedefNameDecl(); in VisitTypedefTypeLoc()
70 if (auto *CD = TL.getType()->getAsCXXRecordDecl()) { in VisitTypedefTypeLoc()
83 bool VisitAutoTypeLoc(AutoTypeLoc TL) { in VisitAutoTypeLoc() argument
84 if (auto *C = TL.getNamedConcept()) in VisitAutoTypeLoc()
85 return IndexCtx.handleReference(C, TL.getConceptNameLoc(), Parent, in VisitAutoTypeLoc()
118 bool VisitTagTypeLoc(TagTypeLoc TL) { in VisitTagTypeLoc() argument
119 TagDecl *D = TL.getDecl(); in VisitTagTypeLoc()
124 if (TL.isDefinition()) { in VisitTagTypeLoc()
[all …]
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp40 bool VisitAttributedTypeLoc(AttributedTypeLoc TL) { in VisitAttributedTypeLoc() argument
41 handleAttr(TL); in VisitAttributedTypeLoc()
63 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute() local
64 while (TL) { in lookForAttribute()
65 if (QualifiedTypeLoc QL = TL.getAs<QualifiedTypeLoc>()) { in lookForAttribute()
66 TL = QL.getUnqualifiedLoc(); in lookForAttribute()
67 } else if (AttributedTypeLoc Attr = TL.getAs<AttributedTypeLoc>()) { in lookForAttribute()
70 TL = Attr.getModifiedLoc(); in lookForAttribute()
72 TL.getAs<MacroQualifiedTypeLoc>()) { in lookForAttribute()
73 TL = MDTL.getInnerLoc(); in lookForAttribute()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DRecursiveASTVisitor.h224 bool TraverseTypeLoc(TypeLoc TL);
411 #define TYPELOC(CLASS, BASE) bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
416 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); }
417 bool VisitTypeLoc(TypeLoc TL) { return true; }
421 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) {
422 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc());
424 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; }
425 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) {
426 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc());
428 bool VisitUnqualTypeLoc(UnqualTypeLoc TL) { return true; }
[all …]
H A DASTNodeTraverser.h324 else if (const auto *TL = N.get<TypeLoc>()) in Visit() local
325 Visit(*TL); in Visit()
470 void VisitFunctionProtoTypeLoc(FunctionProtoTypeLoc TL) { in VisitFunctionProtoTypeLoc() argument
471 TypeLocVisitor<Derived>::VisitFunctionTypeLoc(TL); in VisitFunctionProtoTypeLoc()
472 for (const auto *Param : TL.getParams()) in VisitFunctionProtoTypeLoc()
475 void VisitAutoTypeLoc(AutoTypeLoc TL) { in VisitAutoTypeLoc() argument
476 if (const auto *CR = TL.getConceptReference()) { in VisitAutoTypeLoc()
482 void VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) { in VisitMemberPointerTypeLoc() argument
483 Visit(TL.getClassTInfo()->getTypeLoc()); in VisitMemberPointerTypeLoc()
485 void VisitVariableArrayTypeLoc(VariableArrayTypeLoc TL) { in VisitVariableArrayTypeLoc() argument
[all …]
H A DTypeLoc.h243 static void initializeImpl(ASTContext &Context, TypeLoc TL,
245 static TypeLoc getNextTypeLocImpl(TypeLoc TL);
246 static TypeLoc IgnoreParensImpl(TypeLoc TL);
247 static SourceRange getLocalSourceRangeImpl(TypeLoc TL);
279 static bool isKind(const TypeLoc &TL) { in isKind() argument
280 return !TL.getType().hasLocalQualifiers(); in isKind()
333 static bool isKind(const TypeLoc &TL) { in isKind() argument
334 return TL.getType().hasLocalQualifiers(); in isKind()
380 static bool isKind(const TypeLoc &TL) { in isKind() argument
381 return !TL.getType().hasLocalQualifiers() && in isKind()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTypeLoc.cpp54 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { in getLocalSourceRangeImpl() argument
55 if (TL.isNull()) return SourceRange(); in getLocalSourceRangeImpl()
56 return TypeLocRanger().Visit(TL); in getLocalSourceRangeImpl()
125 TypeLoc TypeLoc::getNextTypeLocImpl(TypeLoc TL) { in getNextTypeLocImpl() argument
126 return NextLoc().Visit(TL); in getNextTypeLocImpl()
132 void TypeLoc::initializeImpl(ASTContext &Context, TypeLoc TL, in initializeImpl() argument
135 switch (TL.getTypeLocClass()) { in initializeImpl()
139 CLASS##TypeLoc TLCasted = TL.castAs<CLASS##TypeLoc>(); \ in initializeImpl()
141 TL = TLCasted.getNextTypeLoc(); \ in initializeImpl()
142 if (!TL) return; \ in initializeImpl()
[all …]
H A DASTTypeTraits.cpp203 else if (const TypeLoc *TL = get<TypeLoc>()) in print() local
204 TL->getType().print(OS, PP); in print()
231 else if (const TypeLoc *TL = get<TypeLoc>()) in dump() local
232 TL->dump(OS, Context); in dump()
242 if (const TypeLoc *TL = get<TypeLoc>()) in getSourceRange() local
243 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/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h341 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL);
669 TemplateTypeParmTypeLoc TL,
673 SubstTemplateTypeParmPackTypeLoc TL,
678 FunctionProtoTypeLoc TL,
684 QualType TransformAttributedType(TypeLocBuilder &TLB, AttributedTypeLoc TL,
696 TemplateSpecializationTypeLoc TL,
701 DependentTemplateSpecializationTypeLoc TL,
706 TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL,
781 QualType TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL);
832 QualType RebuildQualifiedType(QualType T, QualifiedTypeLoc TL);
[all …]
H A DSemaType.cpp5773 static void fillAttributedTypeLoc(AttributedTypeLoc TL, in fillAttributedTypeLoc() argument
5775 TL.setAttr(State.takeAttrForAttributedType(TL.getTypePtr())); in fillAttributedTypeLoc()
5805 void VisitAttributedTypeLoc(AttributedTypeLoc TL) { in VisitAttributedTypeLoc() argument
5806 Visit(TL.getModifiedLoc()); in VisitAttributedTypeLoc()
5807 fillAttributedTypeLoc(TL, State); in VisitAttributedTypeLoc()
5809 void VisitBTFTagAttributedTypeLoc(BTFTagAttributedTypeLoc TL) { in VisitBTFTagAttributedTypeLoc() argument
5810 Visit(TL.getWrappedLoc()); in VisitBTFTagAttributedTypeLoc()
5812 void VisitMacroQualifiedTypeLoc(MacroQualifiedTypeLoc TL) { in VisitMacroQualifiedTypeLoc() argument
5813 Visit(TL.getInnerLoc()); in VisitMacroQualifiedTypeLoc()
5814 TL.setExpansionLoc( in VisitMacroQualifiedTypeLoc()
[all …]
H A DSemaTemplateVariadic.cpp77 bool VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) { in VisitTemplateTypeParmTypeLoc() argument
78 if (TL.getTypePtr()->isParameterPack()) in VisitTemplateTypeParmTypeLoc()
79 addUnexpanded(TL.getTypePtr(), TL.getNameLoc()); in VisitTemplateTypeParmTypeLoc()
156 bool TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc() argument
157 if ((!TL.getType().isNull() && in TraverseTypeLoc()
158 TL.getType()->containsUnexpandedParameterPack()) || in TraverseTypeLoc()
160 return inherited::TraverseTypeLoc(TL); in TraverseTypeLoc()
187 bool TraversePackExpansionTypeLoc(PackExpansionTypeLoc TL) { return true; } in TraversePackExpansionTypeLoc() argument
196 bool TraversePackIndexingTypeLoc(PackIndexingTypeLoc TL) { in TraversePackIndexingTypeLoc() argument
197 return inherited::TraverseStmt(TL.getIndexExpr()); in TraversePackIndexingTypeLoc()
[all …]
H A DSemaTemplateInstantiate.cpp1555 FunctionProtoTypeLoc TL) { in TransformFunctionProtoType() argument
1557 return inherited::TransformFunctionProtoType(TLB, TL); in TransformFunctionProtoType()
1561 InjectedClassNameTypeLoc TL) { in TransformInjectedClassNameType() argument
1562 auto Type = inherited::TransformInjectedClassNameType(TLB, TL); in TransformInjectedClassNameType()
1570 if (auto *ICT = TL.getType()->getAs<InjectedClassNameType>()) { in TransformInjectedClassNameType()
1573 TLB.pushTrivial(SemaRef.Context, Type, TL.getNameLoc()); in TransformInjectedClassNameType()
1610 FunctionProtoTypeLoc TL,
1624 TemplateTypeParmTypeLoc TL,
1638 SubstTemplateTypeParmPackTypeLoc TL,
2407 FunctionProtoTypeLoc TL, in TransformFunctionProtoType() argument
[all …]
H A DSemaSYCL.cpp169 const TemplateParameterList *TL = FT->getTemplateParameters(); in handleKernelAttr() local
170 if (TL->size() < 2) { in handleKernelAttr()
177 const NamedDecl *TParam = TL->getParam(I); in handleKernelAttr()
H A DSemaTemplateDeductionGuide.cpp138 QualType TransformTypedefType(TypeLocBuilder &TLB, TypedefTypeLoc TL) { in TransformTypedefType() argument
140 TypedefNameDecl *OrigDecl = TL.getTypedefNameDecl(); in TransformTypedefType()
159 TL.getTypePtr()->isInstantiationDependentType()) { in TransformTypedefType()
186 TypedefTL.setNameLoc(TL.getNameLoc()); in TransformTypedefType()
502 TypeLocBuilder &TLB, FunctionProtoTypeLoc TL, in transformFunctionProtoType()
507 const FunctionProtoType *T = TL.getTypePtr(); in transformFunctionProtoType()
510 for (auto *OldParam : TL.getParams()) { in transformFunctionProtoType()
559 ReturnType, ParamTypes, TL.getBeginLoc(), DeductionGuideName, EPI); in transformFunctionProtoType()
564 NewTL.setLocalRangeBegin(TL.getLocalRangeBegin()); in transformFunctionProtoType()
565 NewTL.setLParenLoc(TL.getLParenLoc()); in transformFunctionProtoType()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp324 void TypeLocWriter::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
328 void TypeLocWriter::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { in VisitBuiltinTypeLoc() argument
329 addSourceLocation(TL.getBuiltinLoc()); in VisitBuiltinTypeLoc()
330 if (TL.needsExtraLocalData()) { in VisitBuiltinTypeLoc()
331 Record.push_back(TL.getWrittenTypeSpec()); in VisitBuiltinTypeLoc()
332 Record.push_back(static_cast<uint64_t>(TL.getWrittenSignSpec())); in VisitBuiltinTypeLoc()
333 Record.push_back(static_cast<uint64_t>(TL.getWrittenWidthSpec())); in VisitBuiltinTypeLoc()
334 Record.push_back(TL.hasModeAttr()); in VisitBuiltinTypeLoc()
338 void TypeLocWriter::VisitComplexTypeLoc(ComplexTypeLoc TL) { in VisitComplexTypeLoc() argument
339 addSourceLocation(TL.getNameLoc()); in VisitComplexTypeLoc()
[all …]
H A DASTReader.cpp6783 void TypeLocReader::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
6787 void TypeLocReader::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { in VisitBuiltinTypeLoc() argument
6788 TL.setBuiltinLoc(readSourceLocation()); in VisitBuiltinTypeLoc()
6789 if (TL.needsExtraLocalData()) { in VisitBuiltinTypeLoc()
6790 TL.setWrittenTypeSpec(static_cast<DeclSpec::TST>(Reader.readInt())); in VisitBuiltinTypeLoc()
6791 TL.setWrittenSignSpec(static_cast<TypeSpecifierSign>(Reader.readInt())); in VisitBuiltinTypeLoc()
6792 TL.setWrittenWidthSpec(static_cast<TypeSpecifierWidth>(Reader.readInt())); in VisitBuiltinTypeLoc()
6793 TL.setModeAttr(Reader.readInt()); in VisitBuiltinTypeLoc()
6797 void TypeLocReader::VisitComplexTypeLoc(ComplexTypeLoc TL) { in VisitComplexTypeLoc() argument
6798 TL.setNameLoc(readSourceLocation()); in VisitComplexTypeLoc()
[all …]
/freebsd/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/contrib/llvm-project/llvm/lib/CodeGen/
H A DSafeStack.cpp114 const TargetLoweringBase &TL; member in __anon0b441ea90111::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()
921 return SafeStack(F, *TL, *DL, ShouldPreserveDominatorTree ? &DTU : nullptr, in runOnFunction()
945 auto *TL = TM->getSubtargetImpl(F)->getTargetLowering(); in run() local
[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 __anon87c1be940111::ComplexDeinterleavingGraph
430 : TL(tl), TLI(tli) {} in ComplexDeinterleaving()
436 const TargetLowering *TL = nullptr; member in __anon87c1be940111::ComplexDeinterleaving
451 const TargetLowering *TL = TM->getSubtargetImpl(F)->getTargetLowering(); in run() local
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()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDirectXSubtarget.h32 DirectXTargetLowering TL; variable
46 return &TL; in getTargetLowering()
/freebsd/sys/dev/pms/RefTisa/sat/src/
H A Dsmsat.c4802 bit8 TL[8]; in smsatRead10() local
4868 TL[0] = 0; in smsatRead10()
4869 TL[1] = 0; in smsatRead10()
4870 TL[2] = 0; in smsatRead10()
4871 TL[3] = 0; in smsatRead10()
4872 TL[4] = 0; in smsatRead10()
4873 TL[5] = 0; in smsatRead10()
4874 TL[6] = scsiCmnd->cdb[7]; in smsatRead10()
4875 TL[7] = scsiCmnd->cdb[8]; /* LSB */ in smsatRead10()
4903 AllChk = smsatCheckLimit(LBA, TL, agFALSE, pSatDevData); in smsatRead10()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp36 : MF(MF), MRI(MF.getRegInfo()), TL(*MF.getSubtarget().getTargetLowering()), in GISelKnownBits()
57 return TL.computeKnownAlignForTargetInstr(*this, R, MRI, Depth + 1); in computeKnownAlignment()
189 TL.computeKnownBitsForTargetInstr(*this, R, Known, DemandedElts, MRI, in computeKnownBitsImpl()
266 TL.computeKnownBitsForFrameIndex(FrameIdx, Known, MF); in computeKnownBitsImpl()
380 if (TL.getBooleanContents(DstTy.isVector(), in computeKnownBitsImpl()
592 if (TL.getBooleanContents(DstTy.isVector(), false) == in computeKnownBitsImpl()
789 if (TL.getBooleanContents(DstTy.isVector(), false) == in computeNumSignBits()
801 auto BC = TL.getBooleanContents(DstTy.isVector(), IsFP); in computeNumSignBits()
814 TL.computeNumSignBitsForTargetInstr(*this, R, DemandedElts, MRI, Depth); in computeNumSignBits()
/freebsd/sys/dev/pms/RefTisa/tisa/sassata/sata/host/
H A Dsat.c1213 bit8 TL[4]; in satRead10() local
1268 osti_memset(TL, 0, sizeof(TL)); in satRead10()
1276 TL[0] = 0; in satRead10()
1277 TL[1] = 0; in satRead10()
1278 TL[2] = scsiCmnd->cdb[7]; /* MSB */ in satRead10()
1279 TL[3] = scsiCmnd->cdb[8]; /* LSB */ in satRead10()
1281 rangeChk = satAddNComparebit32(LBA, TL); in satRead10()
1941 bit8 TL[4]; in satRead12() local
1994 osti_memset(TL, 0, sizeof(TL)); in satRead12()
2002 TL[0] = scsiCmnd->cdb[6]; /* MSB */ in satRead12()
[all …]
/freebsd/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