Home
last modified time | relevance | path

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

1234

/freebsd/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[ in read()
[all...]
/freebsd/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()
43 for (unsigned i = 1, ShiftNum = 8; i < Parts.size(); ++i, ShiftNum -= 8) { 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 in parse64()
[all...]
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp443 FullCommentParts Parts(C, Traits); in visitFullComment() local
446 if (Parts.Headerfile) in visitFullComment()
447 visit(Parts.Headerfile); in visitFullComment()
448 if (Parts.Brief) in visitFullComment()
449 visit(Parts.Brief); in visitFullComment()
450 else if (Parts.FirstParagraph) { in visitFullComment()
452 visitNonStandaloneParagraphComment(Parts.FirstParagraph); in visitFullComment()
457 for (unsigned i = 0, e = Parts.MiscBlocks.size(); i != e; ++i) { in visitFullComment()
458 const Comment *C = Parts.MiscBlocks[i]; in visitFullComment()
459 if (FirstParagraphIsBrief && C == Parts.FirstParagraph) in visitFullComment()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DBasicBlockSectionsProfileReader.cpp42 SmallVector<StringRef, 2> Parts; in parseUniqueBBID() local
43 S.split(Parts, '.'); in parseUniqueBBID()
44 if (Parts.size() > 2) in parseUniqueBBID()
48 if (getAsUnsignedInteger(Parts[0], 10, BaseBBID)) in parseUniqueBBID()
50 Twine("unable to parse BB id: '" + Parts[0]) + in parseUniqueBBID()
53 if (Parts.size() > 1 && getAsUnsignedInteger(Parts[1], 10, CloneID)) in parseUniqueBBID()
55 Parts[1] + "': unsigned integer expected"); in parseUniqueBBID()
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dpath.cpp165 vector<PartKindPair> Parts; in lexically_normal() local
167 Parts.reserve(32); in lexically_normal()
174 Parts.emplace_back(P, K); in lexically_normal()
177 if (Parts.empty()) in lexically_normal()
179 return Parts.back().second; in lexically_normal()
201 NewPathSize -= Parts.back().first.size(); in lexically_normal()
202 Parts.pop_back(); in lexically_normal()
218 if (Parts.empty()) in lexically_normal()
226 Result.__pn_.reserve(Parts.size() + NewPathSize + NeedTrailingSep); in lexically_normal()
227 for (auto& PK : Parts) in lexically_normal()
/freebsd/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/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.cpp287 SmallVector<StringRef, 3> Parts; in RocmInstallationDetector() local
288 HIPVersionArg.split(Parts, '.'); in RocmInstallationDetector()
289 if (Parts.size()) in RocmInstallationDetector()
290 Parts[0].getAsInteger(0, Major); in RocmInstallationDetector()
291 if (Parts.size() > 1) in RocmInstallationDetector()
292 Parts[1].getAsInteger(0, Minor); in RocmInstallationDetector()
293 if (Parts.size() > 2) in RocmInstallationDetector()
294 VersionPatch = Parts[2].str(); in RocmInstallationDetector()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenRegisters.cpp97 std::vector<const Record *> Parts = in updateComponents() local
99 if (!Parts.empty()) { in updateComponents()
100 if (Parts.size() < 2) in updateComponents()
104 for (const Record *Part : Parts) in updateComponents()
128 ArrayRef<CodeGenSubRegIndex *> Parts) { in setConcatenationOf() argument
130 ConcatenationOf.assign(Parts.begin(), Parts.end()); in setConcatenationOf()
133 assert(llvm::equal(Parts, ConcatenationOf) && "parts consistent"); in setConcatenationOf()
342 SmallVector<CodeGenSubRegIndex *, 8> Parts; in computeSubRegs() local
349 Parts.push_back(getSubRegIndex(SR->ExplicitSubRegs[j])); in computeSubRegs()
356 ExplicitSubRegIndices[Idx]->setConcatenationOf(Parts); in computeSubRegs()
[all …]
/freebsd/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/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DStencil.cpp394 llvm::SmallVector<std::string, 2> Parts; in toString() local
395 Parts.reserve(Stencils.size()); in toString()
397 Parts.push_back(S->toString()); in toString()
398 return (llvm::Twine("seq(") + llvm::join(Parts, ", ") + ")").str(); in toString()
493 Stencil transformer::catVector(std::vector<Stencil> Parts) { in catVector() argument
495 if (Parts.size() == 1) in catVector()
496 return std::move(Parts[0]); in catVector()
497 return std::make_shared<SequenceStencil>(std::move(Parts)); in catVector()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstraintSystem.cpp186 SmallVector<std::string, 16> Parts; in dump() local
195 Parts.push_back(Coefficient + Names[E.Id - 1]); in dump()
201 LLVM_DEBUG(dbgs() << join(Parts, std::string(" + ")) in dump()
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DHost.cpp183 SmallVector<StringRef, 32> Parts; in getHostCPUNameForARM() local
190 Parts.emplace_back(Line.ltrim("\t :")); in getHostCPUNameForARM()
194 StringRef Part = Parts.empty() ? StringRef() : Parts.back(); in getHostCPUNameForARM()
197 llvm::sort(Parts); in getHostCPUNameForARM()
198 Parts.erase(llvm::unique(Parts), Parts.end()); in getHostCPUNameForARM()
200 auto MatchBigLittle = [](auto const &Parts, StringRef Big, StringRef Little) { in getHostCPUNameForARM() argument
201 if (Parts.size() == 2) in getHostCPUNameForARM()
202 return (Parts[0] == Big && Parts[1] == Little) || in getHostCPUNameForARM()
203 (Parts[1] == Big && Parts[0] == Little); in getHostCPUNameForARM()
214 if (MatchBigLittle(Parts, "0xd85", "0xd87")) in getHostCPUNameForARM()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMP.cpp125 Directive getCompoundConstruct(ArrayRef<Directive> Parts) { in getCompoundConstruct() argument
126 if (Parts.empty()) in getCompoundConstruct()
133 for (Directive P : Parts) { in getCompoundConstruct()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDXContainerEmitter.cpp55 if (ObjectFile.Parts.size() != ObjectFile.Header.PartOffsets->size()) in validatePartOffsets()
61 for (auto I : llvm::zip(ObjectFile.Parts, *ObjectFile.Header.PartOffsets)) { in validatePartOffsets()
80 for (const auto &Part : ObjectFile.Parts) { in computePartOffsets()
97 Header.PartCount = ObjectFile.Parts.size(); in writeHeader()
113 for (auto I : llvm::zip(ObjectFile.Parts, *ObjectFile.Header.PartOffsets)) { in writeParts()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp122 auto CompletelyMatchesParts = [II](auto... Parts) -> bool { in isHardenedVariantOf() argument
124 return (FName.consume_front(Parts) && ...) && FName.empty(); in isHardenedVariantOf()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypesGeneric.cpp317 SDValue Parts[2]; in IntegerToVector() local
321 SplitInteger(Op, Parts[0], Parts[1]); in IntegerToVector()
323 std::swap(Parts[0], Parts[1]); in IntegerToVector()
324 IntegerToVector(Parts[0], NumElements, Ops, EltVT); in IntegerToVector()
325 IntegerToVector(Parts[1], NumElements, Ops, EltVT); in IntegerToVector()
H A DSelectionDAGBuilder.cpp154 const SDValue *Parts, unsigned NumParts,
165 getCopyFromParts(SelectionDAG &DAG, const SDLoc &DL, const SDValue *Parts, in getCopyFromParts() argument
172 if (SDValue Val = TLI.joinRegisterPartsIntoValue(DAG, DL, Parts, NumParts, in getCopyFromParts()
177 return getCopyFromPartsVector(DAG, DL, Parts, NumParts, PartVT, ValueVT, V, in getCopyFromParts()
181 SDValue Val = Parts[0]; in getCopyFromParts()
199 Lo = getCopyFromParts(DAG, DL, Parts, RoundParts / 2, PartVT, HalfVT, V, in getCopyFromParts()
201 Hi = getCopyFromParts(DAG, DL, Parts + RoundParts / 2, RoundParts / 2, in getCopyFromParts()
204 Lo = DAG.getNode(ISD::BITCAST, DL, HalfVT, Parts[0]); in getCopyFromParts()
205 Hi = DAG.getNode(ISD::BITCAST, DL, HalfVT, Parts[1]); in getCopyFromParts()
217 Hi = getCopyFromParts(DAG, DL, Parts + RoundParts, OddParts, PartVT, in getCopyFromParts()
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp556 Piece *Parts[4] = {}; member
931 FirstOption.Pieces.push_back(P->Parts[0]); in VisitDiff()
933 FirstOption.Pieces.push_back(P->Parts[1]); in VisitDiff()
935 FirstOption.Pieces.push_back(P->Parts[2]); in VisitDiff()
939 Select.Options.push_back(P->Parts[3]); in VisitDiff()
1045 Visit(P->Parts[0]); in VisitDiff()
1047 Visit(P->Parts[1]); in VisitDiff()
1049 Visit(P->Parts[2]); in VisitDiff()
1051 Visit(P->Parts[3]); in VisitDiff()
1245 Diff->Parts[0] = parseDiagText(Text, StopAt::Dollar); in parseDiagText()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanUnroll.cpp302 auto &Parts = VPV2Parts[Phi]; in unrollRecipeByUF() local
304 Parts.clear(); in unrollRecipeByUF()
305 Parts.push_back(Red); in unrollRecipeByUF()
307 Parts.push_back(Copy->getVPSingleValue()); in unrollRecipeByUF()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMP.h30 LLVM_ABI Directive getCompoundConstruct(ArrayRef<Directive> Parts);
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp1072 const integerPart *Parts = significandParts(); in isSignificandAllOnes() local
1075 if (~Parts[i]) in isSignificandAllOnes()
1084 if ((semantics->precision <= 1) || (~(Parts[PartCount - 1] | HighBitFill))) in isSignificandAllOnes()
1093 const integerPart *Parts = significandParts(); in isSignificandAllOnesExceptLSB() local
1095 if (Parts[0] & 1) in isSignificandAllOnesExceptLSB()
1100 if (~Parts[i] & ~unsigned{!i}) in isSignificandAllOnesExceptLSB()
1110 if (~(Parts[PartCount - 1] | HighBitFill | 0x1)) in isSignificandAllOnesExceptLSB()
1119 const integerPart *Parts = significandParts(); in isSignificandAllZeros() local
1123 if (Parts[i]) in isSignificandAllZeros()
1132 if ((semantics->precision > 1) && (Parts[PartCount - 1] & HighBitMask)) in isSignificandAllZeros()
[all …]
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp355 static bool collectSRATypes(DenseMap<uint64_t, GlobalPart> &Parts, in collectSRATypes() argument
392 Parts.try_emplace(Offset.getZExtValue(), GlobalPart{Ty}); in collectSRATypes()
528 DenseMap<uint64_t, GlobalPart> Parts; in SRAGlobal() local
529 if (!collectSRATypes(Parts, GV, DL) || Parts.empty()) in SRAGlobal()
533 if (Parts.size() == 1 && Parts.begin()->second.Ty == GV->getValueType()) in SRAGlobal()
539 unsigned NumParts = count_if(Parts, [](const auto &Pair) { in SRAGlobal()
547 for (const auto &Pair : Parts) { in SRAGlobal()
/freebsd/sys/contrib/device-tree/src/arm/broadcom/
H A Dbcm2711-rpi-cm4-io.dts22 * Parts taken from rpi_SCH_4b_4p0_reduced.pdf and

1234