|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h 113 template <typename T> Error mapEnum(T &Value, const Twine &Comment = "") {
117 using U = typename std::underlying_type<T>::type;
include/llvm/DebugInfo/CodeView/TypeRecord.h 155 ProcedureRecord(TypeIndex ReturnType, CallingConvention CallConv,
163 CallingConvention getCallConv() const { return CallConv; }
169 CallingConvention CallConv;
182 TypeIndex ThisType, CallingConvention CallConv,
194 CallingConvention getCallConv() const { return CallConv; }
203 CallingConvention CallConv;
include/llvm/DebugInfo/PDB/PDBExtras.h 48 void dumpSymbolField(raw_ostream &OS, StringRef Name, T Value, int Indent) {
include/llvm/DebugInfo/PDB/PDBTypes.h 218 using PDB_CallingConv = codeview::CallingConvention;
include/llvm/Support/YAMLTraits.h 313 using Signature_enumeration = void (*)(class IO&, T&);
322 (sizeof(test<ScalarEnumerationTraits<T>>(nullptr)) == 1);
329 using Signature_bitset = void (*)(class IO&, T&);
337 static bool const value = (sizeof(test<ScalarBitSetTraits<T>>(nullptr)) == 1);
344 using Signature_input = StringRef (*)(StringRef, void*, T&);
345 using Signature_output = void (*)(const T&, void*, raw_ostream&);
357 (sizeof(test<ScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
364 using Signature_input = StringRef (*)(StringRef, void *, T &);
365 using Signature_output = void (*)(const T &, void *, raw_ostream &);
375 (sizeof(test<BlockScalarTraits<T>>(nullptr, nullptr)) == 1);
380 using Signature_input = StringRef (*)(StringRef, StringRef, void *, T &);
381 using Signature_output = void (*)(const T &, void *, raw_ostream &,
383 using Signature_mustQuote = QuotingType (*)(const T &, StringRef);
393 (sizeof(test<TaggedScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
412 using Signature_mapping = void (*)(class IO &, T &);
419 static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1);
438 using Signature_validate = StringRef (*)(class IO &, T &);
445 static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1);
452 using Signature_size = size_t (*)(class IO&, T&);
460 static bool const value = (sizeof(test<SequenceTraits<T>>(nullptr)) == 1);
467 using Signature_input = void (*)(IO &io, StringRef key, T &v);
476 (sizeof(test<CustomMappingTraits<T>>(nullptr)) == 1);
516 using Signature_size = size_t (*)(class IO &, T &);
524 static bool const value = (sizeof(test<DocumentListTraits<T>>(nullptr))==1);
528 using Signature_getKind = NodeKind (*)(const T &);
535 static bool const value = (sizeof(test<PolymorphicTraits<T>>(nullptr)) == 1);
793 void enumCase(T &Val, const char* Str, const T ConstVal) {
793 void enumCase(T &Val, const char* Str, const T ConstVal) {
801 void enumCase(T &Val, const char* Str, const uint32_t ConstVal) {
849 template <typename T> void mapRequired(const char *Key, T &Val) {
941 void processKey(const char *Key, T &Val, bool Required, Context &Ctx) {
968 typename std::enable_if<has_ScalarEnumerationTraits<T>::value, void>::type
969 yamlize(IO &io, T &Val, bool, EmptyContext &Ctx) {
971 ScalarEnumerationTraits<T>::enumeration(io, Val);
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 1788 static CallingConvention dwarfCCToCodeView(unsigned DwarfCC) {
1790 case dwarf::DW_CC_normal: return CallingConvention::NearC;
1791 case dwarf::DW_CC_BORLAND_msfastcall: return CallingConvention::NearFast;
1792 case dwarf::DW_CC_BORLAND_thiscall: return CallingConvention::ThisCall;
1793 case dwarf::DW_CC_BORLAND_stdcall: return CallingConvention::NearStdCall;
1794 case dwarf::DW_CC_BORLAND_pascal: return CallingConvention::NearPascal;
1795 case dwarf::DW_CC_LLVM_vectorcall: return CallingConvention::NearVector;
1797 return CallingConvention::NearC;
1878 CallingConvention CC = dwarfCCToCodeView(Ty->getCC());
1927 CallingConvention CC = dwarfCCToCodeView(Ty->getCC());
lib/ObjectYAML/CodeViewYAMLTypes.cpp 232 IO &IO, CallingConvention &Value) {
233 IO.enumCase(Value, "NearC", CallingConvention::NearC);
234 IO.enumCase(Value, "FarC", CallingConvention::FarC);
235 IO.enumCase(Value, "NearPascal", CallingConvention::NearPascal);
236 IO.enumCase(Value, "FarPascal", CallingConvention::FarPascal);
237 IO.enumCase(Value, "NearFast", CallingConvention::NearFast);
238 IO.enumCase(Value, "FarFast", CallingConvention::FarFast);
239 IO.enumCase(Value, "NearStdCall", CallingConvention::NearStdCall);
240 IO.enumCase(Value, "FarStdCall", CallingConvention::FarStdCall);
241 IO.enumCase(Value, "NearSysCall", CallingConvention::NearSysCall);
242 IO.enumCase(Value, "FarSysCall", CallingConvention::FarSysCall);
243 IO.enumCase(Value, "ThisCall", CallingConvention::ThisCall);
244 IO.enumCase(Value, "MipsCall", CallingConvention::MipsCall);
245 IO.enumCase(Value, "Generic", CallingConvention::Generic);
246 IO.enumCase(Value, "AlphaCall", CallingConvention::AlphaCall);
247 IO.enumCase(Value, "PpcCall", CallingConvention::PpcCall);
248 IO.enumCase(Value, "SHCall", CallingConvention::SHCall);
249 IO.enumCase(Value, "ArmCall", CallingConvention::ArmCall);
250 IO.enumCase(Value, "AM33Call", CallingConvention::AM33Call);
251 IO.enumCase(Value, "TriCall", CallingConvention::TriCall);
252 IO.enumCase(Value, "SH5Call", CallingConvention::SH5Call);
253 IO.enumCase(Value, "M32RCall", CallingConvention::M32RCall);
254 IO.enumCase(Value, "ClrCall", CallingConvention::ClrCall);
255 IO.enumCase(Value, "Inline", CallingConvention::Inline);
256 IO.enumCase(Value, "NearVector", CallingConvention::NearVector);
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp 125 TranslateCallingConvention(llvm::codeview::CallingConvention conv) {
126 using CC = llvm::codeview::CallingConvention;
1130 llvm::codeview::CallingConvention calling_convention) {
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.h 104 llvm::codeview::CallingConvention calling_convention);
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp 347 case llvm::codeview::CallingConvention::NearC:
349 case llvm::codeview::CallingConvention::NearStdCall:
351 case llvm::codeview::CallingConvention::NearFast:
353 case llvm::codeview::CallingConvention::ThisCall:
355 case llvm::codeview::CallingConvention::NearVector:
357 case llvm::codeview::CallingConvention::NearPascal:
tools/llvm-pdbutil/FormatUtil.h 44 template <typename T> std::string formatUnknownEnum(T Value) {
tools/llvm-pdbutil/LinePrinter.h 134 inline raw_ostream &operator<<(LinePrinter &Printer, const T &Item) {
tools/llvm-pdbutil/MinimalTypeDumper.cpp 100 static std::string formatCallingConvention(CallingConvention Convention) {
tools/llvm-pdbutil/PrettyFunctionDumper.cpp 67 if ((ClassParent && CC == CallingConvention::ThisCall) ||
68 (!ClassParent && CC == CallingConvention::NearStdCall)) {
166 CallingConvention CC = Signature->getCallingConvention();
170 if ((ClassParent && CC != CallingConvention::ThisCall) ||
171 (!ClassParent && CC != CallingConvention::NearStdCall)) {
unittests/DebugInfo/CodeView/TypeHashingTest.cpp 39 PR.CallConv = CallingConvention::NearC;
unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp 188 static ProcedureRecord Procedure(TypeIndex(17), CallingConvention::PpcCall,
192 CallingConvention::ThisCall,