| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 174 template <typename T> TargetTransformInfo(T Impl); 1731 T Impl; variable 1734 Model(T Impl) : Impl(std::move(Impl)) {} in Model() argument 1738 return Impl.getDataLayout(); in getDataLayout() 1745 return Impl.getGEPCost(PointeeType, Ptr, Operands); in getGEPCost() 1748 return Impl.getInliningThresholdMultiplier(); in getInliningThresholdMultiplier() 1751 return Impl.adjustInliningThreshold(CB); in adjustInliningThreshold() 1754 return Impl.getInlinerVectorBonusPercent(); in getInlinerVectorBonusPercent() 1757 return Impl.getMemcpyCost(I); in getMemcpyCost() 1761 return Impl.getUserCost(U, Operands, CostKind); in getUserCost() [all …]
|
| H A D | TargetLibraryInfo.h | 213 const TargetLibraryInfoImpl *Impl; variable 220 explicit TargetLibraryInfo(const TargetLibraryInfoImpl &Impl, 222 : Impl(&Impl), OverrideAsUnavailable(NumLibFuncs) { 245 : Impl(TLI.Impl), OverrideAsUnavailable(TLI.OverrideAsUnavailable) {} in TargetLibraryInfo() 247 : Impl(TLI.Impl), OverrideAsUnavailable(TLI.OverrideAsUnavailable) {} in TargetLibraryInfo() 249 Impl = TLI.Impl; 254 Impl = TLI.Impl; 279 return Impl->getLibFunc(funcName, F); in getLibFunc() 283 return Impl->getLibFunc(FDecl, F); in getLibFunc() 308 return Impl->getState(F); in getState() [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
| H A D | xray_log_interface.cc | 42 XRayLogImpl Impl; member 66 XRayLogImpl Impl) XRAY_NEVER_INSTRUMENT { in __xray_log_register_mode() argument 67 if (Impl.flush_log == nullptr || Impl.handle_arg0 == nullptr || in __xray_log_register_mode() 68 Impl.log_finalize == nullptr || Impl.log_init == nullptr) in __xray_log_register_mode() 80 NewModeImpl->Impl = Impl; in __xray_log_register_mode() 91 CurrentXRayImpl = it->Impl; in __xray_log_select_mode() 93 __xray_set_handler(it->Impl.handle_arg0); in __xray_log_select_mode() 107 void __xray_set_log_impl(XRayLogImpl Impl) XRAY_NEVER_INSTRUMENT { in __xray_set_log_impl() argument 108 if (Impl.log_init == nullptr || Impl.log_finalize == nullptr || in __xray_set_log_impl() 109 Impl.handle_arg0 == nullptr || Impl.flush_log == nullptr) { in __xray_set_log_impl() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 57 class ASTDiff::Impl { class in clang::diff::ASTDiff 59 SyntaxTree::Impl &T1, &T2; 62 Impl(SyntaxTree::Impl &T1, SyntaxTree::Impl &T2, 71 NodeId getMapped(const std::unique_ptr<SyntaxTree::Impl> &Tree, in getMapped() 112 class SyntaxTree::Impl { class in clang::diff::SyntaxTree 114 Impl(SyntaxTree *Parent, ASTContext &AST); 116 Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST); 117 Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST); 119 Impl(SyntaxTree *Parent, in Impl() function in clang::diff::SyntaxTree::Impl 122 : Impl(Parent, dyn_cast<Stmt>(Node), AST) {} in Impl() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | RangedConstraintManager.h | 31 Range(const llvm::APSInt &From, const llvm::APSInt &To) : Impl(&From, &To) { in Range() 40 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() [all …]
|
| H A D | ExplodedGraph.h | 465 ImplTy Impl; variable 470 Impl.insert(N); in ExplodedNodeSet() 476 if (N && !static_cast<ExplodedNode*>(N)->isSink()) Impl.insert(N); in Add() 482 unsigned size() const { return Impl.size(); } in size() 483 bool empty() const { return Impl.empty(); } in empty() 484 bool erase(ExplodedNode *N) { return Impl.remove(N); } in erase() 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() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Remarks/ |
| H A D | RemarkStringTable.cpp | 42 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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | ASTUnresolvedSet.h | 94 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 D | AbstractBasicWriter.h | 121 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 D | AbstractBasicReader.h | 122 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/ |
| H A D | gmock-actions.h | 433 template <typename Impl> 436 explicit PolymorphicAction(const Impl& impl) : impl_(impl) {} 450 explicit MonomorphicImpl(const Impl& impl) : impl_(impl) {} 457 Impl impl_; 462 Impl impl_; 481 template <typename Impl> 482 inline PolymorphicAction<Impl> MakePolymorphicAction(const Impl& impl) { 483 return PolymorphicAction<Impl>(impl); 549 return Action<F>(new Impl<R, F>(value_)); 555 class Impl : public ActionInterface<F> { [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.h | 359 explicit AMDGPULibFunc() : Impl(std::unique_ptr<AMDGPULibFuncImpl>()) {} in AMDGPULibFunc() 371 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() 374 ENamePrefix getPrefix() const { return Impl->getPrefix(); } in getPrefix() 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() [all …]
|
| H A D | AMDGPULibFunc.cpp | 676 F.Impl = std::unique_ptr<AMDGPULibFuncImpl>(); in parse() 681 F.Impl = std::make_unique<AMDGPUMangledLibFunc>(); in parse() 683 F.Impl = std::make_unique<AMDGPUUnmangledLibFunc>(); in parse() 684 if (F.Impl->parseFuncName(FuncName)) in parse() 687 F.Impl = std::unique_ptr<AMDGPULibFuncImpl>(); in parse() 1015 if (auto *MF = dyn_cast<AMDGPUMangledLibFunc>(F.Impl.get())) in AMDGPULibFunc() 1016 Impl.reset(new AMDGPUMangledLibFunc(*MF)); in AMDGPULibFunc() 1017 else if (auto *UMF = dyn_cast<AMDGPUUnmangledLibFunc>(F.Impl.get())) in AMDGPULibFunc() 1018 Impl.reset(new AMDGPUUnmangledLibFunc(*UMF)); in AMDGPULibFunc() 1020 Impl = std::unique_ptr<AMDGPULibFuncImpl>(); in AMDGPULibFunc() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | TFUtils.cpp | 379 : Impl(new TFModelEvaluatorImpl(SavedModelPath, InputSpecs, GetOutputSpecs, in TFModelEvaluator() 381 if (!Impl->isValid()) in TFModelEvaluator() 382 Impl.reset(); in TFModelEvaluator() 419 std::make_unique<EvaluationResultImpl>(Impl->OutputSize()); in evaluate() 421 Impl->evaluate(Ret->getOutput().data(), Status.get()); in evaluate() 424 Impl.reset(); in evaluate() 442 return TF_TensorData(Impl->getInput()[Index]); in getUntypedInput() 446 std::unique_ptr<EvaluationResultImpl> Impl) in EvaluationResult() argument 447 : Impl(std::move(Impl)) {} in EvaluationResult() 450 : Impl(std::move(Other.Impl)) {} in EvaluationResult() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
| H A D | Signposts.cpp | 106 Impl = std::make_unique<SignpostEmitterImpl>(); in SignpostEmitter() 114 return Impl->isEnabled(); in isEnabled() 122 if (Impl == nullptr) in startInterval() 124 return Impl->startInterval(O, Name); in startInterval() 130 if (Impl == nullptr) in endInterval() 132 Impl->endInterval(O, Name); in endInterval()
|
| H A D | CrashRecoveryContext.cpp | 119 CrashRecoveryContextImpl *CRCI = (CrashRecoveryContextImpl *) Impl; in ~CrashRecoveryContext() 230 assert(!Impl && "Crash recovery context already initialized!"); in RunSafely() 231 Impl = new CrashRecoveryContextImpl(this); in RunSafely() 414 assert(!Impl && "Crash recovery context already initialized!"); in RunSafely() 416 Impl = CRCI; in RunSafely() 438 CrashRecoveryContextImpl *CRCI = (CrashRecoveryContextImpl *)Impl; in HandleExit() 507 if (CrashRecoveryContextImpl *CRC = (CrashRecoveryContextImpl *)Impl) in RunSafelyOnThread()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| H A D | BinaryByteStream.h | 237 : 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 D | VirtualFileSystem.h | 160 std::shared_ptr<detail::DirIterImpl> Impl; // Input iterator semantics on copy variable 164 : 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() 182 const directory_entry &operator*() const { return Impl->CurrentEntry; } [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/ASTDiff/ |
| H A D | ASTDiff.h | 59 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;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/ |
| H A D | Magic.h | 21 enum Impl { enum 58 file_magic(Impl V) : V(V) {} in file_magic() 59 operator Impl() const { return V; } in Impl() function 62 Impl V = unknown;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/ |
| H A D | gtest-matchers.h | 453 template <class Impl> 456 explicit PolymorphicMatcher(const Impl& an_impl) : impl_(an_impl) {} in PolymorphicMatcher() 460 Impl& mutable_impl() { return impl_; } in mutable_impl() 464 const Impl& impl() const { return impl_; } in impl() 475 explicit MonomorphicImpl(const Impl& impl) : impl_(impl) {} in MonomorphicImpl() 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() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
| H A D | TransformActions.cpp | 609 Impl = new TransformActionsImpl(capturedDiags, ctx, PP); in TransformActions() 613 delete static_cast<TransformActionsImpl*>(Impl); in ~TransformActions() 617 static_cast<TransformActionsImpl*>(Impl)->startTransaction(); in startTransaction() 621 return static_cast<TransformActionsImpl*>(Impl)->commitTransaction(); in commitTransaction() 625 static_cast<TransformActionsImpl*>(Impl)->abortTransaction(); in abortTransaction() 630 static_cast<TransformActionsImpl*>(Impl)->insert(loc, text); in insert() 635 static_cast<TransformActionsImpl*>(Impl)->insertAfterToken(loc, text); in insertAfterToken() 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() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldMachO.h | 144 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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | ParentMap.cpp | 109 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()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/ |
| H A D | tsan_test_util_posix.cc | 235 struct ScopedThread::Impl { struct in ScopedThread 246 void ScopedThread::Impl::HandleEvent(Event *ev) { in HandleEvent() argument 331 void *ScopedThread::Impl::ScopedThreadCallback(void *arg) { in ScopedThreadCallback() 333 Impl *impl = (Impl*)arg; in ScopedThreadCallback() 351 void ScopedThread::Impl::send(Event *e) { in send() 363 impl_ = new Impl; in ScopedThread() 374 ScopedThread::Impl::ScopedThreadCallback, impl_); in ScopedThread()
|