Lines Matching refs:LocTy
57 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>>>
150 std::map<unsigned, std::vector<std::pair<GlobalValue::GUID *, LocTy>>>
180 bool error(LocTy L, const Twine &Msg) const { return Lex.Error(L, Msg); } in error()
190 GlobalValue *getGlobalVal(const std::string &N, Type *Ty, LocTy Loc,
192 GlobalValue *getGlobalVal(unsigned ID, Type *Ty, LocTy Loc, bool IsCall);
196 Comdat *getComdat(const std::string &Name, LocTy Loc);
227 LocTy *Loc = nullptr) {
240 bool parseUInt32(unsigned &Val, LocTy &Loc) { in parseUInt32()
245 bool parseUInt64(uint64_t &Val, LocTy &Loc) { in parseUInt64()
279 bool parseOptionalCommaAddrSpace(unsigned &AddrSpace, LocTy &Loc,
312 bool parseGlobal(const std::string &Name, LocTy NameLoc, unsigned Linkage,
317 bool parseIndirectSymbol(const std::string &Name, LocTy NameLoc,
330 bool inAttrGrp, LocTy &BuiltinLoc);
360 std::map<unsigned, std::vector<std::pair<unsigned, LocTy>>>;
369 using IdLocListType = std::vector<std::pair<unsigned, LocTy>>;
396 bool parseType(Type *&Result, const Twine &Msg, LocTy &Loc,
401 bool parseType(Type *&Result, LocTy &Loc, bool AllowVoid = false) {
408 std::pair<Type *, LocTy> &Entry,
418 std::map<std::string, std::pair<Value*, LocTy> > ForwardRefVals;
419 std::map<unsigned, std::pair<Value*, LocTy> > ForwardRefValIDs;
436 Value *getVal(const std::string &Name, Type *Ty, LocTy Loc, bool IsCall);
437 Value *getVal(unsigned ID, Type *Ty, LocTy Loc, bool IsCall);
441 bool setInstName(int NameID, const std::string &NameStr, LocTy NameLoc,
447 BasicBlock *getBB(const std::string &Name, LocTy Loc);
448 BasicBlock *getBB(unsigned ID, LocTy Loc);
453 BasicBlock *defineBB(const std::string &Name, int NameID, LocTy Loc);
461 Value *checkValidVariableType(LocTy Loc, const Twine &Name, Type *Ty,
470 bool parseValue(Type *Ty, Value *&V, LocTy &Loc, PerFunctionState &PFS) { in parseValue()
479 bool parseTypeAndValue(Value *&V, LocTy &Loc, PerFunctionState &PFS) { in parseTypeAndValue()
483 bool parseTypeAndBasicBlock(BasicBlock *&BB, LocTy &Loc,
486 LocTy Loc; in parseTypeAndBasicBlock()
491 LocTy Loc;
494 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo()
529 bool parseMDField(LocTy Loc, StringRef Name, FieldTy &Result);
533 bool parseMDFieldsImpl(ParserTy ParseField, LocTy &ClosingLoc);
542 LocTy Loc;
546 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N) in ArgInfo()