/external/clang/include/clang/AST/ |
D | DeclarationName.h | 438 SourceLocation NameLoc; member 446 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc) in DeclarationNameInfo() 447 : Name(Name), NameLoc(NameLoc), LocInfo(Name) {} in DeclarationNameInfo() 449 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc, in DeclarationNameInfo() 451 : Name(Name), NameLoc(NameLoc), LocInfo(LocInfo) {} in DeclarationNameInfo() 459 SourceLocation getLoc() const { return NameLoc; } in getLoc() 461 void setLoc(SourceLocation L) { NameLoc = L; } in setLoc() 531 SourceLocation getBeginLoc() const { return NameLoc; } in getBeginLoc()
|
D | TypeLoc.h | 480 SourceLocation NameLoc; member 494 return this->getLocalData()->NameLoc; in getNameLoc() 497 this->getLocalData()->NameLoc = Loc; in setNameLoc() 976 SourceLocation NameLoc; member 991 return getLocalData()->NameLoc; in getNameLoc() 995 getLocalData()->NameLoc = Loc; in setNameLoc() 1433 SourceLocation NameLoc; member 1484 return getLocalData()->NameLoc; in getTemplateNameLoc() 1487 getLocalData()->NameLoc = Loc; in setTemplateNameLoc() 1777 SourceLocation NameLoc; member [all …]
|
D | ExprCXX.h | 3775 SourceLocation NameLoc; variable 3792 Param(param), Replacement(replacement), NameLoc(loc) {} in SubstNonTypeTemplateParmExpr() 3794 SourceLocation getNameLoc() const { return NameLoc; } in getNameLoc() 3795 SourceLocation getLocStart() const LLVM_READONLY { return NameLoc; } in getLocStart() 3796 SourceLocation getLocEnd() const LLVM_READONLY { return NameLoc; } in getLocEnd() 3834 SourceLocation NameLoc; variable 3844 SourceLocation NameLoc, 3851 SourceLocation getParameterPackLocation() const { return NameLoc; } in getParameterPackLocation() 3857 SourceLocation getLocStart() const LLVM_READONLY { return NameLoc; } in getLocStart() 3858 SourceLocation getLocEnd() const LLVM_READONLY { return NameLoc; } in getLocEnd() [all …]
|
/external/clang/include/clang/Sema/ |
D | Designator.h | 48 unsigned NameLoc; member 86 return SourceLocation::getFromRawEncoding(FieldInfo.NameLoc); in getFieldLoc() 127 SourceLocation NameLoc) { in getField() argument 132 D.FieldInfo.NameLoc = NameLoc.getRawEncoding(); in getField()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 59 StringRef splitMnemonic(StringRef Name, SMLoc NameLoc, 67 SMLoc NameLoc, OperandVector &Operands) override; 1034 StringRef LanaiAsmParser::splitMnemonic(StringRef Name, SMLoc NameLoc, in splitMnemonic() argument 1056 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc)); in splitMnemonic() 1058 MCConstantExpr::create(CondCode, getContext()), NameLoc, NameLoc)); in splitMnemonic() 1060 Operands->push_back(LanaiOperand::CreateToken(".r", NameLoc)); in splitMnemonic() 1085 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc)); in splitMnemonic() 1087 MCConstantExpr::create(CondCode, getContext()), NameLoc, NameLoc)); in splitMnemonic() 1092 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc)); in splitMnemonic() 1094 Operands->push_back(LanaiOperand::CreateToken(".r", NameLoc)); in splitMnemonic() [all …]
|
/external/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 41 StringRef splitMnemonic(StringRef Name, SMLoc NameLoc, 49 SMLoc NameLoc, OperandVector &Operands) override; 1012 StringRef LanaiAsmParser::splitMnemonic(StringRef Name, SMLoc NameLoc, in splitMnemonic() argument 1034 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc)); in splitMnemonic() 1036 MCConstantExpr::create(CondCode, getContext()), NameLoc, NameLoc)); in splitMnemonic() 1038 Operands->push_back(LanaiOperand::CreateToken(".r", NameLoc)); in splitMnemonic() 1063 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc)); in splitMnemonic() 1065 MCConstantExpr::create(CondCode, getContext()), NameLoc, NameLoc)); in splitMnemonic() 1070 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc)); in splitMnemonic() 1072 Operands->push_back(LanaiOperand::CreateToken(".r", NameLoc)); in splitMnemonic() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/AsmParser/ |
D | BPFAsmParser.cpp | 44 SMLoc NameLoc, OperandVector &Operands) override; 453 SMLoc NameLoc, OperandVector &Operands) { in ParseInstruction() argument 458 SMLoc E = SMLoc::getFromPointer(NameLoc.getPointer() - 1); in ParseInstruction() 459 Operands.push_back(BPFOperand::createReg(RegNo, NameLoc, E)); in ParseInstruction() 461 Operands.push_back(BPFOperand::createToken(Name, NameLoc)); in ParseInstruction() 463 return Error(NameLoc, "invalid register/token name"); in ParseInstruction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 961 SMLoc NameLoc, OperandVector &Operands) override; 2285 SMLoc NameLoc, OperandVector &Operands) { in ParseInstruction() argument 2295 NameLoc.getFromPointer(NameLoc.getPointer() + Name.size()); in ParseInstruction() 2369 NameLoc)); in ParseInstruction() 2373 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction() 2396 Operands.push_back(X86Operand::CreateToken("vpcmp", NameLoc)); in ParseInstruction() 2400 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction() 2423 Operands.push_back(X86Operand::CreateToken("vpcom", NameLoc)); in ParseInstruction() 2427 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction() 2489 return Error(NameLoc, "redundant data16 prefix"); in ParseInstruction() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/AsmParser/ |
D | WebAssemblyAsmParser.cpp | 349 SMLoc NameLoc, OperandVector &Operands) override { in ParseInstruction() argument 351 make_unique<WebAssemblyOperand>(WebAssemblyOperand::Token, NameLoc, in ParseInstruction() 353 NameLoc.getPointer() + Name.size()), in ParseInstruction() 355 StringRef(NameLoc.getPointer(), in ParseInstruction() 429 Parser.Error(NameLoc, in ParseInstruction() 443 WebAssemblyOperand::Integer, NameLoc, in ParseInstruction() 444 NameLoc, WebAssemblyOperand::IntOp{-1})); in ParseInstruction()
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 93 void PragmaOpenCLExtension(clang::SourceLocation NameLoc, in PragmaOpenCLExtension() argument 97 this->NameLoc = NameLoc; in PragmaOpenCLExtension() 103 SourceLocation NameLoc; member in __anonf86715790111::PragmaOpenCLExtensionCallbacks
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 818 SMLoc NameLoc, OperandVector &Operands) override; 2167 SMLoc NameLoc, OperandVector &Operands) { in ParseInstruction() argument 2236 NameLoc)); in ParseInstruction() 2240 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction() 2263 Operands.push_back(X86Operand::CreateToken("vpcmp", NameLoc)); in ParseInstruction() 2267 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction() 2290 Operands.push_back(X86Operand::CreateToken("vpcom", NameLoc)); in ParseInstruction() 2294 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction() 2300 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc)); in ParseInstruction() 2409 X86Operand::CreateReg(X86::DX, NameLoc, NameLoc), in ParseInstruction() [all …]
|
/external/clang/lib/Parse/ |
D | ParseInit.cpp | 144 SourceLocation NameLoc = ConsumeToken(); // Eat the identifier. in ParseInitializerWithPotentialDesignator() local 149 Diag(NameLoc, diag::ext_gnu_old_style_field_designator) in ParseInitializerWithPotentialDesignator() 150 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator() 154 D.AddDesignator(Designator::getField(FieldName, SourceLocation(), NameLoc)); in ParseInitializerWithPotentialDesignator()
|
D | ParseTemplate.cpp | 520 SourceLocation NameLoc; in ParseTypeParameter() local 524 NameLoc = ConsumeToken(); in ParseTypeParameter() 537 DiagnoseMisplacedEllipsis(EllipsisLoc, NameLoc, AlreadyHasEllipsis, true); in ParseTypeParameter() 549 KeyLoc, ParamName, NameLoc, Depth, Position, in ParseTypeParameter() 617 SourceLocation NameLoc; in ParseTemplateTemplateParameter() local 621 NameLoc = ConsumeToken(); in ParseTemplateTemplateParameter() 634 DiagnoseMisplacedEllipsis(EllipsisLoc, NameLoc, AlreadyHasEllipsis, true); in ParseTemplateTemplateParameter() 659 ParamName, NameLoc, Depth, in ParseTemplateTemplateParameter()
|
D | ParseDeclCXX.cpp | 1388 SourceLocation NameLoc; in ParseClassSpecifier() local 1392 NameLoc = ConsumeToken(); in ParseClassSpecifier() 1401 nullptr, NameLoc, SS, true, LAngleLoc, TemplateArgs, RAngleLoc)) { in ParseClassSpecifier() 1407 Diag(NameLoc, diag::err_explicit_spec_non_template) in ParseClassSpecifier() 1435 NameLoc = ConsumeToken(); in ParseClassSpecifier() 1442 SourceRange Range(NameLoc); in ParseClassSpecifier() 1709 NameLoc, attrs.getList()); in ParseClassSpecifier() 1717 Name, NameLoc, attrs.getList(), in ParseClassSpecifier() 1749 SS, Name, NameLoc, attrs.getList(), AS, in ParseClassSpecifier() 1762 SS, Name, StartLoc, NameLoc); in ParseClassSpecifier() [all …]
|
/external/clang/include/clang/Lex/ |
D | PPCallbacks.h | 222 virtual void PragmaOpenCLExtension(SourceLocation NameLoc, in PragmaOpenCLExtension() argument 416 void PragmaOpenCLExtension(SourceLocation NameLoc, const IdentifierInfo *Name, in PragmaOpenCLExtension() argument 418 First->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State); in PragmaOpenCLExtension() 419 Second->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State); in PragmaOpenCLExtension()
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/ |
D | MBlazeAsmParser.cpp | 66 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc, 485 ParseInstruction(StringRef Name, SMLoc NameLoc, in ParseInstruction() argument 489 Operands.push_back(MBlazeOperand::CreateToken(Name.substr(0,dotLoc),NameLoc)); in ParseInstruction() 491 Operands.push_back(MBlazeOperand::CreateToken(Name.substr(dotLoc),NameLoc)); in ParseInstruction()
|
/external/swiftshader/third_party/LLVM/lib/AsmParser/ |
D | LLParser.cpp | 330 LocTy NameLoc = Lex.getLoc(); in ParseNamedType() local 338 if (ParseStructDefinition(NameLoc, Name, in ParseNamedType() 344 return Error(NameLoc, "non-struct types may not be recursive"); in ParseNamedType() 398 LocTy NameLoc = Lex.getLoc(); in ParseUnnamedGlobal() local 418 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility); in ParseUnnamedGlobal() 419 return ParseAlias(Name, NameLoc, Visibility); in ParseUnnamedGlobal() 427 LocTy NameLoc = Lex.getLoc(); in ParseNamedGlobal() local 439 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility); in ParseNamedGlobal() 440 return ParseAlias(Name, NameLoc, Visibility); in ParseNamedGlobal() 569 bool LLParser::ParseAlias(const std::string &Name, LocTy NameLoc, in ParseAlias() argument [all …]
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 147 SourceLocation NameLoc, in lookupUnqualifiedTypeNameInBase() argument 185 switch (lookupUnqualifiedTypeNameInBase(S, II, NameLoc, BaseRD)) { in lookupUnqualifiedTypeNameInBase() 203 SourceLocation NameLoc) { in recoverFromTypeInKnownDependentBase() argument 215 FoundTypeDecl = lookupUnqualifiedTypeNameInBase(S, II, NameLoc, RD); in recoverFromTypeInKnownDependentBase() 223 S.Diag(NameLoc, diag::ext_found_via_dependent_bases_lookup) << &II; in recoverFromTypeInKnownDependentBase() 231 SS.MakeTrivial(Context, NNS, SourceRange(NameLoc)); in recoverFromTypeInKnownDependentBase() 235 DepTL.setNameLoc(NameLoc); in recoverFromTypeInKnownDependentBase() 249 ParsedType Sema::getTypeName(const IdentifierInfo &II, SourceLocation NameLoc, in getTypeName() argument 282 return ActOnTypenameType(S, SourceLocation(), *SS, II, NameLoc).get(); in getTypeName() 286 II, NameLoc); in getTypeName() [all …]
|
D | SemaTemplateVariadic.cpp | 833 SourceLocation NameLoc, in ActOnSizeofParameterPackExpr() argument 837 LookupResult R(*this, &Name, NameLoc, LookupOrdinaryName); in ActOnSizeofParameterPackExpr() 868 Diag(NameLoc, diag::err_sizeof_pack_no_pack_name) in ActOnSizeofParameterPackExpr() 875 return SizeOfPackExpr::Create(Context, OpLoc, ParameterPack, NameLoc, in ActOnSizeofParameterPackExpr()
|
/external/swiftshader/third_party/LLVM/include/llvm/MC/ |
D | MCTargetAsmParser.h | 67 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc,
|
/external/clang/lib/AST/ |
D | DeclarationName.cpp | 583 return NameLoc; in getEndLoc() 601 return NameLoc; in getEndLoc() 608 return NameLoc; in getEndLoc()
|
D | ExprCXX.cpp | 1331 SourceLocation NameLoc, in SubstNonTypeTemplateParmPackExpr() argument 1336 NumArguments(ArgPack.pack_size()), NameLoc(NameLoc) { } in SubstNonTypeTemplateParmPackExpr() 1343 SourceLocation NameLoc, in FunctionParmPackExpr() argument 1348 ParamPack(ParamPack), NameLoc(NameLoc), NumParameters(NumParams) { in FunctionParmPackExpr() 1356 ParmVarDecl *ParamPack, SourceLocation NameLoc, in Create() argument 1359 FunctionParmPackExpr(T, ParamPack, NameLoc, Params.size(), Params.data()); in Create()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 384 LocTy NameLoc = Lex.getLoc(); in ParseNamedType() local 392 if (ParseStructDefinition(NameLoc, Name, in ParseNamedType() 398 return Error(NameLoc, "non-struct types may not be recursive"); in ParseNamedType() 479 LocTy NameLoc = Lex.getLoc(); in ParseUnnamedGlobal() local 501 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility, in ParseUnnamedGlobal() 504 return parseIndirectSymbol(Name, NameLoc, Linkage, Visibility, in ParseUnnamedGlobal() 514 LocTy NameLoc = Lex.getLoc(); in ParseNamedGlobal() local 528 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility, in ParseNamedGlobal() 531 return parseIndirectSymbol(Name, NameLoc, Linkage, Visibility, in ParseNamedGlobal() 538 LocTy NameLoc = Lex.getLoc(); in parseComdat() local [all …]
|
/external/swiftshader/third_party/LLVM/lib/TableGen/ |
D | TGParser.cpp | 647 const std::string &Name, SMLoc NameLoc) { in ParseIDValue() argument 675 Error(NameLoc, "Variable not defined: '" + Name + "'"); in ParseIDValue() 1071 SMLoc NameLoc = Lex.getLoc(); in ParseSimpleValue() local 1074 return ParseIDValue(CurRec, Name, NameLoc); // Value ::= IDValue in ParseSimpleValue() 1087 Error(NameLoc, "Expected a class name, got '" + Name + "'"); in ParseSimpleValue() 1103 NameLoc, in ParseSimpleValue() 1106 SCRef.RefLoc = NameLoc; in ParseSimpleValue() 1772 SMLoc NameLoc = Lex.getLoc(); in ParseLetList() local 1791 Result.push_back(LetRecord(Name, Bits, Val, NameLoc)); in ParseLetList()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 90 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc, 658 ParseInstruction(StringRef Name, SMLoc NameLoc, in ParseInstruction() argument 725 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc)); in ParseInstruction() 728 Operands.push_back(X86Operand::CreateImm(ExtraImmOp, NameLoc, NameLoc)); in ParseInstruction()
|