Home
last modified time | relevance | path

Searched refs:OptionValue (Results 1 – 25 of 59) sorted by relevance

123

/llvm-project-15.0.7/lldb/source/Interpreter/
H A DOptionValue.cpp24 case OptionValue::eTypeBoolean: in GetUInt64Value()
26 case OptionValue::eTypeSInt64: in GetUInt64Value()
28 case OptionValue::eTypeUInt64: in GetUInt64Value()
59 if (GetType() == OptionValue::eTypeChar) in GetAsChar()
64 OptionValueChar *OptionValue::GetAsChar() { in GetAsChar()
65 if (GetType() == OptionValue::eTypeChar) in GetAsChar()
95 if (GetType() == OptionValue::eTypeArch) in GetAsArch()
101 if (GetType() == OptionValue::eTypeArch) in GetAsArch()
119 if (GetType() == OptionValue::eTypeArgs) in GetAsArgs()
125 if (GetType() == OptionValue::eTypeArgs) in GetAsArgs()
[all …]
H A DProperty.cpp26 case OptionValue::eTypeInvalid: in Property()
27 case OptionValue::eTypeProperties: in Property()
29 case OptionValue::eTypeArch: in Property()
37 case OptionValue::eTypeArgs: in Property()
42 case OptionValue::eTypeArray: in Property()
49 case OptionValue::eTypeBoolean: in Property()
63 case OptionValue::eTypeChar: { in Property()
77 case OptionValue::eTypeEnum: in Property()
125 case OptionValue::eTypeFormat: in Property()
171 case OptionValue::eTypeRegex: in Property()
[all …]
H A DOptionValueProperties.cpp233 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsLanguage()
246 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsArgs()
271 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexFromArgs()
294 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsBoolean()
305 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsBoolean()
327 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsEnumeration()
338 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsEnumeration()
350 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsFormatEntity()
362 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsOptionValueFileSpec()
373 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsFileSpec()
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Interpreter/
H A DOptionValue.h24 class OptionValue {
63 OptionValue() = default;
65 virtual ~OptionValue() = default;
120 static uint32_t ConvertTypeToMask(OptionValue::Type type) { in ConvertTypeToMask()
124 static OptionValue::Type ConvertTypeMaskToType(uint32_t type_mask) { in ConvertTypeMaskToType()
323 using TopmostBase = OptionValue;
H A DOptionValueArgs.h19 : Cloneable(OptionValue::ConvertTypeToMask(OptionValue::eTypeString)) {} in OptionValueArgs()
H A DOptionValuePathMappings.h18 : public Cloneable<OptionValuePathMappings, OptionValue> {
27 OptionValue::Type GetType() const override { return eTypePathMap; } in GetType()
H A DOptionValueUUID.h17 class OptionValueUUID : public Cloneable<OptionValueUUID, OptionValue> {
27 OptionValue::Type GetType() const override { return eTypeUUID; } in GetType()
H A DOptionValueRegex.h17 class OptionValueRegex : public Cloneable<OptionValueRegex, OptionValue> {
26 OptionValue::Type GetType() const override { return eTypeRegex; } in GetType()
H A DOptionValueChar.h16 class OptionValueChar : public Cloneable<OptionValueChar, OptionValue> {
28 OptionValue::Type GetType() const override { return eTypeChar; } in GetType()
H A DOptionValueFormatEntity.h18 : public Cloneable<OptionValueFormatEntity, OptionValue> {
26 OptionValue::Type GetType() const override { return eTypeFormatEntity; } in GetType()
H A DOptionValueFileColonLine.h20 public Cloneable<OptionValueFileColonLine, OptionValue> {
27 OptionValue::Type GetType() const override { return eTypeFileLineColumn; } in GetType()
H A DOptionValueBoolean.h16 class OptionValueBoolean : public Cloneable<OptionValueBoolean, OptionValue> {
27 OptionValue::Type GetType() const override { return eTypeBoolean; } in GetType()
H A DOptionValueFormat.h17 : public Cloneable<OptionValueFormat, OptionValue> {
29 OptionValue::Type GetType() const override { return eTypeFormat; } in GetType()
H A DOptionValueLanguage.h18 class OptionValueLanguage : public Cloneable<OptionValueLanguage, OptionValue> {
31 OptionValue::Type GetType() const override { return eTypeLanguage; } in GetType()
H A DOptionValueUInt64.h17 class OptionValueUInt64 : public Cloneable<OptionValueUInt64, OptionValue> {
36 OptionValue::Type GetType() const override { return eTypeUInt64; } in GetType()
H A DOptionValueEnumeration.h23 : public Cloneable<OptionValueEnumeration, OptionValue> {
39 OptionValue::Type GetType() const override { return eTypeEnum; } in GetType()
H A DOptionValueFileSpecList.h20 : public Cloneable<OptionValueFileSpecList, OptionValue> {
31 OptionValue::Type GetType() const override { return eTypeFileSpecList; } in GetType()
H A DOptionValueArch.h18 class OptionValueArch : public Cloneable<OptionValueArch, OptionValue> {
36 OptionValue::Type GetType() const override { return eTypeArch; } in GetType()
H A DOptionValueSInt64.h17 class OptionValueSInt64 : public Cloneable<OptionValueSInt64, OptionValue> {
33 OptionValue::Type GetType() const override { return eTypeSInt64; } in GetType()
H A DOptionValueFileSpec.h20 class OptionValueFileSpec : public Cloneable<OptionValueFileSpec, OptionValue> {
33 OptionValue::Type GetType() const override { return eTypeFileSpec; } in GetType()
H A DOptionValueDictionary.h20 : public Cloneable<OptionValueDictionary, OptionValue> {
32 OptionValue::Type GetType() const override { return eTypeDictionary; } in GetType()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCommandLine.h597 struct OptionValue final
599 OptionValue() = default;
613 struct OptionValue<cl::boolOrDefault> final
617 OptionValue() = default;
634 OptionValue() = default;
804 OptionValue<DataType> V;
906 using OptVal = OptionValue<DataType>;
1190 OptionValue<DT> OV = V;
1297 OptionValue<DataType> Default;
1344 OptionValue<DataType> Default;
[all …]
/llvm-project-15.0.7/mlir/lib/Pass/
H A DPassRegistry.cpp346 llvm::cl::OptionValue<OpPassManager>::OptionValue() = default;
347 llvm::cl::OptionValue<OpPassManager>::OptionValue( in OptionValue() function in llvm::cl::OptionValue
351 llvm::cl::OptionValue<OpPassManager> &
352 llvm::cl::OptionValue<OpPassManager>::operator=( in operator =()
358 llvm::cl::OptionValue<OpPassManager>::~OptionValue<OpPassManager>() = default;
360 void llvm::cl::OptionValue<OpPassManager>::setValue( in setValue()
373 bool llvm::cl::OptionValue<OpPassManager>::compare( in compare()
388 void llvm::cl::OptionValue<OpPassManager>::anchor() {} in anchor()
738 struct OptionValue<PassArgData> final struct
740 OptionValue(const PassArgData &value) { this->setValue(value); } in OptionValue() function
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Pass/
H A DPassOptions.h417 struct OptionValue<mlir::OpPassManager> final : GenericOptionValue {
420 OptionValue();
421 OptionValue(const mlir::OpPassManager &value);
422 OptionValue<mlir::OpPassManager> &operator=(const mlir::OpPassManager &rhs);
423 ~OptionValue();
442 static_cast<const OptionValue<mlir::OpPassManager> &>(rhs);
478 using OptVal = OptionValue<mlir::OpPassManager>;
/llvm-project-15.0.7/llvm/unittests/Support/
H A DCommandLineTest.cpp1256 StackOption<OptionValue> TestOption(Opt, cl::desc(HelpText), in runTest()
1267 enum class OptionValue { Val }; enum in __anon6509acef0111::PrintOptionInfoTest
1282 cl::values(clEnumValN(OptionValue::Val, "v1", "desc1"))); in TEST_F()
1346 cl::values(clEnumValN(OptionValue::Val, "v1", in TEST_F()
1350 clEnumValN(OptionValue::Val, "", in TEST_F()
1367 enum class OptionValue { Val }; enum in __anon6509acef0111::GetOptionWidthTest
1371 StackOption<OptionValue> TestOption(ArgName, cl::desc("some help"), in runTest()
1396 clEnumValN(OptionValue::Val, "b", "help"))), in TEST_F()
1404 runTest("a", cl::values(clEnumValN(OptionValue::Val, "b", "help"), in TEST_F()
1430 clEnumValN(OptionValue::Val, "", ""))), in TEST_F()
[all …]

123