Home
last modified time | relevance | path

Searched refs:Impl (Results 1 – 25 of 174) sorted by relevance

1234567

/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1849 T Impl; variable
1852 Model(T Impl) : Impl(std::move(Impl)) {} in Model() argument
1856 return Impl.getDataLayout(); in getDataLayout()
1875 return Impl.getMemcpyCost(I); in getMemcpyCost()
1893 return Impl.isAlwaysUniform(V); in isAlwaysUniform()
1927 return Impl.isLoweredToCall(F); in isLoweredToCall()
2138 return Impl.getFPOpCost(Ty); in getFPOpCost()
2177 return Impl.getMaxVScale(); in getMaxVScale()
2180 return Impl.getVScaleForTuning(); in getVScaleForTuning()
2204 return Impl.getCacheSize(Level); in getCacheSize()
[all …]
H A DTargetLibraryInfo.h227 const TargetLibraryInfoImpl *Impl; variable
236 : Impl(&Impl), OverrideAsUnavailable(NumLibFuncs) {
260 : Impl(TLI.Impl), OverrideAsUnavailable(TLI.OverrideAsUnavailable) {} in TargetLibraryInfo()
263 Impl = TLI.Impl;
324 return Impl->getState(F); in getState()
379 return Impl->StandardNames[F]; in getName()
388 if (Impl->ShouldExtI32Param)
390 if (Impl->ShouldSignExtI32Param)
399 if (Impl->ShouldExtI32Return)
406 return Impl->getWCharSize(M); in getWCharSize()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_log_interface.cpp41 XRayLogImpl Impl; member
65 XRayLogImpl Impl) XRAY_NEVER_INSTRUMENT { in __xray_log_register_mode() argument
66 if (Impl.flush_log == nullptr || Impl.handle_arg0 == nullptr || in __xray_log_register_mode()
67 Impl.log_finalize == nullptr || Impl.log_init == nullptr) in __xray_log_register_mode()
79 NewModeImpl->Impl = Impl; in __xray_log_register_mode()
90 CurrentXRayImpl = it->Impl; in __xray_log_select_mode()
92 __xray_set_handler(it->Impl.handle_arg0); in __xray_log_select_mode()
107 if (Impl.log_init == nullptr || Impl.log_finalize == nullptr || in __xray_set_log_impl()
108 Impl.handle_arg0 == nullptr || Impl.flush_log == nullptr) { in __xray_set_log_impl()
118 CurrentXRayImpl = Impl; in __xray_set_log_impl()
[all …]
/llvm-project-15.0.7/libcxxabi/test/
H A Dguard_threaded_test.pass.cpp92 Impl impl(g); in check_guard()
113 template <class GuardType, class Impl>
189 template <class GuardType, class Impl>
210 template <class GuardType, class Impl>
246 template <class GuardType, class Impl>
280 template <class GuardType, class Impl>
303 template <class Impl>
307 test_free_for_all<uint32_t, Impl>, in test_impl()
308 test_free_for_all<uint32_t, Impl>, in test_impl()
311 test_aborted_init<uint32_t, Impl>, in test_impl()
[all …]
/llvm-project-15.0.7/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp57 class ASTDiff::Impl { class in clang::diff::ASTDiff
59 SyntaxTree::Impl &T1, &T2;
62 Impl(SyntaxTree::Impl &T1, SyntaxTree::Impl &T2,
112 class SyntaxTree::Impl { class in clang::diff::SyntaxTree
119 Impl(SyntaxTree *Parent, in Impl() function in clang::diff::SyntaxTree::Impl
124 Impl(SyntaxTree *Parent, in Impl() function in clang::diff::SyntaxTree::Impl
193 SyntaxTree::Impl &Tree;
262 SyntaxTree::Impl::Impl(SyntaxTree *Parent, ASTContext &AST) in Impl() function in clang::diff::SyntaxTree::Impl
267 SyntaxTree::Impl::Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST) in Impl() function in clang::diff::SyntaxTree::Impl
274 SyntaxTree::Impl::Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST) in Impl() function in clang::diff::SyntaxTree::Impl
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Ddevirtualize-4.ll20 ;class Impl : public Interface {
22 ; Impl() : f(3) {}
32 ; Impl o;
50 %o = alloca %class.Impl, align 8
51 %0 = bitcast %class.Impl* %o to i8*
54 %1 = getelementptr inbounds %class.Impl, %class.Impl* %o, i64 0, i32 0
64 %0 = getelementptr %class.Impl, %class.Impl* %this, i64 0, i32 0
66 %1 = getelementptr %class.Impl, %class.Impl* %this, i64 0, i32 0, i32 0
68 %f = getelementptr inbounds %class.Impl, %class.Impl* %this, i64 0, i32 1
96 store %class.Impl* %this, %class.Impl** %ref.tmp, align 8
[all …]
/llvm-project-15.0.7/llvm/lib/Remarks/
H A DRemarkStringTable.cpp42 auto Impl = [&](StringRef &S) { S = add(S).second; }; in internalize() local
43 Impl(R.PassName); in internalize()
44 Impl(R.RemarkName); in internalize()
45 Impl(R.FunctionName); in internalize()
47 Impl(R.Loc->SourceFilePath); in internalize()
49 Impl(Arg.Key); in internalize()
50 Impl(Arg.Val); in internalize()
52 Impl(Arg.Loc->SourceFilePath); in internalize()
/llvm-project-15.0.7/libc/src/__support/CPP/
H A DArrayRef.h114 using Impl = internal::ArrayRefBase<const T>; member
115 using Impl::Impl;
121 : Impl(reinterpret_cast<const T *>(Data), Length / sizeof(T)) {} in ArrayRef()
124 template <size_t N> ArrayRef(const Array<T, N> &Arr) : Impl(Arr.Data, N) {} in ArrayRef()
133 using Impl = internal::ArrayRefBase<T>; member
134 using Impl::Impl;
140 : Impl(reinterpret_cast<T *>(Data), Length / sizeof(T)) {} in MutableArrayRef()
143 template <size_t N> MutableArrayRef(Array<T, N> &Arr) : Impl(Arr.Data, N) {} in MutableArrayRef()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DRangedConstraintManager.h40 const llvm::APSInt &From() const { return *Impl.first; } in From()
41 const llvm::APSInt &To() const { return *Impl.second; } in To()
57 bool operator==(const Range &RHS) const { return Impl == RHS.Impl; }
61 std::pair<const llvm::APSInt *, const llvm::APSInt *> Impl;
110 UnderlyingType Impl; variable
115 const_iterator begin() const { return Impl->begin(); } in begin()
116 const_iterator end() const { return Impl->end(); } in end()
117 size_t size() const { return Impl->size(); } in size()
119 bool isEmpty() const { return Impl->empty(); } in isEmpty()
322 ID.AddPointer(RS.Impl); in Profile()
[all …]
H A DExplodedGraph.h463 ImplTy Impl; variable
468 Impl.insert(N); in ExplodedNodeSet()
480 unsigned size() const { return Impl.size(); } in size()
481 bool empty() const { return Impl.empty(); } in empty()
484 void clear() { Impl.clear(); } in clear()
489 Impl = S.Impl; in insert()
491 Impl.insert(S.begin(), S.end()); in insert()
494 iterator begin() { return Impl.begin(); } in begin()
495 iterator end() { return Impl.end(); } in end()
497 const_iterator begin() const { return Impl.begin(); } in begin()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTUnresolvedSet.h94 mutable ASTUnresolvedSet Impl; variable
100 if (Impl.Decls.isLazy()) in get()
102 return Impl; in get()
105 void reserve(ASTContext &C, unsigned N) { Impl.reserve(C, N); } in reserve()
108 assert(Impl.empty() || Impl.Decls.isLazy()); in addLazyDecl()
109 Impl.Decls.setLazy(true); in addLazyDecl()
110 Impl.addDecl(C, reinterpret_cast<NamedDecl *>(ID << 2), AS); in addLazyDecl()
H A DAbstractBasicWriter.h121 template <class Impl>
122 class DataStreamBasicWriter : public BasicWriterBase<Impl> {
124 using BasicWriterBase<Impl>::asImpl;
125 DataStreamBasicWriter(ASTContext &ctx) : BasicWriterBase<Impl>(ctx) {} in DataStreamBasicWriter()
130 Impl &find(const char *propertyName) { in find()
136 Impl &writeObject() { return asImpl(); } in writeObject()
181 auto &ctx = ((BasicWriterBase<Impl> *)this)->getASTContext(); in writeLValuePathSerializationHelper()
/llvm-project-15.0.7/libc/utils/testutils/
H A DTimer.cpp22 Timer::Timer() : Impl(new TimerImplementation) {} in Timer()
24 Timer::~Timer() { delete reinterpret_cast<TimerImplementation *>(Impl); } in ~Timer()
27 auto T = reinterpret_cast<TimerImplementation *>(Impl); in start()
32 auto T = reinterpret_cast<TimerImplementation *>(Impl); in stop()
37 auto T = reinterpret_cast<TimerImplementation *>(Impl); in nanoseconds()
/llvm-project-15.0.7/llvm/lib/Support/
H A DSignposts.cpp105 Impl = std::make_unique<SignpostEmitterImpl>(); in SignpostEmitter()
113 return Impl->isEnabled(); in isEnabled()
121 if (Impl == nullptr) in startInterval()
123 return Impl->startInterval(O, Name); in startInterval()
129 if (Impl == nullptr) in endInterval()
131 Impl->endInterval(O, Name); in endInterval()
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-actions.h433 template <typename Impl>
457 Impl impl_;
462 Impl impl_;
481 template <typename Impl>
482 inline PolymorphicAction<Impl> MakePolymorphicAction(const Impl& impl) {
483 return PolymorphicAction<Impl>(impl);
606 GTEST_DISALLOW_ASSIGN_(Impl);
655 return Action<F>(new Impl<F>(ref_));
673 GTEST_DISALLOW_ASSIGN_(Impl);
720 GTEST_DISALLOW_ASSIGN_(Impl);
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.h372 std::string getName() const { return Impl->getName(); } in getName()
373 unsigned getNumArgs() const { return Impl->getNumArgs(); } in getNumArgs()
374 EFuncId getId() const { return Impl->getId(); } in getId()
380 bool isMangled() const { return Impl->isMangled(); } in isMangled()
381 void setId(EFuncId Id) { Impl->setId(Id); } in setId()
383 return Impl->parseFuncName(MangledName); in parseFuncName()
388 std::string mangle() const { return Impl->mangle(); } in mangle()
390 void setName(StringRef N) { Impl->setName(N); } in setName()
391 void setPrefix(ENamePrefix PFX) { Impl->setPrefix(PFX); } in setPrefix()
394 return Impl->getFunctionType(M); in getFunctionType()
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTFUtils.cpp339 if (!Impl->isValid()) in TFModelEvaluator()
340 Impl.reset(); in TFModelEvaluator()
382 Impl.reset(); in evaluate()
400 if (Index < Impl->getInput().size()) in getUntypedInput()
401 return TF_TensorData(Impl->getInput()[Index]); in getUntypedInput()
406 std::unique_ptr<EvaluationResultImpl> Impl) in EvaluationResult() argument
407 : Impl(std::move(Impl)) {} in EvaluationResult()
410 : Impl(std::move(Other.Impl)) {} in EvaluationResult()
414 Impl = std::move(Other.Impl); in operator =()
419 return TF_TensorData(Impl->getOutput()[Index]); in getUntypedTensorValue()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DBinaryByteStream.h234 : Impl(std::move(Buffer), Endian) {} in FileBufferByteStream()
237 return Impl.getEndian(); in getEndian()
242 return Impl.readBytes(Offset, Size, Buffer); in readBytes()
247 return Impl.readLongestContiguousChunk(Offset, Buffer); in readLongestContiguousChunk()
250 uint64_t getLength() override { return Impl.getLength(); } in getLength()
253 return Impl.writeBytes(Offset, Data); in writeBytes()
256 Error commit() override { return Impl.commit(); } in commit()
259 uint8_t *getBufferStart() const { return Impl.getBufferStart(); } in getBufferStart()
262 uint8_t *getBufferEnd() const { return Impl.getBufferEnd(); } in getBufferEnd()
265 StreamImpl Impl;
/llvm-project-15.0.7/clang/test/CodeGenCoroutines/
H A Dcoro-gro2.cpp32 struct Impl;
33 Impl *impl;
61 struct Impl;
62 Impl *impl;
H A Dcoro-gro2-exp-namespace.cpp31 struct Impl;
32 Impl *impl;
59 struct Impl;
60 Impl *impl;
/llvm-project-15.0.7/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h60 : TreeImpl(std::make_unique<Impl>(this, Node, AST)) {} in SyntaxTree()
85 class Impl; variable
86 std::unique_ptr<Impl> TreeImpl;
117 class Impl; variable
120 std::unique_ptr<Impl> DiffImpl;
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DObjCMemberwiseInitializer.cpp191 const ObjCImplementationDecl *Impl = nullptr; member in clang::clangd::__anonea4e04e00111::ObjCMemberwiseInitializer
222 Impl = ID; in REGISTER_TWEAK()
229 Impl = ID; in REGISTER_TWEAK()
246 Impl ? static_cast<const ObjCContainerDecl *>(Impl) in paramsForSelection()
295 if (Impl) { in apply()
299 initializerForParams(Params, /*GenerateImpl=*/true), *Impl, Anchors); in apply()
303 if (SM.isWrittenInSameFile(Interface->getLocation(), Impl->getLocation())) { in apply()
311 auto FE = Effect::fileEdit(SM, SM.getFileID(Impl->getLocation()), in apply()
322 if (Impl) in title()
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DMagic.h21 enum Impl { enum
62 file_magic(Impl V) : V(V) {} in file_magic()
63 operator Impl() const { return V; } in Impl() function
66 Impl V = unknown;
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DMatchers.h146 return MakeMatcher(new Impl<Optional>(matcher_));
152 class Impl : public ::testing::MatcherInterface<Optional> {
157 explicit Impl(const InnerMatcher &matcher) in Impl() function
160 Impl(const Impl&) = default;
161 Impl &operator=(const Impl&) = delete;
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-matchers.h453 template <class Impl>
460 Impl& mutable_impl() { return impl_; } in mutable_impl()
464 const Impl& impl() const { return impl_; } in impl()
488 const Impl impl_;
491 Impl impl_;
512 template <class Impl>
513 inline PolymorphicMatcher<Impl> MakePolymorphicMatcher(const Impl& impl) { in MakePolymorphicMatcher()
514 return PolymorphicMatcher<Impl>(impl); in MakePolymorphicMatcher()
534 return Matcher<Lhs>(new Impl<const Lhs&>(rhs_));
544 class Impl : public MatcherInterface<Lhs> {
[all …]

1234567