|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Support/Casting.h 58 return To::classof(&Val);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
142 return isa_impl_wrap<X, const Y,
172 using ret_type = To *; // Pointer arg case, return Ty*
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
lib/Analysis/ModuleSummaryAnalysis.cpp 600 GlobalVarSummary::GVarFlags VarFlags(CanBeInternalized, CanBeInternalized);
601 auto GVarSummary = std::make_unique<GlobalVarSummary>(Flags, VarFlags,
716 std::unique_ptr<GlobalVarSummary> Summary =
717 std::make_unique<GlobalVarSummary>(
lib/AsmParser/LLParser.cpp 8139 GlobalVarSummary::GVarFlags GVarFlags(/*ReadOnly*/ false,
8171 std::make_unique<GlobalVarSummary>(GVFlags, GVarFlags, std::move(Refs));
8805 bool LLParser::ParseGVarFlags(GlobalVarSummary::GVarFlags &GVarFlags) {
lib/AsmParser/LLParser.h 355 bool ParseGVarFlags(GlobalVarSummary::GVarFlags &GVarFlags);
lib/Bitcode/Reader/BitcodeReader.cpp 986 static GlobalVarSummary::GVarFlags getDecodedGVarFlags(uint64_t RawFlags) {
5951 GlobalVarSummary::GVarFlags GVF(/* ReadOnly */ false,
5961 std::make_unique<GlobalVarSummary>(Flags, GVF, std::move(Refs));
5974 GlobalVarSummary::GVarFlags GVF = getDecodedGVarFlags(Record[2]);
5988 std::make_unique<GlobalVarSummary>(Flags, GVF, std::move(Refs));
6092 GlobalVarSummary::GVarFlags GVF(/* ReadOnly */ false,
6102 std::make_unique<GlobalVarSummary>(Flags, GVF, std::move(Refs));
lib/Bitcode/Writer/BitcodeWriter.cpp 1028 static uint64_t getEncodedGVarFlags(GlobalVarSummary::GVarFlags Flags) {
3692 GlobalVarSummary *VS = cast<GlobalVarSummary>(Summary);
3692 GlobalVarSummary *VS = cast<GlobalVarSummary>(Summary);
4010 if (auto *VS = dyn_cast<GlobalVarSummary>(S)) {
4010 if (auto *VS = dyn_cast<GlobalVarSummary>(S)) {
lib/IR/AsmWriter.cpp 2418 void printGlobalVarSummary(const GlobalVarSummary *GS);
2895 void AssemblyWriter::printGlobalVarSummary(const GlobalVarSummary *GS) {
3097 printGlobalVarSummary(cast<GlobalVarSummary>(&Summary));
lib/IR/ModuleSummaryIndex.cpp 121 if (auto *GVS = dyn_cast<GlobalVarSummary>(Ref->getBaseObject())) {
121 if (auto *GVS = dyn_cast<GlobalVarSummary>(Ref->getBaseObject())) {
173 if (auto *GVS = dyn_cast<GlobalVarSummary>(S->getBaseObject()))
173 if (auto *GVS = dyn_cast<GlobalVarSummary>(S->getBaseObject()))
186 if (auto *GVS = dyn_cast<GlobalVarSummary>(
186 if (auto *GVS = dyn_cast<GlobalVarSummary>(
355 if (auto *GVS = dyn_cast<GlobalVarSummary>(S))
361 if (auto *GVS = dyn_cast<GlobalVarSummary>(S))
lib/LTO/LTO.cpp 196 if (auto *GVS = dyn_cast<GlobalVarSummary>(GS)) {
196 if (auto *GVS = dyn_cast<GlobalVarSummary>(GS)) {
378 if (auto *VarSummary = dyn_cast<GlobalVarSummary>(GVS->getBaseObject()))
378 if (auto *VarSummary = dyn_cast<GlobalVarSummary>(GVS->getBaseObject()))
lib/Transforms/IPO/FunctionImport.cpp 307 if (isa<GlobalVarSummary>(RefSummary.get()) &&
862 if (auto *GVS = dyn_cast<GlobalVarSummary>(S.get())) {
862 if (auto *GVS = dyn_cast<GlobalVarSummary>(S.get())) {
lib/Transforms/IPO/WholeProgramDevirt.cpp 853 const auto *VS = cast<GlobalVarSummary>(P.VTableVI.getSummaryList()[0].get());
853 const auto *VS = cast<GlobalVarSummary>(P.VTableVI.getSummaryList()[0].get());
lib/Transforms/Utils/FunctionImportUtils.cpp 247 auto* GVS = dyn_cast<GlobalVarSummary>(
247 auto* GVS = dyn_cast<GlobalVarSummary>(
usr/include/c++/7.4.0/bits/unique_ptr.h 68 default_delete(const default_delete<_Up>&) noexcept { }
72 operator()(_Tp* __ptr) const
74 static_assert(!is_void<_Tp>::value,
76 static_assert(sizeof(_Tp)>0,
122 using type = _Up*;
137 using pointer = typename _Ptr<_Tp, _Dp>::type;
161 typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
163 __uniq_ptr_impl<_Tp, _Dp> _M_t;
166 using pointer = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
167 using element_type = _Tp;
252 unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
811 { typedef unique_ptr<_Tp> __single_object; };
823 inline typename _MakeUniq<_Tp>::__single_object
825 { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
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
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1645 { typedef _Tp& type; };
1650 : public __add_lvalue_reference_helper<_Tp>