Lines Matching defs:LocTy
60 LLLexer::LocTy Loc;
89 typedef LLLexer::LocTy LocTy;
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;
155 bool Error(LocTy L, const Twine &Msg) const {
169 GlobalValue *GetGlobalVal(const std::string &N, Type *Ty, LocTy Loc);
170 GlobalValue *GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc);
174 Comdat *getComdat(const std::string &N, LocTy Loc);
199 LocTy *Loc = nullptr) {
212 bool ParseUInt32(unsigned &Val, LocTy &Loc) {
217 bool ParseUInt64(uint64_t &Val, LocTy &Loc) {
270 bool ParseGlobal(const std::string &Name, LocTy Loc, unsigned Linkage,
274 bool ParseAlias(const std::string &Name, LocTy Loc, unsigned Linkage,
285 bool inAttrGrp, LocTy &BuiltinLoc);
292 bool ParseType(Type *&Result, const Twine &Msg, LocTy &Loc,
297 bool ParseType(Type *&Result, LocTy &Loc, bool AllowVoid = false) {
304 std::pair<Type*, LocTy> &Entry,
314 std::map<std::string, std::pair<Value*, LocTy> > ForwardRefVals;
315 std::map<unsigned, std::pair<Value*, LocTy> > ForwardRefValIDs;
332 Value *GetVal(const std::string &Name, Type *Ty, LocTy Loc);
333 Value *GetVal(unsigned ID, Type *Ty, LocTy Loc);
337 bool SetInstName(int NameID, const std::string &NameStr, LocTy NameLoc,
343 BasicBlock *GetBB(const std::string &Name, LocTy Loc);
344 BasicBlock *GetBB(unsigned ID, LocTy Loc);
349 BasicBlock *DefineBB(const std::string &Name, LocTy Loc);
363 bool ParseValue(Type *Ty, Value *&V, LocTy &Loc,
373 bool ParseTypeAndValue(Value *&V, LocTy &Loc, PerFunctionState &PFS) {
377 bool ParseTypeAndBasicBlock(BasicBlock *&BB, LocTy &Loc,
380 LocTy Loc;
386 LocTy Loc;
389 ParamInfo(LocTy loc, Value *v, AttributeSet attrs)
423 bool ParseMDField(LocTy Loc, StringRef Name, FieldTy &Result);
428 bool ParseMDFieldsImpl(ParserTy parseField, LocTy &ClosingLoc);
437 LocTy Loc;
441 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N)