Home
last modified time | relevance | path

Searched refs:LocTy (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.h58 LLLexer::LocTy Loc;
86 typedef LLLexer::LocTy LocTy; typedef
110 StringMap<std::pair<Type*, LocTy> > NamedTypes;
111 std::vector<std::pair<Type*, LocTy> > NumberedTypes;
114 std::map<unsigned, std::pair<TrackingVH<MDNode>, LocTy> > ForwardRefMDNodes;
117 std::map<std::string, std::pair<GlobalValue*, LocTy> > ForwardRefVals;
118 std::map<unsigned, std::pair<GlobalValue*, LocTy> > ForwardRefValIDs;
136 bool Error(LocTy L, const Twine &Msg) const { in Error()
146 GlobalValue *GetGlobalVal(const std::string &N, Type *Ty, LocTy Loc);
147 GlobalValue *GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc);
[all …]
DLLParser.cpp97 for (StringMap<std::pair<Type*, LocTy> >::iterator I = in ValidateEndOfModule()
299 LocTy TypeLoc = Lex.getLoc(); in ParseUnnamedType()
315 std::pair<Type*, LocTy> &Entry = NumberedTypes[TypeID]; in ParseUnnamedType()
330 LocTy NameLoc = Lex.getLoc(); in ParseNamedType()
342 std::pair<Type*, LocTy> &Entry = NamedTypes[Name]; in ParseNamedType()
398 LocTy NameLoc = Lex.getLoc(); in ParseUnnamedGlobal()
427 LocTy NameLoc = Lex.getLoc(); in ParseNamedGlobal()
524 LocTy TyLoc; in ParseStandaloneMetadata()
539 std::map<unsigned, std::pair<TrackingVH<MDNode>, LocTy> >::iterator in ParseStandaloneMetadata()
569 bool LLParser::ParseAlias(const std::string &Name, LocTy NameLoc, in ParseAlias()
[all …]
DLLLexer.h55 typedef SMLoc LocTy; typedef
56 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } in getLoc()
65 bool Error(LocTy L, const Twine &Msg) const;
DLLLexer.cpp31 bool LLLexer::Error(LocTy ErrorLoc, const Twine &Msg) const { in Error()
/external/llvm/lib/AsmParser/
DLLParser.h60 LLLexer::LocTy Loc;
89 typedef LLLexer::LocTy LocTy; typedef
115 StringMap<std::pair<Type*, LocTy> > NamedTypes;
116 std::map<unsigned, std::pair<Type*, LocTy> > NumberedTypes;
119 std::map<unsigned, std::pair<TempMDTuple, LocTy>> ForwardRefMDNodes;
122 std::map<std::string, std::pair<GlobalValue*, LocTy> > ForwardRefVals;
123 std::map<unsigned, std::pair<GlobalValue*, LocTy> > ForwardRefValIDs;
127 std::map<std::string, LocTy> ForwardRefComdats;
158 bool Error(LocTy L, const Twine &Msg) const { in Error()
172 GlobalValue *GetGlobalVal(const std::string &N, Type *Ty, LocTy Loc);
[all …]
DLLParser.cpp97 std::make_pair(I.getKey(), std::make_pair(I.second, LocTy()))); in restoreParsingState()
100 std::make_pair(I.first, std::make_pair(I.second, LocTy()))); in restoreParsingState()
176 for (StringMap<std::pair<Type*, LocTy> >::iterator I = in ValidateEndOfModule()
356 LocTy TypeLoc = Lex.getLoc(); in ParseUnnamedType()
369 std::pair<Type*, LocTy> &Entry = NumberedTypes[TypeID]; in ParseUnnamedType()
384 LocTy NameLoc = Lex.getLoc(); in ParseNamedType()
396 std::pair<Type*, LocTy> &Entry = NamedTypes[Name]; in ParseNamedType()
479 LocTy NameLoc = Lex.getLoc(); in ParseUnnamedGlobal()
514 LocTy NameLoc = Lex.getLoc(); in ParseNamedGlobal()
538 LocTy NameLoc = Lex.getLoc(); in parseComdat()
[all …]
DLLLexer.h53 typedef SMLoc LocTy; typedef
54 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } in getLoc()
63 bool Error(LocTy L, const Twine &Msg) const;
66 void Warning(LocTy WarningLoc, const Twine &Msg) const;
DLLLexer.cpp32 bool LLLexer::Error(LocTy ErrorLoc, const Twine &Msg) const { in Error()
37 void LLLexer::Warning(LocTy WarningLoc, const Twine &Msg) const { in Warning()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.h61 LLLexer::LocTy Loc;
90 typedef LLLexer::LocTy LocTy; typedef
119 StringMap<std::pair<Type*, LocTy> > NamedTypes;
120 std::map<unsigned, std::pair<Type*, LocTy> > NumberedTypes;
123 std::map<unsigned, std::pair<TempMDTuple, LocTy>> ForwardRefMDNodes;
126 std::map<std::string, std::pair<GlobalValue*, LocTy> > ForwardRefVals;
127 std::map<unsigned, std::pair<GlobalValue*, LocTy> > ForwardRefValIDs;
131 std::map<std::string, LocTy> ForwardRefComdats;
147 std::map<unsigned, std::vector<std::pair<ValueInfo *, LocTy>>>
149 std::map<unsigned, std::vector<std::pair<AliasSummary *, LocTy>>>
[all …]
DLLLexer.h57 typedef SMLoc LocTy; typedef
58 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } in getLoc()
70 bool Error(LocTy ErrorLoc, const Twine &Msg) const;
73 void Warning(LocTy WarningLoc, const Twine &Msg) const;
DLLParser.cpp114 std::make_pair(I.getKey(), std::make_pair(I.second, LocTy()))); in restoreParsingState()
117 std::make_pair(I.first, std::make_pair(I.second, LocTy()))); in restoreParsingState()
187 for (StringMap<std::pair<Type*, LocTy> >::iterator I = in ValidateEndOfModule()
423 LocTy TypeLoc = Lex.getLoc(); in ParseUnnamedType()
436 std::pair<Type*, LocTy> &Entry = NumberedTypes[TypeID]; in ParseUnnamedType()
450 LocTy NameLoc = Lex.getLoc(); in ParseNamedType()
462 std::pair<Type*, LocTy> &Entry = NamedTypes[Name]; in ParseNamedType()
546 LocTy NameLoc = Lex.getLoc(); in ParseUnnamedGlobal()
584 LocTy NameLoc = Lex.getLoc(); in ParseNamedGlobal()
610 LocTy NameLoc = Lex.getLoc(); in parseComdat()
[all …]
DLLLexer.cpp29 bool LLLexer::Error(LocTy ErrorLoc, const Twine &Msg) const { in Error()
34 void LLLexer::Warning(LocTy WarningLoc, const Twine &Msg) const { in Warning()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_lexer.h125 typedef const char* LocTy; typedef
128 LocTy GetLoc() const { return token_state_.token_start; } in GetLoc()
131 std::pair<unsigned, unsigned> GetLineAndColumn(LocTy location) const;
134 absl::string_view GetLine(LocTy loc) const;
Dhlo_parser.cc73 using LocTy = HloLexer::LocTy; typedef in xla::__anonc071bf1f0111::HloParser
94 std::unordered_map<string, std::pair<HloInstruction*, LocTy>>;
107 std::pair<HloInstruction*, LocTy>* FindInstruction(
122 LocTy name_loc);
134 bool SetValueInLiteral(LocTy loc, int64 value, LinearOrMultiIndex index,
136 bool SetValueInLiteral(LocTy loc, double value, LinearOrMultiIndex index,
138 bool SetValueInLiteral(LocTy loc, bool value, LinearOrMultiIndex index,
140 bool SetValueInLiteral(LocTy loc, std::complex<double> value,
144 bool SetValueInLiteralHelper(LocTy loc, ParsedElemT value,
150 bool CheckParsedValueIsInRange(LocTy loc, ParsedElemT value);
[all …]
Dhlo_lexer.cc395 std::pair<unsigned, unsigned> HloLexer::GetLineAndColumn(LocTy location) const { in GetLineAndColumn()
421 absl::string_view HloLexer::GetLine(LocTy loc) const { in GetLine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp158 LLT LocTy{VA.getLocVT()}; in extendRegister() local
168 auto MIB = MIRBuilder.buildAnyExt(LocTy, ValReg); in extendRegister()
172 unsigned NewReg = MRI.createGenericVirtualRegister(LocTy); in extendRegister()
177 unsigned NewReg = MRI.createGenericVirtualRegister(LocTy); in extendRegister()