| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Designator.h | 49 SourceLocation NameLoc; member 87 return FieldInfo.NameLoc; in getFieldLoc() 128 SourceLocation NameLoc) { in getField() argument 134 D.FieldInfo.NameLoc = NameLoc; in getField()
|
| /llvm-project-15.0.7/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 59 StringRef splitMnemonic(StringRef Name, SMLoc NameLoc, 67 SMLoc NameLoc, OperandVector &Operands) override; 1059 StringRef LanaiAsmParser::splitMnemonic(StringRef Name, SMLoc NameLoc, in splitMnemonic() argument 1083 MCConstantExpr::create(CondCode, getContext()), NameLoc, NameLoc)); in splitMnemonic() 1112 MCConstantExpr::create(CondCode, getContext()), NameLoc, NameLoc)); in splitMnemonic() 1117 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc)); in splitMnemonic() 1119 Operands->push_back(LanaiOperand::CreateToken(".r", NameLoc)); in splitMnemonic() 1184 StringRef Name, SMLoc NameLoc, in ParseInstruction() argument 1187 StringRef Mnemonic = splitMnemonic(Name, NameLoc, &Operands); in ParseInstruction() 1206 NameLoc, NameLoc)); in ParseInstruction() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/VE/AsmParser/ |
| H A D | VEAsmParser.cpp | 85 StringRef splitMnemonic(StringRef Name, SMLoc NameLoc, 868 Operands->push_back(VEOperand::CreateToken(Name, NameLoc)); in parseCC() 877 Operands->push_back(VEOperand::CreateToken(Name, NameLoc)); in parseCC() 892 Operands->push_back(VEOperand::CreateToken(Name, NameLoc)); in parseRD() 901 Operands->push_back(VEOperand::CreateToken(Name, NameLoc)); in parseRD() 932 Mnemonic = parseRD(Name, 10, NameLoc, Operands); in splitMnemonic() 934 Mnemonic = parseRD(Name, 7, NameLoc, Operands); in splitMnemonic() 937 Mnemonic = parseRD(Name, 11, NameLoc, Operands); in splitMnemonic() 939 Mnemonic = parseRD(Name, 8, NameLoc, Operands); in splitMnemonic() 942 Mnemonic = parseRD(Name, 12, NameLoc, Operands); in splitMnemonic() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclarationName.h | 773 SourceLocation NameLoc; member 782 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc) in DeclarationNameInfo() 783 : Name(Name), NameLoc(NameLoc), LocInfo(Name) {} in DeclarationNameInfo() 785 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc, in DeclarationNameInfo() 787 : Name(Name), NameLoc(NameLoc), LocInfo(LocInfo) {} in DeclarationNameInfo() 796 SourceLocation getLoc() const { return NameLoc; } in getLoc() 799 void setLoc(SourceLocation L) { NameLoc = L; } in setLoc() 869 SourceLocation getBeginLoc() const { return NameLoc; } in getBeginLoc()
|
| H A D | TypeLoc.h | 508 SourceLocation NameLoc; member 528 this->getLocalData()->NameLoc = Loc; in setNameLoc() 752 SourceLocation NameLoc; member 1067 SourceLocation NameLoc; member 1082 return getLocalData()->NameLoc; in getNameLoc() 1086 getLocalData()->NameLoc = Loc; in setNameLoc() 1597 SourceLocation NameLoc; member 1653 return getLocalData()->NameLoc; in getTemplateNameLoc() 1657 getLocalData()->NameLoc = Loc; in setTemplateNameLoc() 1785 SourceLocation NameLoc; member [all …]
|
| /llvm-project-15.0.7/cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/ |
| H A D | mlir-support.cpp | 30 auto NameLoc = mlir::NameLoc::get(Identifier); variable 32 auto FusedLoc = mlir::FusedLoc::get(&Context, {FileLineColLoc, NameLoc});
|
| H A D | mlir-support.gdb | 89 # CHECK-LABEL: +print NameLoc 90 print NameLoc 91 # CHECK: typeID = mlir::TypeID::get<mlir::NameLoc>() 109 # CHECK: typeID = mlir::TypeID::get<mlir::NameLoc>()
|
| /llvm-project-15.0.7/llvm/lib/Target/MSP430/AsmParser/ |
| H A D | MSP430AsmParser.cpp | 53 SMLoc NameLoc, OperandVector &Operands) override; 62 SMLoc NameLoc, OperandVector &Operands); 330 StringRef Name, SMLoc NameLoc, in parseJccInstruction() argument 354 return Error(NameLoc, "unknown instruction"); in parseJccInstruction() 357 Operands.push_back(MSP430Operand::CreateToken("jmp", NameLoc)); in parseJccInstruction() 359 Operands.push_back(MSP430Operand::CreateToken("j", NameLoc)); in parseJccInstruction() 392 StringRef Name, SMLoc NameLoc, in ParseInstruction() argument 398 if (!parseJccInstruction(Info, Name, NameLoc, Operands)) in ParseInstruction() 402 Operands.push_back(MSP430Operand::CreateToken(Name, NameLoc)); in ParseInstruction()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FindSymbols.cpp | 245 SourceLocation NameLoc = ND.getLocation(); in declToSym() local 247 if (NameLoc.isMacroID()) { in declToSym() 248 if (isSpelledInSource(NameLoc, SM)) { in declToSym() 250 FallbackNameLoc = SM.getExpansionLoc(NameLoc); in declToSym() 251 NameLoc = SM.getSpellingLoc(NameLoc); in declToSym() 253 NameLoc = SM.getExpansionLoc(NameLoc); in declToSym() 263 SI.selectionRange = ComputeSelectionRange(NameLoc); in declToSym()
|
| H A D | ASTSignals.cpp | 24 if (!isInsideMainFile(Ref.NameLoc, SM)) in derive()
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/AsmParser/ |
| H A D | BPFAsmParser.cpp | 47 SMLoc NameLoc, OperandVector &Operands) override; 464 SMLoc NameLoc, OperandVector &Operands) { in ParseInstruction() argument 469 SMLoc E = SMLoc::getFromPointer(NameLoc.getPointer() - 1); in ParseInstruction() 470 Operands.push_back(BPFOperand::createReg(RegNo, NameLoc, E)); in ParseInstruction() 472 Operands.push_back(BPFOperand::createToken(Name, NameLoc)); in ParseInstruction() 474 return Error(NameLoc, "invalid register/token name"); in ParseInstruction()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Location.cpp | 56 .Case([&](NameLoc nameLoc) -> WalkResult { in walk() 67 return attr.isa<CallSiteLoc, FileLineColLoc, FusedLoc, NameLoc, OpaqueLoc, in classof()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | LocationParser.cpp | 138 loc = NameLoc::get(StringAttr::get(ctx, str), childLoc); in parseNameOrFileLineColLocation() 145 loc = NameLoc::get(StringAttr::get(ctx, str)); in parseNameOrFileLineColLocation()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseInit.cpp | 174 SourceLocation NameLoc = ConsumeToken(); // Eat the identifier. in ParseInitializerWithPotentialDesignator() local 179 Diag(NameLoc, diag::ext_gnu_old_style_field_designator) in ParseInitializerWithPotentialDesignator() 180 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator() 184 D.AddDesignator(Designator::getField(FieldName, SourceLocation(), NameLoc)); in ParseInitializerWithPotentialDesignator()
|
| H A D | ParseOpenMP.cpp | 859 SourceLocation NameLoc, in checkForDuplicates() argument 862 auto Res = Seen.try_emplace(Name, NameLoc); in checkForDuplicates() 882 SourceLocation NameLoc = Tok.getLocation(); in parseOMPTraitPropertyKind() local 908 Diag(NameLoc, diag::note_omp_declare_variant_ctx_try) in parseOMPTraitPropertyKind() 922 Diag(NameLoc, diag::note_omp_declare_variant_ctx_try) in parseOMPTraitPropertyKind() 935 Diag(NameLoc, diag::note_omp_declare_variant_ctx_try) in parseOMPTraitPropertyKind() 1049 SourceLocation NameLoc = Tok.getLocation(); in parseOMPTraitSelectorKind() local 1072 Diag(NameLoc, diag::note_omp_declare_variant_ctx_try) in parseOMPTraitSelectorKind() 1086 Diag(NameLoc, diag::note_omp_declare_variant_ctx_try) in parseOMPTraitSelectorKind() 1235 SourceLocation NameLoc = Tok.getLocation(); in parseOMPTraitSetKind() local [all …]
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/ |
| H A D | DebugTranslation.cpp | 71 if (auto nameLoc = loc.dyn_cast<NameLoc>()) in extractFileLoc() 166 } else if (auto nameLoc = loc.dyn_cast<NameLoc>()) { in translateLoc() 167 llvmLoc = translateLoc(loc.cast<NameLoc>().getChildLoc(), scope, inlinedAt); in translateLoc()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | DefineOutline.cpp | 162 if (Ref.Qualifier || Ref.Targets.empty() || Ref.NameLoc.isMacroID()) in getFunctionSourceCode() 165 if (Ref.NameLoc != FD->getReturnTypeSourceRange().getBegin() && in getFunctionSourceCode() 166 Ref.NameLoc != FD->getLocation()) in getFunctionSourceCode() 182 tooling::Replacement(SM, Ref.NameLoc, 0, Qualifier))) in getFunctionSourceCode()
|
| H A D | RemoveUsingNamespace.cpp | 159 SourceLocation Loc = Ref.NameLoc; in apply() 169 Loc = SM.getFileLoc(Ref.NameLoc); in apply()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 3115 return Error(NameLoc, "unknown prefix"); in ParseInstruction() 3117 NameLoc = Parser.getTok().getLoc(); in ParseInstruction() 3146 NameLoc = Parser.getTok().getLoc(); in ParseInstruction() 3172 NameLoc.getFromPointer(NameLoc.getPointer() + Name.size()); in ParseInstruction() 3386 return Error(NameLoc, "redundant data16 prefix"); in ParseInstruction() 3390 return Error(NameLoc, "redundant data32 prefix"); in ParseInstruction() 3419 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction() 3458 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction() 3539 X86Operand::CreateReg(X86::DX, NameLoc, NameLoc), in ParseInstruction() 3550 X86Operand::CreateReg(X86::DX, NameLoc, NameLoc)); in ParseInstruction() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/AsmParser/ |
| H A D | WebAssemblyAsmParser.cpp | 470 void addBlockTypeOperand(OperandVector &Operands, SMLoc NameLoc, in addBlockTypeOperand() argument 478 WebAssemblyOperand::Integer, NameLoc, NameLoc, in addBlockTypeOperand() 541 SMLoc NameLoc, OperandVector &Operands) override { in ParseInstruction() argument 544 Name = StringRef(NameLoc.getPointer(), Name.size()); in ParseInstruction() 568 WebAssemblyOperand::Token, NameLoc, SMLoc::getFromPointer(Name.end()), in ParseInstruction() 669 addBlockTypeOperand(Operands, NameLoc, BT); in ParseInstruction() 736 addBlockTypeOperand(Operands, NameLoc, WebAssembly::BlockType::Void); in ParseInstruction()
|
| /llvm-project-15.0.7/clang/unittests/Lex/ |
| H A D | PPCallbacksTest.cpp | 99 void PragmaOpenCLExtension(clang::SourceLocation NameLoc, in PragmaOpenCLExtension() argument 103 this->NameLoc = NameLoc; in PragmaOpenCLExtension() 109 SourceLocation NameLoc; member in __anonec3cc9fe0111::PragmaOpenCLExtensionCallbacks
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | PPCallbacks.h | 254 virtual void PragmaOpenCLExtension(SourceLocation NameLoc, in PragmaOpenCLExtension() argument 554 void PragmaOpenCLExtension(SourceLocation NameLoc, const IdentifierInfo *Name, in PragmaOpenCLExtension() argument 556 First->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State); in PragmaOpenCLExtension() 557 Second->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State); in PragmaOpenCLExtension()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 272 DepTL.setNameLoc(NameLoc); in recoverFromTypeInKnownDependentBase() 491 DiagnoseUseOfDecl(IIDecl, NameLoc); in getTypeName() 623 DepTL.setNameLoc(NameLoc); in ActOnMSVCUnknownTypeName() 1165 DiagnoseUseOfDecl(Type, NameLoc); in ClassifyName() 1179 DiagnoseUseOfDecl(Class, NameLoc); in ClassifyName() 1215 DiagnoseUseOfDecl(Type, NameLoc); in ClassifyName() 14429 Diag(NameLoc, in CheckParameter() 16271 SourceLocation Loc = NameLoc.isValid() ? NameLoc : KWLoc; in ActOnTag() 16660 if (CheckEnumRedeclaration(NameLoc.isValid() ? NameLoc : KWLoc, in ActOnTag() 16758 NameLoc.isValid() ? NameLoc : KWLoc); in ActOnTag() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | BuiltinLocationAttributes.td | 143 // NameLoc 146 def NameLoc : Builtin_LocationAttr<"NameLoc"> {
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclarationName.cpp | 508 return NameLoc; in getEndLocPrivate() 522 return NameLoc; in getEndLocPrivate() 529 return NameLoc; in getEndLocPrivate()
|