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

/external/llvm/include/llvm/IR/
H A DDebugLoc.h53 /// ScopeIdx - This is an opaque ID# for Scope/InlinedAt information,
55 int ScopeIdx; member in class:llvm::DebugLoc
57 DebugLoc() : LineCol(0), ScopeIdx(0) {} // Defaults to unknown.
71 bool isUnknown() const { return ScopeIdx == 0; }
105 return LineCol == DL.LineCol && ScopeIdx == DL.ScopeIdx;
/external/llvm/lib/IR/
H A DDebugLoc.cpp21 if (ScopeIdx == 0) return nullptr;
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 187 milliseconds