Movatterモバイル変換


[0]ホーム

URL:


LLVM 20.0.0git
Classes |Typedefs |Functions |Variables
llvm::detail Namespace Reference

These are wrappers over isa* function that allow them to be used in generic algorithms such asllvm:all_of,llvm::none_of, etc.More...

Classes

class  AllocatorHolder
 
class  AllocatorHolder< Alloc & >
 
struct  AnalysisPassConcept
 Abstract concept of an analysis pass.More...
 
struct  AnalysisPassModel
 Wrapper to model the analysis pass concept.More...
 
struct  AnalysisResultConcept
 Abstract concept of an analysis result.More...
 
struct  AnalysisResultModel
 Wrapper to model the analysis result concept.More...
 
struct  AnalysisResultModel< IRUnitT, PassT, ResultT, InvalidatorT, false >
 Specialization ofAnalysisResultModel which provides the default invalidate functionality.More...
 
struct  AnalysisResultModel< IRUnitT, PassT, ResultT, InvalidatorT, true >
 Specialization ofAnalysisResultModel which delegates invalidate handling toResultT.More...
 
class  BCField
 Convenience base for all kinds of bitcode abbreviation fields.More...
 
class  BCRecordCoding
 Helper class for dealing with a scalar element in the middle of a record.More...
 
class  BCRecordCoding< BCArray< ElementTy > >
 Helper class for dealing with an array at the end of a record.More...
 
class  BCRecordCoding< BCBlob >
 Helper class for dealing with a blob at the end of a record.More...
 
class  BCRecordCoding< ElementTy >
 Helper class for dealing with a scalar element at the end of a record.More...
 
struct  CanOutputToOStream
 
struct  CanOutputToOStream< T, std::void_t< decltype(std::declval< std::ostream & >()<< std::declval< T >())> >
 
struct  CheckedInt
 
class  concat_range
 Helper to store a sequence of ranges being concatenated and access them.More...
 
struct  ConstantLog2
 A tiny meta function to compute the log2 of a compile time constant.More...
 
struct  ConstantLog2< 1 >
 
struct  DenseMapPair
 
struct  DenseSetEmpty
 
class  DenseSetImpl
 Base class forDenseSet and DenseSmallSet.More...
 
class  DenseSetPair
 
struct  detector
 
struct  detector< std::void_t< Op< Args... > >, Op, Args... >
 
class  DoubleAPFloat
 
struct  enumerator_result
 Tuple-like type forzip_enumerator dereference.More...
 
struct  enumerator_result< std::size_t, Refs... >
 
struct  ErrorHolder
 
class  ErrorMatchesMono
 
class  ErrorMessageMatches
 
struct  ExpectedHolder
 
class  first_or_second_type
 Return a reference to the first or second member of a reference.More...
 
struct  fwd_or_bidi_tag
 Helper which sets its type member to forward_iterator_tag if the category ofIterT does not derive from bidirectional_iterator_tag, and to bidirectional_iterator_tag otherwise.More...
 
struct  fwd_or_bidi_tag_impl
 
struct  fwd_or_bidi_tag_impl< true >
 
struct  HasPointerLikeTypeTraits
 
struct  HasPointerLikeTypeTraits< T, decltype((sizeof(PointerLikeTypeTraits< T >)+sizeof(T)), void())>
 
class  IEEEFloat
 
struct  index_iterator
 
struct  index_stream
 Infinite stream of increasing 0-basedsize_t indices.More...
 
class  indexed_accessor_range_base
 The class represents the base of a range of indexed_accessor_iterators.More...
 
struct  is_array
 A type trait whosevalue field istrue if the given type is aBCArray (of any element kind).More...
 
struct  IsaAndPresentCheckPredicate
 
struct  IsaCheckPredicate
 
struct  IsPointerLike
 
struct  IsPointerLike< T * >
 
struct  last_type
 A type trait whosetype field is the last of its template parameters.More...
 
struct  last_type< Head >
 
struct  LeadingZerosCounter
 
struct  PassConcept
 Template for the abstract base class used to dispatch polymorphically over pass objects.More...
 
struct  PassModel
 A template wrapper used to implement the polymorphic API.More...
 
struct  PointerSumTypeHelper
 A helper template for implementingPointerSumType.More...
 
struct  PopulationCounter
 
struct  PopulationCounter< T, 8 >
 
class  PtrUseVisitorBase
 Implementation of non-dependent functionality forPtrUseVisitor.More...
 
struct  PunnedPointer
 
struct  RecordKeeperImpl
 This class represents the internal implementation of theRecordKeeper.More...
 
class  ResultHasInvalidateMethod
 SFINAE metafunction for computing whetherResultT provides aninvalidate member function.More...
 
struct  SafeIntIterator
 
class  scope_exit
 
class  SlowDynamicAPInt
 A simple class providing dynamic arbitrary-precision arithmetic.More...
 
class  StringMapEntryMatcher
 
class  StringMapEntryMatcherImpl
 
struct  TrailingZerosCounter
 
union  trivial_helper
 
struct  TypesAreDistinct
 
struct  TypesAreDistinct< T >
 
class  TypeSwitchBase
 
class  UniqueFunctionBase
 
struct  unit
 
struct  unit< std::micro >
 
struct  unit< std::milli >
 
struct  unit< std::nano >
 
struct  unit< std::ratio< 1 > >
 
struct  unit< std::ratio< 3600 > >
 
struct  unit< std::ratio< 60 > >
 
class  ValueIsMatcher
 
class  ValueMatchesMono
 
class  ValueMatchesPoly
 
struct  Visitor
 
struct  Visitor< HeadT >
 
struct  Visitor< HeadT, TailTs... >
 
struct  zip_common
 
struct  zip_enumerator
 Zippy iterator that uses the second iterator for comparisons.More...
 
struct  zip_first
 
class  zip_longest_iterator
 
class  zip_longest_range
 
struct  zip_shortest
 
struct  ZipLongestItemType
 
struct  ZipLongestTupleType
 
class  zippy
 
struct  ZippyIteratorTuple
 Helper to obtain the iterator types for the tuple storage withinzippy.More...
 
struct  ZippyIteratorTuple< ItType, const std::tuple< Args... >, std::index_sequence< Ns... > >
 Partial specialization for const tuple storage.More...
 
struct  ZippyIteratorTuple< ItType, std::tuple< Args... >, std::index_sequence< Ns... > >
 Partial specialization for non-const tuple storage.More...
 
struct  ZipTupleType
 

Typedefs

template<typename RangeT >
using IterOfRange = decltype(adl_begin(std::declval< RangeT & >()))
 
template<typename RangeT >
using ValueOfRange = std::remove_reference_t< decltype(*adl_begin(std::declval< RangeT & >()))>
 
using integerPart =APFloatBase::integerPart
 
using uninitializedTag =APFloatBase::uninitializedTag
 
using roundingMode =APFloatBase::roundingMode
 
using opStatus =APFloatBase::opStatus
 
using cmpResult =APFloatBase::cmpResult
 
using fltCategory =APFloatBase::fltCategory
 
using ExponentType =APFloatBase::ExponentType
 
template<typenameT >
using EnableIfTrivial = std::enable_if_t< std::is_trivially_move_constructible<T >::value &&std::is_trivially_destructible<T >::value >
 
template<typename CallableT , typename ThisT >
using EnableUnlessSameType = std::enable_if_t<!std::is_same<remove_cvref_t< CallableT >, ThisT >::value >
 
template<typename CallableT , typename Ret , typename... Params>
using EnableIfCallable = std::enable_if_t< std::disjunction< std::is_void< Ret >, std::is_same< decltype(std::declval< CallableT >()(std::declval< Params >()...)), Ret >, std::is_same<const decltype(std::declval< CallableT >()(std::declval< Params >()...)), Ret >, std::is_convertible< decltype(std::declval< CallableT >()(std::declval< Params >()...)), Ret > >::value >
 
template<typenameT >
using has_number_t = decltype(GraphTraits<T >::getNumber(std::declval< typenameGraphTraits<T >::NodeRef >()))
 
template<typename Set , typename Fn >
using check_has_member_remove_if_t = decltype(std::declval< Set >().remove_if(std::declval< Fn >()))
 
template<typename Set >
using check_has_member_erase_iter_t = decltype(std::declval< Set >().erase(std::declval< Set >().begin()))
 
template<typenameRange >
using check_has_free_function_rbegin = decltype(adl_rbegin(std::declval<Range & >()))
 
template<typename ZipType , typename ReferenceTupleType , typename... Iters>
using zip_traits =iterator_facade_base< ZipType, std::common_type_t< std::bidirectional_iterator_tag, typename std::iterator_traits< Iters >::iterator_category... >, ReferenceTupleType, typename std::iterator_traits< std::tuple_element_t< 0, std::tuple< Iters... > > >::difference_type, ReferenceTupleType *, ReferenceTupleType >
 
template<typenameT >
using sort_trivially_copyable = std::conjunction< std::is_pointer<T >, std::is_trivially_copyable< typename std::iterator_traits<T >::value_type > >
 
template<typenameRange >
using check_has_free_function_size = decltype(adl_size(std::declval<Range & >()))
 
template<typenameRange , typename Element >
using check_has_member_contains_t = decltype(std::declval<Range & >().contains(std::declval<const Element & >()))
 
template<typenameRange , typename Element >
using check_has_member_find_t = decltype(std::declval<Range & >().find(std::declval<const Element & >()) !=std::declval<Range & >().end())
 
template<typename... Iters>
using EnumeratorTupleType =enumerator_result< decltype(*declval< Iters >())... >
 
template<typenameT >
using has_sizeof = decltype(sizeof(T))
 
template<typename... Types>
using has_blob = std::is_same<BCBlob, typenamelast_type< int, Types... >::type >
 A type trait whosevalue field istrue if the last type isBCBlob.
 
template<typename... Types>
using has_array =is_array< typenamelast_type< int, Types... >::type >
 A type trait whosevalue field istrue if the last type is aBCArray (of any element kind).
 
template<typename OptionalDerived , typenameDefault >
using SelfType = std::conditional_t< std::is_same_v< OptionalDerived, void >,Default, OptionalDerived >
 A helper to derive the type to use withSelf for cast traits, when the provided CRTP derived type is allowed to be void.
 
template<class BlockT >
using has_hoist_check = decltype(&BlockT::isLegalToHoistInto)
 
template<class BlockT >
using detect_has_hoist_check =llvm::is_detected<has_hoist_check, BlockT >
 

Functions

hash_code hash_value (constIEEEFloat &Arg)
 
int ilogb (constIEEEFloat &Arg)
 
IEEEFloat scalbn (IEEEFloatX, int Exp,roundingMode)
 
IEEEFloat frexp (constIEEEFloat &Val, int &Exp,roundingMode RM)
 
hash_code hash_value (constDoubleAPFloat &Arg)
 
DoubleAPFloat scalbn (constDoubleAPFloat &Arg, int Exp,roundingMode RM)
 
DoubleAPFloat frexp (constDoubleAPFloat &X, int &Exp,roundingMode)
 
unsigned combineHashValue (unsigned a,unsigned b)
 Simplistic combination of 32-bit hash values into 32-bit hash values.
 
template<typenameValueT , typename MapTy , typename ValueInfoT >
bool operator== (constDenseSetImpl<ValueT, MapTy, ValueInfoT > &LHS,constDenseSetImpl<ValueT, MapTy, ValueInfoT > &RHS)
 Equality comparison forDenseSet.
 
template<typenameValueT , typename MapTy , typename ValueInfoT >
bool operator!= (constDenseSetImpl<ValueT, MapTy, ValueInfoT > &LHS,constDenseSetImpl<ValueT, MapTy, ValueInfoT > &RHS)
 Inequality comparison forDenseSet.
 
template<typenameT , typename U >
bool canTypeFitValue (const UValue)
 
raw_ostreamoperator<< (raw_ostream &OS,constSlowDynamicAPInt &X)
 
SlowDynamicAPInt mod (constSlowDynamicAPInt &LHS,constSlowDynamicAPInt &RHS)
 Returns the remainder of dividing LHS by RHS.
 
SlowDynamicAPInt lcm (constSlowDynamicAPInt &A,constSlowDynamicAPInt &B)
 Returns the least common multiple of A and B.
 
SlowDynamicAPInt abs (constSlowDynamicAPInt &X)
 Redeclarations of friend declarations above to make it discoverable by lookups.
 
SlowDynamicAPInt ceilDiv (constSlowDynamicAPInt &LHS,constSlowDynamicAPInt &RHS)
 
SlowDynamicAPInt floorDiv (constSlowDynamicAPInt &LHS,constSlowDynamicAPInt &RHS)
 
SlowDynamicAPInt gcd (constSlowDynamicAPInt &A,constSlowDynamicAPInt &B)
 
hash_code hash_value (constSlowDynamicAPInt &X)
 
SlowDynamicAPIntoperator+= (SlowDynamicAPInt &A, int64_tB)
 
SlowDynamicAPIntoperator-= (SlowDynamicAPInt &A, int64_tB)
 
SlowDynamicAPIntoperator*= (SlowDynamicAPInt &A, int64_tB)
 
SlowDynamicAPIntoperator/= (SlowDynamicAPInt &A, int64_tB)
 
SlowDynamicAPIntoperator%= (SlowDynamicAPInt &A, int64_tB)
 
bool operator== (constSlowDynamicAPInt &A, int64_tB)
 
bool operator!= (constSlowDynamicAPInt &A, int64_tB)
 
bool operator> (constSlowDynamicAPInt &A, int64_tB)
 
bool operator< (constSlowDynamicAPInt &A, int64_tB)
 
bool operator<= (constSlowDynamicAPInt &A, int64_tB)
 
bool operator>= (constSlowDynamicAPInt &A, int64_tB)
 
SlowDynamicAPInt operator+ (constSlowDynamicAPInt &A, int64_tB)
 
SlowDynamicAPInt operator- (constSlowDynamicAPInt &A, int64_tB)
 
SlowDynamicAPInt operator* (constSlowDynamicAPInt &A, int64_tB)
 
SlowDynamicAPInt operator/ (constSlowDynamicAPInt &A, int64_tB)
 
SlowDynamicAPInt operator% (constSlowDynamicAPInt &A, int64_tB)
 
bool operator== (int64_tA,constSlowDynamicAPInt &B)
 
bool operator!= (int64_tA,constSlowDynamicAPInt &B)
 
bool operator> (int64_tA,constSlowDynamicAPInt &B)
 
bool operator< (int64_tA,constSlowDynamicAPInt &B)
 
bool operator<= (int64_tA,constSlowDynamicAPInt &B)
 
bool operator>= (int64_tA,constSlowDynamicAPInt &B)
 
SlowDynamicAPInt operator+ (int64_tA,constSlowDynamicAPInt &B)
 
SlowDynamicAPInt operator- (int64_tA,constSlowDynamicAPInt &B)
 
SlowDynamicAPInt operator* (int64_tA,constSlowDynamicAPInt &B)
 
SlowDynamicAPInt operator/ (int64_tA,constSlowDynamicAPInt &B)
 
SlowDynamicAPInt operator% (int64_tA,constSlowDynamicAPInt &B)
 
template<typename Iter >
Iter next_or_end (const Iter &I,const Iter &End)
 
template<typename Iter >
auto deref_or_none (const Iter &I,const Iter &End) -> std::optional< std::remove_const_t< std::remove_reference_t< decltype(*I)> > >
 
template<typename OtherT , typename DerivedT , typename BaseT , typenameT , typename PointerT , typename ReferenceT >
bool operator== (constindexed_accessor_range_base< DerivedT, BaseT,T, PointerT, ReferenceT > &lhs,const OtherT &rhs)
 Compare this range with another.
 
template<typename OtherT , typename DerivedT , typename BaseT , typenameT , typename PointerT , typename ReferenceT >
bool operator!= (constindexed_accessor_range_base< DerivedT, BaseT,T, PointerT, ReferenceT > &lhs,const OtherT &rhs)
 
template<typenamePredicate , typename... Args>
bool all_of_zip_predicate_first (Predicate &&P, Args &&...args)
 
template<typename... ArgsThenPredicate, size_t... InputIndexes>
bool all_of_zip_predicate_last (std::tuple< ArgsThenPredicate... > argsThenPredicate, std::index_sequence< InputIndexes... >)
 
template<typename FieldTy >
static void emitOps (llvm::BitCodeAbbrev &abbrev)
 Attaches the last field to an abbreviation.
 
template<typename FieldTy , typename Next , typename... Rest>
static void emitOps (llvm::BitCodeAbbrev &abbrev)
 Attaches fields to an abbreviation.
 
template<typename DieType >
DieType resolveReferencedType (DieTypeD,dwarf::Attribute Attr=dwarf::DW_AT_type)
 
template<typename DieType >
DieType resolveReferencedType (DieTypeD, typename DieType::DWARFFormValueF)
 
template<typename DWARFFormValueType >
constchartoString (std::optional< DWARFFormValueType >F)
 
template<typename PassT , typename IRUnitT , typename AnalysisManagerT , typename... ArgTs, size_t... Ns>
PassT::Result getAnalysisResultUnpackTuple (AnalysisManagerT &AM, IRUnitT &IR, std::tuple< ArgTs... > Args, std::index_sequence< Ns... >)
 Actual unpacker of extra arguments in getAnalysisResult, passes only those tuple arguments that are mentioned in index_sequence.
 
template<typename PassT , typename IRUnitT , typename... AnalysisArgTs, typename... MainArgTs>
PassT::Result getAnalysisResult (AnalysisManager< IRUnitT, AnalysisArgTs... > &AM, IRUnitT &IR, std::tuple< MainArgTs... > Args)
 Helper forpartial unpacking of extra arguments in getAnalysisResult.
 
void printBumpPtrAllocatorStats (unsigned NumSlabs, size_t BytesAllocated, size_t TotalMemory)
 
template<typenameT >
bool isPresent (constT &t)
 
template<typenameT >
decltype(auto) unwrapValue (T &t)
 
template<typenameRange >
auto reverse_if_helper (Range &&R, std::integral_constant<bool, false >)
 
template<typenameRange >
auto reverse_if_helper (Range &&R, std::integral_constant<bool,true >)
 
template<bool B, typenameRange >
auto reverse_if (Range &&R)
 
template<class BlockT >
bool isLegalToHoistInto (BlockT *Block)
 SFINAE functions that dispatch to the isLegalToHoistInto member function or return false, if it doesn't exist.
 
template<typename DesiredTypeName >
StringRef getTypeNameImpl ()
 
ErrorHolder TakeError (Error Err)
 
template<typenameT >
ExpectedHolder<TTakeExpected (Expected<T > &Exp)
 
template<typenameT >
ExpectedHolder<TTakeExpected (Expected<T > &&Exp)
 
void PrintTo (constErrorHolder &Err, std::ostream *Out)
 
template<typenameT >
void PrintTo (constExpectedHolder<T > &Item, std::ostream *Out)
 
static void tcSetLeastSignificantBits (APInt::WordType *dst,unsigned parts,unsigned bits)
 
DoubleAPFloat scalbn (constDoubleAPFloat &Arg, int Exp,APFloat::roundingMode RM)
 
DoubleAPFloat frexp (constDoubleAPFloat &Arg, int &Exp,APFloat::roundingMode RM)
 

Variables

static constexpruninitializedTag uninitialized = APFloatBase::uninitialized
 
static constexprroundingMode rmNearestTiesToEven
 
static constexprroundingMode rmNearestTiesToAway
 
static constexprroundingMode rmTowardNegative = APFloatBase::rmTowardNegative
 
static constexprroundingMode rmTowardPositive = APFloatBase::rmTowardPositive
 
static constexprroundingMode rmTowardZero = APFloatBase::rmTowardZero
 
static constexprunsigned integerPartWidth = APFloatBase::integerPartWidth
 
static constexprcmpResult cmpEqual = APFloatBase::cmpEqual
 
static constexprcmpResult cmpLessThan = APFloatBase::cmpLessThan
 
static constexprcmpResult cmpGreaterThan = APFloatBase::cmpGreaterThan
 
static constexprcmpResult cmpUnordered = APFloatBase::cmpUnordered
 
static constexpropStatus opOK = APFloatBase::opOK
 
static constexpropStatus opInvalidOp = APFloatBase::opInvalidOp
 
static constexpropStatus opDivByZero = APFloatBase::opDivByZero
 
static constexpropStatus opOverflow = APFloatBase::opOverflow
 
static constexpropStatus opUnderflow = APFloatBase::opUnderflow
 
static constexpropStatus opInexact = APFloatBase::opInexact
 
static constexprfltCategory fcInfinity = APFloatBase::fcInfinity
 
static constexprfltCategory fcNaN = APFloatBase::fcNaN
 
static constexprfltCategory fcNormal = APFloatBase::fcNormal
 
static constexprfltCategory fcZero = APFloatBase::fcZero
 
template<typename Set , typename Fn >
static constexprbool HasMemberRemoveIf
 
template<typename Set >
static constexprbool HasMemberEraseIter
 
template<typenameRange >
static constexprbool HasFreeFunctionRBegin
 
template<typenameRange >
static constexprbool HasFreeFunctionSize
 
template<typenameRange , typename Element >
static constexprbool HasMemberContains
 
template<typenameRange , typename Element >
static constexprbool HasMemberFind
 

Detailed Description

These are wrappers over isa* function that allow them to be used in generic algorithms such asllvm:all_of,llvm::none_of, etc.

This is accomplished by exposing the isa* functions through function objects with a generic function call operator.

Typedef Documentation

◆ check_has_free_function_rbegin

template<typenameRange >
usingllvm::detail::check_has_free_function_rbegin = typedef decltype(adl_rbegin(std::declval<Range &>()))

Definition at line410 of fileSTLExtras.h.

◆ check_has_free_function_size

template<typenameRange >
usingllvm::detail::check_has_free_function_size = typedef decltype(adl_size(std::declval<Range &>()))

Definition at line1708 of fileSTLExtras.h.

◆ check_has_member_contains_t

template<typenameRange , typename Element >
usingllvm::detail::check_has_member_contains_t = typedef decltype(std::declval<Range &>().contains(std::declval<const Element &>()))

Definition at line1879 of fileSTLExtras.h.

◆ check_has_member_erase_iter_t

template<typename Set >
usingllvm::detail::check_has_member_erase_iter_t = typedef decltype(std::declval<Set>().erase(std::declval<Set>().begin()))

Definition at line32 of fileSetOperations.h.

◆ check_has_member_find_t

template<typenameRange , typename Element >
usingllvm::detail::check_has_member_find_t = typedef decltype(std::declval<Range &>().find(std::declval<const Element &>()) != std::declval<Range &>().end())

Definition at line1887 of fileSTLExtras.h.

◆ check_has_member_remove_if_t

template<typename Set , typename Fn >
usingllvm::detail::check_has_member_remove_if_t = typedef decltype(std::declval<Set>().remove_if(std::declval<Fn>()))

Definition at line24 of fileSetOperations.h.

◆ cmpResult

usingllvm::detail::cmpResult = typedefAPFloatBase::cmpResult

Definition at line373 of fileAPFloat.h.

◆ detect_has_hoist_check

template<class BlockT >
usingllvm::detail::detect_has_hoist_check = typedefllvm::is_detected<has_hoist_check, BlockT>

Definition at line190 of fileGenericLoopInfoImpl.h.

◆ EnableIfCallable

template<typename CallableT , typename Ret , typename... Params>
usingllvm::detail::EnableIfCallable = typedef std::enable_if_t<std::disjunction< std::is_void<Ret>, std::is_same<decltype(std::declval<CallableT>()(std::declval<Params>()...)), Ret>, std::is_same<const decltype(std::declval<CallableT>()( std::declval<Params>()...)), Ret>, std::is_convertible<decltype(std::declval<CallableT>()( std::declval<Params>()...)), Ret> >::value>

Definition at line69 of fileFunctionExtras.h.

◆ EnableIfTrivial

template<typenameT >
usingllvm::detail::EnableIfTrivial = typedef std::enable_if_t<std::is_trivially_move_constructible<T>::value && std::is_trivially_destructible<T>::value>

Definition at line62 of fileFunctionExtras.h.

◆ EnableUnlessSameType

template<typename CallableT , typename ThisT >
usingllvm::detail::EnableUnlessSameType = typedef std::enable_if_t<!std::is_same<remove_cvref_t<CallableT>, ThisT>::value>

Definition at line66 of fileFunctionExtras.h.

◆ EnumeratorTupleType

template<typename... Iters>
usingllvm::detail::EnumeratorTupleType = typedefenumerator_result<decltype(*declval<Iters>())...>

Definition at line2255 of fileSTLExtras.h.

◆ ExponentType

usingllvm::detail::ExponentType = typedefAPFloatBase::ExponentType

Definition at line375 of fileAPFloat.h.

◆ fltCategory

usingllvm::detail::fltCategory = typedefAPFloatBase::fltCategory

Definition at line374 of fileAPFloat.h.

◆ has_array

template<typename... Types>
usingllvm::detail::has_array = typedefis_array<typenamelast_type<int, Types...>::type>

A type trait whosevalue field istrue if the last type is aBCArray (of any element kind).

Definition at line350 of fileBitcodeConvenience.h.

◆ has_blob

template<typename... Types>
usingllvm::detail::has_blob = typedef std::is_same<BCBlob, typenamelast_type<int, Types...>::type>

A type trait whosevalue field istrue if the last type isBCBlob.

Definition at line332 of fileBitcodeConvenience.h.

◆ has_hoist_check

template<class BlockT >
usingllvm::detail::has_hoist_check = typedef decltype(&BlockT::isLegalToHoistInto)

Definition at line187 of fileGenericLoopInfoImpl.h.

◆ has_number_t

template<typenameT >
usingllvm::detail::has_number_t = typedef decltype(GraphTraits<T>::getNumber( std::declval<typenameGraphTraits<T>::NodeRef>()))

Definition at line100 of fileGraphTraits.h.

◆ has_sizeof

template<typenameT >
usingllvm::detail::has_sizeof = typedef decltype(sizeof(T))

Definition at line2591 of fileSTLExtras.h.

◆ integerPart

usingllvm::detail::integerPart = typedefAPFloatBase::integerPart

Definition at line369 of fileAPFloat.h.

◆ IterOfRange

template<typename RangeT >
usingllvm::detail::IterOfRange = typedef decltype(adl_begin(std::declval<RangeT &>()))

Definition at line126 of fileADL.h.

◆ opStatus

usingllvm::detail::opStatus = typedefAPFloatBase::opStatus

Definition at line372 of fileAPFloat.h.

◆ roundingMode

usingllvm::detail::roundingMode = typedefAPFloatBase::roundingMode

Definition at line371 of fileAPFloat.h.

◆ SelfType

template<typename OptionalDerived , typenameDefault >
usingllvm::detail::SelfType = typedef std::conditional_t<std::is_same_v<OptionalDerived, void>,Default, OptionalDerived>

A helper to derive the type to use withSelf for cast traits, when the provided CRTP derived type is allowed to be void.

Definition at line321 of fileCasting.h.

◆ sort_trivially_copyable

template<typenameT >
usingllvm::detail::sort_trivially_copyable = typedef std::conjunction< std::is_pointer<T>, std::is_trivially_copyable<typename std::iterator_traits<T>::value_type> >

Definition at line1656 of fileSTLExtras.h.

◆ uninitializedTag

usingllvm::detail::uninitializedTag = typedefAPFloatBase::uninitializedTag

Definition at line370 of fileAPFloat.h.

◆ ValueOfRange

template<typename RangeT >
usingllvm::detail::ValueOfRange = typedef std::remove_reference_t<decltype(*adl_begin(std::declval<RangeT &>()))>

Definition at line129 of fileADL.h.

◆ zip_traits

template<typename ZipType , typename ReferenceTupleType , typename... Iters>
usingllvm::detail::zip_traits = typedefiterator_facade_base< ZipType, std::common_type_t< std::bidirectional_iterator_tag, typename std::iterator_traits<Iters>::iterator_category...>, ReferenceTupleType, typename std::iterator_traits< std::tuple_element_t<0, std::tuple<Iters...> >>::difference_type, ReferenceTupleType *, ReferenceTupleType>

Definition at line686 of fileSTLExtras.h.

Function Documentation

◆ abs()

SlowDynamicAPInt llvm::detail::abs(constSlowDynamicAPIntX)

Redeclarations of friend declarations above to make it discoverable by lookups.

Definition at line190 of fileSlowDynamicAPInt.cpp.

ReferencesX.

Referenced bylcm().

◆ all_of_zip_predicate_first()

template<typenamePredicate , typename... Args>
bool llvm::detail::all_of_zip_predicate_first(Predicate && P,
Args &&... args 
)

Definition at line2466 of fileSTLExtras.h.

Referencesargs,llvm::sys::path::const_iterator::end,P, andllvm::zip().

Referenced byall_of_zip_predicate_last().

◆ all_of_zip_predicate_last()

template<typename... ArgsThenPredicate, size_t... InputIndexes>
bool llvm::detail::all_of_zip_predicate_last(std::tuple< ArgsThenPredicate... > argsThenPredicate,
std::index_sequence< InputIndexes... >  
)

Definition at line2481 of fileSTLExtras.h.

Referencesall_of_zip_predicate_first(), andvalue.

Referenced byllvm::all_of_zip().

◆ canTypeFitValue()

template<typenameT , typename U >
bool llvm::detail::canTypeFitValue(constValue)

Definition at line113 of fileSequence.h.

◆ ceilDiv()

SlowDynamicAPInt llvm::detail::ceilDiv(constSlowDynamicAPIntLHS,
constSlowDynamicAPIntRHS 
)

Definition at line193 of fileSlowDynamicAPInt.cpp.

ReferencesgetMaxWidth(),LHS,RHS,llvm::APIntOps::RoundingSDiv(), andllvm::APInt::UP.

◆ combineHashValue()

unsigned llvm::detail::combineHashValue(unsigned a,
unsigned b 
)
inline

Simplistic combination of 32-bit hash values into 32-bit hash values.

Definition at line39 of fileDenseMapInfo.h.

Referencesllvm::densemap::detail::mix().

Referenced byllvm::ScalarEvolution::FoldID::computeHash(),llvm::DenseMapInfo< AA::RangeTy >::getHashValue(),llvm::DenseMapInfo< MBBSectionID >::getHashValue(),llvm::DenseMapInfo< std::pair< T, U > >::getHashValue(),llvm::DenseMapInfo< std::pair< const MCSymbol *, MCSymbolRefExpr::VariantKind > >::getHashValue(),llvm::DenseMapInfo< VersionTuple >::getHashValue(),llvm::DenseMapInfo< std::tuple< Ts... > >::getHashValueImpl(), andllvm::DenseMapInfo< std::pair< T, U > >::getHashValuePiecewise().

◆ deref_or_none()

template<typename Iter >
auto llvm::detail::deref_or_none(const Iter & I,
const Iter & End 
) -> std::optional< std::remove_const_t<std::remove_reference_t<decltype(*I)>>>

Definition at line895 of fileSTLExtras.h.

ReferencesEnd, andI.

◆ emitOps()[1/2]

template<typename FieldTy >
static void llvm::detail::emitOps(llvm::BitCodeAbbrevabbrev)
static

Attaches the last field to an abbreviation.

This is the base case foremitOps.

See also
BCRecordLayout::emitAbbrev

Definition at line166 of fileBitcodeConvenience.h.

Referenced byllvm::BCGenericRecordLayout< IDField, Fields >::emitAbbrev(), andemitOps().

◆ emitOps()[2/2]

template<typename FieldTy , typename Next , typename... Rest>
static void llvm::detail::emitOps(llvm::BitCodeAbbrevabbrev)
static

Attaches fields to an abbreviation.

This is the recursive case foremitOps.

See also
BCRecordLayout::emitAbbrev

Definition at line176 of fileBitcodeConvenience.h.

ReferencesemitOps().

◆ floorDiv()

SlowDynamicAPInt llvm::detail::floorDiv(constSlowDynamicAPIntLHS,
constSlowDynamicAPIntRHS 
)

Definition at line201 of fileSlowDynamicAPInt.cpp.

Referencesllvm::APInt::DOWN,getMaxWidth(),LHS,RHS, andllvm::APIntOps::RoundingSDiv().

◆ frexp()[1/3]

DoubleAPFloat llvm::detail::frexp(constDoubleAPFloatArg,
int & Exp,
APFloat::roundingMode RM 
)

Definition at line5403 of fileAPFloat.cpp.

Referencesassert(),llvm::APFloatBase::fcNormal,llvm::First,frexp(),llvm::detail::DoubleAPFloat::getCategory(),scalbn(), andllvm::semPPCDoubleDouble.

◆ frexp()[2/3]

DoubleAPFloat llvm::detail::frexp(constDoubleAPFloatX,
int & Exp,
roundingMode RM 
)

Definition at line5403 of fileAPFloat.cpp.

Referencesassert(),llvm::APFloatBase::fcNormal,llvm::First,frexp(),llvm::detail::DoubleAPFloat::getCategory(),scalbn(), andllvm::semPPCDoubleDouble.

◆ frexp()[3/3]

IEEEFloat llvm::detail::frexp(constIEEEFloatVal,
int & Exp,
roundingMode RM 
)

Definition at line4810 of fileAPFloat.cpp.

Referenced byfrexp().

◆ gcd()

SlowDynamicAPInt llvm::detail::gcd(constSlowDynamicAPIntA,
constSlowDynamicAPIntB 
)

Definition at line217 of fileSlowDynamicAPInt.cpp.

ReferencesA,assert(),B,getMaxWidth(), andllvm::APIntOps::GreatestCommonDivisor().

Referenced bylcm().

◆ getAnalysisResult()

template<typename PassT , typename IRUnitT , typename... AnalysisArgTs, typename... MainArgTs>
PassT::Result llvm::detail::getAnalysisResult(AnalysisManager< IRUnitT, AnalysisArgTs... > & AM,
IRUnitT & IR,
std::tuple< MainArgTs... > Args 
)

Helper forpartial unpacking of extra arguments in getAnalysisResult.

Arguments passed in tuple come fromPassManager, so they might have extra arguments after thoseAnalysisManager's ExtraArgTs ones that we need to pass to getResult.

Definition at line137 of filePassManager.h.

ReferencesgetAnalysisResultUnpackTuple(), andIR.

◆ getAnalysisResultUnpackTuple()

template<typename PassT , typename IRUnitT , typename AnalysisManagerT , typename... ArgTs, size_t... Ns>
PassT::Result llvm::detail::getAnalysisResultUnpackTuple(AnalysisManagerT & AM,
IRUnitT & IR,
std::tuple< ArgTs... > Args,
std::index_sequence< Ns... >  
)

Actual unpacker of extra arguments in getAnalysisResult, passes only those tuple arguments that are mentioned in index_sequence.

Definition at line122 of filePassManager.h.

ReferencesIR.

Referenced bygetAnalysisResult().

◆ getTypeNameImpl()

template<typename DesiredTypeName >
StringRef llvm::detail::getTypeNameImpl()
inline

Definition at line17 of fileTypeName.h.

Referencesassert(),Name, andllvm::StringRef::npos.

◆ hash_value()[1/3]

hash_code llvm::detail::hash_value(constDoubleAPFloatArg)

Definition at line5247 of fileAPFloat.cpp.

◆ hash_value()[2/3]

hash_code llvm::detail::hash_value(constIEEEFloatArg)

Note that the use of hash codes for floating point values is in general frought with peril. Equality is hard to define for these values. For example, should negative and positive zero hash to different codes? Are they equal or not? This hash value implementation specifically emphasizes producing different codes for different inputs in order to be used in canonicalization and memoization. As such, equality is bitwiseIsEqual, and 0 != -0.

Definition at line3493 of fileAPFloat.cpp.

Referenced byhash_value().

◆ hash_value()[3/3]

hash_code llvm::detail::hash_value(constSlowDynamicAPIntX)

Definition at line26 of fileSlowDynamicAPInt.cpp.

Referenceshash_value(), andX.

◆ ilogb()

int llvm::detail::ilogb(constIEEEFloatArg)

Because the radix ofAPFloat is 2, this is equivalent to floor(log2(x)). For specialAPFloat values, this returns special error codes:

NaN ->IEK_NaN 0 ->IEK_Zero Inf ->IEK_Inf

Definition at line4771 of fileAPFloat.cpp.

◆ isLegalToHoistInto()

template<class BlockT >
bool llvm::detail::isLegalToHoistInto(BlockT * Block)

SFINAE functions that dispatch to the isLegalToHoistInto member function or return false, if it doesn't exist.

Definition at line194 of fileGenericLoopInfoImpl.h.

Referencesllvm::Block.

Referenced byllvm::LoopBase< BlockT, LoopT >::getLoopPreheader().

◆ isPresent()

template<typenameT >
bool llvm::detail::isPresent(constTt)
inline

Definition at line629 of fileCasting.h.

ReferencesisPresent().

Referenced byllvm::cast_if_present(),llvm::dyn_cast(),llvm::dyn_cast_if_present(),llvm::isa_and_present(), andisPresent().

◆ lcm()

SlowDynamicAPInt llvm::detail::lcm(constSlowDynamicAPIntA,
constSlowDynamicAPIntB 
)

Returns the least common multiple of A and B.

Definition at line226 of fileSlowDynamicAPInt.cpp.

ReferencesA,abs(),B,gcd(),X, andY.

◆ mod()

SlowDynamicAPInt llvm::detail::mod(constSlowDynamicAPIntLHS,
constSlowDynamicAPIntRHS 
)

Returns the remainder of dividing LHS by RHS.

is always non-negative.

The RHS is always expected to be positive, and the result is always non-negative.

Definition at line211 of fileSlowDynamicAPInt.cpp.

Referencesassert(),LHS, andRHS.

◆ next_or_end()

template<typename Iter >
Iter llvm::detail::next_or_end(const Iter & I,
const Iter & End 
)

Definition at line888 of fileSTLExtras.h.

ReferencesEnd, andI.

◆ operator!=()[1/4]

template<typenameValueT , typename MapTy , typename ValueInfoT >
bool llvm::detail::operator!=(constDenseSetImpl<ValueT, MapTy, ValueInfoT > & LHS,
constDenseSetImpl<ValueT, MapTy, ValueInfoT > & RHS 
)

Inequality comparison forDenseSet.

Equivalent to !(LHS == RHS). See operator== for performance notes.

Definition at line265 of fileDenseSet.h.

ReferencesLHS, andRHS.

◆ operator!=()[2/4]

template<typename OtherT , typename DerivedT , typename BaseT , typenameT , typename PointerT , typename ReferenceT >
bool llvm::detail::operator!=(constindexed_accessor_range_base< DerivedT, BaseT,T, PointerT, ReferenceT > & lhs,
const OtherT & rhs 
)

Definition at line1375 of fileSTLExtras.h.

◆ operator!=()[3/4]

bool llvm::detail::operator!=(constSlowDynamicAPIntA,
int64_t B 
)

Definition at line52 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator!=()[4/4]

bool llvm::detail::operator!=(int64_t A,
constSlowDynamicAPIntB 
)

Definition at line86 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator%()[1/2]

SlowDynamicAPInt llvm::detail::operator%(constSlowDynamicAPIntA,
int64_t B 
)

Definition at line79 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator%()[2/2]

SlowDynamicAPInt llvm::detail::operator%(int64_t A,
constSlowDynamicAPIntB 
)

Definition at line113 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator%=()

SlowDynamicAPInt & llvm::detail::operator%=(SlowDynamicAPIntA,
int64_t B 
)

Definition at line45 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator*()[1/2]

SlowDynamicAPInt llvm::detail::operator*(constSlowDynamicAPIntA,
int64_t B 
)

Definition at line73 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator*()[2/2]

SlowDynamicAPInt llvm::detail::operator*(int64_t A,
constSlowDynamicAPIntB 
)

Definition at line107 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator*=()

SlowDynamicAPInt & llvm::detail::operator*=(SlowDynamicAPIntA,
int64_t B 
)

Definition at line39 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator+()[1/2]

SlowDynamicAPInt llvm::detail::operator+(constSlowDynamicAPIntA,
int64_t B 
)

Definition at line67 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator+()[2/2]

SlowDynamicAPInt llvm::detail::operator+(int64_t A,
constSlowDynamicAPIntB 
)

Definition at line101 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator+=()

SlowDynamicAPInt & llvm::detail::operator+=(SlowDynamicAPIntA,
int64_t B 
)

Convenience operator overloads for int64_t.


Convenience operator overloads for int64_t.

Definition at line33 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator-()[1/2]

SlowDynamicAPInt llvm::detail::operator-(constSlowDynamicAPIntA,
int64_t B 
)

Definition at line70 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator-()[2/2]

SlowDynamicAPInt llvm::detail::operator-(int64_t A,
constSlowDynamicAPIntB 
)

Definition at line104 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator-=()

SlowDynamicAPInt & llvm::detail::operator-=(SlowDynamicAPIntA,
int64_t B 
)

Definition at line36 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator/()[1/2]

SlowDynamicAPInt llvm::detail::operator/(constSlowDynamicAPIntA,
int64_t B 
)

Definition at line76 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator/()[2/2]

SlowDynamicAPInt llvm::detail::operator/(int64_t A,
constSlowDynamicAPIntB 
)

Definition at line110 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator/=()

SlowDynamicAPInt & llvm::detail::operator/=(SlowDynamicAPIntA,
int64_t B 
)

Definition at line42 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator<()[1/2]

bool llvm::detail::operator<(constSlowDynamicAPIntA,
int64_t B 
)

Definition at line58 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator<()[2/2]

bool llvm::detail::operator<(int64_t A,
constSlowDynamicAPIntB 
)

Definition at line92 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator<<()

raw_ostream & llvm::detail::operator<<(raw_ostreamOS,
constSlowDynamicAPIntX 
)
inline

Definition at line85 of fileSlowDynamicAPInt.h.

ReferencesOS, andX.

◆ operator<=()[1/2]

bool llvm::detail::operator<=(constSlowDynamicAPIntA,
int64_t B 
)

Definition at line61 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator<=()[2/2]

bool llvm::detail::operator<=(int64_t A,
constSlowDynamicAPIntB 
)

Definition at line95 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator==()[1/4]

template<typenameValueT , typename MapTy , typename ValueInfoT >
bool llvm::detail::operator==(constDenseSetImpl<ValueT, MapTy, ValueInfoT > & LHS,
constDenseSetImpl<ValueT, MapTy, ValueInfoT > & RHS 
)

Equality comparison forDenseSet.

Iterates over elements of LHS confirming that each element is also a member of RHS, and that RHS contains no additional values. Equivalent to N calls to RHS.count. Amortized complexity is linear, worst case is O(N^2) (if every hash collides).

Definition at line249 of fileDenseSet.h.

ReferencesE,LHS,llvm::operator==(), andRHS.

◆ operator==()[2/4]

template<typename OtherT , typename DerivedT , typename BaseT , typenameT , typename PointerT , typename ReferenceT >
bool llvm::detail::operator==(constindexed_accessor_range_base< DerivedT, BaseT,T, PointerT, ReferenceT > & lhs,
const OtherT & rhs 
)

Compare this range with another.

FIXME: Make me a member function instead of friend when it works in C++20.

Definition at line1367 of fileSTLExtras.h.

Referencesllvm::operator==().

◆ operator==()[3/4]

bool llvm::detail::operator==(constSlowDynamicAPIntA,
int64_t B 
)

Definition at line49 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator==()[4/4]

bool llvm::detail::operator==(int64_t A,
constSlowDynamicAPIntB 
)

Definition at line83 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator>()[1/2]

bool llvm::detail::operator>(constSlowDynamicAPIntA,
int64_t B 
)

Definition at line55 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator>()[2/2]

bool llvm::detail::operator>(int64_t A,
constSlowDynamicAPIntB 
)

Definition at line89 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator>=()[1/2]

bool llvm::detail::operator>=(constSlowDynamicAPIntA,
int64_t B 
)

Definition at line64 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ operator>=()[2/2]

bool llvm::detail::operator>=(int64_t A,
constSlowDynamicAPIntB 
)

Definition at line98 of fileSlowDynamicAPInt.cpp.

ReferencesA, andB.

◆ printBumpPtrAllocatorStats()

void llvm::detail::printBumpPtrAllocatorStats(unsigned NumSlabs,
size_t BytesAllocated,
size_t TotalMemory 
)

Definition at line20 of fileAllocator.cpp.

Referencesllvm::errs().

Referenced byllvm::BumpPtrAllocatorImpl< AllocatorT, SlabSize, SizeThreshold, GrowthDelay >::PrintStats().

◆ PrintTo()[1/2]

void llvm::detail::PrintTo(constErrorHolderErr,
std::ostream * Out 
)
inline

Definition at line38 of fileSupportHelpers.h.

ReferencesInfo, andOS.

Referenced byPrintTo().

◆ PrintTo()[2/2]

template<typenameT >
void llvm::detail::PrintTo(constExpectedHolder<T > & Item,
std::ostream * Out 
)

Definition at line53 of fileSupportHelpers.h.

Referencesllvm::detail::ExpectedHolder< T >::Exp,PrintTo(), andllvm::detail::ErrorHolder::Success().

◆ resolveReferencedType()[1/2]

template<typename DieType >
DieType llvm::detail::resolveReferencedType(DieType D,
dwarf::Attribute Attr =dwarf::DW_AT_type 
)

Definition at line146 of fileDWARFTypePrinter.h.

ReferencesD.

Referenced byllvm::DWARFTypePrinter< DieType >::appendConstVolatileQualifierAfter(),llvm::DWARFTypePrinter< DieType >::appendConstVolatileQualifierBefore(),llvm::DWARFTypePrinter< DieType >::appendSubroutineNameAfter(),llvm::DWARFTypePrinter< DieType >::appendTemplateParameters(),llvm::DWARFTypePrinter< DieType >::appendUnqualifiedNameAfter(),llvm::DWARFTypePrinter< DieType >::appendUnqualifiedNameBefore(),llvm::DWARFTypePrinter< DieType >::decomposeConstVolatile(), andllvm::DWARFTypePrinter< DieType >::skipQualifiers().

◆ resolveReferencedType()[2/2]

template<typename DieType >
DieType llvm::detail::resolveReferencedType(DieType D,
typename DieType::DWARFFormValue F 
)

Definition at line151 of fileDWARFTypePrinter.h.

ReferencesD, andF.

◆ reverse_if()

template<bool B, typenameRange >
auto llvm::detail::reverse_if(Range && R)

Definition at line46 of fileCFGDiff.h.

Referencesreverse_if_helper().

◆ reverse_if_helper()[1/2]

template<typenameRange >
auto llvm::detail::reverse_if_helper(Range && R,
std::integral_constant<bool, false >  
)

Definition at line37 of fileCFGDiff.h.

Referenced byreverse_if().

◆ reverse_if_helper()[2/2]

template<typenameRange >
auto llvm::detail::reverse_if_helper(Range && R,
std::integral_constant<bool,true 
)

Definition at line42 of fileCFGDiff.h.

Referencesllvm::reverse().

◆ scalbn()[1/3]

DoubleAPFloat llvm::detail::scalbn(constDoubleAPFloatArg,
int Exp,
APFloat::roundingMode RM 
)

Definition at line5396 of fileAPFloat.cpp.

Referencesassert(),scalbn(), andllvm::semPPCDoubleDouble.

◆ scalbn()[2/3]

DoubleAPFloat llvm::detail::scalbn(constDoubleAPFloatArg,
int Exp,
roundingMode RM 
)

Definition at line5396 of fileAPFloat.cpp.

Referencesassert(),scalbn(), andllvm::semPPCDoubleDouble.

◆ scalbn()[3/3]

IEEEFloat llvm::detail::scalbn(IEEEFloat X,
int Exp,
roundingMode RoundingMode 
)

Definition at line4789 of fileAPFloat.cpp.

Referenced byfrexp(), andscalbn().

◆ TakeError()

llvm::detail::ErrorHolder llvm::detail::TakeError(llvm::Error Err)

Definition at line13 of fileError.cpp.

Referencesllvm::handleAllErrors(), andInfo.

Referenced byTakeExpected().

◆ TakeExpected()[1/2]

template<typenameT >
ExpectedHolder<T > llvm::detail::TakeExpected(Expected<T > && Exp)

Definition at line26 of fileError.h.

ReferencesTakeExpected().

◆ TakeExpected()[2/2]

template<typenameT >
ExpectedHolder<T > llvm::detail::TakeExpected(Expected<T > & Exp)

Definition at line22 of fileError.h.

ReferencesTakeError().

Referenced byTakeExpected().

◆ tcSetLeastSignificantBits()

static void llvm::detail::tcSetLeastSignificantBits(APInt::WordTypedst,
unsigned parts,
unsigned bits 
)
static

Definition at line1557 of fileAPFloat.cpp.

Referencesllvm::APInt::APINT_BITS_PER_WORD.

Referenced byllvm::detail::IEEEFloat::convertToInteger().

◆ toString()

template<typename DWARFFormValueType >
constchar * llvm::detail::toString(std::optional< DWARFFormValueType > F)

Definition at line155 of fileDWARFTypePrinter.h.

Referencesllvm::consumeError(),E, andF.

Referenced byllvm::DWARFTypePrinter< DieType >::appendTemplateParameters(), andllvm::DWARFTypePrinter< DieType >::appendUnqualifiedNameBefore().

◆ unwrapValue()

template<typenameT >
decltype(auto) llvm::detail::unwrapValue(Tt)
inline

Definition at line635 of fileCasting.h.

Referencesllvm::ValueIsPresent< T, Enable >::unwrapValue().

Referenced byllvm::cast_if_present(), andllvm::dyn_cast_if_present().

Variable Documentation

◆ cmpEqual

constexprcmpResult llvm::detail::cmpEqual = APFloatBase::cmpEqual
staticconstexpr

Definition at line385 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::compare(),llvm::detail::DoubleAPFloat::compareAbsoluteValue(),llvm::detail::IEEEFloat::compareAbsoluteValue(),llvm::detail::IEEEFloat::isInteger(),llvm::detail::DoubleAPFloat::isLargest(),llvm::detail::DoubleAPFloat::isSmallest(),llvm::detail::DoubleAPFloat::isSmallestNormalized(), andllvm::detail::IEEEFloat::remainder().

◆ cmpGreaterThan

constexprcmpResult llvm::detail::cmpGreaterThan = APFloatBase::cmpGreaterThan
staticconstexpr

Definition at line387 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::compare(),llvm::detail::DoubleAPFloat::compareAbsoluteValue(),llvm::detail::IEEEFloat::compareAbsoluteValue(), andllvm::detail::IEEEFloat::remainder().

◆ cmpLessThan

constexprcmpResult llvm::detail::cmpLessThan = APFloatBase::cmpLessThan
staticconstexpr

Definition at line386 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::compare(),llvm::detail::DoubleAPFloat::compareAbsoluteValue(),llvm::detail::IEEEFloat::compareAbsoluteValue(), andllvm::detail::IEEEFloat::mod().

◆ cmpUnordered

constexprcmpResult llvm::detail::cmpUnordered = APFloatBase::cmpUnordered
staticconstexpr

Definition at line388 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::compare().

◆ fcInfinity

constexprfltCategory llvm::detail::fcInfinity = APFloatBase::fcInfinity
staticconstexpr

Definition at line395 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::bitwiseIsEqual(),llvm::detail::IEEEFloat::compare(),llvm::detail::IEEEFloat::convert(),llvm::detail::IEEEFloat::convertToHexString(),llvm::detail::IEEEFloat::isInfinity(), andllvm::detail::DoubleAPFloat::multiply().

◆ fcNaN

constexprfltCategory llvm::detail::fcNaN = APFloatBase::fcNaN
staticconstexpr

Definition at line396 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::compare(),llvm::detail::IEEEFloat::convert(),llvm::detail::IEEEFloat::convertToHexString(),llvm::detail::IEEEFloat::convertToInteger(),llvm::detail::IEEEFloat::isNaN(),llvm::detail::IEEEFloat::makeNaN(), andllvm::detail::DoubleAPFloat::multiply().

◆ fcNormal

constexprfltCategory llvm::detail::fcNormal = APFloatBase::fcNormal
staticconstexpr

Definition at line397 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::compare(),llvm::detail::IEEEFloat::convertToHexString(),llvm::detail::IEEEFloat::IEEEFloat(),llvm::detail::DoubleAPFloat::isDenormal(),llvm::detail::DoubleAPFloat::isLargest(),llvm::detail::DoubleAPFloat::isSmallest(),llvm::detail::IEEEFloat::isSmallestNormalized(),llvm::detail::DoubleAPFloat::isSmallestNormalized(), andllvm::detail::DoubleAPFloat::multiply().

◆ fcZero

constexprfltCategory llvm::detail::fcZero = APFloatBase::fcZero
staticconstexpr

Definition at line398 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::bitwiseIsEqual(),llvm::detail::IEEEFloat::compare(),llvm::detail::IEEEFloat::convert(),llvm::detail::IEEEFloat::convertToHexString(),llvm::detail::IEEEFloat::fusedMultiplyAdd(), andllvm::detail::DoubleAPFloat::multiply().

◆ HasFreeFunctionRBegin

template<typenameRange >
constexprbool llvm::detail::HasFreeFunctionRBegin
staticconstexpr
Initial value:
=
is_detected<check_has_free_function_rbegin, Range>::value

Definition at line414 of fileSTLExtras.h.

◆ HasFreeFunctionSize

template<typenameRange >
constexprbool llvm::detail::HasFreeFunctionSize
staticconstexpr
Initial value:
=
is_detected<check_has_free_function_size, Range>::value

Definition at line1712 of fileSTLExtras.h.

◆ HasMemberContains

template<typenameRange , typename Element >
constexprbool llvm::detail::HasMemberContains
staticconstexpr
Initial value:
=
is_detected<check_has_member_contains_t, Range, Element>::value

Definition at line1883 of fileSTLExtras.h.

◆ HasMemberEraseIter

template<typename Set >
constexprbool llvm::detail::HasMemberEraseIter
staticconstexpr
Initial value:
=
is_detected<check_has_member_erase_iter_t, Set>::value

Definition at line36 of fileSetOperations.h.

◆ HasMemberFind

template<typenameRange , typename Element >
constexprbool llvm::detail::HasMemberFind
staticconstexpr
Initial value:
=
is_detected<check_has_member_find_t, Range, Element>::value

Definition at line1892 of fileSTLExtras.h.

◆ HasMemberRemoveIf

template<typename Set , typename Fn >
constexprbool llvm::detail::HasMemberRemoveIf
staticconstexpr
Initial value:
=
is_detected<check_has_member_remove_if_t, Set, Fn>::value

Definition at line28 of fileSetOperations.h.

Referenced byllvm::set_intersect(), andllvm::set_subtract().

◆ integerPartWidth

constexprunsigned llvm::detail::integerPartWidth = APFloatBase::integerPartWidth
staticconstexpr

Definition at line384 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::convertFromSignExtendedInteger().

◆ opDivByZero

constexpropStatus llvm::detail::opDivByZero = APFloatBase::opDivByZero
staticconstexpr

Definition at line391 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::remainder().

◆ opInexact

constexpropStatus llvm::detail::opInexact = APFloatBase::opInexact
staticconstexpr

Definition at line394 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::convert(),llvm::detail::IEEEFloat::divide(),llvm::detail::IEEEFloat::fusedMultiplyAdd(), andllvm::detail::IEEEFloat::multiply().

◆ opInvalidOp

constexpropStatus llvm::detail::opInvalidOp = APFloatBase::opInvalidOp
staticconstexpr

Definition at line390 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::convert(),llvm::detail::IEEEFloat::convertToInteger(), andllvm::detail::IEEEFloat::roundToIntegral().

◆ opOK

constexpropStatus llvm::detail::opOK = APFloatBase::opOK
staticconstexpr

Definition at line389 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::convert(),llvm::detail::IEEEFloat::convertFromString(),llvm::detail::IEEEFloat::fusedMultiplyAdd(),llvm::detail::IEEEFloat::mod(),llvm::detail::DoubleAPFloat::multiply(),llvm::detail::IEEEFloat::remainder(), andllvm::detail::IEEEFloat::roundToIntegral().

◆ opOverflow

constexpropStatus llvm::detail::opOverflow = APFloatBase::opOverflow
staticconstexpr

Definition at line392 of fileAPFloat.h.

◆ opUnderflow

constexpropStatus llvm::detail::opUnderflow = APFloatBase::opUnderflow
staticconstexpr

Definition at line393 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::fusedMultiplyAdd().

◆ rmNearestTiesToAway

constexprroundingMode llvm::detail::rmNearestTiesToAway
staticconstexpr
Initial value:
=
APFloatBase::rmNearestTiesToAway

Definition at line379 of fileAPFloat.h.

◆ rmNearestTiesToEven

constexprroundingMode llvm::detail::rmNearestTiesToEven
staticconstexpr
Initial value:
=
APFloatBase::rmNearestTiesToEven

Definition at line377 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::IEEEFloat(),llvm::detail::IEEEFloat::mod(),llvm::detail::IEEEFloat::remainder(), andllvm::detail::IEEEFloat::roundToIntegral().

◆ rmTowardNegative

constexprroundingMode llvm::detail::rmTowardNegative = APFloatBase::rmTowardNegative
staticconstexpr

Definition at line381 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::fusedMultiplyAdd().

◆ rmTowardPositive

constexprroundingMode llvm::detail::rmTowardPositive = APFloatBase::rmTowardPositive
staticconstexpr

Definition at line382 of fileAPFloat.h.

◆ rmTowardZero

constexprroundingMode llvm::detail::rmTowardZero = APFloatBase::rmTowardZero
staticconstexpr

Definition at line383 of fileAPFloat.h.

Referenced byllvm::detail::IEEEFloat::isInteger().

◆ uninitialized

constexpruninitializedTag llvm::detail::uninitialized = APFloatBase::uninitialized
staticconstexpr

Definition at line376 of fileAPFloat.h.

Referenced byllvm::detail::DoubleAPFloat::DoubleAPFloat().


Generated on Sun Jul 20 2025 20:19:37 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp