reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/AsmParser/LLParser.cpp
  194   for (StringMap<std::pair<Type*, LocTy> >::iterator I =
  430   LocTy TypeLoc = Lex.getLoc();
  443     std::pair<Type*, LocTy> &Entry = NumberedTypes[TypeID];
  457   LocTy NameLoc = Lex.getLoc();
  469     std::pair<Type*, LocTy> &Entry = NamedTypes[Name];
  553   LocTy NameLoc = Lex.getLoc();
  591   LocTy NameLoc = Lex.getLoc();
  617   LocTy NameLoc = Lex.getLoc();
  677   LocTy IDLoc = Lex.getLoc();
  872 bool LLParser::parseIndirectSymbol(const std::string &Name, LocTy NameLoc,
  896   LocTy ExplicitTypeLoc = Lex.getLoc();
  902   LocTy AliaseeLoc = Lex.getLoc();
 1026 bool LLParser::ParseGlobal(const std::string &Name, LocTy NameLoc,
 1037   LocTy IsExternallyInitializedLoc;
 1038   LocTy TyLoc;
 1143   LocTy BuiltinLoc;
 1159   LocTy AttrGrpLoc = Lex.getLoc();
 1167   LocTy BuiltinLoc;
 1187                                           bool inAttrGrp, LocTy &BuiltinLoc) {
 1376 Value *LLParser::checkValidVariableType(LocTy Loc, const Twine &Name, Type *Ty,
 1402                                     LocTy Loc, bool IsCall) {
 1432 GlobalValue *LLParser::GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc,
 1465 Comdat *LLParser::getComdat(const std::string &Name, LocTy Loc) {
 2079   LocTy AlignLoc = Lex.getLoc();
 2105   LocTy ParenLoc = Lex.getLoc();
 2108   LocTy DerefLoc = Lex.getLoc();
 2150                                            LocTy &Loc,
 2268   LocTy ParenLoc = Lex.getLoc();
 2271   LocTy AlignLoc = Lex.getLoc();
 2349     std::pair<Type*, LocTy> &Entry = NamedTypes[Lex.getStrVal()];
 2364     std::pair<Type*, LocTy> &Entry = NumberedTypes[Lex.getUIntVal()];
 2454     LocTy ArgLoc;
 2508   LocTy BeginLoc = Lex.getLoc();
 2573     LocTy TypeLoc = Lex.getLoc();
 2684                                      std::pair<Type*, LocTy> &Entry,
 2752   LocTy EltTyLoc = Lex.getLoc();
 2794   LocTy SizeLoc = Lex.getLoc();
 2801   LocTy TypeLoc = Lex.getLoc();
 2875                                           LocTy Loc, bool IsCall) {
 2909 Value *LLParser::PerFunctionState::GetVal(unsigned ID, Type *Ty, LocTy Loc,
 2947                                              LocTy NameLoc, Instruction *Inst) {
 3007                                               LocTy Loc) {
 3012 BasicBlock *LLParser::PerFunctionState::GetBB(unsigned ID, LocTy Loc) {
 3021                                                  int NameID, LocTy Loc) {
 3132     LocTy FirstEltLoc = Lex.getLoc();
 3171     LocTy FirstEltLoc = Lex.getLoc();
 3558     LocTy ExplicitTypeLoc = Lex.getLoc();
 3679   LocTy KwLoc = Lex.getLoc();
 3944 bool LLParser::ParseMDField(LocTy Loc, StringRef Name,
 3960 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, LineField &Result) {
 3964 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, ColumnField &Result) {
 3969 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, DwarfTagField &Result) {
 3987 bool LLParser::ParseMDField(LocTy Loc, StringRef Name,
 4007 bool LLParser::ParseMDField(LocTy Loc, StringRef Name,
 4026 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, DwarfLangField &Result) {
 4044 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, DwarfCCField &Result) {
 4062 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, EmissionKindField &Result) {
 4080 bool LLParser::ParseMDField(LocTy Loc, StringRef Name,
 4099 bool LLParser::ParseMDField(LocTy Loc, StringRef Name,
 4122 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, DIFlagField &Result) {
 4162 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, DISPFlagField &Result) {
 4198 bool LLParser::ParseMDField(LocTy Loc, StringRef Name,
 4218 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDBoolField &Result) {
 4234 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDField &Result) {
 4252 bool LLParser::ParseMDField(LocTy Loc, StringRef Name,
 4275 bool LLParser::ParseMDField(LocTy Loc, StringRef Name,
 4296 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDStringField &Result) {
 4297   LocTy ValueLoc = Lex.getLoc();
 4310 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDFieldList &Result) {
 4320 bool LLParser::ParseMDField(LocTy Loc, StringRef Name,
 4350 bool LLParser::ParseMDFieldsImpl(ParserTy parseField, LocTy &ClosingLoc) {
 4369   LocTy Loc = Lex.getLoc();
 5069   LocTy Loc;
 5288 bool LLParser::ParseTypeAndBasicBlock(BasicBlock *&BB, LocTy &Loc,
 5306   LocTy LinkageLoc = Lex.getLoc();
 5315   LocTy RetTypeLoc = Lex.getLoc();
 5352   LocTy NameLoc = Lex.getLoc();
 5376   LocTy BuiltinLoc;
 5618   LocTy NameLoc = Lex.getLoc();
 5638     LocTy NameLoc = Lex.getLoc();
 5694   LocTy Loc = Lex.getLoc();
 5925   LocTy Loc, Loc2;
 5954   LocTy CondLoc, BBLoc;
 5999   LocTy AddrLoc;
 6039   LocTy CallLoc = Lex.getLoc();
 6042   LocTy NoBuiltinLoc;
 6046   LocTy RetTypeLoc;
 6135   Value *Exn; LocTy ExnLoc;
 6156     LocTy ArgLoc;
 6331   LocTy Loc; Value *LHS;
 6350   LocTy CallLoc = Lex.getLoc();
 6353   LocTy NoBuiltinLoc;
 6356   LocTy RetTypeLoc;
 6474   LocTy Loc; Value *LHS, *RHS;
 6494   LocTy Loc; Value *LHS, *RHS;
 6513   LocTy Loc;
 6545   LocTy Loc;
 6566   LocTy Loc;
 6587   LocTy TypeLoc;
 6603   LocTy Loc;
 6620   LocTy Loc;
 6639   LocTy Loc;
 6658   Type *Ty = nullptr;  LocTy TypeLoc;
 6708   Type *Ty = nullptr; LocTy TyLoc;
 6726     LocTy VLoc;
 6763   LocTy BuiltinLoc;
 6767   LocTy RetTypeLoc;
 6771   LocTy CallLoc = Lex.getLoc();
 6873   LocTy SizeLoc, TyLoc, ASLoc;
 6934   Value *Val; LocTy Loc;
 6953   LocTy ExplicitTypeLoc = Lex.getLoc();
 6983   Value *Val, *Ptr; LocTy Loc, PtrLoc;
 7028   Value *Ptr, *Cmp, *New; LocTy PtrLoc, CmpLoc, NewLoc;
 7081   Value *Ptr, *Val; LocTy PtrLoc, ValLoc;
 7184   LocTy Loc, EltLoc;
 7189   LocTy ExplicitTypeLoc = Lex.getLoc();
 7245   Value *Val; LocTy Loc;
 7264   Value *Val0, *Val1; LocTy Loc0, Loc1;
 7580     LocTy Loc = Lex.getLoc();
 8188   LocTy Loc = Lex.getLoc();
 8321     LocTy Loc = Lex.getLoc();
 8415     LocTy Loc = Lex.getLoc();
 8469     LocTy Loc;
 8582       LocTy Loc = Lex.getLoc();
 8722     LocTy Loc = Lex.getLoc();
lib/AsmParser/LLParser.h
  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>>>
  153     std::map<unsigned, std::vector<std::pair<GlobalValue::GUID *, LocTy>>>
  190     bool Error(LocTy L, const Twine &Msg) const {
  204     GlobalValue *GetGlobalVal(const std::string &N, Type *Ty, LocTy Loc,
  206     GlobalValue *GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc, bool IsCall);
  210     Comdat *getComdat(const std::string &Name, LocTy Loc);
  241                             LocTy *Loc = nullptr) {
  254     bool ParseUInt32(unsigned &Val, LocTy &Loc) {
  259     bool ParseUInt64(uint64_t &Val, LocTy &Loc) {
  292     bool ParseOptionalCommaAddrSpace(unsigned &AddrSpace, LocTy &Loc,
  323     bool ParseGlobal(const std::string &Name, LocTy NameLoc, unsigned Linkage,
  328     bool parseIndirectSymbol(const std::string &Name, LocTy NameLoc,
  341                                     bool inAttrGrp, LocTy &BuiltinLoc);
  367         std::map<unsigned, std::vector<std::pair<unsigned, LocTy>>>;
  394     bool ParseType(Type *&Result, const Twine &Msg, LocTy &Loc,
  399     bool ParseType(Type *&Result, LocTy &Loc, bool AllowVoid = false) {
  406                                std::pair<Type*, LocTy> &Entry,
  416       std::map<std::string, std::pair<Value*, LocTy> > ForwardRefVals;
  417       std::map<unsigned, std::pair<Value*, LocTy> > ForwardRefValIDs;
  434       Value *GetVal(const std::string &Name, Type *Ty, LocTy Loc, bool IsCall);
  435       Value *GetVal(unsigned ID, Type *Ty, LocTy Loc, bool IsCall);
  439       bool SetInstName(int NameID, const std::string &NameStr, LocTy NameLoc,
  445       BasicBlock *GetBB(const std::string &Name, LocTy Loc);
  446       BasicBlock *GetBB(unsigned ID, LocTy Loc);
  451       BasicBlock *DefineBB(const std::string &Name, int NameID, LocTy Loc);
  459     Value *checkValidVariableType(LocTy Loc, const Twine &Name, Type *Ty,
  468     bool ParseValue(Type *Ty, Value *&V, LocTy &Loc,
  478     bool ParseTypeAndValue(Value *&V, LocTy &Loc, PerFunctionState &PFS) {
  482     bool ParseTypeAndBasicBlock(BasicBlock *&BB, LocTy &Loc,
  485       LocTy Loc;
  491       LocTy Loc;
  494       ParamInfo(LocTy loc, Value *v, AttributeSet attrs)
  530     bool ParseMDField(LocTy Loc, StringRef Name, FieldTy &Result);
  535     bool ParseMDFieldsImpl(ParserTy parseField, LocTy &ClosingLoc);
  544       LocTy Loc;
  548       ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N)