Home
last modified time | relevance | path

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

/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 …]
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;
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.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/llvm-project/llvm/lib/AsmParser/
DLLParser.h57 LLLexer::LocTy Loc;
86 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;
143 std::map<unsigned, std::vector<std::pair<ValueInfo *, LocTy>>>
145 std::map<unsigned, std::vector<std::pair<AliasSummary *, LocTy>>>
[all …]
DLLLexer.h56 typedef SMLoc LocTy; typedef
57 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } in getLoc()
69 bool Error(LocTy ErrorLoc, const Twine &Msg) const;
72 void Warning(LocTy WarningLoc, const Twine &Msg) const;
DLLParser.cpp120 std::make_pair(I.getKey(), std::make_pair(I.second, LocTy()))); in restoreParsingState()
123 std::make_pair(I.first, std::make_pair(I.second, LocTy()))); in restoreParsingState()
201 for (StringMap<std::pair<Type*, LocTy> >::iterator I = in validateEndOfModule()
488 LocTy TypeLoc = Lex.getLoc(); in parseUnnamedType()
501 std::pair<Type*, LocTy> &Entry = NumberedTypes[TypeID]; in parseUnnamedType()
515 LocTy NameLoc = Lex.getLoc(); in parseNamedType()
527 std::pair<Type*, LocTy> &Entry = NamedTypes[Name]; in parseNamedType()
611 LocTy NameLoc = Lex.getLoc(); in parseUnnamedGlobal()
649 LocTy NameLoc = Lex.getLoc(); in parseNamedGlobal()
675 LocTy NameLoc = Lex.getLoc(); in parseComdat()
[all …]
DLLLexer.cpp28 bool LLLexer::Error(LocTy ErrorLoc, const Twine &Msg) const { in Error()
33 void LLLexer::Warning(LocTy WarningLoc, const Twine &Msg) const { in Warning()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.h60 LLLexer::LocTy Loc;
89 typedef LLLexer::LocTy LocTy; typedef
118 StringMap<std::pair<Type*, LocTy> > NamedTypes;
119 std::map<unsigned, std::pair<Type*, LocTy> > NumberedTypes;
122 std::map<unsigned, std::pair<TempMDTuple, LocTy>> ForwardRefMDNodes;
125 std::map<std::string, std::pair<GlobalValue*, LocTy> > ForwardRefVals;
126 std::map<unsigned, std::pair<GlobalValue*, LocTy> > ForwardRefValIDs;
130 std::map<std::string, LocTy> ForwardRefComdats;
146 std::map<unsigned, std::vector<std::pair<ValueInfo *, LocTy>>>
148 std::map<unsigned, std::vector<std::pair<AliasSummary *, LocTy>>>
[all …]
DLLLexer.h56 typedef SMLoc LocTy; typedef
57 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } in getLoc()
69 bool Error(LocTy ErrorLoc, const Twine &Msg) const;
72 void Warning(LocTy WarningLoc, const Twine &Msg) const;
DLLParser.cpp113 std::make_pair(I.getKey(), std::make_pair(I.second, LocTy()))); in restoreParsingState()
116 std::make_pair(I.first, std::make_pair(I.second, LocTy()))); in restoreParsingState()
194 for (StringMap<std::pair<Type*, LocTy> >::iterator I = in ValidateEndOfModule()
430 LocTy TypeLoc = Lex.getLoc(); in ParseUnnamedType()
443 std::pair<Type*, LocTy> &Entry = NumberedTypes[TypeID]; in ParseUnnamedType()
457 LocTy NameLoc = Lex.getLoc(); in ParseNamedType()
469 std::pair<Type*, LocTy> &Entry = NamedTypes[Name]; in ParseNamedType()
553 LocTy NameLoc = Lex.getLoc(); in ParseUnnamedGlobal()
591 LocTy NameLoc = Lex.getLoc(); in ParseNamedGlobal()
617 LocTy NameLoc = Lex.getLoc(); in parseComdat()
[all …]
DLLLexer.cpp28 bool LLLexer::Error(LocTy ErrorLoc, const Twine &Msg) const { in Error()
33 void LLLexer::Warning(LocTy WarningLoc, const Twine &Msg) const { in Warning()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_lexer.h127 typedef const char* LocTy; typedef
130 LocTy GetLoc() const { return token_state_.token_start; } in GetLoc()
133 std::pair<unsigned, unsigned> GetLineAndColumn(LocTy location) const;
136 absl::string_view GetLine(LocTy loc) const;
Dhlo_parser.cc202 using LocTy = HloLexer::LocTy; typedef in xla::__anonf806807d0111::HloParserImpl
225 absl::flat_hash_map<std::string, std::pair<HloInstruction*, LocTy>>;
238 std::pair<HloInstruction*, LocTy>* FindInstruction(
254 const std::string& name, LocTy name_loc);
266 bool SetValueInLiteral(LocTy loc, int64 value, int64 index, Literal* literal);
267 bool SetValueInLiteral(LocTy loc, double value, int64 index,
269 bool SetValueInLiteral(LocTy loc, bool value, int64 index, Literal* literal);
270 bool SetValueInLiteral(LocTy loc, std::complex<double> value, int64 index,
274 bool SetValueInLiteralHelper(LocTy loc, ParsedElemT value, int64 index,
280 bool CheckParsedValueIsInRange(LocTy loc, ParsedElemT value);
[all …]
Dhlo_lexer.cc400 std::pair<unsigned, unsigned> HloLexer::GetLineAndColumn(LocTy location) const { in GetLineAndColumn()
426 absl::string_view HloLexer::GetLine(LocTy loc) const { in GetLine()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp513 LLT LocTy{VA.getLocVT()}; in extendRegister() local
515 if (LocTy.getSizeInBits() == ValTy.getSizeInBits()) in extendRegister()
518 if (LocTy.isScalar() && MaxSizeBits && MaxSizeBits < LocTy.getSizeInBits()) { in extendRegister()
521 LocTy = LLT::scalar(MaxSizeBits); in extendRegister()
532 auto MIB = MIRBuilder.buildAnyExt(LocTy, ValReg); in extendRegister()
536 Register NewReg = MRI.createGenericVirtualRegister(LocTy); in extendRegister()
541 Register NewReg = MRI.createGenericVirtualRegister(LocTy); in extendRegister()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp460 LLT LocTy{VA.getLocVT()}; in extendRegister() local
461 if (LocTy.getSizeInBits() == MRI.getType(ValReg).getSizeInBits()) in extendRegister()
471 auto MIB = MIRBuilder.buildAnyExt(LocTy, ValReg); in extendRegister()
475 Register NewReg = MRI.createGenericVirtualRegister(LocTy); in extendRegister()
480 Register NewReg = MRI.createGenericVirtualRegister(LocTy); in extendRegister()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsCallLowering.cpp292 LLT LocTy{VA.getLocVT()}; in extendRegister() local
295 return MIRBuilder.buildSExt(LocTy, ValReg).getReg(0); in extendRegister()
298 return MIRBuilder.buildZExt(LocTy, ValReg).getReg(0); in extendRegister()
301 return MIRBuilder.buildAnyExt(LocTy, ValReg).getReg(0); in extendRegister()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsCallLowering.cpp323 LLT LocTy{VA.getLocVT()}; in extendRegister() local
326 Register ExtReg = MRI.createGenericVirtualRegister(LocTy); in extendRegister()
331 Register ExtReg = MRI.createGenericVirtualRegister(LocTy); in extendRegister()
336 Register ExtReg = MRI.createGenericVirtualRegister(LocTy); in extendRegister()