Searched refs:ScopeIdx (Results 1 – 4 of 4) sorted by relevance
20 if (ScopeIdx == 0) return 0; in getScope()22 if (ScopeIdx > 0) { in getScope()25 assert(unsigned(ScopeIdx) <= Ctx.pImpl->ScopeRecords.size() && in getScope()27 return Ctx.pImpl->ScopeRecords[ScopeIdx-1].get(); in getScope()31 assert(unsigned(-ScopeIdx) <= Ctx.pImpl->ScopeInlinedAtRecords.size() && in getScope()33 return Ctx.pImpl->ScopeInlinedAtRecords[-ScopeIdx-1].first.get(); in getScope()39 if (ScopeIdx >= 0) return 0; in getInlinedAt()42 assert(unsigned(-ScopeIdx) <= Ctx.pImpl->ScopeInlinedAtRecords.size() && in getInlinedAt()44 return Ctx.pImpl->ScopeInlinedAtRecords[-ScopeIdx-1].second.get(); in getInlinedAt()50 if (ScopeIdx == 0) { in getScopeAndInlinedAt()[all …]
53 int ScopeIdx;55 DebugLoc() : LineCol(0), ScopeIdx(0) {} // Defaults to unknown.69 bool isUnknown() const { return ScopeIdx == 0; }97 return LineCol == DL.LineCol && ScopeIdx == DL.ScopeIdx;
343 auto ScopeIdx = Ptr + 1; in visitCallSPIRVAtomicBuiltin() local358 Args[ScopeIdx] = mapUInt(M, cast<ConstantInt>(Args[ScopeIdx]), in visitCallSPIRVAtomicBuiltin()363 std::swap(Args[ScopeIdx], Args.back()); in visitCallSPIRVAtomicBuiltin()
789 const size_t ScopeIdx = ArgsCount - 1; in transAtomicBuiltin() local790 const size_t OrderIdx = ScopeIdx - NumOrder; in transAtomicBuiltin()791 Args[ScopeIdx] = mapUInt(M, cast<ConstantInt>(Args[ScopeIdx]), in transAtomicBuiltin()802 std::swap(Args[1], Args[ScopeIdx]); in transAtomicBuiltin()