| /freebsd-src/contrib/llvm-project/llvm/lib/Option/ |
| H A D | Arg.cpp | 29 Values.push_back(Value0); in Arg() 36 Values.push_back(Value0); in Arg() 37 Values.push_back(Value1); in Arg() 42 for (unsigned i = 0, e = Values.size(); i != e; ++i) in ~Arg() 43 delete[] Values[i]; in ~Arg() 54 for (unsigned i = 0, e = Values.size(); i != e; ++i) { in print() 56 O << "'" << Values[i] << "'"; in print() 91 Output.append(Values.begin(), Values.end()); in renderAsInput() 97 Output.append(Values.begin(), Values.end()); in render() 115 Output.append(Values.begin() + 1, Values.end()); in render() [all …]
|
| H A D | ArgList.cpp | 99 SmallVector<const char *, 16> Values; in getAllArgValues() local 100 AddAllArgValues(Values, Id); in getAllArgValues() 101 return std::vector<std::string>(Values.begin(), Values.end()); in getAllArgValues() 152 const auto &Values = Arg->getValues(); in AddAllArgValues() local 153 Output.append(Values.begin(), Values.end()); in AddAllArgValues()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanSLP.cpp | 154 static SmallVector<VPValue *, 4> getOperands(ArrayRef<VPValue *> Values, in getOperands() argument 157 for (VPValue *V : Values) { in getOperands() 165 static bool areCommutative(ArrayRef<VPValue *> Values) { in areCommutative() argument 167 cast<VPInstruction>(Values[0])->getOpcode()); in areCommutative() 171 getOperands(ArrayRef<VPValue *> Values) { in getOperands() argument 173 auto *VPI = cast<VPInstruction>(Values[0]); in getOperands() 179 Result.push_back(getOperands(Values, 0)); in getOperands() 183 Result.push_back(getOperands(Values, I)); in getOperands() 190 /// Returns the opcode of Values or ~0 if they do not all agree. 191 static std::optional<unsigned> getOpcode(ArrayRef<VPValue *> Values) { in getOpcode() argument 345 dumpBundle(ArrayRef<VPValue * > Values) dumpBundle() argument 359 buildGraph(ArrayRef<VPValue * > Values) buildGraph() argument [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/Rewrite/ |
| H A D | DeltaTree.cpp | 72 SourceDelta Values[2*WidthFactor-1]; member in __anon9d934e970111::DeltaTreeNode 97 return Values[i]; in getValue() 102 return Values[i]; in getValue() 140 Values[0] = IR.Split; in DeltaTreeInteriorNode() 173 NewFullDelta += Values[i].Delta; in RecomputeFullDeltaLocally() 201 Values[i].Delta += Delta; in DoInsertion() 212 memmove(&Values[i+1], &Values[i], sizeof(Values[0])*(e-i)); in DoInsertion() 213 Values[i] = SourceDelta::get(FileIndex, Delta); in DoInsertion() 248 memmove(&Values[i+1], &Values[i], (e-i)*sizeof(Values[0])); in DoInsertion() 249 Values[i] = InsertRes->Split; in DoInsertion() [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ProvenanceAnalysisEvaluator.cpp | 27 static void insertIfNamed(SetVector<Value *> &Values, Value *V) { in insertIfNamed() argument 30 Values.insert(V); in insertIfNamed() 34 SetVector<Value *> Values; in run() local 37 insertIfNamed(Values, &Arg); in run() 40 insertIfNamed(Values, &I); in run() 43 insertIfNamed(Values, Op); in run() 49 for (Value *V1 : Values) { in run() 51 for (Value *V2 : Values) { in run()
|
| /freebsd-src/contrib/llvm-project/clang/lib/Basic/ |
| H A D | XRayInstr.cpp | 35 SmallVectorImpl<StringRef> &Values) { in serializeXRayInstrValue() argument 37 Values.push_back("all"); in serializeXRayInstrValue() 42 Values.push_back("none"); in serializeXRayInstrValue() 47 Values.push_back("custom"); in serializeXRayInstrValue() 50 Values.push_back("typed"); in serializeXRayInstrValue() 54 Values.push_back("function"); in serializeXRayInstrValue() 56 Values.push_back("function-entry"); in serializeXRayInstrValue() 58 Values.push_back("function-exit"); in serializeXRayInstrValue()
|
| /freebsd-src/contrib/googletest/googletest/test/ |
| H A D | googletest-param-test-test.cc | 59 using ::testing::Values; 356 const ParamGenerator<int> gen = Values(3, 5, 8); in TEST() 365 const ParamGenerator<double> gen = Values(3, 5.0f, 8.0); in TEST() 373 Values(10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, in TEST() 389 const ParamGenerator<int> gen = Values(42); in TEST() 408 Combine(Values(foo, bar), Values(3, 4)); in TEST() 419 Combine(Values(0, 1), Values(3, 4), Values(5, 6)); in TEST() 433 Combine(Values(42), Values(0, 1)); in TEST() 445 Combine(Values(0, 1), Values(42)); in TEST() 456 Combine(Range(0, 0), Values(0, 1)); in TEST() [all …]
|
| H A D | googletest-param-test2-test.cc | 37 using ::testing::Values; 43 ParamGenerator<int> extern_gen = Values(33); 50 Values(33, 66)); 58 Values(42 * 3, 42 * 4, 42 * 5));
|
| /freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DebugLocEntry.h | 192 SmallVector<DbgValueLoc, 1> Values; variable 212 if (Values.size() != Next.Values.size()) in MergeRanges() 214 for (unsigned EntryIdx = 0; EntryIdx < Values.size(); ++EntryIdx) in MergeRanges() 215 if (!Values[EntryIdx].isEquivalent(Next.Values[EntryIdx])) in MergeRanges() 223 ArrayRef<DbgValueLoc> getValues() const { return Values; } in getValues() 225 Values.append(Vals.begin(), Vals.end()); in addValues() 227 assert((Values.size() == 1 || all_of(Values, [](DbgValueLo in addValues() [all...] |
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
| H A D | IndexedValuesMap.h | 26 It = ValueToIndexMap.insert(std::make_pair(Value, Values.size())).first; in getValueIndex() 27 Values.push_back(Value); in getValueIndex() 32 const SmallVector<T> &getValues() const { return Values; } in getValues() 36 Values.clear(); in clear() 39 bool empty() { return Values.empty(); } in empty() 44 SmallVector<T> Values; variable
|
| /freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | BasicBlockSectionsProfileReader.cpp | 153 SmallVector<StringRef, 4> Values; in ReadV1Profile() local 154 S.split(Values, ' '); in ReadV1Profile() 159 if (Values.size() != 1) { in ReadV1Profile() 163 DIFilename = sys::path::remove_leading_dotslash(Values[0]); in ReadV1Profile() 166 bool FunctionFound = any_of(Values, [&](StringRef Alias) { in ReadV1Profile() 182 for (size_t i = 1; i < Values.size(); ++i) in ReadV1Profile() 183 FuncAliasMap.try_emplace(Values[i], Values.front()); in ReadV1Profile() 187 auto R = ProgramPathAndClusterInfo.try_emplace(Values.front()); in ReadV1Profile() 192 Values in ReadV1Profile() [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/TextAPI/ |
| H A D | TextStubCommon.cpp | 45 void ScalarTraits<PlatformSet>::output(const PlatformSet &Values, void *IO, in output() argument 52 if (Ctx && Ctx->FileKind == TBD_V3 && Values.count(PLATFORM_MACOS) && in output() 53 Values.count(PLATFORM_MACCATALYST)) { in output() 58 assert(Values.size() == 1U); in output() 59 switch (*Values.begin()) { in output() 94 PlatformSet &Values) { in input() argument 101 Values.insert(PLATFORM_MACOS); in input() 102 Values.insert(PLATFORM_MACCATALYST); in input() 126 Values.insert(Platform); in input()
|
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/Option/ |
| H A D | Arg.h | 65 SmallVector<const char *, 2> Values; variable 123 unsigned getNumValues() const { return Values.size(); } in getNumValues() 126 return Values[N]; 129 SmallVectorImpl<const char *> &getValues() { return Values; } in getValues() 130 const SmallVectorImpl<const char *> &getValues() const { return Values; } in getValues() 133 return llvm::is_contained(Values, Value); in containsValue()
|
| /freebsd-src/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | OptRSTEmitter.cpp | 67 } else if (!isa<UnsetInit>(R->getValueInit("Values"))) in EmitOptRST() 85 if (!isa<UnsetInit>(R->getValueInit("Values"))) { in EmitOptRST() 86 SmallVector<StringRef> Values; in EmitOptRST() local 87 SplitString(R->getValueAsString("Values"), Values, ","); in EmitOptRST() 90 if (Values.size() > 1) { in EmitOptRST() 91 HelpText += join(Values.begin(), Values.end() - 1, "', '"); in EmitOptRST() 94 HelpText += (Values.back() + "'.").str(); in EmitOptRST()
|
| H A D | OptParserEmitter.cpp | 64 std::vector<StringRef> Values; member in MarshallingInfo 119 for (unsigned I = 0, E = Values.size(); I != E; ++I) { in emitValueTable() 121 write_cstring(OS, Values[I]); in emitValueTable() 167 assert(!isa<UnsetInit>(R.getValueInit("Values")) && in createMarshallingInfo() 171 Ret.Values.reserve(Ret.NormalizedValues.size()); in createMarshallingInfo() 174 StringRef ValuesStr = R.getValueAsString("Values"); in createMarshallingInfo() 180 Ret.Values.push_back(ValuesStr.slice(0, Idx)); in createMarshallingInfo() 184 Ret.Values.push_back(ValuesStr); in createMarshallingInfo() 186 assert(Ret.Values.size() == Ret.NormalizedValues.size() && in createMarshallingInfo() 325 assert(isa<UnsetInit>(R.getValueInit("Values")) in EmitOptParser() [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/TargetParser/ |
| H A D | RISCVTargetParser.cpp | 92 void fillValidCPUArchList(SmallVectorImpl<StringRef> &Values, bool IsRV64) { in fillValidTuneCPUArchList() 95 Values.emplace_back(C.Name); in fillValidTuneCPUArchList() 99 void fillValidTuneCPUArchList(SmallVectorImpl<StringRef> &Values, bool IsRV64) { 102 Values.emplace_back(C.Name); 104 #define TUNE_PROC(ENUM, NAME) Values.emplace_back(StringRef(NAME)); 82 fillValidCPUArchList(SmallVectorImpl<StringRef> & Values,bool IsRV64) fillValidCPUArchList() argument 89 fillValidTuneCPUArchList(SmallVectorImpl<StringRef> & Values,bool IsRV64) fillValidTuneCPUArchList() argument
|
| /freebsd-src/contrib/llvm-project/clang/lib/AST/ |
| H A D | ComparisonCategories.cpp | 206 std::vector<CCR> Values; in getPossibleResultsForType() local 207 Values.reserve(4); in getPossibleResultsForType() 209 Values.push_back(IsStrong ? CCR::Equal : CCR::Equivalent); in getPossibleResultsForType() 210 Values.push_back(CCR::Less); in getPossibleResultsForType() 211 Values.push_back(CCR::Greater); in getPossibleResultsForType() 213 Values.push_back(CCR::Unordered); in getPossibleResultsForType() 214 return Values; in getPossibleResultsForType()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | GVNSink.cpp | 149 // corresponding Values. 223 SmallVector<Value *, 4> Values; member in __anon75ccf7c50111::ModelledPHI 233 // As the Values and Blocks are populated in a deterministic order. in ModelledPHI() 247 Values.push_back(P.second); in createDummy() 256 M.Values.push_back(reinterpret_cast<Value*>(ID)); 262 assert(Values.size() > 1 && Blocks.size() > 1 && in ModelledPHI() 270 for (const Value *V : Values) { in restrictToBlocks() 282 // The order of Values and Blocks are already ordered by the caller. 283 llvm::copy(V, std::back_inserter(Values)); in getValues() 294 Values [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | DWARFEmitter.cpp | 273 if (AbbrCode == 0 || Entry.Values.empty()) in writeDIE() 293 auto FormVal = Entry.Values.begin(); in writeDIE() 295 for (; FormVal != Entry.Values.end() && AbbrForm != Abbrev.Attributes.end(); in writeDIE() 831 if (DataSizes->size() != Entry.Values.size()) in writeListEntry() 836 for (auto [Value, ValueSize] : zip_equal(Entry.Values, *DataSizes)) in writeListEntry() 883 ArrayRef<yaml::Hex64> Values, in writeListEntry() 885 if (Values.size() != ExpectedOperands) in writeListEntry() 890 Values.size(), EncodingString.str().c_str(), ExpectedOperands); in writeListEntry() 913 Operation.Values, ExpectedOperands); in writeDWARFLists() 922 encodeSLEB128(Operation.Values[ in writeDWARFLists() 695 checkOperandCount(StringRef EncodingString,ArrayRef<yaml::Hex64> Values,uint64_t ExpectedOperands) checkOperandCount() argument [all...] |
| /freebsd-src/tests/sys/fs/fusefs/ |
| H A D | io.cc | 589 Values(0x1000, 0x10000, 0x20000), /* m_maxwrite */ 590 Values(Uncached, Writethrough, Writeback, WritebackAsync), 591 Values(28) /* kernel_minor_vers */ 597 Values(0x1000, 0x10000, 0x20000), /* m_maxwrite */ 598 Values(Writethrough, Writeback, WritebackAsync), 599 Values(28) /* kernel_minor_vers */ 604 Combine(Values(true), /* async read */ 605 Values(0x10000), /* m_maxwrite */ 606 Values(Writethrough, Writeback, WritebackAsync), 607 Values(2 [all...] |
| H A D | cache.cc | 206 Values( 213 Values(Writethrough, Writeback), 215 Values(20), 216 Values(10, 25)
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | ValueEnumerator.cpp | 368 unsigned FirstConstant = Values.size(); in ValueEnumerator() 497 OptimizeConstants(FirstConstant, Values.size()); in dump() 586 std::stable_sort(Values.begin() + CstStart, Values.begin() + CstEnd, in EnumerateNamedMDNode() 599 std::stable_partition(Values.begin() + CstStart, Values.begin() + CstEnd, in EnumerateFunctionLocalMetadata() 604 ValueMap[Values[CstStart].first] = CstStart+1; in EnumerateFunctionLocalListMetadata() 911 Values[ValueID-1].second++; in EnumerateValue() 946 Values.push_back(std::make_pair(V, 1U)); in EnumerateType() 947 ValueMap[V] = Values in EnumerateType() [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | Sparc.cpp | 127 SmallVectorImpl<StringRef> &Values) const { in fillValidCPUList() 129 Values.push_back(Info.Name); in fillValidCPUList() 184 SmallVectorImpl<StringRef> &Values) const { in fillValidCPUList() 187 Values.push_back(Info.Name); in fillValidCPUList()
|
| H A D | Lanai.cpp | 43 SmallVectorImpl<StringRef> &Values) const { in fillValidCPUList() 44 Values.emplace_back("v11"); in fillValidCPUList()
|
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
| H A D | RISCVTargetParser.h | 44 void fillValidCPUArchList(SmallVectorImpl<StringRef> &Values, bool IsRV64); 45 void fillValidTuneCPUArchList(SmallVectorImpl<StringRef> &Values, bool IsRV64);
|