Home
last modified time | relevance | path

Searched refs:Variant (Results 1 – 25 of 89) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfoVariant.h25 using Variant = std::variant<Ts...>;
26 using FirstT = std::variant_alternative_t<0, Variant>;
28 static inline Variant getEmptyKey() {
29 return Variant(std::in_place_index<0>, DenseMapInfo<FirstT>::getEmptyKey());
32 static inline Variant getTombstoneKey() {
33 return Variant(std::in_place_index<0>,
37 static unsigned getHashValue(const Variant &Val) {
49 static bool isEqual(const Variant &LHS, const Variant &RHS) {
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSymbolEnumerator.cpp76 Variant NativeSymbolEnumerator::getValue() const { in getValue()
87 return Variant{static_cast<int8_t>(N)}; in getValue()
89 return Variant{static_cast<int16_t>(N)}; in getValue()
91 return Variant{static_cast<int32_t>(N)}; in getValue()
93 return Variant{static_cast<int64_t>(N)}; in getValue()
103 return Variant{static_cast<uint8_t>(U)}; in getValue()
105 return Variant{static_cast<uint16_t>(U)}; in getValue()
107 return Variant{static_cast<uint32_t>(U)}; in getValue()
109 return Variant{static_cast<uint64_t>(U)}; in getValue()
116 return Variant{static_cast<bool>(U)}; in getValue()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DPerfContextSwitchDecoder.cpp103 case Variant::Complete: in GetLowestKnownTSC()
105 case Variant::OnlyStart: in GetLowestKnownTSC()
107 case Variant::OnlyEnd: in GetLowestKnownTSC()
109 case Variant::HintedEnd: in GetLowestKnownTSC()
111 case Variant::HintedStart: in GetLowestKnownTSC()
118 case Variant::Complete: in GetStartTSC()
120 case Variant::OnlyStart: in GetStartTSC()
122 case Variant::OnlyEnd: in GetStartTSC()
124 case Variant::HintedEnd: in GetStartTSC()
126 case Variant::HintedStart: in GetStartTSC()
[all …]
H A DLibiptDecoder.cpp623 if (variant == ThreadContinuousExecution::Variant::HintedStart || in DecodeSystemWideTraceForThread()
624 variant == ThreadContinuousExecution::Variant::OnlyEnd) { in DecodeSystemWideTraceForThread()
659 (variant == ThreadContinuousExecution::Variant::OnlyStart || in DecodeSystemWideTraceForThread()
660 variant == ThreadContinuousExecution::Variant::HintedEnd)) { in DecodeSystemWideTraceForThread()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h349 Variant = 27, enumerator
411 struct Variant { struct
412 Variant() = default;
414 explicit Variant(bool V) : Type(PDB_VariantType::Bool) { Value.Bool = V; } in Variant() argument
415 explicit Variant(int8_t V) : Type(PDB_VariantType::Int8) { Value.Int8 = V; } in Variant() argument
416 explicit Variant(int16_t V) : Type(PDB_VariantType::Int16) { in Variant() argument
419 explicit Variant(int32_t V) : Type(PDB_VariantType::Int32) { in Variant() argument
422 explicit Variant(int64_t V) : Type(PDB_VariantType::Int64) { in Variant() argument
425 explicit Variant(float V) : Type(PDB_VariantType::Single) { in Variant() argument
428 explicit Variant(double V) : Type(PDB_VariantType::Double) { in Variant() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZ.td71 int Variant = 0;
73 // Variant name.
78 int Variant = 1;
80 // Variant name.
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp80 VEMCExpr::VariantKind &Variant);
1049 VEMCExpr::VariantKind &Variant) { in extractModifierFromExpr() argument
1051 Variant = VEMCExpr::VK_VE_None; in extractModifierFromExpr()
1064 Variant = VEMCExpr::VK_VE_REFLONG; in extractModifierFromExpr()
1067 Variant = VEMCExpr::VK_VE_HI32; in extractModifierFromExpr()
1070 Variant = VEMCExpr::VK_VE_LO32; in extractModifierFromExpr()
1073 Variant = VEMCExpr::VK_VE_PC_HI32; in extractModifierFromExpr()
1076 Variant = VEMCExpr::VK_VE_PC_LO32; in extractModifierFromExpr()
1079 Variant = VEMCExpr::VK_VE_GOT_HI32; in extractModifierFromExpr()
1082 Variant = VEMCExpr::VK_VE_GOT_LO32; in extractModifierFromExpr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64.td126 int Variant = 0;
133 int Variant = 1;
147 int Variant = 0;
154 int Variant = 1;
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelEmitter.cpp179 for (unsigned Variant = 0;; ++Variant) { in run() local
180 if (Matcher *M = ConvertPatternToMatcher(*PTM, Variant, CGP)) in run()
H A DX86MnemonicTables.cpp38 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in run() local
58 std::string Mnemonic = X86Disassembler::getMnemonic(I, Variant); in run()
H A DX86FoldTablesEmitter.cpp337 const unsigned Variant; member in __anon982d773b0111::IsMatch
341 : MemInst(Inst), MemRI(*MemInst), IsBroadcast(IsBroadcast), Variant(V) {} in IsMatch()
367 if (X86Disassembler::getMnemonic(MemInst, Variant) != in operator ()()
368 X86Disassembler::getMnemonic(RegInst, Variant)) in operator ()()
674 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in run() local
698 find_if(OpcRegInsts, IsMatch(MemInst, /*IsBroadcast=*/false, Variant)); in run()
714 IsMatch(MemInst, /*IsBroadcast=*/true, Variant)); in run()
H A DDAGISelMatcherGen.cpp106 bool EmitMatcherCode(unsigned Variant);
551 bool MatcherGen::EmitMatcherCode(unsigned Variant) { in EmitMatcherCode() argument
561 if (Variant >= OpNodes.size()) in EmitMatcherCode()
564 AddMatcher(new CheckOpcodeMatcher(CGP.getSDNodeInfo(OpNodes[Variant]))); in EmitMatcherCode()
566 if (Variant != 0) in EmitMatcherCode()
1077 unsigned Variant, in ConvertPatternToMatcher() argument
1082 if (Gen.EmitMatcherCode(Variant)) in ConvertPatternToMatcher()
H A DAsmMatcherEmitter.cpp586 AsmVariantInfo const &Variant, bool HasMnemonicFirst);
720 AsmVariantInfo const &Variant);
940 AsmVariantInfo const &Variant, in initialize() argument
942 AsmVariantID = Variant.AsmVariantNo; in initialize()
944 AsmString, Variant.AsmVariantNo); in initialize()
946 tokenizeAsmString(Info, Variant); in initialize()
974 extractSingletonRegisterForAsmOperand(Op, Info, Variant.RegisterPrefix); in initialize()
994 AsmVariantInfo const &Variant) { in tokenizeAsmString() argument
1001 if (Variant.BreakCharacters.contains(Char)) { in tokenizeAsmString()
1010 if (Variant.TokenizingCharacters.contains(Char)) { in tokenizeAsmString()
[all …]
H A DAsmWriterEmitter.cpp809 static unsigned CountNumOperands(StringRef AsmString, unsigned Variant) { in CountNumOperands() argument
843 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in EmitPrintAliasInstruction() local
882 CGA.ResultInst->AsmString, Variant); in EmitPrintAliasInstruction()
883 unsigned NumResultOps = CountNumOperands(FlatInstAsmString, Variant); in EmitPrintAliasInstruction()
886 CodeGenInstruction::FlattenAsmStringVariants(CGA.AsmString, Variant); in EmitPrintAliasInstruction()
890 if (NumResultOps < CountNumOperands(FlatAliasAsmString, Variant)) in EmitPrintAliasInstruction()
1320 unsigned Variant = AsmWriter->getValueAsInt("Variant"); in AsmWriterEmitter() local
1328 Instructions.emplace_back(*I, i, Variant); in AsmWriterEmitter()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp113 PPCMCExpr::VariantKind &Variant);
1380 PPCMCExpr::VariantKind &Variant) { in ExtractModifierFromExpr() argument
1382 Variant = PPCMCExpr::VK_PPC_None; in ExtractModifierFromExpr()
1394 Variant = PPCMCExpr::VK_PPC_LO; in ExtractModifierFromExpr()
1397 Variant = PPCMCExpr::VK_PPC_HI; in ExtractModifierFromExpr()
1400 Variant = PPCMCExpr::VK_PPC_HA; in ExtractModifierFromExpr()
1403 Variant = PPCMCExpr::VK_PPC_HIGH; in ExtractModifierFromExpr()
1406 Variant = PPCMCExpr::VK_PPC_HIGHA; in ExtractModifierFromExpr()
1409 Variant = PPCMCExpr::VK_PPC_HIGHER; in ExtractModifierFromExpr()
1412 Variant = PPCMCExpr::VK_PPC_HIGHERA; in ExtractModifierFromExpr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64ExternalSymbolizer.cpp174 MCSymbolRefExpr::VariantKind Variant = getVariant(SymbolicOp.VariantKind); in tryAddingSymbolicOperand() local
175 if (Variant != MCSymbolRefExpr::VK_None) in tryAddingSymbolicOperand()
176 Add = MCSymbolRefExpr::create(Sym, Variant, Ctx); in tryAddingSymbolicOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARM.td66 int Variant = 0;
76 int Variant = 0;
/freebsd/contrib/file/magic/Magdir/
H A Ddataone29 # ISOTC211 (NOAA Variant Geographic MetaData (GMD) Extensible Markup Language)
32 # ISOTC211 PANGAEA Variant Geographic MetaData (GMD) Extensible Markup Language
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonELFObjectWriter.cpp46 MCSymbolRefExpr::VariantKind Variant = Target.getAccessVariant(); in getRelocType() local
52 switch(Variant) { in getRelocType()
79 switch(Variant) { in getRelocType()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSection.h120 SectionVariant Variant; variable
133 SectionVariant getVariant() const { return Variant; } in getVariant()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DAsmWriterInst.cpp50 unsigned Variant) in AsmWriterInst() argument
56 std::string AsmString = CGI.FlattenAsmStringVariants(CGI.AsmString, Variant); in AsmWriterInst()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBSymbolCompilandEnv.cpp19 Variant Value = RawSymbol->getValue(); in getValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeSymbolEnumerator.h44 Variant getValue() const override;
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyBuiltinDumper.cpp77 case PDB_BuiltinType::Variant: in getTypeName()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSection.cpp27 IsVirtual(IsVirtual), Name(Name), Variant(V) { in MCSection()

1234