Home | History | Annotate | Download | only in Instrumentation

Lines Matching refs:Line

48 /// Builds a map of Value* to line numbers on which the Value appears in a
63 /// to line numbers.
79 /// If V appears on a line in the textual IR representation, sets Line to the
80 /// line number and returns true, otherwise returns false.
81 bool getLine(const Value *V, unsigned int &Line) const {
84 Line = i->second;
139 /// - adds/updates line number (DebugLoc) entries associated with each
148 /// Map of Value* to line numbers
197 // find line of function declaration
198 unsigned Line = 0;
199 if (!findLine(&F, Line)) {
200 DEBUG(dbgs() << "WARNING: No line for Function " << F.getName().str()
208 DEBUG(dbgs() << "WARNING: No line for 1st Instruction in Function "
220 DICompileUnit(CUNode), F.getName(), MangledName, DIFile(FileNode), Line,
233 /// the line table was generated on a clone of the module on which we are
243 unsigned Line;
244 if (!LineTable.getLine(RealInst, Line)) {
245 // Instruction has no line, it may have been removed (in the module that
256 NewLoc = DebugLoc::get(Line, Col, Loc.getScope(RealInst->getContext()),
259 NewLoc = DebugLoc::get(Line, Col, scope, 0);
343 /// Sets Line to the line number on which V appears and returns true. If a
344 /// line location for V is not found, returns false.
345 bool findLine(const Value *V, unsigned &Line) {
346 if (LineTable.getLine(V, Line))
351 if (mapped && LineTable.getLine(mapped, Line))
584 // Clear line numbers. Keep debug info (if any) if we were able to read the