Searched refs:ScopeIdx (Results 1 - 2 of 2) sorted by relevance

/freebsd-10-stable/contrib/llvm/include/llvm/Support/
H A DDebugLoc.h52 /// ScopeIdx - This is an opaque ID# for Scope/InlinedAt information,
54 int ScopeIdx; member in class:llvm::DebugLoc
56 DebugLoc() : LineCol(0), ScopeIdx(0) {} // Defaults to unknown.
70 bool isUnknown() const { return ScopeIdx == 0; }
98 return LineCol == DL.LineCol && ScopeIdx == DL.ScopeIdx;
/freebsd-10-stable/contrib/llvm/lib/IR/
H A DDebugLoc.cpp21 if (ScopeIdx == 0) return 0;
23 if (ScopeIdx > 0) {
24 // Positive ScopeIdx is an index into ScopeRecords, which has no inlined-at
26 assert(unsigned(ScopeIdx) <= Ctx.pImpl->ScopeRecords.size() &&
27 "Invalid ScopeIdx!");
28 return Ctx.pImpl->ScopeRecords[ScopeIdx-1].get();
32 assert(unsigned(-ScopeIdx) <= Ctx.pImpl->ScopeInlinedAtRecords.size() &&
33 "Invalid ScopeIdx");
34 return Ctx.pImpl->ScopeInlinedAtRecords[-ScopeIdx-1].first.get();
38 // Positive ScopeIdx i
[all...]

Completed in 107 milliseconds