| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 60 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { in VisitTypedefTypeLoc() argument 61 SourceLocation Loc = TL.getNameLoc(); in VisitTypedefTypeLoc() 62 TypedefNameDecl *ND = TL.getTypedefNameDecl(); in VisitTypedefTypeLoc() 71 if (auto *CD = TL.getType()->getAsCXXRecordDecl()) { in VisitTypedefTypeLoc() 84 bool VisitAutoTypeLoc(AutoTypeLoc TL) { in VisitAutoTypeLoc() argument 85 if (auto *C = TL.getNamedConcept()) in VisitAutoTypeLoc() 86 return IndexCtx.handleReference(C, TL.getConceptNameLoc(), Parent, in VisitAutoTypeLoc() 119 bool VisitTagTypeLoc(TagTypeLoc TL) { in VisitTagTypeLoc() argument 120 TagDecl *D = TL.getDecl(); in VisitTagTypeLoc() 125 if (TL.isDefinition()) { in VisitTagTypeLoc() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Comment.cpp | 129 TypeLoc TL = SrcTL.IgnoreParens(); in lookThroughTypedefOrTypeAliasLocs() local 132 if (AttributedTypeLoc AttributeTL = TL.getAs<AttributedTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs() 135 if (QualifiedTypeLoc QualifiedTL = TL.getAs<QualifiedTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs() 138 if (PointerTypeLoc PointerTL = TL.getAs<PointerTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs() 141 if (ReferenceTypeLoc ReferenceTL = TL.getAs<ReferenceTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs() 144 if (AdjustedTypeLoc ATL = TL.getAs<AdjustedTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs() 146 if (BlockPointerTypeLoc BlockPointerTL = TL.getAs<BlockPointerTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs() 148 if (MemberPointerTypeLoc MemberPointerTL = TL.getAs<MemberPointerTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs() 150 if (ElaboratedTypeLoc ETL = TL.getAs<ElaboratedTypeLoc>()) in lookThroughTypedefOrTypeAliasLocs() 153 return TL; in lookThroughTypedefOrTypeAliasLocs() [all …]
|
| H A D | TypeLoc.cpp | 55 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { in getLocalSourceRangeImpl() argument 56 if (TL.isNull()) return SourceRange(); in getLocalSourceRangeImpl() 57 return TypeLocRanger().Visit(TL); in getLocalSourceRangeImpl() 126 TypeLoc TypeLoc::getNextTypeLocImpl(TypeLoc TL) { in getNextTypeLocImpl() argument 127 return NextLoc().Visit(TL); in getNextTypeLocImpl() 133 void TypeLoc::initializeImpl(ASTContext &Context, TypeLoc TL, in initializeImpl() argument 136 switch (TL.getTypeLocClass()) { in initializeImpl() 140 CLASS##TypeLoc TLCasted = TL.castAs<CLASS##TypeLoc>(); \ in initializeImpl() 142 TL = TLCasted.getNextTypeLoc(); \ in initializeImpl() 143 if (!TL) return; \ in initializeImpl() [all …]
|
| H A D | DynamicRecursiveASTVisitor.cpp | 119 bool TraverseTypeLoc(TypeLoc TL) { return Visitor.TraverseTypeLoc(TL); } in TraverseTypeLoc() 206 bool VisitTypeLoc(TypeLoc TL) { return Visitor.VisitTypeLoc(TL); } in VisitTypeLoc() 258 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL) { \ 259 return Visitor.Traverse##CLASS##TypeLoc(TL); \ 264 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TL) { \ 265 return Visitor.Visit##CLASS##TypeLoc(TL); \
|
| H A D | ASTTypeTraits.cpp | 203 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()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 109 SourceLocation StartLocationForType(TypeLoc TL) { in StartLocationForType() argument 112 if (auto ElaboratedTypeLoc = TL.getAs<clang::ElaboratedTypeLoc>()) { in StartLocationForType() 117 TL = TL.getNextTypeLoc(); in StartLocationForType() 119 return TL.getBeginLoc(); in StartLocationForType() 122 SourceLocation EndLocationForType(TypeLoc TL) { in EndLocationForType() argument 124 while (TL.getTypeLocClass() == TypeLoc::Elaborated || in EndLocationForType() 125 TL.getTypeLocClass() == TypeLoc::Qualified) in EndLocationForType() 126 TL = TL.getNextTypeLoc(); in EndLocationForType() 131 if (TL.getTypeLocClass() == TypeLoc::TemplateSpecialization) { in EndLocationForType() 132 return TL.castAs<TemplateSpecializationTypeLoc>() in EndLocationForType() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | RecursiveASTVisitor.h | 226 bool TraverseTypeLoc(TypeLoc TL); 413 #define TYPELOC(CLASS, BASE) bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL); 418 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } 419 bool VisitTypeLoc(TypeLoc TL) { return true; } 423 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) { 424 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); 426 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; } 427 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) { 428 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); 430 bool VisitUnqualTypeLoc(UnqualTypeLoc TL) { return true; } [all …]
|
| H A D | ASTNodeTraverser.h | 324 else if (const auto *TL = N.get<TypeLoc>()) in Visit() local 325 Visit(*TL); in Visit() 499 void VisitFunctionProtoTypeLoc(FunctionProtoTypeLoc TL) { in VisitFunctionProtoTypeLoc() argument 500 TypeLocVisitor<Derived>::VisitFunctionTypeLoc(TL); in VisitFunctionProtoTypeLoc() 501 for (const auto *Param : TL.getParams()) in VisitFunctionProtoTypeLoc() 504 void VisitAutoTypeLoc(AutoTypeLoc TL) { in VisitAutoTypeLoc() argument 505 if (const auto *CR = TL.getConceptReference()) { in VisitAutoTypeLoc() 511 void VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) { in VisitMemberPointerTypeLoc() argument 513 Visit(TL.getQualifierLoc().getTypeLoc()); in VisitMemberPointerTypeLoc() 515 void VisitVariableArrayTypeLoc(VariableArrayTypeLoc TL) { in VisitVariableArrayTypeLoc() argument [all …]
|
| H A D | DynamicRecursiveASTVisitor.h | 191 virtual bool TraverseTypeLoc(TypeLoc TL); 222 virtual bool VisitTypeLoc(TypeLoc TL) { return true; } in VisitTypeLoc() argument 228 bool WalkUpFromTypeLoc(TypeLoc TL) { return VisitTypeLoc(TL); } in WalkUpFromTypeLoc() argument 286 virtual bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL); 290 bool WalkUpFrom##CLASS##TypeLoc(CLASS##TypeLoc TL); \ 291 virtual bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TL) { return true; }
|
| H A D | TypeLoc.h | 244 static void initializeImpl(ASTContext &Context, TypeLoc TL, 246 static TypeLoc getNextTypeLocImpl(TypeLoc TL); 247 static TypeLoc IgnoreParensImpl(TypeLoc TL); 248 static SourceRange getLocalSourceRangeImpl(TypeLoc TL); 280 static bool isKind(const TypeLoc &TL) { in isKind() argument 281 return !TL.getType().hasLocalQualifiers(); in isKind() 334 static bool isKind(const TypeLoc &TL) { in isKind() argument 335 return TL.getType().hasLocalQualifiers(); in isKind() 381 static bool isKind(const TypeLoc &TL) { in isKind() argument 382 return !TL.getType().hasLocalQualifiers() && in isKind() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | TreeTransform.h | 346 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL); 675 TemplateTypeParmTypeLoc TL, 679 SubstTemplateTypeParmPackTypeLoc TL, 684 FunctionProtoTypeLoc TL, 698 TemplateSpecializationTypeLoc TL, 703 DependentTemplateSpecializationTypeLoc TL, 708 TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL, 783 QualType TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL); 836 QualType RebuildQualifiedType(QualType T, QualifiedTypeLoc TL); 4257 TypeLoc TransformTypeInObjectScope(TypeLoc TL, [all …]
|
| H A D | SemaType.cpp | 5815 static void fillAttributedTypeLoc(AttributedTypeLoc TL, in fillAttributedTypeLoc() argument 5817 TL.setAttr(State.takeAttrForAttributedType(TL.getTypePtr())); in fillAttributedTypeLoc() 5820 static void fillHLSLAttributedResourceTypeLoc(HLSLAttributedResourceTypeLoc TL, in fillHLSLAttributedResourceTypeLoc() argument 5823 State.getSema().HLSL().TakeLocForHLSLAttribute(TL.getTypePtr()); in fillHLSLAttributedResourceTypeLoc() 5824 TL.setSourceRange(LocInfo.Range); in fillHLSLAttributedResourceTypeLoc() 5825 TL.setContainedTypeSourceInfo(LocInfo.ContainedTyInfo); in fillHLSLAttributedResourceTypeLoc() 5879 void VisitAttributedTypeLoc(AttributedTypeLoc TL) { in VisitAttributedTypeLoc() argument 5880 Visit(TL.getModifiedLoc()); in VisitAttributedTypeLoc() 5881 fillAttributedTypeLoc(TL, State); in VisitAttributedTypeLoc() 5883 void VisitBTFTagAttributedTypeLoc(BTFTagAttributedTypeLoc TL) { in VisitBTFTagAttributedTypeLoc() argument [all …]
|
| H A D | SemaTemplateVariadic.cpp | 83 bool VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) override { in VisitTemplateTypeParmTypeLoc() argument 84 if (TL.getTypePtr()->isParameterPack()) in VisitTemplateTypeParmTypeLoc() 85 addUnexpanded(TL.getTypePtr(), TL.getNameLoc()); in VisitTemplateTypeParmTypeLoc() 168 bool TraverseTypeLoc(TypeLoc TL) override { in TraverseTypeLoc() argument 169 if ((!TL.getType().isNull() && in TraverseTypeLoc() 170 TL.getType()->containsUnexpandedParameterPack()) || in TraverseTypeLoc() 172 return DynamicRecursiveASTVisitor::TraverseTypeLoc(TL); in TraverseTypeLoc() 201 bool TraversePackExpansionTypeLoc(PackExpansionTypeLoc TL) override { in TraversePackExpansionTypeLoc() argument 214 bool TraversePackIndexingTypeLoc(PackIndexingTypeLoc TL) override { in TraversePackIndexingTypeLoc() argument 215 return DynamicRecursiveASTVisitor::TraverseStmt(TL.getIndexExpr()); in TraversePackIndexingTypeLoc() [all …]
|
| H A D | SemaTemplateInstantiate.cpp | 1647 FunctionProtoTypeLoc TL) { in TransformFunctionProtoType() argument 1649 return inherited::TransformFunctionProtoType(TLB, TL); in TransformFunctionProtoType() 1653 InjectedClassNameTypeLoc TL) { in TransformInjectedClassNameType() argument 1654 auto Type = inherited::TransformInjectedClassNameType(TLB, TL); in TransformInjectedClassNameType() 1662 if (auto *ICT = TL.getType()->getAs<InjectedClassNameType>()) { in TransformInjectedClassNameType() 1665 TLB.pushTrivial(SemaRef.Context, Type, TL.getNameLoc()); in TransformInjectedClassNameType() 1722 FunctionProtoTypeLoc TL, 1736 TemplateTypeParmTypeLoc TL, 1750 SubstTemplateTypeParmPackTypeLoc TL, 1977 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); in maybeInstantiateFunctionParameterToScope() local [all …]
|
| H A D | SemaTemplateDeductionGuide.cpp | 137 QualType TransformTypedefType(TypeLocBuilder &TLB, TypedefTypeLoc TL) { in TransformTypedefType() argument 139 TypedefNameDecl *OrigDecl = TL.getTypedefNameDecl(); in TransformTypedefType() 158 TL.getTypePtr()->isInstantiationDependentType()) { in TransformTypedefType() 185 TypedefTL.setNameLoc(TL.getNameLoc()); in TransformTypedefType() 548 TypeLocBuilder &TLB, FunctionProtoTypeLoc TL, in transformFunctionProtoType() 553 const FunctionProtoType *T = TL.getTypePtr(); in transformFunctionProtoType() 556 for (auto *OldParam : TL.getParams()) { in transformFunctionProtoType() 605 ReturnType, ParamTypes, TL.getBeginLoc(), DeductionGuideName, EPI); in transformFunctionProtoType() 610 NewTL.setLocalRangeBegin(TL.getLocalRangeBegin()); in transformFunctionProtoType() 611 NewTL.setLParenLoc(TL.getLParenLoc()); in transformFunctionProtoType() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 352 void TypeLocWriter::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument 356 void TypeLocWriter::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { in VisitBuiltinTypeLoc() argument 357 addSourceLocation(TL.getBuiltinLoc()); in VisitBuiltinTypeLoc() 358 if (TL.needsExtraLocalData()) { in VisitBuiltinTypeLoc() 359 Record.push_back(TL.getWrittenTypeSpec()); in VisitBuiltinTypeLoc() 360 Record.push_back(static_cast<uint64_t>(TL.getWrittenSignSpec())); in VisitBuiltinTypeLoc() 361 Record.push_back(static_cast<uint64_t>(TL.getWrittenWidthSpec())); in VisitBuiltinTypeLoc() 362 Record.push_back(TL.hasModeAttr()); in VisitBuiltinTypeLoc() 366 void TypeLocWriter::VisitComplexTypeLoc(ComplexTypeLoc TL) { in VisitComplexTypeLoc() argument 367 addSourceLocation(TL.getNameLoc()); in VisitComplexTypeLoc() [all …]
|
| H A D | ASTReader.cpp | 7118 void TypeLocReader::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument 7122 void TypeLocReader::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { in VisitBuiltinTypeLoc() argument 7123 TL.setBuiltinLoc(readSourceLocation()); in VisitBuiltinTypeLoc() 7124 if (TL.needsExtraLocalData()) { in VisitBuiltinTypeLoc() 7125 TL.setWrittenTypeSpec(static_cast<DeclSpec::TST>(Reader.readInt())); in VisitBuiltinTypeLoc() 7126 TL.setWrittenSignSpec(static_cast<TypeSpecifierSign>(Reader.readInt())); in VisitBuiltinTypeLoc() 7127 TL.setWrittenWidthSpec(static_cast<TypeSpecifierWidth>(Reader.readInt())); in VisitBuiltinTypeLoc() 7128 TL.setModeAttr(Reader.readInt()); in VisitBuiltinTypeLoc() 7132 void TypeLocReader::VisitComplexTypeLoc(ComplexTypeLoc TL) { in VisitComplexTypeLoc() argument 7133 TL.setNameLoc(readSourceLocation()); in VisitComplexTypeLoc() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
| H A D | RecursiveSymbolVisitor.h | 108 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 D | SafeStack.cpp | 113 const TargetLoweringBase &TL; member in __anon0b441ea90111::SafeStack 191 SafeStack(Function &F, const TargetLoweringBase &TL, const DataLayout &DL, in SafeStack() argument 193 : F(F), TL(TL), DL(DL), DTU(DTU), SE(SE), in SafeStack() 365 Value *StackGuardVar = TL.getIRStackGuard(IRB); in getStackGuard() 369 TL.insertSSPDeclarations(*M); in getStackGuard() 479 TL.getLibcallName(RTLIB::STACKPROTECTOR_CHECK_FAIL); in checkStackGuard() 803 TL.getLibcallName(RTLIB::SAFESTACK_POINTER_ADDRESS); in run() 814 UnsafeStackPtr = TL.getSafeStackPointerLocation(IRB); in run() 901 auto *TL = TM->getSubtargetImpl(F)->getTargetLowering(); in runOnFunction() local 902 if (!TL) in runOnFunction() [all …]
|
| H A D | ExpandMemCmp.cpp | 891 const TargetTransformInfo *TTI, const TargetLowering *TL, 897 const TargetLowering *TL, 916 const TargetLowering* TL = in runOnFunction() local 930 auto PA = runImpl(F, TLI, TTI, TL, PSI, BFI, DT); in runOnFunction() 946 const TargetTransformInfo *TTI, const TargetLowering *TL, in runOnBlock() argument 957 expandMemCmp(CI, TTI, TL, &DL, PSI, BFI, DTU, Func == LibFunc_bcmp)) { in runOnBlock() 966 const TargetLowering *TL, ProfileSummaryInfo *PSI, in runImpl() argument 975 if (runOnBlock(*BBIt, TLI, TTI, TL, DL, PSI, BFI, DTU ? &*DTU : nullptr)) { in runImpl() 998 const auto *TL = TM->getSubtargetImpl(F)->getTargetLowering(); in run() local 1008 return runImpl(F, &TLI, &TTI, TL, PSI, BFI, DT); in run()
|
| H A D | ComplexDeinterleavingPass.cpp | 235 explicit ComplexDeinterleavingGraph(const TargetLowering *TL, in ComplexDeinterleavingGraph() argument 237 : TL(TL), TLI(TLI) {} in ComplexDeinterleavingGraph() 240 const TargetLowering *TL = nullptr; member in __anon87c1be940111::ComplexDeinterleavingGraph 446 : TL(tl), TLI(tli) {} in ComplexDeinterleaving() 452 const TargetLowering *TL = nullptr; member in __anon87c1be940111::ComplexDeinterleaving 467 const TargetLowering *TL = TM->getSubtargetImpl(F)->getTargetLowering(); in run() local 469 if (!ComplexDeinterleaving(TL, &TLI).runOnFunction(F)) in run() 482 const auto *TL = TM->getSubtargetImpl(F)->getTargetLowering(); in runOnFunction() local 484 return ComplexDeinterleaving(TL, &TLI).runOnFunction(F); in runOnFunction() 494 if (!TL->isComplexDeinterleavingSupported()) { in runOnFunction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DirectXSubtarget.h | 32 DirectXTargetLowering TL; variable 46 return &TL; in getTargetLowering()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVSourceLanguage.h | 50 bool operator==(const LVSourceLanguage::TaggedLanguage &TL) const { 51 return get() == TL;
|
| /freebsd/sys/dev/pms/RefTisa/sat/src/ |
| H A D | smsat.c | 4802 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/sys/dev/pms/RefTisa/tisa/sassata/sata/host/ |
| H A D | sat.c | 1213 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 …]
|