reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/CommandFlags.inc
   90 static cl::opt<llvm::ExceptionHandling> ExceptionModel(
   92     cl::init(ExceptionHandling::None),
include/llvm/MC/MCAsmInfo.h
  343   ExceptionHandling ExceptionsType = ExceptionHandling::None;
  343   ExceptionHandling ExceptionsType = ExceptionHandling::None;
  590     return ExceptionsType != ExceptionHandling::None;
  593   ExceptionHandling getExceptionHandlingType() const { return ExceptionsType; }
  596   void setExceptionsType(ExceptionHandling EH) {
  603     return (ExceptionsType == ExceptionHandling::DwarfCFI ||
  604             ExceptionsType == ExceptionHandling::ARM || usesWindowsCFI());
  608     return ExceptionsType == ExceptionHandling::WinEH &&
include/llvm/Support/CommandLine.h
  426   const Ty &Init;
  427   initializer(const Ty &Val) : Init(Val) {}
  432 template <class Ty> initializer<Ty> init(const Ty &Val) {
  432 template <class Ty> initializer<Ty> init(const Ty &Val) {
  516   DataType Value;
  529   const DataType &getValue() const {
  534   void setValue(const DataType &V) {
  539   bool compare(const DataType &V) const { return Valid && (Value != V); }
  542     const OptionValueCopy<DataType> &VC =
  552 struct OptionValueBase<DataType, false> : OptionValueCopy<DataType> {
  553   using WrapperType = DataType;
  565     : OptionValueBase<DataType, std::is_class<DataType>::value> {
  565     : OptionValueBase<DataType, std::is_class<DataType>::value> {
  568   OptionValue(const DataType &V) { this->setValue(V); }
  571   template <class DT> OptionValue<DataType> &operator=(const DT &V) {
  571   template <class DT> OptionValue<DataType> &operator=(const DT &V) {
  768     OptionInfo(StringRef name, DataType v, StringRef helpStr)
  771     OptionValue<DataType> V;
  778   using parser_data_type = DataType;
  793   bool parse(Option &O, StringRef ArgName, StringRef Arg, DataType &V) {
  873   using parser_data_type = DataType;
  874   using OptVal = OptionValue<DataType>;
 1125 void printOptionDiff(const Option &O, const generic_parser_base &P, const DT &V,
 1126                      const OptionValue<DT> &Default, size_t GlobalWidth) {
 1127   OptionValue<DT> OV = V;
 1155     const ValDT &V, const OptionValue<ValDT> &Default, size_t GlobalWidth) {
 1155     const ValDT &V, const OptionValue<ValDT> &Default, size_t GlobalWidth) {
 1303   DataType Value;
 1304   OptionValue<DataType> Default;
 1310   template <class T> void setValue(const T &V, bool initial = false) {
 1315   DataType &getValue() { return Value; }
 1316   DataType getValue() const { return Value; }
 1318   const OptionValue<DataType> &getDefault() const { return Default; }
 1320   operator DataType() const { return getValue(); }
 1323   DataType operator->() const { return Value; }
 1332             public opt_storage<DataType, ExternalStorage,
 1333                                std::is_class<DataType>::value> {
 1374     const OptionValue<DataType> &V = this->getDefault();
 1383   void setDefault() override { setDefaultImpl<DataType>(); }
 1396   void setInitialValue(const DataType &V) { this->setValue(V, true); }
 1400   template <class T> DataType &operator=(const T &Val) {
include/llvm/Target/TargetOptions.h
  300     ExceptionHandling ExceptionModel = ExceptionHandling::None;
  300     ExceptionHandling ExceptionModel = ExceptionHandling::None;
lib/CodeGen/AsmPrinter/ARMException.cpp
   39   if (Asm->MAI->getExceptionHandlingType() == ExceptionHandling::ARM)
   89   if (Asm->MAI->getExceptionHandlingType() == ExceptionHandling::ARM)
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  327   case ExceptionHandling::SjLj:
  328   case ExceptionHandling::DwarfCFI:
  329   case ExceptionHandling::ARM:
  331     if (MAI->getExceptionHandlingType() != ExceptionHandling::DwarfCFI)
  350   case ExceptionHandling::None:
  352   case ExceptionHandling::SjLj:
  353   case ExceptionHandling::DwarfCFI:
  356   case ExceptionHandling::ARM:
  359   case ExceptionHandling::WinEH:
  370   case ExceptionHandling::Wasm:
  934   if (MAI->getExceptionHandlingType() == ExceptionHandling::DwarfCFI &&
  949   ExceptionHandling ExceptionHandlingType = MAI->getExceptionHandlingType();
  950   if (ExceptionHandlingType != ExceptionHandling::DwarfCFI &&
  951       ExceptionHandlingType != ExceptionHandling::ARM)
lib/CodeGen/AsmPrinter/EHStreamer.cpp
  240   bool IsSJLJ = Asm->MAI->getExceptionHandlingType() == ExceptionHandling::SjLj;
  378   bool IsSJLJ = Asm->MAI->getExceptionHandlingType() == ExceptionHandling::SjLj;
  379   bool IsWasm = Asm->MAI->getExceptionHandlingType() == ExceptionHandling::Wasm;
lib/CodeGen/LLVMTargetMachine.cpp
   70   if (Options.ExceptionModel != ExceptionHandling::None)
lib/CodeGen/MachineVerifier.cpp
  666         AsmInfo->getExceptionHandlingType() == ExceptionHandling::SjLj &&
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  106     if (Ctx.getAsmInfo()->getExceptionHandlingType() == ExceptionHandling::ARM)
lib/CodeGen/TargetPassConfig.cpp
  690   case ExceptionHandling::SjLj:
  699   case ExceptionHandling::DwarfCFI:
  700   case ExceptionHandling::ARM:
  703   case ExceptionHandling::WinEH:
  710   case ExceptionHandling::Wasm:
  718   case ExceptionHandling::None:
lib/Target/AArch64/AArch64AsmPrinter.cpp
  977       ExceptionHandling ExceptionHandlingType = MAI->getExceptionHandlingType();
  978       if (ExceptionHandlingType != ExceptionHandling::DwarfCFI &&
  979           ExceptionHandlingType != ExceptionHandling::ARM)
lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
   50   ExceptionsType = ExceptionHandling::DwarfCFI;
   97   ExceptionsType = ExceptionHandling::DwarfCFI;
  117   ExceptionsType = ExceptionHandling::WinEH;
  134   ExceptionsType = ExceptionHandling::WinEH;
lib/Target/ARC/MCTargetDesc/ARCMCAsmInfo.cpp
   29   ExceptionsType = ExceptionHandling::DwarfCFI;
lib/Target/ARM/ARMAsmPrinter.cpp
 1153     if (MAI->getExceptionHandlingType() == ExceptionHandling::ARM) {
 1204       if (MAI->getExceptionHandlingType() == ExceptionHandling::ARM) {
lib/Target/ARM/ARMSubtarget.cpp
  150                Options.ExceptionModel == ExceptionHandling::None) ||
  151               Options.ExceptionModel == ExceptionHandling::SjLj;
lib/Target/ARM/ARMTargetObjectFile.cpp
   59   if (TM.getMCAsmInfo()->getExceptionHandlingType() != ExceptionHandling::ARM)
lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
   38                        ? ExceptionHandling::SjLj
   39                        : ExceptionHandling::DwarfCFI;
   67     ExceptionsType = ExceptionHandling::DwarfCFI;
   70     ExceptionsType = ExceptionHandling::ARM;
   94   ExceptionsType = ExceptionHandling::WinEH;
  116   ExceptionsType = ExceptionHandling::DwarfCFI;
lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h
   36     ExceptionsType = ExceptionHandling::DwarfCFI;
lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp
   35   ExceptionsType = ExceptionHandling::DwarfCFI;
lib/Target/Lanai/MCTargetDesc/LanaiMCAsmInfo.cpp
   26   ExceptionsType = ExceptionHandling::DwarfCFI;
lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
   50   ExceptionsType = ExceptionHandling::DwarfCFI;
lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
   28   ExceptionsType = ExceptionHandling::DwarfCFI;
   74   ExceptionsType = ExceptionHandling::DwarfCFI;
lib/Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp
   27   ExceptionsType = ExceptionHandling::DwarfCFI;
lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp
   41   ExceptionsType = ExceptionHandling::DwarfCFI;
lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.cpp
   25   ExceptionsType = ExceptionHandling::DwarfCFI;
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
 1283       if (MCAI->getExceptionHandlingType() == ExceptionHandling::Wasm &&
 1292   if (MCAI->getExceptionHandlingType() == ExceptionHandling::Wasm &&
 1369   if (MCAI->getExceptionHandlingType() == ExceptionHandling::Wasm &&
lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
   93   auto EHType = MF.getTarget().getMCAsmInfo()->getExceptionHandlingType();
   94   return EHType == ExceptionHandling::Wasm &&
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
  108       ExceptionHandling::Wasm)
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  368       TM->Options.ExceptionModel == ExceptionHandling::None) {
lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
   62   ExceptionsType = ExceptionHandling::DwarfCFI;
  104   ExceptionsType = ExceptionHandling::DwarfCFI;
  137   ExceptionsType = ExceptionHandling::WinEH;
  157     ExceptionsType = ExceptionHandling::WinEH;
  159     ExceptionsType = ExceptionHandling::DwarfCFI;
lib/Target/X86/X86ISelLowering.cpp
  436   if (TM.Options.ExceptionModel == ExceptionHandling::SjLj)
  486       TM.Options.ExceptionModel != ExceptionHandling::SjLj) {
lib/Target/X86/X86TargetMachine.cpp
  542        MAI->getExceptionHandlingType() == ExceptionHandling::DwarfCFI))
lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp
   29   ExceptionsType = ExceptionHandling::DwarfCFI;
tools/clang/include/clang/Driver/ToolChain.h
  474   virtual llvm::ExceptionHandling
tools/clang/lib/CodeGen/BackendUtil.cpp
  466     Options.ExceptionModel = llvm::ExceptionHandling::SjLj;
  468     Options.ExceptionModel = llvm::ExceptionHandling::WinEH;
  470     Options.ExceptionModel = llvm::ExceptionHandling::DwarfCFI;
  472     Options.ExceptionModel = llvm::ExceptionHandling::Wasm;
tools/clang/lib/Driver/ToolChain.cpp
  572 llvm::ExceptionHandling
  574   return llvm::ExceptionHandling::None;
tools/clang/lib/Driver/ToolChains/Clang.cpp
 4935     case llvm::ExceptionHandling::DwarfCFI:
 4938     case llvm::ExceptionHandling::SjLj:
 4941     case llvm::ExceptionHandling::WinEH:
tools/clang/lib/Driver/ToolChains/Darwin.cpp
 2411          (GetExceptionModel(Args) != llvm::ExceptionHandling::SjLj &&
 2422 llvm::ExceptionHandling Darwin::GetExceptionModel(const ArgList &Args) const {
 2426     return llvm::ExceptionHandling::None;
 2431     return llvm::ExceptionHandling::DwarfCFI;
 2433   return llvm::ExceptionHandling::SjLj;
tools/clang/lib/Driver/ToolChains/Darwin.h
  252   llvm::ExceptionHandling
  254     return llvm::ExceptionHandling::None;
  480   llvm::ExceptionHandling GetExceptionModel(
tools/clang/lib/Driver/ToolChains/FreeBSD.cpp
  406 llvm::ExceptionHandling FreeBSD::GetExceptionModel(const ArgList &Args) const {
  412     return llvm::ExceptionHandling::None;
  416       return llvm::ExceptionHandling::SjLj;
  417     return llvm::ExceptionHandling::None;
tools/clang/lib/Driver/ToolChains/FreeBSD.h
   68   llvm::ExceptionHandling GetExceptionModel(
tools/clang/lib/Driver/ToolChains/MinGW.cpp
  453 llvm::ExceptionHandling
  456     return llvm::ExceptionHandling::WinEH;
  457   return llvm::ExceptionHandling::DwarfCFI;
tools/clang/lib/Driver/ToolChains/MinGW.h
   72   llvm::ExceptionHandling GetExceptionModel(
tools/clang/lib/Driver/ToolChains/NetBSD.cpp
  455 llvm::ExceptionHandling NetBSD::GetExceptionModel(const ArgList &Args) const {
  460     return llvm::ExceptionHandling::DwarfCFI;
  461   return llvm::ExceptionHandling::None;
tools/clang/lib/Driver/ToolChains/NetBSD.h
   73   llvm::ExceptionHandling GetExceptionModel(
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  762     typename add_rvalue_reference<_Tp>::type declval() noexcept;
 1268       typedef decltype(__test<_Tp, _Up>(0)) type;
 1274       : public __is_assignable_helper<_Tp, _Up>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1659     { typedef _Tp&&   type; };
 1664     : public __add_rvalue_reference_helper<_Tp>