Home
last modified time | relevance | path

Searched refs:ScopeIdx (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/VMCore/
DDebugLoc.cpp20 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 …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DDebugLoc.h53 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;
/external/spirv-llvm/lib/SPIRV/
DSPIRVToOCL20.cpp343 auto ScopeIdx = Ptr + 1; in visitCallSPIRVAtomicBuiltin() local
358 Args[ScopeIdx] = mapUInt(M, cast<ConstantInt>(Args[ScopeIdx]), in visitCallSPIRVAtomicBuiltin()
363 std::swap(Args[ScopeIdx], Args.back()); in visitCallSPIRVAtomicBuiltin()
DOCL20ToSPIRV.cpp789 const size_t ScopeIdx = ArgsCount - 1; in transAtomicBuiltin() local
790 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()