Home
last modified time | relevance | path

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

123456

/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp56 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { in VisitTypedefTypeLoc() argument
57 SourceLocation Loc = TL.getNameLoc(); in VisitTypedefTypeLoc()
58 TypedefNameDecl *ND = TL.getTypedefNameDecl(); in VisitTypedefTypeLoc()
67 if (auto *CD = TL.getType()->getAsCXXRecordDecl()) { in VisitTypedefTypeLoc()
108 bool VisitTagTypeLoc(TagTypeLoc TL) { in VisitTagTypeLoc() argument
109 TagDecl *D = TL.getDecl(); in VisitTagTypeLoc()
114 if (TL.isDefinition()) { in VisitTagTypeLoc()
119 return IndexCtx.handleReference(D, TL.getNameLoc(), in VisitTagTypeLoc()
124 bool VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) { in VisitObjCInterfaceTypeLoc() argument
125 return IndexCtx.handleReference(TL.getIFaceDecl(), TL.getNameLoc(), in VisitObjCInterfaceTypeLoc()
[all …]
/netbsd-src/external/bsd/pcc/dist/pcc/arch/m16c/
H A Dtable.c9 # define TL TLONG|TULONG macro
34 SANY, TL,
41 SANY, TL,
54 SAREG, TL,
55 SANY, TL,
61 SAREG|SOREG|SNAME, TL,
82 SAREG, TL,
94 SAREG, TL,
95 SCON|SNAME|SOREG, TL,
100 SAREG, TL,
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DComment.cpp131 TypeLoc TL = SrcTL.IgnoreParens(); in lookThroughTypedefOrTypeAliasLocs() local
134 if (AttributedTypeLoc AttributeTL = TL.getAs<AttributedTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs()
137 if (QualifiedTypeLoc QualifiedTL = TL.getAs<QualifiedTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs()
140 if (PointerTypeLoc PointerTL = TL.getAs<PointerTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs()
143 if (ReferenceTypeLoc ReferenceTL = TL.getAs<ReferenceTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs()
146 if (AdjustedTypeLoc ATL = TL.getAs<AdjustedTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs()
148 if (BlockPointerTypeLoc BlockPointerTL = TL.getAs<BlockPointerTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs()
150 if (MemberPointerTypeLoc MemberPointerTL = TL.getAs<MemberPointerTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs()
152 if (ElaboratedTypeLoc ETL = TL.getAs<ElaboratedTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs()
155 return TL; in lookThroughTypedefOrTypeAliasLocs()
[all …]
H A DTypeLoc.cpp53 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { in getLocalSourceRangeImpl() argument
54 if (TL.isNull()) return SourceRange(); in getLocalSourceRangeImpl()
55 return TypeLocRanger().Visit(TL); in getLocalSourceRangeImpl()
124 TypeLoc TypeLoc::getNextTypeLocImpl(TypeLoc TL) { in getNextTypeLocImpl() argument
125 return NextLoc().Visit(TL); in getNextTypeLocImpl()
131 void TypeLoc::initializeImpl(ASTContext &Context, TypeLoc TL, in initializeImpl() argument
134 switch (TL.getTypeLocClass()) { in initializeImpl()
138 CLASS##TypeLoc TLCasted = TL.castAs<CLASS##TypeLoc>(); \ in initializeImpl()
140 TL = TLCasted.getNextTypeLoc(); \ in initializeImpl()
141 if (!TL) return; \ in initializeImpl()
[all …]
H A DASTTypeTraits.cpp157 else if (const TypeLoc *TL = get<TypeLoc>()) in print() local
158 TL->getType().print(OS, PP); in print()
186 if (const TypeLoc *TL = get<TypeLoc>()) in getSourceRange() local
187 return TL->getSourceRange(); in getSourceRange()
/netbsd-src/external/apache2/llvm/dist/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 …]
H A DTransAutoreleasePool.cpp266 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { in VisitTypedefTypeLoc() argument
267 return checkRef(TL.getBeginLoc(), TL.getTypedefNameDecl()->getLocation()); in VisitTypedefTypeLoc()
270 bool VisitTagTypeLoc(TagTypeLoc TL) { in VisitTagTypeLoc() argument
271 return checkRef(TL.getBeginLoc(), TL.getDecl()->getLocation()); in VisitTagTypeLoc()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DRecursiveASTVisitor.h236 bool TraverseTypeLoc(TypeLoc TL);
416 #define TYPELOC(CLASS, BASE) bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
421 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); }
422 bool VisitTypeLoc(TypeLoc TL) { return true; }
426 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) {
427 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc());
429 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; }
430 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) {
431 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc());
433 bool VisitUnqualTypeLoc(UnqualTypeLoc TL) { return true; }
[all …]
/netbsd-src/external/bsd/nvi/dist/cl/
H A Dcl_bsd.c206 } TL; typedef
207 static const TL list[] = {
279 return (strcmp(a, ((const TL *)b)->terminfo)); in lcmp()
302 TL *tlp;
307 list, sizeof(list) / sizeof(TL), sizeof(TL), lcmp)) == NULL) {
345 TL *tlp;
349 list, sizeof(list) / sizeof(TL), sizeof(TL), lcmp)) != NULL) {
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp110 SourceLocation StartLocationForType(TypeLoc TL) { in StartLocationForType() argument
113 if (auto ElaboratedTypeLoc = TL.getAs<clang::ElaboratedTypeLoc>()) { in StartLocationForType()
118 TL = TL.getNextTypeLoc(); in StartLocationForType()
120 return TL.getBeginLoc(); in StartLocationForType()
123 SourceLocation EndLocationForType(TypeLoc TL) { in EndLocationForType() argument
125 while (TL.getTypeLocClass() == TypeLoc::Elaborated || in EndLocationForType()
126 TL.getTypeLocClass() == TypeLoc::Qualified) in EndLocationForType()
127 TL = TL.getNextTypeLoc(); in EndLocationForType()
132 if (TL.getTypeLocClass() == TypeLoc::TemplateSpecialization) { in EndLocationForType()
133 return TL.castAs<TemplateSpecializationTypeLoc>() in EndLocationForType()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DTreeTransform.h334 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL);
641 FunctionProtoTypeLoc TL,
655 TemplateSpecializationTypeLoc TL,
660 DependentTemplateSpecializationTypeLoc TL,
665 TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL,
698 QualType TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL);
746 QualType RebuildQualifiedType(QualType T, QualifiedTypeLoc TL);
3720 TypeLoc TransformTypeInObjectScope(TypeLoc TL,
3730 TypeSourceInfo *TransformTSIInObjectScope(TypeLoc TL, QualType ObjectType,
3735 DependentNameTypeLoc TL,
[all …]
H A DSemaType.cpp5836 static void fillAttributedTypeLoc(AttributedTypeLoc TL, in fillAttributedTypeLoc() argument
5838 TL.setAttr(State.takeAttrForAttributedType(TL.getTypePtr())); in fillAttributedTypeLoc()
5853 void VisitAttributedTypeLoc(AttributedTypeLoc TL) { in VisitAttributedTypeLoc() argument
5854 Visit(TL.getModifiedLoc()); in VisitAttributedTypeLoc()
5855 fillAttributedTypeLoc(TL, State); in VisitAttributedTypeLoc()
5857 void VisitMacroQualifiedTypeLoc(MacroQualifiedTypeLoc TL) { in VisitMacroQualifiedTypeLoc() argument
5858 Visit(TL.getInnerLoc()); in VisitMacroQualifiedTypeLoc()
5859 TL.setExpansionLoc( in VisitMacroQualifiedTypeLoc()
5860 State.getExpansionLocForMacroQualifiedType(TL.getTypePtr())); in VisitMacroQualifiedTypeLoc()
5862 void VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
[all …]
H A DSemaTemplateInstantiate.cpp1103 FunctionProtoTypeLoc TL) { in TransformFunctionProtoType() argument
1105 return inherited::TransformFunctionProtoType(TLB, TL); in TransformFunctionProtoType()
1110 FunctionProtoTypeLoc TL,
1123 TemplateTypeParmTypeLoc TL);
1129 SubstTemplateTypeParmPackTypeLoc TL);
1741 FunctionProtoTypeLoc TL, in TransformFunctionProtoType() argument
1748 TLB, TL, ThisContext, ThisTypeQuals, TransformExceptionSpec); in TransformFunctionProtoType()
1766 TemplateTypeParmTypeLoc TL) { in TransformTemplateTypeParmType() argument
1767 const TemplateTypeParmType *T = TL.getTypePtr(); in TransformTemplateTypeParmType()
1778 = TLB.push<TemplateTypeParmTypeLoc>(TL.getType()); in TransformTemplateTypeParmType()
[all …]
H A DSemaTemplateVariadic.cpp73 bool VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) { in VisitTemplateTypeParmTypeLoc() argument
74 if (TL.getTypePtr()->isParameterPack()) in VisitTemplateTypeParmTypeLoc()
75 addUnexpanded(TL.getTypePtr(), TL.getNameLoc()); in VisitTemplateTypeParmTypeLoc()
152 bool TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc() argument
153 if ((!TL.getType().isNull() && in TraverseTypeLoc()
154 TL.getType()->containsUnexpandedParameterPack()) || in TraverseTypeLoc()
156 return inherited::TraverseTypeLoc(TL); in TraverseTypeLoc()
183 bool TraversePackExpansionTypeLoc(PackExpansionTypeLoc TL) { return true; } in TraversePackExpansionTypeLoc() argument
531 void Sema::collectUnexpandedParameterPacks(TypeLoc TL, in collectUnexpandedParameterPacks() argument
533 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc(TL); in collectUnexpandedParameterPacks()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriter.cpp194 void TypeLocWriter::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
198 void TypeLocWriter::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { in VisitBuiltinTypeLoc() argument
199 Record.AddSourceLocation(TL.getBuiltinLoc()); in VisitBuiltinTypeLoc()
200 if (TL.needsExtraLocalData()) { in VisitBuiltinTypeLoc()
201 Record.push_back(TL.getWrittenTypeSpec()); in VisitBuiltinTypeLoc()
202 Record.push_back(static_cast<uint64_t>(TL.getWrittenSignSpec())); in VisitBuiltinTypeLoc()
203 Record.push_back(static_cast<uint64_t>(TL.getWrittenWidthSpec())); in VisitBuiltinTypeLoc()
204 Record.push_back(TL.hasModeAttr()); in VisitBuiltinTypeLoc()
208 void TypeLocWriter::VisitComplexTypeLoc(ComplexTypeLoc TL) { in VisitComplexTypeLoc() argument
209 Record.AddSourceLocation(TL.getNameLoc()); in VisitComplexTypeLoc()
[all …]
H A DASTReader.cpp6479 void TypeLocReader::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
6483 void TypeLocReader::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { in VisitBuiltinTypeLoc() argument
6484 TL.setBuiltinLoc(readSourceLocation()); in VisitBuiltinTypeLoc()
6485 if (TL.needsExtraLocalData()) { in VisitBuiltinTypeLoc()
6486 TL.setWrittenTypeSpec(static_cast<DeclSpec::TST>(Reader.readInt())); in VisitBuiltinTypeLoc()
6487 TL.setWrittenSignSpec(static_cast<TypeSpecifierSign>(Reader.readInt())); in VisitBuiltinTypeLoc()
6488 TL.setWrittenWidthSpec(static_cast<TypeSpecifierWidth>(Reader.readInt())); in VisitBuiltinTypeLoc()
6489 TL.setModeAttr(Reader.readInt()); in VisitBuiltinTypeLoc()
6493 void TypeLocReader::VisitComplexTypeLoc(ComplexTypeLoc TL) { in VisitComplexTypeLoc() argument
6494 TL.setNameLoc(readSourceLocation()); in VisitComplexTypeLoc()
[all …]
/netbsd-src/games/tetris/
H A Dshapes.c46 #define TL -B_COLS-1 /* top left */ macro
56 /* 0*/ { 7, 7, { TL, TC, MR, } },
59 /* 3*/ { 3, 3, { TL, TC, ML, } },
70 /*14*/ { 4, 4, { TL, TC, BC, } },
72 /*16*/ { 5, 17, { TL, MR, ML, } },
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dtypetuple.d25 alias TL = TypeTuple!(int, double); variable
27 int foo(TL td) // same as int foo(int, double); in foo()
36 alias TL = TypeTuple!(int, double); variable
38 alias Types = TypeTuple!(TL, char);
H A Dmeta.d90 alias TL = AliasSeq!(int, double); variable
92 int foo(TL td) // same as int foo(int, double); in foo()
101 alias TL = AliasSeq!(int, double); variable
103 alias Types = AliasSeq!(TL, char);
366 alias TL = Erase!(long, Types); variable
367 static assert(is(TL == AliasSeq!(int, double, char)));
425 alias TL = EraseAll!(long, Types); variable
426 static assert(is(TL == AliasSeq!(int, int)));
507 alias TL = NoDuplicates!(Types); variable
508 static assert(is(TL == AliasSeq!(int, long, float)));
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dtypetuple.d25 alias TL = TypeTuple!(int, double); variable
27 int foo(TL td) // same as int foo(int, double); in foo()
37 alias TL = TypeTuple!(int, double); variable
39 alias Types = TypeTuple!(TL, char);
H A Dmeta.d95 alias TL = AliasSeq!(int, double); variable
97 int foo(TL td) // same as int foo(int, double); in foo()
106 alias TL = AliasSeq!(int, double); variable
108 alias Types = AliasSeq!(TL, char);
322 alias TL = Erase!(long, Types); variable
323 static assert(is(TL == AliasSeq!(int, double, char)));
403 alias TL = NoDuplicates!(Types); variable
404 static assert(is(TL == AliasSeq!(int, long, float)));
465 alias TL = Replace!(long, char, Types); variable
466 static assert(is(TL == AliasSeq!(int, char, long, int, float)));
[all …]
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/bfin/
H A Dc_dsp32alu_byteop2.s50 R4 = BYTEOP2P ( R1:0 , R3:2 ) (TL);
51 R5 = BYTEOP2P ( R1:0 , R3:2 ) (TL , R);
67 R0 = BYTEOP2P ( R3:2 , R1:0 ) (TL);
68 R1 = BYTEOP2P ( R3:2 , R1:0 ) (TL , R);
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp534 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), in VisitChildren() local
536 TL != TLEnd; ++TL) { in VisitChildren()
537 const Optional<bool> V = handleDeclForVisitation(*TL); in VisitChildren()
733 TypeLoc TL = SpecType->getTypeLoc(); in VisitClassTemplateSpecializationDecl() local
735 TL.getAs<TemplateSpecializationTypeLoc>()) { in VisitClassTemplateSpecializationDecl()
830 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in VisitFunctionDecl() local
831 FunctionTypeLoc FTL = TL.getAs<FunctionTypeLoc>(); in VisitFunctionDecl()
839 (!FTL && Visit(TL))) in VisitFunctionDecl()
1522 bool CursorVisitor::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
1523 return Visit(TL.getUnqualifiedLoc()); in VisitQualifiedTypeLoc()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DInterp.h845 template <PrimType TR, PrimType TL, class T = typename PrimConv<TR>::T>
860 template <PrimType TL, PrimType TR, typename T = typename PrimConv<TL>::T>
870 template <PrimType TL, PrimType TR, typename T = typename PrimConv<TL>::T>
895 template <PrimType TL, PrimType TR>
898 const auto &LHS = S.Stk.pop<typename PrimConv<TL>::T>(); in Shr()
904 return ShiftLeft<TL, TR>(S, OpPC, LHS, Trunc<TR, TL>(S, OpPC, Bits, -RHS)); in Shr()
906 return ShiftRight<TL, TR>(S, OpPC, LHS, Trunc<TR, TL>(S, OpPC, Bits, RHS)); in Shr()
910 template <PrimType TL, PrimType TR>
913 const auto &LHS = S.Stk.pop<typename PrimConv<TL>::T>(); in Shl()
919 return ShiftRight<TL, TR>(S, OpPC, LHS, Trunc<TR, TL>(S, OpPC, Bits, -RHS)); in Shl()
[all …]

123456