Home
last modified time | relevance | path

Searched refs:Tuple (Results 1 – 25 of 47) 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.cpp29 MDTuple *Tuple = dyn_cast<MDTuple>(MD); in MMRAMetadata() local
30 assert(Tuple && "Invalid MMRA structure"); in MMRAMetadata()
37 if (isTagMD(Tuple)) { in MMRAMetadata()
38 HandleTagMD(Tuple); in MMRAMetadata()
42 for (const MDOperand &Op : Tuple->operands()) { in MMRAMetadata()
50 if (auto *Tuple = dyn_cast<MDTuple>(MD)) { in isTagMD() local
51 return Tuple->getNumOperands() == 2 && in isTagMD()
52 isa<MDString>(Tuple->getOperand(0)) && in isTagMD()
53 isa<MDString>(Tuple->getOperand(1)); in isTagMD()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h258 using Tuple = std::tuple<Ts...>;
260 static inline Tuple getEmptyKey() {
261 return Tuple(DenseMapInfo<Ts>::getEmptyKey()...);
264 static inline Tuple getTombstoneKey() {
265 return Tuple(DenseMapInfo<Ts>::getTombstoneKey()...);
269 static unsigned getHashValueImpl(const Tuple &values, std::false_type) {
270 using EltType = std::tuple_element_t<I, Tuple>;
278 static unsigned getHashValueImpl(const Tuple &, std::true_type) {
288 static bool isEqualImpl(const Tuple &lhs, const Tuple &rhs, std::false_type) {
289 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.h124 template <typename Tuple> class formatv_object : public formatv_object_base {
128 Tuple Parameters;
129 std::array<support::detail::format_adapter *, std::tuple_size<Tuple>::value>
141 std::array<support::detail::format_adapter *, std::tuple_size<Tuple>::value>
148 formatv_object(StringRef Fmt, Tuple &&Params, bool Validate) in formatv_object()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionImport.h254 auto Tuple = IDs.lookup(Id); in SortedImportList()
255 return std::make_pair(std::get<0>(Tuple), std::get<1>(Tuple)); in SortedImportList()
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-printers.h1194 template <typename Tuple>
1195 void TersePrintPrefixToStrings(const Tuple&, std::integral_constant<size_t, 0>,
1197 template <typename Tuple, size_t I>
1198 void TersePrintPrefixToStrings(const Tuple& t,
1211 template <typename Tuple>
1212 Strings UniversalTersePrintTupleFieldsToStrings(const Tuple& value) {
1215 value, std::integral_constant<size_t, std::tuple_size<Tuple>::value>(),
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp425 const auto *Tuple = dyn_cast<MDTuple>(MD); in emitEndOfAsmFile() local
426 if (!Tuple || Tuple->getNumOperands() != 2) in emitEndOfAsmFile()
428 const MDString *Name = dyn_cast<MDString>(Tuple->getOperand(0)); in emitEndOfAsmFile()
429 const MDString *Contents = dyn_cast<MDString>(Tuple->getOperand(1)); in emitEndOfAsmFile()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.cpp78 auto *Tuple = dyn_cast<MDTuple>(NamedMD->getOperand(0)); in readFromIR() local
79 if (!Tuple) in readFromIR()
81 for (unsigned I = 0, E = Tuple->getNumOperands() & -2; I != E; I += 2) { in readFromIR()
82 auto *Key = mdconst::dyn_extract<ConstantInt>(Tuple->getOperand(I)); in readFromIR()
83 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.cpp286 MDTuple *Tuple = cast<MDTuple>(Existing); in hasInstrProfHashMismatch() local
287 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/contrib/llvm-project/clang/lib/CodeGen/
H A DEHScopeStack.h227 ConditionalCleanup(SavedTuple Tuple) : Saved(std::move(Tuple)) {}
/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/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/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp309 auto *Tuple = dyn_cast_or_null<MDTuple>(MaybeTuple); in upgradeTypeRefArray() local
310 if (!Tuple || Tuple->isDistinct()) in upgradeTypeRefArray()
314 if (!Tuple->isTemporary()) in upgradeTypeRefArray()
315 return resolveTypeRefArray(Tuple); in upgradeTypeRefArray()
320 std::piecewise_construct, std::forward_as_tuple(Tuple), in upgradeTypeRefArray()
326 auto *Tuple = dyn_cast_or_null<MDTuple>(MaybeTuple); in resolveTypeRefArray() local
327 if (!Tuple || Tuple->isDistinct()) in resolveTypeRefArray()
332 Ops.reserve(Tuple->getNumOperands()); in resolveTypeRefArray()
333 for (Metadata *MD : Tuple->operands()) in resolveTypeRefArray()
/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/Basic/
H A Driscv_vector.td550 defvar T = "(Tuple:" # nf # ")";
581 defvar T = "(Tuple:" # nf # ")";
611 defvar T = "(Tuple:" # nf # ")";
641 defvar T = "(Tuple:" # nf # ")";
673 defvar T = "(Tuple:" # nf # ")";
698 defvar T = "(Tuple:" # nf # ")";
726 defvar T = "(Tuple:" # nf # ")";
1731 defvar T = "(Tuple:" # nf # ")";
1784 defvar T = "(Tuple:" # nf # ")";
1800 defvar T = "(Tuple:" # nf # ")";
[all …]

12