Home
last modified time | relevance | path

Searched refs:MacroType (Results 1 – 6 of 6) sorted by relevance

/src/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp30 enum class MacroType { enum
58 static llvm::StringRef getMacroTypeName(MacroType Macro) { in getMacroTypeName()
60 case MacroType::Expect: in getMacroTypeName()
62 case MacroType::Assert: in getMacroTypeName()
64 case MacroType::On: in getMacroTypeName()
88 static std::string getMacroName(MacroType Macro, GtestCmp Cmp) { in getMacroName()
92 static std::string getMacroName(MacroType Macro, llvm::StringRef Operation) { in getMacroName()
100 static llvm::StringRef getSpecSetterName(MacroType Macro) { in getSpecSetterName()
102 case MacroType::On: in getSpecSetterName()
104 case MacroType::Expect: in getSpecSetterName()
[all …]
/src/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp1379 uint8_t MacroType = MacroEntry.Type; in emitMacroTableImpl() local
1380 switch (MacroType) { in emitMacroTableImpl()
1383 (!hasDWARFv5Header && MacroType == dwarf::DW_MACINFO_vendor_ext) || in emitMacroTableImpl()
1384 (hasDWARFv5Header && (MacroType >= dwarf::DW_MACRO_lo_user && in emitMacroTableImpl()
1385 MacroType <= dwarf::DW_MACRO_hi_user)); in emitMacroTableImpl()
1389 MS->emitIntValue(MacroType, 1); in emitMacroTableImpl()
1412 MS->emitIntValue(MacroType, 1); in emitMacroTableImpl()
1432 switch (MacroType) { in emitMacroTableImpl()
1434 MacroType = dwarf::DW_MACRO_define_strp; in emitMacroTableImpl()
1442 MacroType = dwarf::DW_MACRO_undef_strp; in emitMacroTableImpl()
[all …]
/src/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerCompileUnit.cpp989 uint8_t MacroType = MacroEntry.Type; in emitMacroTableImpl() local
990 switch (MacroType) { in emitMacroTableImpl()
994 MacroType == dwarf::DW_MACINFO_vendor_ext) || in emitMacroTableImpl()
995 (hasDWARFv5Header && (MacroType >= dwarf::DW_MACRO_lo_user && in emitMacroTableImpl()
996 MacroType <= dwarf::DW_MACRO_hi_user)); in emitMacroTableImpl()
1000 OutSection.emitIntVal(MacroType, 1); in emitMacroTableImpl()
1019 OutSection.emitIntVal(MacroType, 1); in emitMacroTableImpl()
1033 switch (MacroType) { in emitMacroTableImpl()
1035 MacroType = dwarf::DW_MACRO_define_strp; in emitMacroTableImpl()
1043 MacroType = dwarf::DW_MACRO_undef_strp; in emitMacroTableImpl()
[all …]
/src/sys/dev/bhnd/tools/
H A Dnvram_map_gen.awk233 MacroType = class_new("MacroType")
234 class_add_prop(MacroType, p_name, "name")
235 class_add_prop(MacroType, p_const_suffix, "const_suffix")
2230 _obj = obj_new(MacroType)
3006 obj_assert_class(macro_type, MacroType)
3015 obj_assert_class(macro_type, MacroType)
/src/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp222 unsigned MacroType, StringRef Name, in createMacro() argument
225 assert((MacroType == dwarf::DW_MACINFO_undef || in createMacro()
226 MacroType == dwarf::DW_MACINFO_define) && in createMacro()
228 auto *M = DIMacro::get(VMContext, MacroType, LineNumber, Name, Value); in createMacro()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h199 DIMacro *createMacro(DIMacroFile *Parent, unsigned Line, unsigned MacroType,