Lines Matching defs:DILocation
58 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line,
80 DILocation *DILocation::getImpl(LLVMContext &Context, unsigned Line,
102 return storeImpl(new (Ops.size(), Storage) DILocation(
107 DILocation *DILocation::getMergedLocations(ArrayRef<DILocation *> Locs) {
113 for (DILocation *L : llvm::drop_begin(Locs)) {
121 DILocation *DILocation::getMergedLocation(DILocation *LocA, DILocation *LocB) {
130 using LocVec = SmallVector<const DILocation *>;
133 SmallDenseMap<std::pair<const DISubprogram *, const DILocation *>, unsigned,
179 auto MergeLocPair = [&C](const DILocation *L1, const DILocation *L2,
180 DILocation *InlinedAt) -> DILocation * {
182 return DILocation::get(C, L1->getLine(), L1->getColumn(), L1->getScope(),
217 return DILocation::get(C, Line, Col, Scope, InlinedAt);
220 DILocation *Result = ARIt != ALocs.rend() ? (*ARIt)->getInlinedAt() : nullptr;
225 DILocation *Tmp = MergeLocPair(*ARIt, *BRIt, Result);
244 return DILocation::get(C, 0, 0, LocA->getScope(), nullptr);
248 DILocation::encodeDiscriminator(unsigned BD, unsigned DF, unsigned CI) {
281 void DILocation::decodeDiscriminator(unsigned D, unsigned &BD, unsigned &DF,