/external/llvm-project/clang/lib/Sema/ |
D | DelayedDiagnostic.cpp | 25 ArrayRef<SourceLocation> Locs, in makeAvailability() argument 32 assert(!Locs.empty()); in makeAvailability() 36 DD.Loc = Locs.front(); in makeAvailability() 49 DD.AvailabilityData.SelectorLocs = new SourceLocation[Locs.size()]; in makeAvailability() 50 memcpy(DD.AvailabilityData.SelectorLocs, Locs.data(), in makeAvailability() 51 sizeof(SourceLocation) * Locs.size()); in makeAvailability() 52 DD.AvailabilityData.NumSelectorLocs = Locs.size(); in makeAvailability()
|
D | SemaAvailability.cpp | 314 ArrayRef<SourceLocation> Locs, in DoEmitAvailabilityWarning() argument 337 SourceLocation Loc = Locs.front(); in DoEmitAvailabilityWarning() 505 assert(SelectorSlotNames.size() == Locs.size()); in DoEmitAvailabilityWarning() 506 for (unsigned I = 0; I < Locs.size(); ++I) { in DoEmitAvailabilityWarning() 509 Locs[I], S.getLocForEndOfToken(Locs[I])); in DoEmitAvailabilityWarning() 514 FixItHint::CreateInsertion(Locs[I], SelectorSlotNames[I])); in DoEmitAvailabilityWarning() 558 ArrayRef<SourceLocation> Locs, in EmitAvailabilityWarning() argument 566 AR, Locs, ReferringDecl, OffendingDecl, UnknownObjCClass, in EmitAvailabilityWarning() 573 Message, Locs, UnknownObjCClass, ObjCProperty, in EmitAvailabilityWarning() 923 ArrayRef<SourceLocation> Locs, in DiagnoseAvailabilityOfDecl() argument [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DebugLocStream.h | 155 DebugLocStream &Locs; variable 162 ListBuilder(DebugLocStream &Locs, DwarfCompileUnit &CU, AsmPrinter &Asm, in ListBuilder() argument 164 : Locs(Locs), Asm(Asm), V(V), MI(MI), ListIndex(Locs.startList(&CU)) {} in ListBuilder() 172 DebugLocStream &getLocs() { return Locs; } in getLocs() 177 DebugLocStream &Locs; variable 181 : Locs(List.getLocs()) { in EntryBuilder() 182 Locs.startEntry(Begin, End); in EntryBuilder() 186 ~EntryBuilder() { Locs.finalizeEntry(); } in ~EntryBuilder() 188 BufferByteStreamer getStreamer() { return Locs.getStreamer(); } in getStreamer()
|
D | DebugLocStream.cpp | 42 if (!Locs.finalizeList(Asm)) in ~ListBuilder()
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | DebugLocStream.h | 157 DebugLocStream &Locs; variable 165 ListBuilder(DebugLocStream &Locs, DwarfCompileUnit &CU, AsmPrinter &Asm, in ListBuilder() argument 167 : Locs(Locs), Asm(Asm), V(V), MI(MI), ListIndex(Locs.startList(&CU)), in ListBuilder() 180 DebugLocStream &getLocs() { return Locs; } in getLocs() 185 DebugLocStream &Locs; variable 189 : Locs(List.getLocs()) { in EntryBuilder() 190 Locs.startEntry(Begin, End); in EntryBuilder() 194 ~EntryBuilder() { Locs.finalizeEntry(); } in ~EntryBuilder() 196 BufferByteStreamer getStreamer() { return Locs.getStreamer(); } in getStreamer()
|
D | DIEHash.cpp | 233 const DebugLocStream &Locs = DD.getDebugLocs(); in hashLocList() local 234 const DebugLocStream::List &List = Locs.getList(LocList.getValue()); in hashLocList() 235 for (const DebugLocStream::Entry &Entry : Locs.getEntries(List)) in hashLocList()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DebugLocStream.h | 157 DebugLocStream &Locs; variable 165 ListBuilder(DebugLocStream &Locs, DwarfCompileUnit &CU, AsmPrinter &Asm, in ListBuilder() argument 167 : Locs(Locs), Asm(Asm), V(V), MI(MI), ListIndex(Locs.startList(&CU)), in ListBuilder() 180 DebugLocStream &getLocs() { return Locs; } in getLocs() 185 DebugLocStream &Locs; variable 189 : Locs(List.getLocs()) { in EntryBuilder() 190 Locs.startEntry(Begin, End); in EntryBuilder() 194 ~EntryBuilder() { Locs.finalizeEntry(); } in ~EntryBuilder() 196 BufferByteStreamer getStreamer() { return Locs.getStreamer(); } in getStreamer()
|
D | DIEHash.cpp | 226 const DebugLocStream &Locs = DD.getDebugLocs(); in hashLocList() local 227 for (const auto &Entry : Locs.getEntries(Locs.getList(LocList.getValue()))) in hashLocList()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CallingConvLower.cpp | 32 TRI(*MF.getSubtarget().getRegisterInfo()), Locs(locs), Context(C) { in CCState() 71 for (auto const &ValAssign : Locs) { in IsShadowAllocatedReg() 203 unsigned NumLocs = Locs.size(); in getRemainingRegParmsForType() 221 HaveRegParm = Locs.back().isRegLoc(); in getRemainingRegParmsForType() 225 assert(NumLocs < Locs.size() && "CC assignment failed to add location"); in getRemainingRegParmsForType() 226 for (unsigned I = NumLocs, E = Locs.size(); I != E; ++I) in getRemainingRegParmsForType() 227 if (Locs[I].isRegLoc()) in getRemainingRegParmsForType() 228 Regs.push_back(MCPhysReg(Locs[I].getLocReg())); in getRemainingRegParmsForType() 235 Locs.resize(NumLocs); in getRemainingRegParmsForType()
|
D | StackMaps.cpp | 103 MachineInstr::const_mop_iterator MOE, LocationVec &Locs, in parseOperand() argument 118 Locs.emplace_back(StackMaps::Location::Direct, Size, in parseOperand() 127 Locs.emplace_back(StackMaps::Location::Indirect, Size, in parseOperand() 135 Locs.emplace_back(Location::Constant, sizeof(int64_t), 0, Imm); in parseOperand() 163 Locs.emplace_back(Location::Register, TRI->getSpillSize(*RC), in parseOperand()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | CallingConvLower.cpp | 33 TRI(*MF.getSubtarget().getRegisterInfo()), Locs(locs), Context(C) { in CCState() 75 for (auto const &ValAssign : Locs) { in IsShadowAllocatedReg() 210 unsigned NumLocs = Locs.size(); in getRemainingRegParmsForType() 228 HaveRegParm = Locs.back().isRegLoc(); in getRemainingRegParmsForType() 232 assert(NumLocs < Locs.size() && "CC assignment failed to add location"); in getRemainingRegParmsForType() 233 for (unsigned I = NumLocs, E = Locs.size(); I != E; ++I) in getRemainingRegParmsForType() 234 if (Locs[I].isRegLoc()) in getRemainingRegParmsForType() 235 Regs.push_back(MCPhysReg(Locs[I].getLocReg())); in getRemainingRegParmsForType() 242 Locs.resize(NumLocs); in getRemainingRegParmsForType()
|
/external/llvm/lib/CodeGen/ |
D | CallingConvLower.cpp | 31 TRI(*MF.getSubtarget().getRegisterInfo()), Locs(locs), Context(C), in CCState() 197 unsigned NumLocs = Locs.size(); in getRemainingRegParmsForType() 215 HaveRegParm = Locs.back().isRegLoc(); in getRemainingRegParmsForType() 219 assert(NumLocs < Locs.size() && "CC assignment failed to add location"); in getRemainingRegParmsForType() 220 for (unsigned I = NumLocs, E = Locs.size(); I != E; ++I) in getRemainingRegParmsForType() 221 if (Locs[I].isRegLoc()) in getRemainingRegParmsForType() 222 Regs.push_back(MCPhysReg(Locs[I].getLocReg())); in getRemainingRegParmsForType() 229 Locs.resize(NumLocs); in getRemainingRegParmsForType()
|
D | StackMaps.cpp | 89 MachineInstr::const_mop_iterator MOE, LocationVec &Locs, in parseOperand() argument 104 Locs.emplace_back(StackMaps::Location::Direct, Size, in parseOperand() 113 Locs.emplace_back(StackMaps::Location::Indirect, Size, in parseOperand() 121 Locs.emplace_back(Location::Constant, sizeof(int64_t), 0, Imm); in parseOperand() 149 Locs.emplace_back(Location::Register, RC->getSize(), DwarfRegNum, Offset); in parseOperand()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | MultipleStatementMacroCheck.cpp | 47 ExpansionRanges Locs; in getExpansionRanges() local 49 Locs.push_back( in getExpansionRanges() 51 Loc = Locs.back().getBegin(); in getExpansionRanges() 53 return Locs; in getExpansionRanges()
|
/external/llvm/utils/TableGen/ |
D | CTagsEmitter.cpp | 61 ArrayRef<SMLoc> Locs = R->getLoc(); in locate() local 62 return !Locs.empty() ? Locs.front() : SMLoc(); in locate()
|
/external/llvm-project/llvm/utils/TableGen/ |
D | CTagsEmitter.cpp | 60 ArrayRef<SMLoc> Locs = R->getLoc(); in locate() local 61 return !Locs.empty() ? Locs.front() : SMLoc(); in locate()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 804 AAQueryInfo::LocPair Locs(LocA, LocB); in alias() local 805 if (Locs.first.Ptr > Locs.second.Ptr) in alias() 806 std::swap(Locs.first, Locs.second); in alias() 807 auto CacheIt = AAQI.AliasCache.find(Locs); in alias() 1371 AAQueryInfo::LocPair Locs(MemoryLocation(PN, PNSize, PNAAInfo), in aliasPHI() local 1374 std::swap(Locs.first, Locs.second); in aliasPHI() 1386 auto CacheIt = AAQI.AliasCache.find(Locs); in aliasPHI() 1405 AAQI.updateResult(Locs, OrigAliasResult); in aliasPHI() 1621 AAQueryInfo::LocPair Locs(MemoryLocation(V1, V1Size, V1AAInfo), in aliasCheck() local 1624 std::swap(Locs.first, Locs.second); in aliasCheck() [all …]
|
/external/llvm/lib/MC/ |
D | MCCodeView.cpp | 163 std::vector<MCCVLineEntry> Locs = getFunctionLineEntries(FuncId); in emitLineTableForFunction() local 164 bool HaveColumns = any_of(Locs, [](const MCCVLineEntry &LineEntry) { in emitLineTableForFunction() 170 for (auto I = Locs.begin(), E = Locs.end(); I != E;) { in emitLineTableForFunction() 290 ArrayRef<MCCVLineEntry> Locs = getLinesForExtent(LocBegin, LocEnd); in encodeInlineLineTable() local 291 if (Locs.empty()) in encodeInlineLineTable() 301 MCCVLineEntry StartLoc(Frag.getFnStartSym(), MCCVLoc(Locs.front())); in encodeInlineLineTable() 309 for (const MCCVLineEntry &Loc : Locs) { in encodeInlineLineTable()
|
/external/llvm-project/llvm/lib/MC/ |
D | MCCodeView.cpp | 341 std::vector<MCCVLoc> Locs = getFunctionLineEntries(FuncId); in emitLineTableForFunction() local 342 bool HaveColumns = any_of(Locs, [](const MCCVLoc &LineEntry) { in emitLineTableForFunction() 348 for (auto I = Locs.begin(), E = Locs.end(); I != E;) { in emitLineTableForFunction() 478 ArrayRef<MCCVLoc> Locs = getLinesForExtent(LocBegin, LocEnd); in encodeInlineLineTable() local 479 if (Locs.empty()) in encodeInlineLineTable() 484 const MCSection *FirstSec = &Locs.front().getLabel()->getSection(); in encodeInlineLineTable() 485 for (const MCCVLoc &Loc : Locs) { in encodeInlineLineTable() 498 MCCVLoc StartLoc = Locs.front(); in encodeInlineLineTable() 511 for (const MCCVLoc &Loc : Locs) { in encodeInlineLineTable()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | MCCodeView.cpp | 341 std::vector<MCCVLoc> Locs = getFunctionLineEntries(FuncId); in emitLineTableForFunction() local 342 bool HaveColumns = any_of(Locs, [](const MCCVLoc &LineEntry) { in emitLineTableForFunction() 348 for (auto I = Locs.begin(), E = Locs.end(); I != E;) { in emitLineTableForFunction() 478 ArrayRef<MCCVLoc> Locs = getLinesForExtent(LocBegin, LocEnd); in encodeInlineLineTable() local 479 if (Locs.empty()) in encodeInlineLineTable() 484 const MCSection *FirstSec = &Locs.front().getLabel()->getSection(); in encodeInlineLineTable() 485 for (const MCCVLoc &Loc : Locs) { in encodeInlineLineTable() 498 MCCVLoc StartLoc = Locs.front(); in encodeInlineLineTable() 511 for (const MCCVLoc &Loc : Locs) { in encodeInlineLineTable()
|
/external/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 1296 LocPair Locs(MemoryLocation(PN, PNSize, PNAAInfo), in aliasPHI() local 1299 std::swap(Locs.first, Locs.second); in aliasPHI() 1308 assert(AliasCache.count(Locs) && in aliasPHI() 1310 AliasResult OrigAliasResult = AliasCache[Locs]; in aliasPHI() 1311 AliasCache[Locs] = NoAlias; in aliasPHI() 1325 AliasCache[Locs] = OrigAliasResult; in aliasPHI() 1477 LocPair Locs(MemoryLocation(V1, V1Size, V1AAInfo), in aliasCheck() local 1480 std::swap(Locs.first, Locs.second); in aliasCheck() 1482 AliasCache.insert(std::make_pair(Locs, MayAlias)); in aliasCheck() 1498 return AliasCache[Locs] = Result; in aliasCheck() [all …]
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 198 SmallVectorImpl<CCValAssign> &Locs; variable 254 Locs.push_back(V); in addLoc() 550 unsigned NumFirstPassLocs = Locs.size(); in AnalyzeArgumentsSecondPass() 566 TmpArgLocs.swap(Locs); in AnalyzeArgumentsSecondPass() 569 std::back_inserter(Locs), in AnalyzeArgumentsSecondPass()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 198 SmallVectorImpl<CCValAssign> &Locs; variable 262 Locs.push_back(V); in addLoc() 545 unsigned NumFirstPassLocs = Locs.size(); in AnalyzeArgumentsSecondPass() 561 TmpArgLocs.swap(Locs); in AnalyzeArgumentsSecondPass() 564 std::back_inserter(Locs), in AnalyzeArgumentsSecondPass()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 1597 AAQueryInfo::LocPair Locs(MemoryLocation(PN, PNSize, PNAAInfo), in aliasPHI() local 1600 std::swap(Locs.first, Locs.second); in aliasPHI() 1612 auto CacheIt = AAQI.AliasCache.find(Locs); in aliasPHI() 1632 AAQI.AliasCache.insert(std::make_pair(Locs, OrigAliasResult)); in aliasPHI() 1827 AAQueryInfo::LocPair Locs(MemoryLocation(V1, V1Size, V1AAInfo), in aliasCheck() local 1830 std::swap(Locs.first, Locs.second); in aliasCheck() 1832 AAQI.AliasCache.try_emplace(Locs, MayAlias); in aliasCheck() 1848 auto ItInsPair = AAQI.AliasCache.insert(std::make_pair(Locs, Result)); in aliasCheck() 1865 Pair = AAQI.AliasCache.try_emplace(Locs, Result); in aliasCheck() 1881 Pair = AAQI.AliasCache.try_emplace(Locs, Result); in aliasCheck() [all …]
|
/external/llvm-project/llvm/tools/sancov/ |
D | sancov.cpp | 150 SmallVector<DILineInfo, 1> Locs; member 303 for (const DILineInfo &Loc : Point.Locs) { in operator <<() 312 for (const DILineInfo &Loc : PointPtr->Locs) { in operator <<() 325 for (const auto &Loc : Point->Locs) { in operator <<() 434 CoveragePoint->Locs.push_back(LineInfo); in read() 569 Point.Locs.push_back(*LineInfo); in getCoveragePoints() 584 Point.Locs.push_back(FrameInfo); in getCoveragePoints() 916 for (const auto &Loc : Point.Locs) { in computeFunctions() 931 for (const auto &Loc : Point.Locs) { in computeNotCoveredFunctions() 948 for (const auto &Loc : Point.Locs) { in computeCoveredFunctions() [all …]
|