reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/STLExtras.h
  831     auto &Begin = std::get<Index>(Begins);
  832     auto &End = std::get<Index>(Ends);
  927     return iterator(std::get<Ns>(Ranges)...);
  930     return iterator(make_range(std::end(std::get<Ns>(Ranges)),
  931                                std::end(std::get<Ns>(Ranges)))...);
 1508     -> decltype(std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...)) {
 1509   return std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...);
include/llvm/ExecutionEngine/Orc/RPCSerialization.h
  574     return deserializeSeq(C, std::get<Is>(V)...);
include/llvm/ExecutionEngine/Orc/RPCUtils.h
  560         C, std::get<Indexes>(Args)...);
  568     return run(Handler, std::move(std::get<Indexes>(Args))...);
  577     return run(Handler, Responder, std::move(std::get<Indexes>(Args))...);
include/llvm/IR/PassManager.h
  424   return AM.template getResult<PassT>(IR, std::get<Ns>(Args)...);
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
 1103       const MCSymbol *BeginLabel = std::get<0>(HeapAllocSite);
 1104       const MCSymbol *EndLabel = std::get<1>(HeapAllocSite);
 1105       const DIType *DITy = std::get<2>(HeapAllocSite);
lib/CodeGen/MachineBlockPlacement.cpp
 1546                       return std::get<0>(L) > std::get<0>(R);
 1546                       return std::get<0>(L) > std::get<0>(R);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  999     unsigned RegCount = std::get<0>(CountAndVT);
 1000     MVT RegisterVT = std::get<1>(CountAndVT);
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  460     Ops.push_back(std::get<0>(Res));
  461     if (auto *MMO = std::get<2>(Res))
  463     Chain = std::get<1>(Res);;
lib/MC/MCParser/AsmParser.cpp
  983       if (std::get<2>(LocSym)->isUndefined()) {
  986         CppHashInfo = std::get<1>(LocSym);
  987         printError(std::get<0>(LocSym), "directional label undefined");
lib/Passes/StandardInstrumentations.cpp
  163   assert(std::get<2>(ModuleDesc).equals(PassID) && "malformed ModuleDescStack");
lib/Target/AArch64/AArch64ConditionOptimizer.cpp
  321   if (std::get<0>(Info) == ToImm && std::get<1>(Info) == To->getOpcode()) {
  321   if (std::get<0>(Info) == ToImm && std::get<1>(Info) == To->getOpcode()) {
  413       if (std::get<0>(HeadCmpInfo) == std::get<0>(TrueCmpInfo) &&
  413       if (std::get<0>(HeadCmpInfo) == std::get<0>(TrueCmpInfo) &&
  414           std::get<1>(HeadCmpInfo) == std::get<1>(TrueCmpInfo)) {
  414           std::get<1>(HeadCmpInfo) == std::get<1>(TrueCmpInfo)) {
lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
 2132     PHIInfo.removeSource(std::get<0>(SourceInfo), std::get<1>(SourceInfo),
 2132     PHIInfo.removeSource(std::get<0>(SourceInfo), std::get<1>(SourceInfo),
 2133                          std::get<2>(SourceInfo));
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  741       .addDef(std::get<2>(Result))
  742       .addReg(std::get<0>(Result)) // Initial value / implicit_def
  744       .addReg(std::get<1>(Result)) // Mid-loop value.
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
 1232     auto *Sym = Ctx.getOrCreateSymbol(std::get<1>(*Result));
lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp
  419     if (std::get<0>(Producer) == nullptr) {
  425       if (std::get<2>(Producer).isPredicated() &&
  429             std::get<0>(Producer)->getLoc(),
  435       if (std::get<2>(Producer).Register != Hexagon::NoRegister &&
  436           std::get<2>(Producer).Register != Consumer.Register) {
  437         reportNote(std::get<0>(Producer)->getLoc(),
  445     if (std::get<2>(Producer).Register == Consumer.Register &&
  446         Consumer.PredicatedTrue != std::get<2>(Producer).PredicatedTrue) {
  448           std::get<0>(Producer)->getLoc(),
  455         HexagonMCInstrInfo::getDesc(MCII, *std::get<0>(Producer));
  456     if (Desc.OpInfo[std::get<1>(Producer)].RegClass ==
  458       reportNote(std::get<0>(Producer)->getLoc(),
  464     if ((Desc.mayLoad() && std::get<1>(Producer) == 1) ||
  465         (Desc.mayStore() && std::get<1>(Producer) == 0)) {
  467           HexagonMCInstrInfo::getAddrMode(MCII, *std::get<0>(Producer));
  474         reportNote(std::get<0>(Producer)->getLoc(),
  482     if (Branch && HexagonMCInstrInfo::isFloat(MCII, *std::get<0>(Producer))) {
  483       reportNote(std::get<0>(Producer)->getLoc(),
  541           std::get<0>(WrongSense) = &I;
  542           std::get<1>(WrongSense) = J;
  543           std::get<2>(WrongSense) = ProducerPredicate;
lib/Transforms/IPO/FunctionImport.cpp
  393     auto &ProcessedThreshold = std::get<0>(IT.first->second);
  394     auto &CalleeSummary = std::get<1>(IT.first->second);
  395     auto &FailureInfo = std::get<2>(IT.first->second);
  560     auto *Summary = std::get<0>(FuncInfo);
  561     auto Threshold = std::get<1>(FuncInfo);
  573       auto &ProcessedThreshold = std::get<0>(I.second);
  574       auto &CalleeSummary = std::get<1>(I.second);
  575       auto &FailureInfo = std::get<2>(I.second);
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  707     BasicBlock *ExitBB = std::get<1>(ExitCase);
  729     std::get<1>(ExitCase) = SplitExitBB;
  735     ConstantInt *CaseVal = std::get<0>(ExitCase);
  736     BasicBlock *UnswitchedBB = std::get<1>(ExitCase);
  738     NewSIW.addCase(CaseVal, UnswitchedBB, std::get<2>(ExitCase));
 1041       Instruction &I = std::get<0>(ZippedInsts);
 1042       Instruction &ClonedI = std::get<1>(ZippedInsts);
lib/XRay/FDRTraceWriter.cpp
   28     OS.write(std::get<Index>(T));
   29     return sizeof(std::get<Index>(T)) + IndexedWriter<Index + 1>::write(OS, T);
projects/compiler-rt/lib/xray/xray_fdr_log_writer.h
   31     auto P = reinterpret_cast<const char *>(&std::get<Index>(T));
   32     constexpr auto Size = sizeof(std::get<Index>(T));
tools/clang/include/clang/Tooling/Refactoring/RefactoringActionRulesInternal.h
   54   auto Err = findError(std::get<Is>(Values)...);
   60       RuleType::initiate(Context, std::move((*std::get<Is>(Values)))...);
tools/clang/lib/AST/ASTImporter.cpp
  692   if (Error Err = importInto(std::get<0>(Result), FTSInfo->getTemplate()))
  698       std::get<1>(Result)))
 2915           Importer.getToContext(), std::get<1>(*FunctionAndArgsOrErr));
 2934         std::get<0>(*FunctionAndArgsOrErr), ToTAList, /* InsertPos= */ nullptr,
 7309       std::get<0>(*ToMemberNameInfoOrErr), std::get<1>(*ToMemberNameInfoOrErr));
 7309       std::get<0>(*ToMemberNameInfoOrErr), std::get<1>(*ToMemberNameInfoOrErr));
 7389       std::get<0>(*ToNameInfoOrErr), std::get<1>(*ToNameInfoOrErr));
 7389       std::get<0>(*ToNameInfoOrErr), std::get<1>(*ToNameInfoOrErr));
 7440   DeclarationNameInfo ToNameInfo(std::get<0>(*Imp2), std::get<1>(*Imp2));
 7440   DeclarationNameInfo ToNameInfo(std::get<0>(*Imp2), std::get<1>(*Imp2));
tools/clang/lib/CodeGen/EHScopeStack.h
  205       return T{DominatingValue<As>::restore(CGF, std::get<Is>(Saved))...};
tools/clang/lib/Sema/SemaOverload.cpp
 9211     Optional<EnableIfAttr *> Cand1A = std::get<0>(Pair);
 9212     Optional<EnableIfAttr *> Cand2A = std::get<1>(Pair);
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 2914     Optional<EnableIfAttr *> Cand1A = std::get<0>(Pair);
 2915     Optional<EnableIfAttr *> Cand2A = std::get<1>(Pair);
tools/clang/tools/extra/clang-tidy/abseil/DurationFactoryScaleCheck.cpp
  109     if (std::get<1>(*result) == 1.0)
  110       return std::get<0>(*result);
  111     Multiplier = std::get<1>(*result);
  112     OldScale = std::get<0>(*result);
tools/clang/tools/extra/clangd/index/FileIndex.cpp
  247       Path, std::make_unique<SymbolSlab>(std::move(std::get<0>(Slabs))),
  249       std::make_unique<RelationSlab>(std::move(std::get<2>(Slabs))),
  259       Path, std::make_unique<SymbolSlab>(std::move(std::get<0>(Contents))),
  260       std::make_unique<RefSlab>(std::move(std::get<1>(Contents))),
  261       std::make_unique<RelationSlab>(std::move(std::get<2>(Contents))),
tools/clang/unittests/AST/StructuralEquivalenceTest.cpp
   96     return testStructuralMatch(get<0>(t), get<1>(t));
   96     return testStructuralMatch(get<0>(t), get<1>(t));
  145   auto Spec0 = get<0>(Decls);
  146   auto Spec1 = get<1>(Decls);
  156   auto Spec0 = get<0>(Decls);
  157   auto Spec1 = get<1>(Decls);
  195       LastDeclMatcher<NamespaceDecl>().match(get<1>(Decls), namespaceDecl());
  197       get<1>(Decls), classTemplateDecl(hasName("Base")));
  211       get<1>(Decls), cxxRecordDecl(hasName("X")));
  213       FirstDeclMatcher<FieldDecl>().match(get<1>(Decls), fieldDecl(hasName("a")));
  644   auto *TU = get<0>(t);
  671   auto *TU = get<0>(t);
  704   auto *TU = get<0>(t);
  710   auto *TU1 = get<1>(t);
  744   auto *FromTU = get<0>(t);
  748   auto *ToTU = get<1>(t);
  811   CXXRecordDecl *L0 = get<0>(t)->getLambdaClass();
  812   CXXRecordDecl *L1 = get<1>(t)->getLambdaClass();
  823   CXXRecordDecl *L0 = get<0>(t)->getLambdaClass();
  824   CXXRecordDecl *L1 = get<1>(t)->getLambdaClass();
  835   CXXRecordDecl *L0 = get<0>(t)->getLambdaClass();
  836   CXXRecordDecl *L1 = get<1>(t)->getLambdaClass();
  847   CXXRecordDecl *L0 = get<0>(t)->getLambdaClass();
  848   CXXRecordDecl *L1 = get<1>(t)->getLambdaClass();
  864       get<0>(Decls), cxxConstructorDecl(hasName("foo")));
  866       get<1>(Decls), cxxConstructorDecl(hasName("foo")));
  874       get<0>(Decls), cxxConstructorDecl(hasName("foo")));
  876       get<1>(Decls), cxxConstructorDecl(hasName("foo")));
  931       get<0>(Decls), cxxConstructorDecl(hasName("foo<b>")));
  933       get<1>(Decls), cxxConstructorDecl(hasName("foo<b>")));
  941       get<0>(Decls), cxxConstructorDecl(hasName("foo<b>")));
  943       get<1>(Decls), cxxConstructorDecl(hasName("foo<b>")));
 1283     NodeType *D0 = FirstDeclMatcher<NodeType>().match(get<0>(TU), M);
 1284     NodeType *D1 = FirstDeclMatcher<NodeType>().match(get<1>(TU), M);
 1309       get<0>(TU)->getASTContext(), get<1>(TU)->getASTContext(),
 1309       get<0>(TU)->getASTContext(), get<1>(TU)->getASTContext(),
 1346       get<0>(TU)->getASTContext(), get<1>(TU)->getASTContext(),
 1346       get<0>(TU)->getASTContext(), get<1>(TU)->getASTContext(),
 1385       get<0>(TU)->getASTContext(), get<1>(TU)->getASTContext(),
 1385       get<0>(TU)->getASTContext(), get<1>(TU)->getASTContext(),
tools/lldb/unittests/Interpreter/TestCompletion.cpp
   79       auto &Path = *std::get<1>(Dir);
   81       path::append(Path, std::get<0>(Dir));
   88       auto &Path = *std::get<1>(File);
   90       path::append(Path, std::get<0>(File));
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp
  307     if (!to_integer(std::get<0>(ThreadPc), Id, 16))
  309                                 std::get<0>(ThreadPc));
  311     auto PcOr = parseRegisterValue(*PcInfo, std::get<1>(ThreadPc), Endian,
tools/llvm-lto/llvm-lto.cpp
  798         OutputName = std::get<1>(BinName) + ".thinlto.o";
  800         outs() << std::get<0>(BinName)->getBuffer();
  807       OS << std::get<0>(BinName)->getBuffer();
tools/llvm-objdump/llvm-objdump.cpp
 1254     if (Symbols.empty() || std::get<0>(Symbols[0]) != 0) {
 1279       std::string SymbolName = std::get<1>(Symbols[SI]).str();
 1288       uint64_t Start = std::get<0>(Symbols[SI]);
 1298         End = std::min(End, std::get<0>(Symbols[SI + 1]));
 1313         if (std::get<2>(Symbols[SI]) == ELF::STT_AMDGPU_HSA_KERNEL) {
 1318             std::get<2>(Symbols[SI + 1]) == ELF::STT_AMDGPU_HSA_KERNEL) {
 1363         uint8_t SymTy = std::get<2>(Symbols[SI]);
 1371                              std::get<2>(Symbols[SI]) != ELF::STT_OBJECT &&
 1474               uint64_t TargetAddress = std::get<0>(*TargetSym);
 1475               StringRef TargetName = std::get<1>(*TargetSym);
tools/llvm-xray/xray-account.cpp
  279     auto &Row = std::get<2>(Results.back());
tools/llvm-xray/xray-color-helper.cpp
  211   return llvm::formatv("#{0:X-2}{1:X-2}{2:X-2}", std::get<0>(t), std::get<1>(t),
  211   return llvm::formatv("#{0:X-2}{1:X-2}{2:X-2}", std::get<0>(t), std::get<1>(t),
  212                        std::get<2>(t));
unittests/ADT/IteratorTest.cpp
  307     EXPECT_EQ(get<0>(tup) & 0x01, get<1>(tup));
  307     EXPECT_EQ(get<0>(tup) & 0x01, get<1>(tup));
  308     EXPECT_EQ(get<0>(tup) & 0x01 ? 'y' : 'n', get<2>(tup));
  308     EXPECT_EQ(get<0>(tup) & 0x01 ? 'y' : 'n', get<2>(tup));
  313     EXPECT_EQ(get<0>(tup) & 0x01, get<1>(tup));
  313     EXPECT_EQ(get<0>(tup) & 0x01, get<1>(tup));
  323     EXPECT_EQ(get<0>(tup), get<1>(tup) & 0x01);
  323     EXPECT_EQ(get<0>(tup), get<1>(tup) & 0x01);
  370     EXPECT_EQ(get<1>(tup), get<2>(tup));
  370     EXPECT_EQ(get<1>(tup), get<2>(tup));
  371     get<2>(tup) = get<0>(tup) & 0x01 ? 'y' : 'n';
  371     get<2>(tup) = get<0>(tup) & 0x01 ? 'y' : 'n';
  376     EXPECT_EQ(get<0>(tup), get<1>(tup));
  376     EXPECT_EQ(get<0>(tup), get<1>(tup));
  386     get<1>(tup) = get<0>(tup);
  386     get<1>(tup) = get<0>(tup);
  393     EXPECT_EQ(get<0>(tup), get<1>(tup));
  393     EXPECT_EQ(get<0>(tup), get<1>(tup));
  405            zipped, [](decltype(zipped)::value_type t) { return get<1>(t); })) {
  406     EXPECT_EQ(get<0>(tup) & 0x01, get<1>(tup));
  406     EXPECT_EQ(get<0>(tup) & 0x01, get<1>(tup));
  407     get<0>(tup) += 1;
  426     EXPECT_LT(get<0>(tup), last);
  427     last = get<0>(tup);
  428     EXPECT_EQ(get<0>(tup) & 0x01, get<1>(tup));
  428     EXPECT_EQ(get<0>(tup) & 0x01, get<1>(tup));
  431   auto odds = [](decltype(zipped)::value_type tup) { return get<1>(tup); };
  434     EXPECT_LT(get<0>(tup), last);
  435     last = get<0>(tup);
  436     EXPECT_TRUE(get<0>(tup) & 0x01);
  437     get<0>(tup) += 1;
unittests/ADT/STLExtrasTest.cpp
  201   EXPECT_EQ(-2, std::get<0>(U));
  202   EXPECT_EQ(-4, std::get<1>(U));
  203   EXPECT_EQ(6, std::get<2>(U));
  213   EXPECT_EQ(std::make_pair(1, 'B'), std::get<0>(V));
  214   EXPECT_EQ(std::make_pair(3, 'D'), std::get<1>(V));
  215   EXPECT_EQ(std::make_pair(7, 'H'), std::get<2>(V));
  235   EXPECT_EQ(2, std::get<0>(Values));
  236   EXPECT_EQ("Tes", std::get<1>(Values));
  237   EXPECT_EQ('Y', std::get<2>(Values));
unittests/Support/Path.cpp
 1140     SmallString<64> Win(std::get<0>(T));
 1144     EXPECT_EQ(std::get<1>(T), Win);
 1145     EXPECT_EQ(std::get<2>(T), Posix);
unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp
   43   const std::string Lhs = Dump(get<0>(arg));
   44   const std::string Rhs = Dump(get<1>(arg));
usr/include/c++/7.4.0/bits/unique_ptr.h
  146       pointer&   _M_ptr() { return std::get<0>(_M_t); }
  148       _Dp&       _M_deleter() { return std::get<1>(_M_t); }
usr/include/c++/7.4.0/functional
  468 	      _Mu<_Bound_args>()(std::get<_Indexes>(_M_bound_args), __args)...
usr/include/c++/7.4.0/mutex
  500           auto __lock = std::__try_to_lock(std::get<_Idx>(__locks));
usr/include/c++/7.4.0/tuple
 1329       return std::forward<__element_type&&>(std::get<__i>(__t));
 1556 			       std::get<_Is>(std::forward<_Tp>(__tp))...);
 1651       : first(std::forward<_Args1>(std::get<_Indexes1>(__tuple1))...),
 1652         second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...)
utils/TableGen/GlobalISelEmitter.cpp
 1556       if (std::get<0>(Predicate)->isHigherPriorityThan(*std::get<1>(Predicate)))
 1556       if (std::get<0>(Predicate)->isHigherPriorityThan(*std::get<1>(Predicate)))
 1558       if (std::get<1>(Predicate)->isHigherPriorityThan(*std::get<0>(Predicate)))
 1558       if (std::get<1>(Predicate)->isHigherPriorityThan(*std::get<0>(Predicate)))
 2148       auto L = static_cast<InstructionPredicateMatcher *>(std::get<0>(P).get());
 2149       auto R = static_cast<InstructionPredicateMatcher *>(std::get<1>(P).get());