Home
last modified time | relevance | path

Searched refs:Parts (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/llvm/lib/TextAPI/
H A DPackedVersion.cpp28 SmallVector<StringRef, 3> Parts; in parse32() local
29 SplitString(Str, Parts, "."); in parse32()
31 if (Parts.size() > 3 || Parts.empty()) in parse32()
35 if (getAsUnsignedInteger(Parts[0], 10, Num)) in parse32()
44 if (getAsUnsignedInteger(Parts[i], 10, Num)) in parse32()
63 SmallVector<StringRef, 5> Parts; in parse64() local
64 SplitString(Str, Parts, "."); in parse64()
66 if (Parts.size() > 5 || Parts.empty()) in parse64()
70 if (getAsUnsignedInteger(Parts[0], 10, Num)) in parse64()
84 if (getAsUnsignedInteger(Parts[i], 10, Num)) in parse64()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DSymbolRemappingReader.cpp43 SmallVector<StringRef, 4> Parts; in read() local
44 Line.split(Parts, ' ', /*MaxSplits*/-1, /*KeepEmpty*/false); in read()
46 if (Parts.size() != 3) in read()
51 std::optional<FK> FragmentKind = StringSwitch<std::optional<FK>>(Parts[0]) in read()
58 " found '" + Parts[0] + "'"); in read()
61 switch (Canonicalizer.addEquivalence(*FragmentKind, Parts[1], Parts[2])) { in read()
66 return ReportError("Manglings '" + Parts[1] + "' and '" + Parts[2] + "' " in read()
71 return ReportError("Could not demangle '" + Parts[1] + "' " in read()
72 "as a <" + Parts[0] + ">; invalid mangling?"); in read()
75 return ReportError("Could not demangle '" + Parts[2] + "' " in read()
[all …]
H A DInstrProfReader.cpp1015 std::pair<StringRef, StringRef> Parts = {StringRef(), Name}; in extractName() local
1017 Parts = Parts.second.split(kGlobalIdentifierDelimiter); in extractName()
1018 if (Parts.first.starts_with("_Z")) in extractName()
1019 return Parts.first; in extractName()
1020 if (Parts.second.empty()) in extractName()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp446 if (Parts.Headerfile) in visitFullComment()
447 visit(Parts.Headerfile); in visitFullComment()
448 if (Parts.Brief) in visitFullComment()
449 visit(Parts.Brief); in visitFullComment()
467 visit(Parts.TParams[i]); in visitFullComment()
474 visit(Parts.Params[i]); in visitFullComment()
937 if (Parts.Headerfile) { in visitFullComment()
939 visit(Parts.Headerfile); in visitFullComment()
954 if (Parts.Brief) { in visitFullComment()
956 visit(Parts.Brief); in visitFullComment()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DBasicBlockSectionsProfileReader.cpp41 SmallVector<StringRef, 2> Parts; in parseUniqueBBID() local
42 S.split(Parts, '.'); in parseUniqueBBID()
43 if (Parts.size() > 2) in parseUniqueBBID()
47 if (getAsUnsignedInteger(Parts[0], 10, BaseBBID)) in parseUniqueBBID()
49 Twine("unable to parse BB id: '" + Parts[0]) + in parseUniqueBBID()
52 if (Parts.size() > 1 && getAsUnsignedInteger(Parts[1], 10, CloneID)) in parseUniqueBBID()
54 Parts[1] + "': unsigned integer expected"); in parseUniqueBBID()
/freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/
H A Dpath.cpp162 vector<PartKindPair> Parts; in lexically_normal() local
164 Parts.reserve(32); in lexically_normal()
171 Parts.emplace_back(P, K); in lexically_normal()
174 if (Parts.empty()) in lexically_normal()
176 return Parts.back().second; in lexically_normal()
198 NewPathSize -= Parts.back().first.size(); in lexically_normal()
199 Parts.pop_back(); in lexically_normal()
215 if (Parts.empty()) in lexically_normal()
223 Result.__pn_.reserve(Parts.size() + NewPathSize + NeedTrailingSep); in lexically_normal()
224 for (auto& PK : Parts) in lexically_normal()
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHLSL.cpp71 SmallVector<StringRef, 3> Parts; in tryParseProfile() local
72 Profile.split(Parts, "_"); in tryParseProfile()
73 if (Parts.size() != 3) in tryParseProfile()
77 StringSwitch<Triple::EnvironmentType>(Parts[0]) in tryParseProfile()
92 if (llvm::getAsUnsignedInteger(Parts[1], 0, Major)) in tryParseProfile()
96 if (Parts[2] == "x" && Kind == Triple::EnvironmentType::Library) in tryParseProfile()
98 else if (llvm::getAsUnsignedInteger(Parts[2], 0, Minor)) in tryParseProfile()
H A DAMDGPU.cpp350 SmallVector<StringRef, 3> Parts; in RocmInstallationDetector() local
351 HIPVersionArg.split(Parts, '.'); in RocmInstallationDetector()
352 if (Parts.size()) in RocmInstallationDetector()
353 Parts[0].getAsInteger(0, Major); in RocmInstallationDetector()
354 if (Parts.size() > 1) in RocmInstallationDetector()
355 Parts[1].getAsInteger(0, Minor); in RocmInstallationDetector()
356 if (Parts.size() > 2) in RocmInstallationDetector()
357 VersionPatch = Parts[2].str(); in RocmInstallationDetector()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp89 std::vector<Record*> Parts = in updateComponents() local
91 if (!Parts.empty()) { in updateComponents()
92 if (Parts.size() < 2) in updateComponents()
96 for (Record *Part : Parts) in updateComponents()
122 ConcatenationOf.assign(Parts.begin(), Parts.end()); in setConcatenationOf()
124 assert(std::equal(Parts.begin(), Parts.end(), in setConcatenationOf()
504 Parts.clear(); in computeSecondarySubRegs()
510 if (Parts.empty()) in computeSecondarySubRegs()
1408 Size += Parts[i]->Size; in getConcatSubRegIndex()
1412 LastSize = Parts[i]->Size; in getConcatSubRegIndex()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DStencil.h60 Stencil catVector(std::vector<Stencil> Parts);
64 template <typename... Ts> Stencil cat(Ts &&... Parts) { in cat() argument
65 return catVector({detail::makeStencil(std::forward<Ts>(Parts))...}); in cat()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DStencil.cpp390 llvm::SmallVector<std::string, 2> Parts; in toString() local
391 Parts.reserve(Stencils.size()); in toString()
393 Parts.push_back(S->toString()); in toString()
394 return (llvm::Twine("seq(") + llvm::join(Parts, ", ") + ")").str(); in toString()
489 Stencil transformer::catVector(std::vector<Stencil> Parts) { in catVector() argument
491 if (Parts.size() == 1) in catVector()
492 return std::move(Parts[0]); in catVector()
493 return std::make_shared<SequenceStencil>(std::move(Parts)); in catVector()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_shadow.h42 struct Parts { struct
50 Parts part_; argument
149 struct Parts { struct
157 Parts part_; argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DConstraintSystem.cpp165 SmallVector<std::string, 16> Parts; in dump() local
174 Parts.push_back(Coefficient + Names[Row[I].Id - 1]); in dump()
180 LLVM_DEBUG(dbgs() << join(Parts, std::string(" + ")) in dump()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDXContainerEmitter.cpp54 if (ObjectFile.Parts.size() != ObjectFile.Header.PartOffsets->size()) in validatePartOffsets()
60 for (auto I : llvm::zip(ObjectFile.Parts, *ObjectFile.Header.PartOffsets)) { in validatePartOffsets()
79 for (const auto &Part : ObjectFile.Parts) { in computePartOffsets()
96 Header.PartCount = ObjectFile.Parts.size(); in writeHeader()
112 for (auto I : llvm::zip(ObjectFile.Parts, *ObjectFile.Header.PartOffsets)) { in writeParts()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypesGeneric.cpp318 SDValue Parts[2]; in IntegerToVector() local
322 SplitInteger(Op, Parts[0], Parts[1]); in IntegerToVector()
324 std::swap(Parts[0], Parts[1]); in IntegerToVector()
325 IntegerToVector(Parts[0], NumElements, Ops, EltVT); in IntegerToVector()
326 IntegerToVector(Parts[1], NumElements, Ops, EltVT); in IntegerToVector()
H A DSelectionDAGBuilder.cpp181 SDValue Val = Parts[0]; in getCopyFromParts()
347 SDValue Val = Parts[0]; in getCopyFromPartsVector()
530 Parts[0] = Val; in getCopyToParts()
582 Parts[0] = Val; in getCopyToParts()
602 std::reverse(Parts + RoundParts, Parts + NumParts); in getCopyToParts()
620 SDValue &Part0 = Parts[i]; in getCopyToParts()
636 std::reverse(Parts, Parts + OrigNumParts); in getCopyToParts()
742 Parts[0] = Val; in getCopyToPartsVector()
886 Parts.resize(NumRegs); in getCopyFromRegs()
897 Parts[i] = P; in getCopyFromRegs()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp560 Piece *Parts[4] = {}; member
927 FirstOption.Pieces.push_back(P->Parts[0]); in VisitDiff()
929 FirstOption.Pieces.push_back(P->Parts[1]); in VisitDiff()
931 FirstOption.Pieces.push_back(P->Parts[2]); in VisitDiff()
935 Select.Options.push_back(P->Parts[3]); in VisitDiff()
992 Visit(P->Parts[0]); in VisitDiff()
994 Visit(P->Parts[1]); in VisitDiff()
996 Visit(P->Parts[2]); in VisitDiff()
998 Visit(P->Parts[3]); in VisitDiff()
1137 Diff->Parts[0] = parseDiagText(Text, StopAt::Dollar); in parseDiagText()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp999 if (~Parts[i]) in isSignificandAllOnes()
1009 if (~(Parts[PartCount - 1] | HighBitFill)) in isSignificandAllOnes()
1020 if (Parts[0] & 1) in isSignificandAllOnesExceptLSB()
1025 if (~Parts[i] & ~unsigned{!i}) in isSignificandAllOnesExceptLSB()
1049 if (Parts[i]) in isSignificandAllZeros()
1059 if (Parts[PartCount - 1] & HighBitMask) in isSignificandAllZeros()
1070 if (Parts[i]) in isSignificandAllZerosExceptMSB()
4304 PopCount += llvm::popcount(Parts[i]); in getExactLog2Abs()
4315 if (Parts[i] != 0) { in getExactLog2Abs()
4317 llvm::countr_zero(Parts[i]) + 1; in getExactLog2Abs()
[all …]
/freebsd-14.2/sys/contrib/device-tree/src/arm/
H A Dbcm2711-rpi-cm4-io.dts21 * Parts taken from rpi_SCH_4b_4p0_reduced.pdf and
H A Dbcm2711-rpi-4-b.dts68 * Parts taken from rpi_SCH_4b_4p0_reduced.pdf and
/freebsd-14.2/contrib/llvm-project/openmp/runtime/src/
H A Dlibomp.rc.var20 // Parts of FILEVERSION and PRODUCTVERSION are 16-bit fields, entire build date yyyymmdd
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp339 static bool collectSRATypes(DenseMap<uint64_t, GlobalPart> &Parts, in collectSRATypes() argument
376 Parts.try_emplace(Offset.getZExtValue(), GlobalPart{Ty}); in collectSRATypes()
512 DenseMap<uint64_t, GlobalPart> Parts; in SRAGlobal() local
513 if (!collectSRATypes(Parts, GV, DL) || Parts.empty()) in SRAGlobal()
517 if (Parts.size() == 1 && Parts.begin()->second.Ty == GV->getValueType()) in SRAGlobal()
523 unsigned NumParts = count_if(Parts, [](const auto &Pair) { in SRAGlobal()
531 for (const auto &Pair : Parts) { in SRAGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h212 LLT extractGCDType(SmallVectorImpl<Register> &Parts, LLT DstTy,
218 void extractGCDType(SmallVectorImpl<Register> &Parts, LLT GCDTy,
/freebsd-14.2/sys/contrib/device-tree/Bindings/reserved-memory/
H A Dramoops.txt9 Parts of this storage may be set aside for other persistent log buffers, such
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h2125 SmallVector<std::pair< bool, StringRef>, 4> Parts; member
2138 Parts.push_back(std::make_pair(IsDigitPart, StringRef(Start, Len))); in RecordParts()
2145 Parts.push_back(std::make_pair(IsDigitPart, StringRef(Start, Len))); in RecordParts()
2148 size_t size() { return Parts.size(); } in size()
2151 assert (i < Parts.size() && "Invalid idx!"); in getPart()
2152 return Parts[i]; in getPart()

1234