Home
last modified time | relevance | path

Searched refs:Parts (Results 1 – 25 of 80) 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...]
H A DInstrProfReader.cpp1050 std::pair<StringRef, StringRef> Parts = {StringRef(), Name}; in extractName() local
1052 Parts = Parts.second.split(GlobalIdentifierDelimiter); in extractName()
1053 if (Parts.first.starts_with("_Z")) in extractName()
1054 return Parts.first; in extractName()
1055 if (Parts.second.empty()) in extractName()
/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.cpp444 FullCommentParts Parts(C, Traits); in visitFullComment() local
447 if (Parts.Headerfile) in visitFullComment()
448 visit(Parts.Headerfile); in visitFullComment()
449 if (Parts.Brief) in visitFullComment()
450 visit(Parts.Brief); in visitFullComment()
451 else if (Parts.FirstParagraph) { in visitFullComment()
453 visitNonStandaloneParagraphComment(Parts.FirstParagraph); in visitFullComment()
458 for (unsigned i = 0, e = Parts.MiscBlocks.size(); i != e; ++i) { in visitFullComment()
459 const Comment *C = Parts.MiscBlocks[i]; in visitFullComment()
460 if (FirstParagraphIsBrief && C == Parts.FirstParagraph) in visitFullComment()
[all …]
/freebsd/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/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/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.cpp351 SmallVector<StringRef, 3> Parts; in RocmInstallationDetector() local
352 HIPVersionArg.split(Parts, '.'); in RocmInstallationDetector()
353 if (Parts.size()) in RocmInstallationDetector()
354 Parts[0].getAsInteger(0, Major); in RocmInstallationDetector()
355 if (Parts.size() > 1) in RocmInstallationDetector()
356 Parts[1].getAsInteger(0, Minor); in RocmInstallationDetector()
357 if (Parts.size() > 2) in RocmInstallationDetector()
358 VersionPatch = Parts[2].str(); in RocmInstallationDetector()
/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/llvm/utils/TableGen/Common/
H A DCodeGenRegisters.cpp95 std::vector<Record *> Parts = in updateComponents() local
97 if (!Parts.empty()) { in updateComponents()
98 if (Parts.size() < 2) in updateComponents()
102 for (Record *Part : Parts) in updateComponents()
126 ArrayRef<CodeGenSubRegIndex *> Parts) { in setConcatenationOf() argument
128 ConcatenationOf.assign(Parts.begin(), Parts.end()); in setConcatenationOf()
130 assert(std::equal(Parts.begin(), Parts.end(), ConcatenationOf.begin()) && in setConcatenationOf()
407 SmallVector<CodeGenSubRegIndex *, 8> Parts; in computeSubRegs() local
411 Parts.push_back(getSubRegIndex(SR->ExplicitSubRegs[j])); in computeSubRegs()
416 Idx.setConcatenationOf(Parts); in computeSubRegs()
[all …]
/freebsd/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/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/llvm/lib/Frontend/OpenMP/
H A DOMP.cpp123 Directive getCompoundConstruct(ArrayRef<Directive> Parts) { in getCompoundConstruct() argument
124 if (Parts.empty()) in getCompoundConstruct()
131 for (Directive P : Parts) { in getCompoundConstruct()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstraintSystem.cpp165 SmallVector<std::string, 16> Parts; in dump() local
174 Parts.push_back(Coefficient + Names[E.Id - 1]); in dump()
180 LLVM_DEBUG(dbgs() << join(Parts, std::string(" + ")) in dump()
/freebsd/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/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.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.cpp158 const SDValue *Parts, unsigned NumParts,
169 getCopyFromParts(SelectionDAG &DAG, const SDLoc &DL, const SDValue *Parts, in getCopyFromParts() argument
176 if (SDValue Val = TLI.joinRegisterPartsIntoValue(DAG, DL, Parts, NumParts, in getCopyFromParts()
181 return getCopyFromPartsVector(DAG, DL, Parts, NumParts, PartVT, ValueVT, V, in getCopyFromParts()
185 SDValue Val = Parts[0]; in getCopyFromParts()
203 Lo = getCopyFromParts(DAG, DL, Parts, RoundParts / 2, PartVT, HalfVT, V, in getCopyFromParts()
205 Hi = getCopyFromParts(DAG, DL, Parts + RoundParts / 2, RoundParts / 2, in getCopyFromParts()
208 Lo = DAG.getNode(ISD::BITCAST, DL, HalfVT, Parts[0]); in getCopyFromParts()
209 Hi = DAG.getNode(ISD::BITCAST, DL, HalfVT, Parts[1]); in getCopyFromParts()
221 Hi = getCopyFromParts(DAG, DL, Parts + RoundParts, OddParts, PartVT, in getCopyFromParts()
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp560 Piece *Parts[4] = {}; member
923 FirstOption.Pieces.push_back(P->Parts[0]); in VisitDiff()
925 FirstOption.Pieces.push_back(P->Parts[1]); in VisitDiff()
927 FirstOption.Pieces.push_back(P->Parts[2]); in VisitDiff()
931 Select.Options.push_back(P->Parts[3]); in VisitDiff()
988 Visit(P->Parts[0]); in VisitDiff()
990 Visit(P->Parts[1]); in VisitDiff()
992 Visit(P->Parts[2]); in VisitDiff()
994 Visit(P->Parts[3]); in VisitDiff()
1132 Diff->Parts[0] = parseDiagText(Text, StopAt::Dollar); in parseDiagText()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMP.h28 Directive getCompoundConstruct(ArrayRef<Directive> Parts);
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp1025 const integerPart *Parts = significandParts(); in isSignificandAllOnes() local
1028 if (~Parts[i]) in isSignificandAllOnes()
1038 if (~(Parts[PartCount - 1] | HighBitFill)) in isSignificandAllOnes()
1047 const integerPart *Parts = significandParts(); in isSignificandAllOnesExceptLSB() local
1049 if (Parts[0] & 1) in isSignificandAllOnesExceptLSB()
1054 if (~Parts[i] & ~unsigned{!i}) in isSignificandAllOnesExceptLSB()
1065 if (~(Parts[PartCount - 1] | HighBitFill | 0x1)) in isSignificandAllOnesExceptLSB()
1074 const integerPart *Parts = significandParts(); in isSignificandAllZeros() local
1078 if (Parts[i]) in isSignificandAllZeros()
1088 if (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.cpp349 static bool collectSRATypes(DenseMap<uint64_t, GlobalPart> &Parts, in collectSRATypes() argument
386 Parts.try_emplace(Offset.getZExtValue(), GlobalPart{Ty}); in collectSRATypes()
522 DenseMap<uint64_t, GlobalPart> Parts; in SRAGlobal() local
523 if (!collectSRATypes(Parts, GV, DL) || Parts.empty()) in SRAGlobal()
527 if (Parts.size() == 1 && Parts.begin()->second.Ty == GV->getValueType()) in SRAGlobal()
533 unsigned NumParts = count_if(Parts, [](const auto &Pair) { in SRAGlobal()
541 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
/freebsd/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,

1234