Home
last modified time | relevance | path

Searched refs:Tuple (Results 1 – 25 of 35) sorted by relevance

12

/openbsd/gnu/llvm/compiler-rt/lib/xray/
H A Dxray_fdr_log_writer.h25 template <class Tuple,
38 template <class Tuple,
41 Tuple>::type>::value,
43 static void serializeTo(char *, Tuple &&) {} in serializeTo()
48 template <class Tuple, size_t Index> struct AggregateSizesImpl {
50 sizeof(typename std::tuple_element<Index, Tuple>::type) +
51 AggregateSizesImpl<Tuple, Index - 1>::value;
54 template <class Tuple> struct AggregateSizesImpl<Tuple, 0> {
56 sizeof(typename std::tuple_element<0, Tuple>::type);
59 template <class Tuple> struct AggregateSizes {
[all …]
/openbsd/gnu/llvm/llvm/lib/IR/
H A DProfileSummary.cpp181 static bool getOptionalVal(MDTuple *Tuple, unsigned &Idx, const char *Key, in getOptionalVal() argument
183 if (getVal(dyn_cast<MDTuple>(Tuple->getOperand(Idx)), Key, Value)) { in getOptionalVal()
188 return Idx < Tuple->getNumOperands(); in getOptionalVal()
195 MDTuple *Tuple = dyn_cast_or_null<MDTuple>(MD); in getFromMD() local
196 if (!Tuple || Tuple->getNumOperands() < 8 || Tuple->getNumOperands() > 10) in getFromMD()
200 auto &FormatMD = Tuple->getOperand(I++); in getFromMD()
216 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "TotalCount", in getFromMD()
221 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxInternalCount", in getFromMD()
227 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "NumCounts", in getFromMD()
230 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "NumFunctions", in getFromMD()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/ADT/
H A DDenseMapInfo.h245 using Tuple = std::tuple<Ts...>;
247 static inline Tuple getEmptyKey() {
248 return Tuple(DenseMapInfo<Ts>::getEmptyKey()...);
251 static inline Tuple getTombstoneKey() {
252 return Tuple(DenseMapInfo<Ts>::getTombstoneKey()...);
257 using EltType = std::tuple_element_t<I, Tuple>;
265 static unsigned getHashValueImpl(const Tuple &, std::true_type) {
275 static bool isEqualImpl(const Tuple &lhs, const Tuple &rhs, std::false_type) {
276 using EltType = std::tuple_element_t<I, Tuple>;
283 static bool isEqualImpl(const Tuple &, const Tuple &, std::true_type) {
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-jitlistener/
H A Dllvm-jitlistener.cpp165 Triple Tuple(TheModule->getTargetTriple()); in InitEE() local
166 if (Tuple.getTriple().empty()) in InitEE()
167 Tuple.setTriple(sys::getProcessTriple()); in InitEE()
169 if (Tuple.isOSWindows() && !Tuple.isOSBinFormatELF()) { in InitEE()
170 Tuple.setObjectFormat(Triple::ELF); in InitEE()
171 TheModule->setTargetTriple(Tuple.getTriple()); in InitEE()
/openbsd/gnu/llvm/llvm/lib/XRay/
H A DFDRTraceWriter.cpp22 class Tuple,
24 std::tuple_size<std::remove_reference_t<Tuple>>::value),
26 static size_t write(support::endian::Writer &OS, Tuple &&T) { in write()
32 class Tuple,
34 std::tuple_size<std::remove_reference_t<Tuple>>::value),
36 static size_t write(support::endian::Writer &OS, Tuple &&) { in write()
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DFormatVariadic.h128 template <typename Tuple> class formatv_object : public formatv_object_base {
132 Tuple Parameters;
133 std::array<detail::format_adapter *, std::tuple_size<Tuple>::value>
145 std::array<detail::format_adapter *, std::tuple_size<Tuple>::value>
152 formatv_object(StringRef Fmt, Tuple &&Params) in formatv_object()
/openbsd/gnu/llvm/clang/utils/analyzer/
H A Dentrypoint.py7 from typing import List, Tuple
29 def parse_arguments() -> Tuple[argparse.Namespace, List[str]]:
H A DSATestUtils.py6 from typing import List, IO, Optional, Tuple
74 def check_and_measure_call(*popenargs, **kwargs) -> Tuple[float, int]:
H A DProjectMap.py5 from typing import Any, Dict, List, NamedTuple, Optional, Tuple
175 def _get_git_params(raw_project: JSON) -> Tuple[str, str]:
H A DSATestBenchmark.py19 from typing import List, Tuple
106 new: pd.DataFrame) -> Tuple[pd.DataFrame, pd.DataFrame]:
H A DSATestBuild.py66 from typing import Dict, IO, List, NamedTuple, Optional, TYPE_CHECKING, Tuple
369 def build(self, directory: str, output_dir: str) -> Tuple[float, int]:
409 build_log_file: IO) -> Tuple[float, int]:
497 output_dir: str) -> Tuple[float, int]:
H A DCmpRuns.py39 Sequence, Set, TextIO, TypeVar, Tuple, Union)
47 JSONDiff = Dict[str, Tuple[str, str]]
315 AnalysisDiagnosticPair = Tuple[AnalysisDiagnostic, AnalysisDiagnostic]
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.cpp55 auto Tuple = dyn_cast<MDTuple>(NamedMD->getOperand(0)); in readFromIR() local
56 if (!Tuple) in readFromIR()
58 for (unsigned I = 0, E = Tuple->getNumOperands() & -2; I != E; I += 2) { in readFromIR()
59 auto Key = mdconst::dyn_extract<ConstantInt>(Tuple->getOperand(I)); in readFromIR()
60 auto Val = mdconst::dyn_extract<ConstantInt>(Tuple->getOperand(I + 1)); in readFromIR()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.cpp279 for (auto Tuple : zip_first(HdrData->Atoms, Values)) { in lookup() local
280 if (std::get<0>(Tuple).first == Atom) in lookup()
281 return std::get<1>(Tuple); in lookup()
541 for (auto Tuple : zip_first(Abbr->Attributes, Values)) { in lookup() local
542 if (std::get<0>(Tuple).Index == Index) in lookup()
543 return std::get<1>(Tuple); in lookup()
575 for (auto Tuple : zip_first(Abbr->Attributes, Values)) { in dump() local
576 W.startLine() << formatv("{0}: ", std::get<0>(Tuple).Index); in dump()
577 std::get<1>(Tuple).dump(W.getOStream()); in dump()
/openbsd/gnu/llvm/llvm/utils/filecheck_lint/
H A Dfilecheck_lint.py34 from typing import Generator, Sequence, Tuple
139 content: str,) -> Generator[Tuple[FileRange, str], None, None]:
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp421 const auto *Tuple = dyn_cast<MDTuple>(MD); in emitEndOfAsmFile() local
422 if (!Tuple || Tuple->getNumOperands() != 2) in emitEndOfAsmFile()
424 const MDString *Name = dyn_cast<MDString>(Tuple->getOperand(0)); in emitEndOfAsmFile()
425 const MDString *Contents = dyn_cast<MDString>(Tuple->getOperand(1)); in emitEndOfAsmFile()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DBasicBlockSections.cpp301 MDTuple *Tuple = cast<MDTuple>(Existing); in hasInstrProfHashMismatch() local
302 for (const auto &N : Tuple->operands()) in hasInstrProfHashMismatch()
/openbsd/gnu/llvm/llvm/lib/WindowsDriver/
H A DMSVCPaths.cpp75 llvm::VersionTuple Tuple; in getHighestNumericTupleInDirectory() local
76 if (Tuple.tryParse(CandidateName)) // tryParse() returns true on error. in getHighestNumericTupleInDirectory()
78 if (Tuple > HighestTuple) { in getHighestNumericTupleInDirectory()
79 HighestTuple = Tuple; in getHighestNumericTupleInDirectory()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DEHScopeStack.h216 ConditionalCleanup(SavedTuple Tuple) : Saved(std::move(Tuple)) {}
/openbsd/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp311 auto *Tuple = dyn_cast_or_null<MDTuple>(MaybeTuple); in upgradeTypeRefArray() local
312 if (!Tuple || Tuple->isDistinct()) in upgradeTypeRefArray()
316 if (!Tuple->isTemporary()) in upgradeTypeRefArray()
317 return resolveTypeRefArray(Tuple); in upgradeTypeRefArray()
322 std::piecewise_construct, std::forward_as_tuple(Tuple), in upgradeTypeRefArray()
328 auto *Tuple = dyn_cast_or_null<MDTuple>(MaybeTuple); in resolveTypeRefArray() local
329 if (!Tuple || Tuple->isDistinct()) in resolveTypeRefArray()
334 Ops.reserve(Tuple->getNumOperands()); in resolveTypeRefArray()
335 for (Metadata *MD : Tuple->operands()) in resolveTypeRefArray()
/openbsd/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1196 template <class T, class Tuple, std::size_t... I>
1197 constexpr T *new_from_tuple_impl(Tuple &&t, std::index_sequence<I...>) {
1198 return new T(std::get<I>(std::forward<Tuple>(t))...);
1201 template <class T, class Tuple> constexpr T *new_from_tuple(Tuple &&t) {
1203 std::forward<Tuple>(t),
1205 std::tuple_size<std::remove_reference_t<Tuple>>::value>{});
/openbsd/gnu/llvm/libcxx/benchmarks/algorithms/
H A Dcommon.h20 enum class ValueType { Uint32, Uint64, Pair, Tuple, String, Float }; enumerator
/openbsd/gnu/llvm/clang/lib/Driver/ToolChains/
H A DMSVC.cpp714 llvm::VersionTuple Tuple; in AddClangSystemIncludeArgs() local
715 if (!Tuple.tryParse(windowsSDKIncludeVersion) && in AddClangSystemIncludeArgs()
716 Tuple.getSubminor().value_or(0) >= 17134) { in AddClangSystemIncludeArgs()
/openbsd/gnu/llvm/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp788 for (const auto &Tuple : R) { in addOptimalMapping() local
789 NodeId Src = Tuple.first; in addOptimalMapping()
790 NodeId Dst = Tuple.second; in addOptimalMapping()
/openbsd/gnu/gcc/libstdc++-v3/include/tr1/
H A Darray223 // Tuple interface to class template array [6.2.2.5].

12