Home
last modified time | relevance | path

Searched refs:Values (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/freebsd/contrib/llvm-project/llvm/lib/Option/
H A DArg.cpp30 Values.push_back(Value0); in Arg()
37 Values.push_back(Value0); in Arg()
38 Values.push_back(Value1); in Arg()
43 for (const char *V : Values) in ~Arg()
55 for (unsigned i = 0, e = Values.size(); i != e; ++i) { in print()
57 O << "'" << Values[i] << "'"; in print()
86 Output.append(Values.begin(), Values.end()); in renderAsInput()
92 Output.append(Values.begin(), Values.end()); in render()
106 Output.append(Values.begin() + 1, Values.end()); in render()
111 Output.append(Values.begin(), Values.end()); in render()
H A DArgList.cpp98 SmallVector<const char *, 16> Values; in getAllArgValues() local
99 AddAllArgValues(Values, Id); in getAllArgValues()
100 return std::vector<std::string>(Values.begin(), Values.end()); in getAllArgValues()
151 const auto &Values = Arg->getValues(); in AddAllArgValues() local
152 Output.append(Values.begin(), Values.end()); in AddAllArgValues()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDeltaTree.cpp71 SourceDelta Values[2 * WidthFactor - 1]; member in __anon400feef60111::DeltaTreeNode
96 return Values[i]; in getValue()
101 return Values[i]; in getValue()
138 Values[0] = IR.Split; in DeltaTreeInteriorNode()
172 NewFullDelta += Values[i].Delta; in RecomputeFullDeltaLocally()
200 Values[i].Delta += Delta; in DoInsertion()
211 memmove(&Values[i + 1], &Values[i], sizeof(Values[0]) * (e - i)); in DoInsertion()
212 Values[i] = SourceDelta::get(FileIndex, Delta); in DoInsertion()
247 memmove(&Values[i + 1], &Values[i], (e - i) * sizeof(Values[0])); in DoInsertion()
248 Values[i] = InsertRes->Split; in DoInsertion()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp210 static SmallVector<VPValue *, 4> getOperands(ArrayRef<VPValue *> Values, in getOperands() argument
213 for (VPValue *V : Values) { in getOperands()
221 static bool areCommutative(ArrayRef<VPValue *> Values) { in areCommutative() argument
223 cast<VPInstruction>(Values[0])->getOpcode()); in areCommutative()
227 getOperands(ArrayRef<VPValue *> Values) { in getOperands() argument
229 auto *VPI = cast<VPInstruction>(Values[0]); in getOperands()
235 Result.push_back(getOperands(Values, 0)); in getOperands()
239 Result.push_back(getOperands(Values, I)); in getOperands()
247 static std::optional<unsigned> getOpcode(ArrayRef<VPValue *> Values) { in getOpcode() argument
248 unsigned Opcode = cast<VPInstruction>(Values[0])->getOpcode(); in getOpcode()
[all …]
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-param-test-test.cc64 using ::testing::Values;
361 const ParamGenerator<int> gen = Values(3, 5, 8); in TEST()
370 const ParamGenerator<double> gen = Values(3, 5.0f, 8.0); in TEST()
378 Values(10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, in TEST()
394 const ParamGenerator<int> gen = Values(42); in TEST()
413 Combine(Values(foo, bar), Values(3, 4)); in TEST()
424 Combine(Values(0, 1), Values(3, 4), Values(5, 6)); in TEST()
438 Combine(Values(42), Values(0, 1)); in TEST()
450 Combine(Values(0, 1), Values(42)); in TEST()
461 Combine(Range(0, 0), Values(0, 1)); in TEST()
[all …]
H A Dgoogletest-param-test2-test.cc37 using ::testing::Values;
43 ParamGenerator<int> extern_gen = Values(33);
50 Values(33, 66));
58 Values(42 * 3, 42 * 4, 42 * 5));
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DXRayInstr.cpp35 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/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DProvenanceAnalysisEvaluator.cpp27 static void insertIfNamed(SetVector<Value *> &Values, Value *V) { in insertIfNamed() argument
32 Values.insert(V); in insertIfNamed()
36 SetVector<Value *> Values; in run() local
39 insertIfNamed(Values, &Arg); in run()
42 insertIfNamed(Values, &I); in run()
45 insertIfNamed(Values, Op); in run()
51 for (Value *V1 : Values) { in run()
53 for (Value *V2 : Values) { in run()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocEntry.h190 SmallVector<DbgValueLoc, 1> Values; variable
210 if (Values.size() != Next.Values.size()) in MergeRanges()
212 for (unsigned EntryIdx = 0; EntryIdx < Values.size(); ++EntryIdx) in MergeRanges()
213 if (!Values[EntryIdx].isEquivalent(Next.Values[EntryIdx])) in MergeRanges()
221 ArrayRef<DbgValueLoc> getValues() const { return Values; } in getValues()
223 Values.append(Vals.begin(), Vals.end()); in addValues()
225 assert((Values.size() == 1 || all_of(Values, [](DbgValueLoc V) { in addValues()
236 if (Values.size() == 1) in sortUniqueValues()
238 llvm::sort(Values); in sortUniqueValues()
239 Values.erase(llvm::unique(Values, in sortUniqueValues()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DIndexedValuesMap.h24 auto [It, Inserted] = ValueToIndexMap.try_emplace(Value, Values.size()); in getValueIndex()
26 Values.push_back(Value); in getValueIndex()
30 const SmallVector<T> &getValues() const { return Values; } in getValues()
34 Values.clear(); in clear()
37 bool empty() { return Values.empty(); } in empty()
42 SmallVector<T> Values; variable
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DBasicBlockSectionsProfileReader.cpp154 SmallVector<StringRef, 4> Values; in ReadV1Profile() local
155 S.split(Values, ' '); in ReadV1Profile()
160 if (Values.size() != 1) { in ReadV1Profile()
164 DIFilename = sys::path::remove_leading_dotslash(Values[0]); in ReadV1Profile()
167 bool FunctionFound = any_of(Values, [&](StringRef Alias) { in ReadV1Profile()
183 for (size_t i = 1; i < Values.size(); ++i) in ReadV1Profile()
184 FuncAliasMap.try_emplace(Values[i], Values.front()); in ReadV1Profile()
188 auto R = ProgramPathAndClusterInfo.try_emplace(Values.front()); in ReadV1Profile()
193 Values.front() + "'"); in ReadV1Profile()
209 for (auto BasicBlockIDStr : Values) { in ReadV1Profile()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubCommon.cpp45 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/contrib/llvm-project/llvm/utils/TableGen/
H A DOptionRSTEmitter.cpp79 SmallVector<StringRef> Values; in emitOptionRst() local
80 SplitString(R->getValueAsString("Values"), Values, ","); in emitOptionRst()
83 if (Values.size() > 1) { in emitOptionRst()
84 HelpText += join(Values.begin(), Values.end() - 1, "', '"); in emitOptionRst()
87 HelpText += (Values.back() + "'.").str(); in emitOptionRst()
/freebsd/contrib/llvm-project/llvm/include/llvm/Option/
H A DArg.h66 SmallVector<const char *, 2> Values; variable
125 unsigned getNumValues() const { return Values.size(); } in getNumValues()
128 return Values[N];
131 SmallVectorImpl<const char *> &getValues() { return Values; } in getValues()
132 const SmallVectorImpl<const char *> &getValues() const { return Values; } in getValues()
135 return llvm::is_contained(Values, Value); in containsValue()
/freebsd/contrib/llvm-project/llvm/tools/llvm-tapi-diff/
H A DDiffEngine.cpp
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DComparisonCategories.cpp206 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/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp142 SmallVector<Value *, 4> Values; member in __anonac6bc9b30111::ModelledPHI
166 Values.push_back(P.second); in ModelledPHI()
175 M.Values.push_back(reinterpret_cast<Value*>(ID)); in createDummy()
181 assert(Values.size() > 1 && Blocks.size() > 1 && in verifyModelledPHI()
189 for (const Value *V : Values) { in verifyModelledPHI()
202 llvm::append_range(Values, V); in ModelledPHI()
213 Values.push_back(I->getOperand(OpNum)); in ModelledPHI()
220 auto VI = Values.begin(); in restrictToBlocks()
222 assert(VI != Values.end()); in restrictToBlocks()
225 VI = Values.erase(VI); in restrictToBlocks()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DPPCTargetParser.cpp78 void fillValidCPUList(SmallVectorImpl<StringRef> &Values) { in fillValidCPUList() argument
80 Values.emplace_back(C.Name); in fillValidCPUList()
83 void fillValidTuneCPUList(SmallVectorImpl<StringRef> &Values) { in fillValidTuneCPUList() argument
85 Values.emplace_back(C.Name); in fillValidTuneCPUList()
H A DRISCVTargetParser.cpp108 void fillValidCPUArchList(SmallVectorImpl<StringRef> &Values, bool IsRV64) { in fillValidCPUArchList() argument
111 Values.emplace_back(C.Name); in fillValidCPUArchList()
115 void fillValidTuneCPUArchList(SmallVectorImpl<StringRef> &Values, bool IsRV64) { in fillValidTuneCPUArchList() argument
118 Values.emplace_back(C.Name); in fillValidTuneCPUArchList()
120 #define TUNE_PROC(ENUM, NAME) Values.emplace_back(StringRef(NAME)); in fillValidTuneCPUArchList()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h644 SmallVector<APInt> Values; variable
648 GIConstant(ArrayRef<APInt> Values) in GIConstant() argument
649 : Kind(GIConstantKind::FixedVector), Values(Values) {}; in GIConstant()
686 SmallVector<APFloat> Values; variable
689 GFConstant(ArrayRef<APFloat> Values) in GFConstant() argument
690 : Kind(GFConstantKind::FixedVector), Values(Values) {}; in GFConstant()
692 Values.push_back(Value); in GFConstant()
701 return Values.begin(); in begin()
707 return Values.end(); in end()
712 return Values.size(); in size()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp269 if (AbbrCode == 0 || Entry.Values.empty()) in writeDIE()
289 auto FormVal = Entry.Values.begin(); in writeDIE()
291 for (; FormVal != Entry.Values.end() && AbbrForm != Abbrev.Attributes.end(); in writeDIE()
857 if (DataSizes->size() != Entry.Values.size()) in emitDebugNamesEntryPool()
862 for (auto [Value, ValueSize] : zip_equal(Entry.Values, *DataSizes)) in emitDebugNamesEntryPool()
909 ArrayRef<yaml::Hex64> Values, in checkOperandCount() argument
911 if (Values.size() != ExpectedOperands) in checkOperandCount()
916 Values.size(), EncodingString.str().c_str(), ExpectedOperands); in checkOperandCount()
939 Operation.Values, ExpectedOperands); in writeDWARFExpression()
948 encodeSLEB128(Operation.Values[0], OS); in writeDWARFExpression()
[all …]
/freebsd/tests/sys/fs/fusefs/
H A Dio.cc589 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(27, 28) /* kernel_minor_vers */
H A Dcache.cc206 Values(
213 Values(Writethrough, Writeback),
215 Values(20),
216 Values(10, 25)
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp371 unsigned FirstConstant = Values.size(); in ValueEnumerator()
500 OptimizeConstants(FirstConstant, Values.size()); in ValueEnumerator()
589 std::stable_sort(Values.begin() + CstStart, Values.begin() + CstEnd, in OptimizeConstants()
602 std::stable_partition(Values.begin() + CstStart, Values.begin() + CstEnd, in OptimizeConstants()
607 ValueMap[Values[CstStart].first] = CstStart+1; in OptimizeConstants()
914 Values[ValueID-1].second++; in EnumerateValue()
949 Values.push_back(std::make_pair(V, 1U)); in EnumerateValue()
950 ValueMap[V] = Values.size(); in EnumerateValue()
956 Values.push_back(std::make_pair(V, 1U)); in EnumerateValue()
957 ValueID = Values.size(); in EnumerateValue()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DPPCTargetParser.h26 LLVM_ABI void fillValidCPUList(SmallVectorImpl<StringRef> &Values);
27 LLVM_ABI void fillValidTuneCPUList(SmallVectorImpl<StringRef> &Values);

12345678910>>...14