Home
last modified time | relevance | path

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

12345

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1720 T Impl; variable
1723 Model(T Impl) : Impl(std::move(Impl)) {} in Model() argument
1727 return Impl.getDataLayout(); in getDataLayout()
1746 return Impl.getMemcpyCost(I); in getMemcpyCost()
1764 return Impl.isAlwaysUniform(V); in isAlwaysUniform()
1788 return Impl.isLoweredToCall(F); in isLoweredToCall()
1977 return Impl.getFPOpCost(Ty); in getFPOpCost()
2016 return Impl.getMaxVScale(); in getMaxVScale()
2035 return Impl.getCacheSize(Level); in getCacheSize()
2174 return Impl.getNumberOfParts(Tp); in getNumberOfParts()
[all …]
H A DTargetLibraryInfo.h224 const TargetLibraryInfoImpl *Impl; variable
233 : Impl(&Impl), OverrideAsUnavailable(NumLibFuncs) {
256 : Impl(TLI.Impl), OverrideAsUnavailable(TLI.OverrideAsUnavailable) {} in TargetLibraryInfo()
258 : Impl(TLI.Impl), OverrideAsUnavailable(TLI.OverrideAsUnavailable) {} in TargetLibraryInfo()
260 Impl = TLI.Impl;
265 Impl = TLI.Impl;
319 return Impl->getState(F); in getState()
383 if (Impl->ShouldExtI32Param)
394 if (Impl->ShouldExtI32Return)
401 return Impl->getWCharSize(M); in getWCharSize()
[all …]
/freebsd-13.1/contrib/llvm-project/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 …]
/freebsd-13.1/contrib/llvm-project/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 …]
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
56 bool operator==(const Range &RHS) const { return Impl == RHS.Impl; }
60 std::pair<const llvm::APSInt *, const llvm::APSInt *> Impl;
109 UnderlyingType Impl; variable
114 const_iterator begin() const { return Impl->begin(); } in begin()
115 const_iterator end() const { return Impl->end(); } in end()
116 size_t size() const { return Impl->size(); } in size()
118 bool isEmpty() const { return Impl->empty(); } in isEmpty()
255 ID.AddPointer(RS.Impl); in Profile()
[all …]
H A DExplodedGraph.h465 ImplTy Impl; variable
470 Impl.insert(N); in ExplodedNodeSet()
482 unsigned size() const { return Impl.size(); } in size()
483 bool empty() const { return Impl.empty(); } in empty()
486 void clear() { Impl.clear(); } in clear()
491 Impl = S.Impl; in insert()
493 Impl.insert(S.begin(), S.end()); in insert()
496 iterator begin() { return Impl.begin(); } in begin()
497 iterator end() { return Impl.end(); } in end()
499 const_iterator begin() const { return Impl.begin(); } in begin()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DSignposts.cpp100 Impl = std::make_unique<SignpostEmitterImpl>(); in SignpostEmitter()
108 return Impl->isEnabled(); in isEnabled()
116 if (Impl == nullptr) in startInterval()
118 return Impl->startInterval(O, Name); in startInterval()
123 os_log_t &SignpostEmitter::getLogger() const { return Impl->getLogger(); } in getLogger()
125 return Impl->getSignpostForObject(O); in getSignpostForObject()
131 if (Impl == nullptr) in endInterval()
133 Impl->endInterval(O); in endInterval()
H A DCrashRecoveryContext.cpp120 CrashRecoveryContextImpl *CRCI = (CrashRecoveryContextImpl *) Impl; in ~CrashRecoveryContext()
231 assert(!Impl && "Crash recovery context already initialized!"); in RunSafely()
232 Impl = new CrashRecoveryContextImpl(this); in RunSafely()
415 assert(!Impl && "Crash recovery context already initialized!"); in RunSafely()
417 Impl = CRCI; in RunSafely()
439 CrashRecoveryContextImpl *CRCI = (CrashRecoveryContextImpl *)Impl; in HandleExit()
510 if (CrashRecoveryContextImpl *CRC = (CrashRecoveryContextImpl *)Impl) in RunSafelyOnThread()
/freebsd-13.1/contrib/llvm-project/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()
H A DAbstractBasicReader.h122 template <class Impl>
123 class DataStreamBasicReader : public BasicReaderBase<Impl> {
125 using BasicReaderBase<Impl>::asImpl;
126 DataStreamBasicReader(ASTContext &ctx) : BasicReaderBase<Impl>(ctx) {} in DataStreamBasicReader()
129 using BasicReaderBase<Impl>::getASTContext;
133 Impl &find(const char *propertyName) { in find()
144 Impl &readObject() { return asImpl(); } in readObject()
/freebsd-13.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h453 template <typename Impl>
477 Impl impl_;
482 Impl impl_;
501 template <typename Impl>
502 inline PolymorphicAction<Impl> MakePolymorphicAction(const Impl& impl) {
503 return PolymorphicAction<Impl>(impl);
644 GTEST_DISALLOW_ASSIGN_(Impl);
719 GTEST_DISALLOW_ASSIGN_(Impl);
768 GTEST_DISALLOW_ASSIGN_(Impl);
986 GTEST_DISALLOW_ASSIGN_(Impl);
[all …]
H A Dgmock-matchers.h566 template <class Impl>
603 const Impl impl_;
608 Impl impl_;
632 template <class Impl>
633 inline PolymorphicMatcher<Impl> MakePolymorphicMatcher(const Impl& impl) { in MakePolymorphicMatcher()
764 GTEST_DISALLOW_ASSIGN_(Impl);
1095 GTEST_DISALLOW_ASSIGN_(Impl);
1256 GTEST_DISALLOW_ASSIGN_(Impl);
2209 GTEST_DISALLOW_ASSIGN_(Impl);
2372 GTEST_DISALLOW_ASSIGN_(Impl);
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.h371 std::string getName() const { return Impl->getName(); } in getName()
372 unsigned getNumArgs() const { return Impl->getNumArgs(); } in getNumArgs()
373 EFuncId getId() const { return Impl->getId(); } in getId()
379 bool isMangled() const { return Impl->isMangled(); } in isMangled()
380 void setId(EFuncId Id) { Impl->setId(Id); } in setId()
382 return Impl->parseFuncName(MangledName); in parseFuncName()
387 std::string mangle() const { return Impl->mangle(); } in mangle()
389 void setName(StringRef N) { Impl->setName(N); } in setName()
390 void setPrefix(ENamePrefix PFX) { Impl->setPrefix(PFX); } in setPrefix()
393 return Impl->getFunctionType(M); in getFunctionType()
[all …]
H A DAMDGPULibFunc.cpp682 F.Impl = std::unique_ptr<AMDGPULibFuncImpl>(); in parse()
687 F.Impl = std::make_unique<AMDGPUMangledLibFunc>(); in parse()
690 if (F.Impl->parseFuncName(FuncName)) in parse()
693 F.Impl = std::unique_ptr<AMDGPULibFuncImpl>(); in parse()
1023 Impl.reset(new AMDGPUMangledLibFunc(*MF)); in AMDGPULibFunc()
1025 Impl.reset(new AMDGPUUnmangledLibFunc(*UMF)); in AMDGPULibFunc()
1027 Impl = std::unique_ptr<AMDGPULibFuncImpl>(); in AMDGPULibFunc()
1040 Impl.reset(new AMDGPUMangledLibFunc( in AMDGPULibFunc()
1045 Impl.reset(new AMDGPUUnmangledLibFunc(Name, FT)); in AMDGPULibFunc()
1051 if (!Impl) in getLeads()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryByteStream.h237 : Impl(std::move(Buffer), Endian) {} in FileBufferByteStream()
240 return Impl.getEndian(); in getEndian()
245 return Impl.readBytes(Offset, Size, Buffer); in readBytes()
250 return Impl.readLongestContiguousChunk(Offset, Buffer); in readLongestContiguousChunk()
253 uint32_t getLength() override { return Impl.getLength(); } in getLength()
256 return Impl.writeBytes(Offset, Data); in writeBytes()
259 Error commit() override { return Impl.commit(); } in commit()
262 uint8_t *getBufferStart() const { return Impl.getBufferStart(); } in getBufferStart()
265 uint8_t *getBufferEnd() const { return Impl.getBufferEnd(); } in getBufferEnd()
268 StreamImpl Impl;
H A DVirtualFileSystem.h164 : Impl(std::move(I)) { in directory_iterator()
165 assert(Impl.get() != nullptr && "requires non-null implementation"); in directory_iterator()
166 if (Impl->CurrentEntry.path().empty()) in directory_iterator()
167 Impl.reset(); // Normalize the end iterator to Impl == nullptr. in directory_iterator()
175 assert(Impl && "attempting to increment past end"); in increment()
176 EC = Impl->increment(); in increment()
177 if (Impl->CurrentEntry.path().empty()) in increment()
178 Impl.reset(); // Normalize the end iterator to Impl == nullptr. in increment()
186 if (Impl && RHS.Impl)
187 return Impl->CurrentEntry.path() == RHS.Impl->CurrentEntry.path();
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h59 class Impl; variable
62 std::unique_ptr<Impl> DiffImpl;
74 : TreeImpl(std::make_unique<Impl>(this, Node, AST)) {} in SyntaxTree()
99 class Impl; variable
100 std::unique_ptr<Impl> TreeImpl;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMagic.h21 enum Impl { enum
59 file_magic(Impl V) : V(V) {} in file_magic()
60 operator Impl() const { return V; } in Impl() function
63 Impl V = unknown;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DTFUtils.cpp379 if (!Impl->isValid()) in TFModelEvaluator()
380 Impl.reset(); in TFModelEvaluator()
419 Impl->evaluate(Ret->getOutput().data(), Status.get()); in evaluate()
422 Impl.reset(); in evaluate()
440 return TF_TensorData(Impl->getInput()[Index]); in getUntypedInput()
444 std::unique_ptr<EvaluationResultImpl> Impl) in EvaluationResult() argument
445 : Impl(std::move(Impl)) {} in EvaluationResult()
448 : Impl(std::move(Other.Impl)) {} in EvaluationResult()
452 Impl = std::move(Other.Impl); in operator =()
457 return TF_TensorData(Impl->getOutput()[Index]); in getUntypedTensorValue()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.h144 template <typename Impl>
147 Impl &impl() { return static_cast<Impl &>(*this); } in impl()
148 const Impl &impl() const { return static_cast<const Impl &>(*this); } in impl()
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransformActions.cpp609 Impl = new TransformActionsImpl(capturedDiags, ctx, PP); in TransformActions()
613 delete static_cast<TransformActionsImpl*>(Impl); in ~TransformActions()
617 static_cast<TransformActionsImpl*>(Impl)->startTransaction(); in startTransaction()
625 static_cast<TransformActionsImpl*>(Impl)->abortTransaction(); in abortTransaction()
630 static_cast<TransformActionsImpl*>(Impl)->insert(loc, text); in insert()
639 static_cast<TransformActionsImpl*>(Impl)->remove(range); in remove()
643 static_cast<TransformActionsImpl*>(Impl)->removeStmt(S); in removeStmt()
647 static_cast<TransformActionsImpl*>(Impl)->replace(range, text); in replace()
656 static_cast<TransformActionsImpl*>(Impl)->replaceStmt(S, text); in replaceStmt()
661 static_cast<TransformActionsImpl*>(Impl)->replaceText(loc, text, in replaceText()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DParentMap.cpp109 ParentMap::ParentMap(Stmt *S) : Impl(nullptr) { in ParentMap()
113 Impl = M; in ParentMap()
118 delete (MapTy*) Impl; in ~ParentMap()
123 BuildParentMap(*(MapTy*) Impl, S); in addStmt()
130 MapTy *M = reinterpret_cast<MapTy *>(Impl); in setParent()
135 MapTy* M = (MapTy*) Impl; in getParent()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitfields.h156 template <typename Bitfield, typename StorageType> struct Impl {
234 template <typename, typename> friend struct bitfields_details::Impl;
255 using I = bitfields_details::Impl<Bitfield, StorageType>;
263 using I = bitfields_details::Impl<Bitfield, StorageType>;
271 using I = bitfields_details::Impl<Bitfield, StorageType>;

12345