Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_fdr_log_writer.h25 template <class Tuple,
28 typename std::remove_reference<Tuple>::type>::value,
30 Tuple &&T) {
35 std::forward<Tuple>(T));
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;
[all …]
/freebsd/contrib/llvm-project/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()
219 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxCount", MaxCount)) in getFromMD()
221 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxInternalCount", in getFromMD()
224 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxFunctionCount", in getFromMD()
[all …]
H A DMemoryModelRelaxationAnnotations.cpp30 MDTuple *Tuple = dyn_cast<MDTuple>(MD); in MMRAMetadata() local
31 assert(Tuple && "Invalid MMRA structure"); in MMRAMetadata()
38 if (isTagMD(Tuple)) { in MMRAMetadata()
39 HandleTagMD(Tuple); in MMRAMetadata()
43 for (const MDOperand &Op : Tuple->operands()) { in MMRAMetadata()
51 if (auto *Tuple = dyn_cast<MDTuple>(MD)) { in isTagMD() local
52 return Tuple->getNumOperands() == 2 && in isTagMD()
53 isa<MDString>(Tuple->getOperand(0)) && in isTagMD()
54 isa<MDString>(Tuple->getOperand(1)); in isTagMD()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h257 using Tuple = std::tuple<Ts...>;
259 static inline Tuple getEmptyKey() {
260 return Tuple(DenseMapInfo<Ts>::getEmptyKey()...);
263 static inline Tuple getTombstoneKey() {
264 return Tuple(DenseMapInfo<Ts>::getTombstoneKey()...);
268 static unsigned getHashValueImpl(const Tuple &values, std::false_type) {
269 using EltType = std::tuple_element_t<I, Tuple>;
277 static unsigned getHashValueImpl(const Tuple &, std::true_type) {
287 static bool isEqualImpl(const Tuple &lhs, const Tuple &rhs, std::false_type) {
288 using EltType = std::tuple_element_t<I, Tuple>;
[all …]
/freebsd/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h423 template <typename F, typename Tuple, size_t... Idx>
424 auto ApplyImpl(F&& f, Tuple&& args, std::index_sequence<Idx...>)
426 std::get<Idx>(std::forward<Tuple>(args))...)) {
427 return std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...);
431 template <typename F, typename Tuple>
432 auto Apply(F&& f, Tuple&& args)
434 std::forward<F>(f), std::forward<Tuple>(args),
436 typename std::remove_reference<Tuple>::type>::value>())) {
437 return ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args),
439 typename std::remove_reference<Tuple>::type>::value>());
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestBean.java137 Tuple tuple = getTuple(); in getAggregationRecord()
155 Tuple tuple = new Tuple(v1, v2); in getAggregation()
164 public static Tuple
178 Tuple tuple = new Tuple(r1, r2, r3, r4); in getTuple()
298 Map < Tuple, String > formattedOutput = in getPrintaRecord()
299 new HashMap < Tuple, String > (); in getPrintaRecord()
300 for (Tuple t : a.asMap().keySet()) { in getPrintaRecord()
303 List < Tuple > tuples = new ArrayList < Tuple > (); in getPrintaRecord()
304 for (Tuple t : a.asMap().keySet()) { in getPrintaRecord()
357 Tuple tuple = new Tuple(v1, v2, v3, v4, v5, v6); in getAggregate()
H A DTestFunctionLookup.java62 for (Tuple tuple : agg.asMap().keySet()) { in main()
96 for (Tuple tuple : agg.asMap().keySet()) { in main()
H A DTestGetAggregate.java114 rec = a.getRecord(Tuple.EMPTY); in testCleared()
122 rec = a.getRecord(Tuple.EMPTY); in testCleared()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormatVariadic.h128 template <typename Tuple> class formatv_object : public formatv_object_base {
132 Tuple Parameters;
133 std::array<support::detail::format_adapter *, std::tuple_size<Tuple>::value>
145 std::array<support::detail::format_adapter *, std::tuple_size<Tuple>::value>
152 formatv_object(StringRef Fmt, Tuple &&Params) in formatv_object()
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-printers.h1155 template <typename Tuple>
1156 void TersePrintPrefixToStrings(const Tuple&, std::integral_constant<size_t, 0>,
1158 template <typename Tuple, size_t I>
1159 void TersePrintPrefixToStrings(const Tuple& t,
1172 template <typename Tuple>
1173 Strings UniversalTersePrintTupleFieldsToStrings(const Tuple& value) {
1176 value, std::integral_constant<size_t, std::tuple_size<Tuple>::value>(),
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp423 const auto *Tuple = dyn_cast<MDTuple>(MD); in emitEndOfAsmFile() local
424 if (!Tuple || Tuple->getNumOperands() != 2) in emitEndOfAsmFile()
426 const MDString *Name = dyn_cast<MDString>(Tuple->getOperand(0)); in emitEndOfAsmFile()
427 const MDString *Contents = dyn_cast<MDString>(Tuple->getOperand(1)); in emitEndOfAsmFile()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/arm-optimized-routines/math/tools/
H A Dremez.jl171 function format_xylist(xys::Array{Tuple{BigFloat,BigFloat}})
499 extrema = array1d(Tuple{BigFloat, BigFloat}, 0)
544 function winnow_extrema(extrema::Array{Tuple{BigFloat,BigFloat}}, n)
548 best = fill((BigFloat(0), array1d(Tuple{BigFloat,BigFloat}, 0)), n, 2)
802 function ratfn_minimax(f::Function, interval::Tuple{BigFloat,BigFloat}, n, d,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DBasicBlockSections.cpp283 MDTuple *Tuple = cast<MDTuple>(Existing); in hasInstrProfHashMismatch() local
284 for (const auto &N : Tuple->operands()) in hasInstrProfHashMismatch()
/freebsd/contrib/llvm-project/llvm/lib/WindowsDriver/
H A DMSVCPaths.cpp76 llvm::VersionTuple Tuple; in getHighestNumericTupleInDirectory() local
77 if (Tuple.tryParse(CandidateName)) // tryParse() returns true on error. in getHighestNumericTupleInDirectory()
79 if (Tuple > HighestTuple) { in getHighestNumericTupleInDirectory()
80 HighestTuple = Tuple; in getHighestNumericTupleInDirectory()
/freebsd/sys/contrib/device-tree/Bindings/serial/
H A Dcdns,uart.txt11 - clock-names: Tuple to identify input clocks, must contain "uart_clk" and "pclk"
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp312 auto *Tuple = dyn_cast_or_null<MDTuple>(MaybeTuple); in upgradeTypeRefArray() local
313 if (!Tuple || Tuple->isDistinct()) in upgradeTypeRefArray()
317 if (!Tuple->isTemporary()) in upgradeTypeRefArray()
318 return resolveTypeRefArray(Tuple); in upgradeTypeRefArray()
323 std::piecewise_construct, std::forward_as_tuple(Tuple), in upgradeTypeRefArray()
329 auto *Tuple = dyn_cast_or_null<MDTuple>(MaybeTuple); in resolveTypeRefArray() local
330 if (!Tuple || Tuple->isDistinct()) in resolveTypeRefArray()
335 Ops.reserve(Tuple->getNumOperands()); in resolveTypeRefArray()
336 for (Metadata *MD : Tuple->operands()) in resolveTypeRefArray()
/freebsd/tests/atf_python/
H A Datf_pytest.py7 from typing import Tuple
193 if isinstance(data, Tuple):
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.cpp616 for (auto Tuple : zip_first(Abbr->Attributes, Values)) { in lookup() local
617 if (std::get<0>(Tuple).Index == Index) in lookup()
618 return std::get<1>(Tuple); in lookup()
726 for (auto Tuple : zip_first(Abbr->Attributes, Values)) { in dump() local
727 auto Index = std::get<0>(Tuple).Index; in dump()
730 auto FormValue = std::get<1>(Tuple); in dump()
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Datmel-classd.txt15 Tuple listing input clock names.
/freebsd/sys/contrib/device-tree/Bindings/mmc/
H A Dsdhci-am654.txt19 - clock-names: Tuple including "clk_xin" and "clk_ahb"
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1192 template <class T, class Tuple, std::size_t... I>
1193 constexpr T *new_from_tuple_impl(Tuple &&t, std::index_sequence<I...>) {
1194 return new T(std::get<I>(std::forward<Tuple>(t))...);
1197 template <class T, class Tuple> constexpr T *new_from_tuple(Tuple &&t) {
1199 std::forward<Tuple>(t),
1201 std::tuple_size<std::remove_reference_t<Tuple>>::value>{});
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/
H A DJDTrace.java270 List <Tuple> tuples = printa.getTuples(); in consumeProbeData()
274 for (Tuple t : tuples) { in consumeProbeData()
455 Tuple tuple; in printAggregationRecords()
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dmacb.txt26 - clock-names: Tuple listing input clock names.

12