Lines Matching refs:LocTy
61 LLLexer::LocTy Loc;
89 typedef LLLexer::LocTy LocTy;
115 StringMap<std::pair<Type*, LocTy> > NamedTypes;
116 std::vector<std::pair<Type*, LocTy> > NumberedTypes;
119 std::map<unsigned, std::pair<TrackingVH<MDNode>, 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;
148 bool Error(LocTy L, const Twine &Msg) const {
158 GlobalValue *GetGlobalVal(const std::string &N, Type *Ty, LocTy Loc);
159 GlobalValue *GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc);
163 Comdat *getComdat(const std::string &N, LocTy Loc);
188 LocTy *Loc = nullptr) {
201 bool ParseUInt32(unsigned &Val, LocTy &Loc) {
251 bool ParseGlobal(const std::string &Name, LocTy Loc, unsigned Linkage,
255 bool ParseAlias(const std::string &Name, LocTy Loc, unsigned Visibility,
267 bool inAttrGrp, LocTy &BuiltinLoc);
271 bool ParseType(Type *&Result, LocTy &Loc, bool AllowVoid = false) {
278 std::pair<Type*, LocTy> &Entry,
288 std::map<std::string, std::pair<Value*, LocTy> > ForwardRefVals;
289 std::map<unsigned, std::pair<Value*, LocTy> > ForwardRefValIDs;
306 Value *GetVal(const std::string &Name, Type *Ty, LocTy Loc);
307 Value *GetVal(unsigned ID, Type *Ty, LocTy Loc);
311 bool SetInstName(int NameID, const std::string &NameStr, LocTy NameLoc,
317 BasicBlock *GetBB(const std::string &Name, LocTy Loc);
318 BasicBlock *GetBB(unsigned ID, LocTy Loc);
323 BasicBlock *DefineBB(const std::string &Name, LocTy Loc);
333 bool ParseValue(Type *Ty, Value *&V, LocTy &Loc,
343 bool ParseTypeAndValue(Value *&V, LocTy &Loc, PerFunctionState &PFS) {
347 bool ParseTypeAndBasicBlock(BasicBlock *&BB, LocTy &Loc,
350 LocTy Loc;
356 LocTy Loc;
359 ParamInfo(LocTy loc, Value *v, AttributeSet attrs)
378 LocTy Loc;
382 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N)